diff options
| author | Eli Zaretskii | 2016-10-08 16:37:42 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2016-10-08 16:37:42 +0300 |
| commit | 67d14c8222c05ac20229f71a2cf40eb9e3efa053 (patch) | |
| tree | dae77528df79a9a265540d785e718da6be490a2c | |
| parent | 2913fa2d478e1c717c15e9a4d978454b7161750d (diff) | |
| download | emacs-67d14c8222c05ac20229f71a2cf40eb9e3efa053.tar.gz emacs-67d14c8222c05ac20229f71a2cf40eb9e3efa053.zip | |
Deprecate 'wp' group and introduce a new group 'text'
* lisp/textmodes/tildify.el (tildify):
* lisp/textmodes/text-mode.el (text-mode-hook):
* lisp/textmodes/table.el (table):
* lisp/textmodes/rst.el (rst):
* lisp/textmodes/refer.el (refer):
* lisp/textmodes/refbib.el (refbib):
* lisp/textmodes/picture.el (picture):
* lisp/textmodes/nroff-mode.el (nroff):
* lisp/textmodes/enriched.el (enriched):
* lisp/textmodes/bib-mode.el (bib):
* lisp/progmodes/ebnf2ps.el (ebnf2ps):
* lisp/nxml/rng-valid.el (relax-ng):
* lisp/view.el (view):
* lisp/ps-print.el (ps-print):
* lisp/printing.el (printing):
* lisp/outline.el (outlines):
* lisp/lpr.el (lpr):
* lisp/delim-col.el (columns): Use 'text' group instead of 'wp'.
* lisp/cus-edit.el (wp): Remove the "text" tag.
(text): New defgroup, inherits from the deprecated 'wp'.
(outlines): Remove, in favor of the definition in outline.el.
(tex): Inherit from 'text'.
Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#24549)
| -rw-r--r-- | etc/NEWS | 4 | ||||
| -rw-r--r-- | lisp/cus-edit.el | 16 | ||||
| -rw-r--r-- | lisp/delim-col.el | 2 | ||||
| -rw-r--r-- | lisp/lpr.el | 2 | ||||
| -rw-r--r-- | lisp/nxml/rng-valid.el | 2 | ||||
| -rw-r--r-- | lisp/outline.el | 2 | ||||
| -rw-r--r-- | lisp/printing.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/ebnf2ps.el | 2 | ||||
| -rw-r--r-- | lisp/ps-print.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/bib-mode.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/enriched.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/nroff-mode.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/picture.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/refbib.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/refer.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/rst.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/table.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/text-mode.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/tildify.el | 2 | ||||
| -rw-r--r-- | lisp/view.el | 2 |
20 files changed, 31 insertions, 25 deletions
| @@ -61,6 +61,10 @@ affected by this, as SGI stopped supporting IRIX in December 2013. | |||
| 61 | 61 | ||
| 62 | * Changes in Emacs 26.1 | 62 | * Changes in Emacs 26.1 |
| 63 | 63 | ||
| 64 | --- | ||
| 65 | The group 'wp', whose label was "text", is now deprecated. | ||
| 66 | Use the new group 'text', which inherits from 'wp', instead. | ||
| 67 | |||
| 64 | +++ | 68 | +++ |
| 65 | ** The new function 'call-shell-region' executes a command in an | 69 | ** The new function 'call-shell-region' executes a command in an |
| 66 | inferior shell with the buffer region as input. | 70 | inferior shell with the buffer region as input. |
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 2e39514cac6..601445ab7f4 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -175,10 +175,16 @@ | |||
| 175 | :group 'emacs) | 175 | :group 'emacs) |
| 176 | 176 | ||
| 177 | (defgroup wp nil | 177 | (defgroup wp nil |
| 178 | "Support for editing text files." | 178 | "Support for editing text files. |
| 179 | :tag "Text" | 179 | Use group `text' for this instead. This group is deprecated." |
| 180 | :group 'emacs) | 180 | :group 'emacs) |
| 181 | 181 | ||
| 182 | (defgroup text nil | ||
| 183 | "Support for editing text files." | ||
| 184 | :group 'emacs | ||
| 185 | ;; Inherit from deprecated `wp' for compatibility, for now. | ||
| 186 | :group 'wp) | ||
| 187 | |||
| 182 | (defgroup data nil | 188 | (defgroup data nil |
| 183 | "Support for editing binary data files." | 189 | "Support for editing binary data files." |
| 184 | :group 'emacs) | 190 | :group 'emacs) |
| @@ -197,10 +203,6 @@ | |||
| 197 | :link '(custom-manual "(emacs)Emulation") | 203 | :link '(custom-manual "(emacs)Emulation") |
| 198 | :group 'editing) | 204 | :group 'editing) |
| 199 | 205 | ||
| 200 | (defgroup outlines nil | ||
| 201 | "Support for hierarchical outlining." | ||
| 202 | :group 'wp) | ||
| 203 | |||
| 204 | (defgroup external nil | 206 | (defgroup external nil |
| 205 | "Interfacing to external utilities." | 207 | "Interfacing to external utilities." |
| 206 | :group 'emacs) | 208 | :group 'emacs) |
| @@ -313,7 +315,7 @@ | |||
| 313 | (defgroup tex nil | 315 | (defgroup tex nil |
| 314 | "Code related to the TeX formatter." | 316 | "Code related to the TeX formatter." |
| 315 | :link '(custom-group-link :tag "Font Lock Faces group" font-lock-faces) | 317 | :link '(custom-group-link :tag "Font Lock Faces group" font-lock-faces) |
| 316 | :group 'wp) | 318 | :group 'text) |
| 317 | 319 | ||
| 318 | (defgroup faces nil | 320 | (defgroup faces nil |
| 319 | "Support for multiple fonts." | 321 | "Support for multiple fonts." |
diff --git a/lisp/delim-col.el b/lisp/delim-col.el index cfa7c76622a..dc637d5a57d 100644 --- a/lisp/delim-col.el +++ b/lisp/delim-col.el | |||
| @@ -125,7 +125,7 @@ | |||
| 125 | "Prettify columns." | 125 | "Prettify columns." |
| 126 | :link '(emacs-library-link :tag "Source Lisp File" "delim-col.el") | 126 | :link '(emacs-library-link :tag "Source Lisp File" "delim-col.el") |
| 127 | :prefix "delimit-columns-" | 127 | :prefix "delimit-columns-" |
| 128 | :group 'wp) | 128 | :group 'text) |
| 129 | 129 | ||
| 130 | (defcustom delimit-columns-str-before "" | 130 | (defcustom delimit-columns-str-before "" |
| 131 | "Specify a string to be inserted before all columns." | 131 | "Specify a string to be inserted before all columns." |
diff --git a/lisp/lpr.el b/lisp/lpr.el index 2fe32c7d5e7..d09f7791a93 100644 --- a/lisp/lpr.el +++ b/lisp/lpr.el | |||
| @@ -42,7 +42,7 @@ | |||
| 42 | 42 | ||
| 43 | (defgroup lpr nil | 43 | (defgroup lpr nil |
| 44 | "Print Emacs buffer on line printer." | 44 | "Print Emacs buffer on line printer." |
| 45 | :group 'wp) | 45 | :group 'text) |
| 46 | 46 | ||
| 47 | 47 | ||
| 48 | ;;;###autoload | 48 | ;;;###autoload |
diff --git a/lisp/nxml/rng-valid.el b/lisp/nxml/rng-valid.el index 946bf791ff8..239b1d11db1 100644 --- a/lisp/nxml/rng-valid.el +++ b/lisp/nxml/rng-valid.el | |||
| @@ -101,7 +101,7 @@ | |||
| 101 | 101 | ||
| 102 | (defgroup relax-ng nil | 102 | (defgroup relax-ng nil |
| 103 | "Validation of XML using RELAX NG." | 103 | "Validation of XML using RELAX NG." |
| 104 | :group 'wp | 104 | :group 'text |
| 105 | :group 'nxml | 105 | :group 'nxml |
| 106 | :group 'languages) | 106 | :group 'languages) |
| 107 | 107 | ||
diff --git a/lisp/outline.el b/lisp/outline.el index f6ab1e49530..6345bb59df4 100644 --- a/lisp/outline.el +++ b/lisp/outline.el | |||
| @@ -38,7 +38,7 @@ | |||
| 38 | (defgroup outlines nil | 38 | (defgroup outlines nil |
| 39 | "Support for hierarchical outlining." | 39 | "Support for hierarchical outlining." |
| 40 | :prefix "outline-" | 40 | :prefix "outline-" |
| 41 | :group 'wp) | 41 | :group 'text) |
| 42 | 42 | ||
| 43 | (defvar outline-regexp "[*\^L]+" | 43 | (defvar outline-regexp "[*\^L]+" |
| 44 | "Regular expression to match the beginning of a heading. | 44 | "Regular expression to match the beginning of a heading. |
diff --git a/lisp/printing.el b/lisp/printing.el index d9cc2a3614a..7cdfb49a90f 100644 --- a/lisp/printing.el +++ b/lisp/printing.el | |||
| @@ -1668,7 +1668,7 @@ separator; otherwise, ensure unix-style directory separator." | |||
| 1668 | :link '(emacs-library-link :tag "Source Lisp File" "printing.el") | 1668 | :link '(emacs-library-link :tag "Source Lisp File" "printing.el") |
| 1669 | :prefix "pr-" | 1669 | :prefix "pr-" |
| 1670 | :version "22.1" | 1670 | :version "22.1" |
| 1671 | :group 'wp | 1671 | :group 'text |
| 1672 | :group 'postscript) | 1672 | :group 'postscript) |
| 1673 | 1673 | ||
| 1674 | 1674 | ||
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el index ffb93de8062..c4e62683a6a 100644 --- a/lisp/progmodes/ebnf2ps.el +++ b/lisp/progmodes/ebnf2ps.el | |||
| @@ -1191,7 +1191,7 @@ Elements of ALIST that are not conses are ignored." | |||
| 1191 | "Translate an EBNF to a syntactic chart on PostScript." | 1191 | "Translate an EBNF to a syntactic chart on PostScript." |
| 1192 | :prefix "ebnf-" | 1192 | :prefix "ebnf-" |
| 1193 | :version "20" | 1193 | :version "20" |
| 1194 | :group 'wp | 1194 | :group 'text |
| 1195 | :group 'postscript) | 1195 | :group 'postscript) |
| 1196 | 1196 | ||
| 1197 | 1197 | ||
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 6c2a8c6161a..71523a90db6 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -1495,7 +1495,7 @@ Please send all bug fixes and enhancements to | |||
| 1495 | :link '(emacs-library-link :tag "Source Lisp File" "ps-print.el") | 1495 | :link '(emacs-library-link :tag "Source Lisp File" "ps-print.el") |
| 1496 | :prefix "ps-" | 1496 | :prefix "ps-" |
| 1497 | :version "20" | 1497 | :version "20" |
| 1498 | :group 'wp | 1498 | :group 'text |
| 1499 | :group 'postscript) | 1499 | :group 'postscript) |
| 1500 | 1500 | ||
| 1501 | (defgroup ps-print-horizontal nil | 1501 | (defgroup ps-print-horizontal nil |
diff --git a/lisp/textmodes/bib-mode.el b/lisp/textmodes/bib-mode.el index 62b666b2524..8b40558e3a4 100644 --- a/lisp/textmodes/bib-mode.el +++ b/lisp/textmodes/bib-mode.el | |||
| @@ -35,7 +35,7 @@ | |||
| 35 | "Major mode for editing bib files." | 35 | "Major mode for editing bib files." |
| 36 | :prefix "bib-" | 36 | :prefix "bib-" |
| 37 | :group 'external | 37 | :group 'external |
| 38 | :group 'wp) | 38 | :group 'text) |
| 39 | 39 | ||
| 40 | (defcustom bib-file "~/my-bibliography.bib" | 40 | (defcustom bib-file "~/my-bibliography.bib" |
| 41 | "Default name of file used by `addbib'." | 41 | "Default name of file used by `addbib'." |
diff --git a/lisp/textmodes/enriched.el b/lisp/textmodes/enriched.el index 124be27f4f3..5562a75340a 100644 --- a/lisp/textmodes/enriched.el +++ b/lisp/textmodes/enriched.el | |||
| @@ -46,7 +46,7 @@ | |||
| 46 | 46 | ||
| 47 | (defgroup enriched nil | 47 | (defgroup enriched nil |
| 48 | "Read and save files in text/enriched format." | 48 | "Read and save files in text/enriched format." |
| 49 | :group 'wp) | 49 | :group 'text) |
| 50 | 50 | ||
| 51 | (defcustom enriched-verbose t | 51 | (defcustom enriched-verbose t |
| 52 | "If non-nil, give status messages when reading and writing files." | 52 | "If non-nil, give status messages when reading and writing files." |
diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el index b064f6d2b31..35996bc2509 100644 --- a/lisp/textmodes/nroff-mode.el +++ b/lisp/textmodes/nroff-mode.el | |||
| @@ -37,7 +37,7 @@ | |||
| 37 | (defgroup nroff nil | 37 | (defgroup nroff nil |
| 38 | "Nroff mode." | 38 | "Nroff mode." |
| 39 | :link '(custom-group-link :tag "Font Lock Faces group" font-lock-faces) | 39 | :link '(custom-group-link :tag "Font Lock Faces group" font-lock-faces) |
| 40 | :group 'wp | 40 | :group 'text |
| 41 | :prefix "nroff-") | 41 | :prefix "nroff-") |
| 42 | 42 | ||
| 43 | 43 | ||
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el index b77f8e9717c..01d67b5c1dd 100644 --- a/lisp/textmodes/picture.el +++ b/lisp/textmodes/picture.el | |||
| @@ -33,7 +33,7 @@ | |||
| 33 | (defgroup picture nil | 33 | (defgroup picture nil |
| 34 | "Editing text-based pictures (\"ASCII art\")." | 34 | "Editing text-based pictures (\"ASCII art\")." |
| 35 | :prefix "picture-" | 35 | :prefix "picture-" |
| 36 | :group 'wp) | 36 | :group 'text) |
| 37 | 37 | ||
| 38 | (defcustom picture-rectangle-ctl ?+ | 38 | (defcustom picture-rectangle-ctl ?+ |
| 39 | "Character `picture-draw-rectangle' uses for top left corners." | 39 | "Character `picture-draw-rectangle' uses for top left corners." |
diff --git a/lisp/textmodes/refbib.el b/lisp/textmodes/refbib.el index b73916a22d6..46bf3c7552b 100644 --- a/lisp/textmodes/refbib.el +++ b/lisp/textmodes/refbib.el | |||
| @@ -61,7 +61,7 @@ | |||
| 61 | (defgroup refbib nil | 61 | (defgroup refbib nil |
| 62 | "Convert refer-style references to ones usable by Latex bib." | 62 | "Convert refer-style references to ones usable by Latex bib." |
| 63 | :prefix "r2b-" | 63 | :prefix "r2b-" |
| 64 | :group 'wp) | 64 | :group 'text) |
| 65 | 65 | ||
| 66 | (defcustom r2b-trace-on nil | 66 | (defcustom r2b-trace-on nil |
| 67 | "Non-nil means trace conversion." | 67 | "Non-nil means trace conversion." |
diff --git a/lisp/textmodes/refer.el b/lisp/textmodes/refer.el index f2abf06ebdc..4c9e62bb4c8 100644 --- a/lisp/textmodes/refer.el +++ b/lisp/textmodes/refer.el | |||
| @@ -73,7 +73,7 @@ | |||
| 73 | (defgroup refer nil | 73 | (defgroup refer nil |
| 74 | "Look up references in bibliography files." | 74 | "Look up references in bibliography files." |
| 75 | :prefix "refer-" | 75 | :prefix "refer-" |
| 76 | :group 'wp) | 76 | :group 'text) |
| 77 | 77 | ||
| 78 | (defcustom refer-bib-directory nil | 78 | (defcustom refer-bib-directory nil |
| 79 | "Directory, or list of directories, to search for \\.bib files. | 79 | "Directory, or list of directories, to search for \\.bib files. |
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index 029139e572e..ddf8d3ce694 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el | |||
| @@ -292,7 +292,7 @@ in parentheses follows the development revision and the time stamp.") | |||
| 292 | ;; Initialize customization | 292 | ;; Initialize customization |
| 293 | 293 | ||
| 294 | (defgroup rst nil "Support for reStructuredText documents." | 294 | (defgroup rst nil "Support for reStructuredText documents." |
| 295 | :group 'wp | 295 | :group 'text |
| 296 | :version "23.1" | 296 | :version "23.1" |
| 297 | :link '(url-link "http://docutils.sourceforge.net/rst.html")) | 297 | :link '(url-link "http://docutils.sourceforge.net/rst.html")) |
| 298 | 298 | ||
diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el index 8330e1772d7..e12a34095bb 100644 --- a/lisp/textmodes/table.el +++ b/lisp/textmodes/table.el | |||
| @@ -641,7 +641,7 @@ | |||
| 641 | "Text based table manipulation utilities." | 641 | "Text based table manipulation utilities." |
| 642 | :tag "Table" | 642 | :tag "Table" |
| 643 | :prefix "table-" | 643 | :prefix "table-" |
| 644 | :group 'wp | 644 | :group 'text |
| 645 | :version "22.1") | 645 | :version "22.1") |
| 646 | 646 | ||
| 647 | (defgroup table-hooks nil | 647 | (defgroup table-hooks nil |
diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el index 731c2d2d85d..c42eec0c656 100644 --- a/lisp/textmodes/text-mode.el +++ b/lisp/textmodes/text-mode.el | |||
| @@ -35,7 +35,7 @@ | |||
| 35 | "Normal hook run when entering Text mode and many related modes." | 35 | "Normal hook run when entering Text mode and many related modes." |
| 36 | :type 'hook | 36 | :type 'hook |
| 37 | :options '(turn-on-auto-fill turn-on-flyspell) | 37 | :options '(turn-on-auto-fill turn-on-flyspell) |
| 38 | :group 'wp) | 38 | :group 'text) |
| 39 | 39 | ||
| 40 | (defvar text-mode-variant nil | 40 | (defvar text-mode-variant nil |
| 41 | "Non-nil if this buffer's major mode is a variant of Text mode. | 41 | "Non-nil if this buffer's major mode is a variant of Text mode. |
diff --git a/lisp/textmodes/tildify.el b/lisp/textmodes/tildify.el index 598060e9ec8..cd258b8c970 100644 --- a/lisp/textmodes/tildify.el +++ b/lisp/textmodes/tildify.el | |||
| @@ -54,7 +54,7 @@ | |||
| 54 | (defgroup tildify nil | 54 | (defgroup tildify nil |
| 55 | "Add hard spaces or other text fragments to text buffers." | 55 | "Add hard spaces or other text fragments to text buffers." |
| 56 | :version "21.1" | 56 | :version "21.1" |
| 57 | :group 'wp) | 57 | :group 'text) |
| 58 | 58 | ||
| 59 | (defcustom tildify-pattern | 59 | (defcustom tildify-pattern |
| 60 | "\\(?:[,:;(][ \t]*[a]\\|\\<[AIKOSUVZikosuvz]\\)\\([ \t]+\\|[ \t]*\n[ \t]*\\)\\(?:\\w\\|[([{\\]\\|<[a-zA-Z]\\)" | 60 | "\\(?:[,:;(][ \t]*[a]\\|\\<[AIKOSUVZikosuvz]\\)\\([ \t]+\\|[ \t]*\n[ \t]*\\)\\(?:\\w\\|[([{\\]\\|<[a-zA-Z]\\)" |
diff --git a/lisp/view.el b/lisp/view.el index ff7d2c9deb1..92cbd146d77 100644 --- a/lisp/view.el +++ b/lisp/view.el | |||
| @@ -48,7 +48,7 @@ | |||
| 48 | "Peruse file or buffer without editing." | 48 | "Peruse file or buffer without editing." |
| 49 | :link '(function-link view-mode) | 49 | :link '(function-link view-mode) |
| 50 | :link '(custom-manual "(emacs)Misc File Ops") | 50 | :link '(custom-manual "(emacs)Misc File Ops") |
| 51 | :group 'wp) | 51 | :group 'text) |
| 52 | 52 | ||
| 53 | (defcustom view-highlight-face 'highlight | 53 | (defcustom view-highlight-face 'highlight |
| 54 | "The face used for highlighting the match found by View mode search." | 54 | "The face used for highlighting the match found by View mode search." |