]> code.delx.au - gnu-emacs/commitdiff
Misc custom group fixes
authorGlenn Morris <rgm@gnu.org>
Wed, 15 May 2013 23:55:41 +0000 (19:55 -0400)
committerGlenn Morris <rgm@gnu.org>
Wed, 15 May 2013 23:55:41 +0000 (19:55 -0400)
* cus-start.el (show-trailing-whitespace): Move to editing basics.
* faces.el (trailing-whitespace): Don't use whitespace-faces group.
* obsolete/old-whitespace.el (whitespace-faces): Remove group.
(whitespace-highlight): Move to whitespace group.

* comint.el (comint-source):
* pcmpl-linux.el (pcmpl-linux):
* shell.el (shell-faces):
* eshell/esh-opt.el (eshell-opt):
* international/ccl.el (ccl): Remove empty custom groups.

* completion.el (dynamic-completion-mode):
* jit-lock.el (jit-lock-debug-mode):
* minibuffer.el (completion-in-region-mode):
* type-break.el (type-break-mode-line-message-mode)
(type-break-query-mode):
* emulation/tpu-edt.el (tpu-edt-mode):
* progmodes/subword.el (global-subword-mode, global-superword-mode):
* progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
* term/vt100.el (vt100-wide-mode): Specify explicit :group.

* term/xterm.el (xterm): Change parent group to terminals.

* master.el (master): Remove empty custom group.
(master-mode): Remove unused :group argument.
* textmodes/refill.el (refill): Remove empty custom group.
(refill-mode): Remove unused :group argument.

* textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.

* cedet/semantic/symref/list.el (semantic-symref-auto-expand-results)
(semantic-symref-results-mode-hook)
(semantic-symref-results-summary-function): Fix :group.

* erc/erc-list.el (erc-list):
* erc/erc-menu.el (erc-menu):
* erc/erc-ring.el (erc-ring): Define custom groups, for define-erc-module.

* gnus/shr-color.el (shr-color-visible-luminance-min)
(shr-color-visible-distance-min): Use shr-color group.

* url/url-news.el (url-news): Remove empty custom group.

32 files changed:
lisp/ChangeLog
lisp/cedet/ChangeLog
lisp/cedet/semantic/symref/list.el
lisp/comint.el
lisp/completion.el
lisp/cus-start.el
lisp/emulation/tpu-edt.el
lisp/erc/ChangeLog
lisp/erc/erc-list.el
lisp/erc/erc-menu.el
lisp/erc/erc-ring.el
lisp/eshell/esh-opt.el
lisp/faces.el
lisp/gnus/ChangeLog
lisp/gnus/shr-color.el
lisp/international/ccl.el
lisp/jit-lock.el
lisp/master.el
lisp/minibuffer.el
lisp/obsolete/old-whitespace.el
lisp/org/org-pcomplete.el
lisp/pcmpl-linux.el
lisp/progmodes/subword.el
lisp/progmodes/vhdl-mode.el
lisp/shell.el
lisp/term/vt100.el
lisp/term/xterm.el
lisp/textmodes/refill.el
lisp/textmodes/rst.el
lisp/type-break.el
lisp/url/ChangeLog
lisp/url/url-news.el

index 048b9586923f5942683db11884bdb54b935efaa7..c579642642ee64144247b1f294a7a4b74bd6310a 100644 (file)
@@ -1,5 +1,35 @@
 2013-05-15  Glenn Morris  <rgm@gnu.org>
 
+       * cus-start.el (show-trailing-whitespace): Move to editing basics.
+       * faces.el (trailing-whitespace): Don't use whitespace-faces group.
+       * obsolete/old-whitespace.el (whitespace-faces): Remove group.
+       (whitespace-highlight): Move to whitespace group.
+
+       * comint.el (comint-source):
+       * pcmpl-linux.el (pcmpl-linux):
+       * shell.el (shell-faces):
+       * eshell/esh-opt.el (eshell-opt):
+       * international/ccl.el (ccl): Remove empty custom groups.
+
+       * completion.el (dynamic-completion-mode):
+       * jit-lock.el (jit-lock-debug-mode):
+       * minibuffer.el (completion-in-region-mode):
+       * type-break.el (type-break-mode-line-message-mode)
+       (type-break-query-mode):
+       * emulation/tpu-edt.el (tpu-edt-mode):
+       * progmodes/subword.el (global-subword-mode, global-superword-mode):
+       * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
+       * term/vt100.el (vt100-wide-mode): Specify explicit :group.
+
+       * term/xterm.el (xterm): Change parent group to terminals.
+
+       * master.el (master): Remove empty custom group.
+       (master-mode): Remove unused :group argument.
+       * textmodes/refill.el (refill): Remove empty custom group.
+       (refill-mode): Remove unused :group argument.
+
+       * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
+
        * cus-dep.el: Provide a feature.
        (custom-make-dependencies): Ignore dotfiles (dir-locals).
        Don't mistakenly ignore files whose basenames match a basename
index 6d62e92bb765236b7a77705490946ee69e78c4f1..0474559fe9e15657fedacab1203862394da7fc9c 100644 (file)
@@ -1,3 +1,9 @@
+2013-05-15  Glenn Morris  <rgm@gnu.org>
+
+       * semantic/symref/list.el (semantic-symref-auto-expand-results)
+       (semantic-symref-results-mode-hook)
+       (semantic-symref-results-summary-function): Fix :group.
+
 2013-05-14  Glenn Morris  <rgm@gnu.org>
 
        * ede/simple.el, semantic/java.el: Set generated-autoload-load-name.
index 2391e59e1f4f5ccf524b5485a0ca182548b3f030..c1f0a092afcfe3991b7ab550654d1b1dbf661af3 100644 (file)
@@ -178,12 +178,12 @@ Display the references in`semantic-symref-results-mode'."
 
 (defcustom semantic-symref-auto-expand-results nil
   "Non-nil to expand symref results on buffer creation."
-  :group 'semantic-symref
+  :group 'semantic-symref-results-mode
   :type 'boolean)
 
 (defcustom semantic-symref-results-mode-hook nil
   "Hook run when `semantic-symref-results-mode' starts."
-  :group 'semantic-symref
+  :group 'semantic-symref-results-mode
   :type 'hook)
 
 (defvar semantic-symref-current-results nil
@@ -217,7 +217,7 @@ RESULTS is an object of class `semantic-symref-results'."
 (defcustom semantic-symref-results-summary-function 'semantic-format-tag-prototype
   "*Function to use when creating items in Imenu.
 Some useful functions are found in `semantic-format-tag-functions'."
-  :group 'semantic-symref
+  :group 'semantic-symref-results-mode
   :type semantic-format-tag-custom-list)
 
 (defun semantic-symref-results-dump (results)
index c796f4fda31d4e895142d0166465d89e99933a77..956e8f86ccb05eecc160d5929089bfb3040f3099 100644 (file)
   "Completion facilities in comint."
   :group 'comint)
 
-(defgroup comint-source nil
-  "Source finding facilities in comint."
-  :prefix "comint-"
-  :group 'comint)
+;; Unused.
+;;; (defgroup comint-source nil
+;;;   "Source finding facilities in comint."
+;;;   :prefix "comint-"
+;;;   :group 'comint)
 
 (defvar comint-prompt-regexp "^"
   "Regexp to recognize prompts in the inferior process.
index 974d59c9af5729a8fc35b50660fc9375c71203bc..3fbc3c05fb4916c14f08115043c5fdf5a94bea3d 100644 (file)
@@ -2342,6 +2342,7 @@ With a prefix argument ARG, enable the mode if ARG is positive,
 and disable it otherwise.  If called from Lisp, enable the mode
 if ARG is omitted or nil."
   :global t
+  :group 'completion
   ;; This is always good, not specific to dynamic-completion-mode.
   (define-key function-key-map [C-return] [?\C-\r])
 
index 43d71ceec954804e074a558b0b5625b51e312e9a..cf94b6300ddecee1f06eee7fd0b87aa581d525f6 100644 (file)
@@ -449,7 +449,8 @@ since it could result in memory overflow and make Emacs crash."
                       (other :tag "Always (t)" :value t))
              "24.3")
             ;; xdisp.c
-            (show-trailing-whitespace whitespace-faces boolean nil
+            ;; The whitespace group is for whitespace.el.
+            (show-trailing-whitespace editing-basics boolean nil
                                       :safe booleanp)
             (scroll-step windows integer)
             (scroll-conservatively windows integer)
index 6ec6ad810a4e7153499a5757c04056ce117e6d07..1ec0ecc943c64182799b832c3f380d4396d61257 100644 (file)
@@ -983,7 +983,7 @@ and the total number of lines in the buffer."
 With a prefix argument ARG, enable the mode if ARG is positive,
 and disable it otherwise.  If called from Lisp, enable the mode
 if ARG is omitted or nil."
-  :global t
+  :global t :group 'tpu
   (if tpu-edt-mode (tpu-edt-on) (tpu-edt-off)))
 
 (defalias 'TPU-EDT-MODE 'tpu-edt-mode)
index f2c1dbe2367e266a316629187f5656f48dcc935e..f4293c8f0834c1c7acb698089c9b0f3f5c83271e 100644 (file)
@@ -1,3 +1,11 @@
+2013-05-15  Glenn Morris  <rgm@gnu.org>
+
+       * erc-list.el (erc-list):
+       * erc-menu.el (erc-menu):
+       * erc-ring.el (erc-ring): Define custom groups, for define-erc-module.
+
+       * erc-list.el: Provide a feature.
+
 2013-05-09  Glenn Morris  <rgm@gnu.org>
 
        * erc-desktop-notifications.el (erc-notifications-icon):
index 3d78c1b7b9fc0218594a52596fcd3e8f82c21c93..f11dd98ca3714aa1c79df8eb6a015ed648b9d5b9 100644 (file)
 
 (require 'erc)
 
+(defgroup erc-list nil
+  "Support for the /list command."
+  :group 'erc)
+
 ;; This is implicitly the width of the channel name column.  Pick
 ;; something small enough that the topic has a chance of being
 ;; readable, but long enough that most channel names won't make for
@@ -214,6 +218,8 @@ to RFC and send the LIST header (#321) at start of list transmission."
                                        ""))))
 (put 'erc-cmd-LIST 'do-not-parse-args t)
 
+(provide 'erc-list)
+
 ;;; erc-list.el ends here
 ;;
 ;; Local Variables:
index 70c9ae65427cf6a6fe65216f70a7d78bb8f9b37a..ab11df920638df1311e541f9701aad42004e7581 100644 (file)
 (require 'erc)
 (require 'easymenu)
 
+(defgroup erc-menu nil
+  "ERC menu support."
+  :group 'erc)
+
 (defvar erc-menu-definition
   (list "ERC"
        ["Connect to server..." erc t]
index ac5aaf23bc37e79b703f55408876e0dcd030c491..b4244eaa4a665778219cc1a5aafd87041d5f1e6a 100644 (file)
 (require 'comint)
 (require 'ring)
 
+(defgroup erc-ring nil
+  "An input ring for ERC."
+  :group 'erc)
+
 ;;;###autoload (autoload 'erc-ring-mode "erc-ring" nil t)
 (define-erc-module ring nil
   "Stores input in a ring so that previous commands and messages can
index 6044759f8df98129e0877a63ae9f81de7e4d16c8..6a37f97bf20838864b65f539fef85b41726ec68e 100644 (file)
 
 (eval-when-compile (require 'esh-ext))
 
-(defgroup eshell-opt nil
-  "The options processing code handles command argument parsing for
-Eshell commands implemented in Lisp."
-  :tag "Command options processing"
-  :group 'eshell)
+;; Unused.
+;;; (defgroup eshell-opt nil
+;;;   "The options processing code handles command argument parsing for
+;;; Eshell commands implemented in Lisp."
+;;;   :tag "Command options processing"
+;;;   :group 'eshell)
 
 ;;; User Functions:
 
index 6b4441e28144f0d22d89ef97eeecd90d06283ceb..d570140e7e62639a6a80287309281a504d3a379d 100644 (file)
@@ -2292,7 +2292,6 @@ terminal type to a different value."
     (t :inverse-video t))
   "Basic face for highlighting trailing whitespace."
   :version "21.1"
-  :group 'whitespace-faces     ; like `show-trailing-whitespace'
   :group 'basic-faces)
 
 (defface escape-glyph
index fba0cd8fea7638ffb7d27dae117d1a69789e1f12..1c76a179afd4fe2d36f3afc9510547d9edc366c8 100644 (file)
@@ -1,3 +1,8 @@
+2013-05-15  Glenn Morris  <rgm@gnu.org>
+
+       * shr-color.el (shr-color-visible-luminance-min)
+       (shr-color-visible-distance-min): Use shr-color group.
+
 2013-05-11  Glenn Morris  <rgm@gnu.org>
 
        * gnus-vm.el: Make it loadable without VM.
index 0b320a21ad9cdbbca71a57b33b5b2a28a32d4a2f..21f1fc4f0042668b47ae547aa2f0cd514e422e52 100644 (file)
 (defcustom shr-color-visible-luminance-min 40
   "Minimum luminance distance between two colors to be considered visible.
 Must be between 0 and 100."
-  :group 'shr
+  :group 'shr-color
   :type 'number)
 
 (defcustom shr-color-visible-distance-min 5
   "Minimum color distance between two colors to be considered visible.
 This value is used to compare result for `ciede2000'.  It's an
 absolute value without any unit."
-  :group 'shr
+  :group 'shr-color
   :type 'integer)
 
 (defconst shr-color-html-colors-alist
index 39f2b79587b88861d9d86400464c7709d75cecf5..7b79a1dd1f92ae6823298a8d0258cfaceccef006 100644 (file)
 
 ;;; Code:
 
-(defgroup ccl nil
-  "CCL (Code Conversion Language) compiler."
-  :prefix "ccl-"
-  :group 'i18n)
+;; Unused.
+;;; (defgroup ccl nil
+;;;   "CCL (Code Conversion Language) compiler."
+;;;   :prefix "ccl-"
+;;;   :group 'i18n)
 
 (defconst ccl-command-table
   [if branch loop break repeat write-repeat write-read-repeat
index 9359a65a1b887722b8d08df8f10f22e808e12c01..9d700a5ed827825f2983effb97aa6ece5bba7c23 100644 (file)
@@ -258,7 +258,7 @@ the variable `jit-lock-stealth-nice'."
 When this minor mode is enabled, jit-lock runs as little code as possible
 during redisplay and moves the rest to a timer, where things
 like `debug-on-error' and Edebug can be used."
-  :global t
+  :global t :group 'jit-lock
   (when jit-lock-defer-timer
     (cancel-timer jit-lock-defer-timer)
     (setq jit-lock-defer-timer nil))
index 368bb0d58d5a66d2f78bb6f36d6a92b0567fd0e4..4a536ca5cdaac2d75daebc0347de38034fe89e1f 100644 (file)
 
 ;;; Code:
 
-(defgroup master nil
-  "Support for master/slave relationships between buffers."
-  :version "22.1"
-  :group 'convenience)
+;; Unused.
+;;; (defgroup master nil
+;;;   "Support for master/slave relationships between buffers."
+;;;   :version "22.1"
+;;;   :group 'convenience)
 
 ;; Variables that don't need initialization.
 
@@ -84,7 +85,8 @@ using the following commands:
 The slave buffer is stored in the buffer-local variable `master-of'.
 You can set this variable using `master-set-slave'.  You can show
 yourself the value of `master-of' by calling `master-show-slave'."
-  :group 'master
+  ;; Not global, so no effect.
+;;;  :group 'master
   :keymap
   '(("\C-c\C-n" . master-says-scroll-up)
     ("\C-c\C-p" . master-says-scroll-down)
index ef949f7482e3e66d62ee8a9fae31db82dbb127d1..a5d79a415f69cc54d7e820c6a0e805a177a8020f 100644 (file)
@@ -1856,6 +1856,7 @@ With a prefix argument ARG, enable the modemode if ARG is
 positive, and disable it otherwise.  If called from Lisp, enable
 the mode if ARG is omitted or nil."
   :global t
+  :group 'minibuffer
   (setq completion-in-region--data nil)
   ;; (remove-hook 'pre-command-hook #'completion-in-region--prech)
   (remove-hook 'post-command-hook #'completion-in-region--postch)
index c421836dd848f3c91fb447898a8788d3c3b77fb6..359c22c50eaf9b2db1dbe9c821632cc9c294af6e 100644 (file)
@@ -288,12 +288,6 @@ To disable timer scans, set this to zero."
   :type 'boolean
   :group 'whitespace)
 
-(defgroup whitespace-faces nil
-  "Faces used in whitespace."
-  :prefix "whitespace-"
-  :group 'whitespace
-  :group 'faces)
-
 (defface whitespace-highlight '((((class color) (background light))
                                 (:background "green1"))
                                (((class color) (background dark))
@@ -305,7 +299,7 @@ To disable timer scans, set this to zero."
                                  (background dark))
                                 (:background "white")))
   "Face used for highlighting the bogus whitespaces that exist in the buffer."
-  :group 'whitespace-faces)
+  :group 'whitespace)
 (define-obsolete-face-alias 'whitespace-highlight-face
   'whitespace-highlight "22.1")
 
index e2b5dd9fb3ba984a89e702495e6b4380fbb08842..7ae80b02e2f3668058d76f4f003d36996357f4ff 100644 (file)
@@ -46,6 +46,7 @@
 
 ;;;; Customization variables
 
+;; Unused.  Cf org-completion.
 (defgroup org-complete nil
   "Outline-based notes management and organizer."
   :tag "Org"
index 7e7bfe287131ac2b389419e7e0155b85d53d890c..a946f0885ac31096275ee365972f0bb2ba57d71b 100644 (file)
 
 (require 'pcomplete)
 
-(defgroup pcmpl-linux nil
-  "Functions for dealing with GNU/Linux completions."
-  :group 'pcomplete)
+;; Unused.
+;;; (defgroup pcmpl-linux nil
+;;;   "Functions for dealing with GNU/Linux completions."
+;;;   :group 'pcomplete)
 
 ;; Functions:
 
index 6cb4713885ee90723c328026311525c380c7b192..256695acc9f251e7e8347088ff2a81b93d65e5f5 100644 (file)
@@ -148,6 +148,7 @@ as words.
 
 ;;;###autoload
 (define-global-minor-mode global-subword-mode subword-mode
+  :group 'convenience
   (lambda () (subword-mode 1)))
 
 (defun subword-forward (&optional arg)
@@ -301,6 +302,7 @@ edit them as words.
 
 ;;;###autoload
 (define-global-minor-mode global-superword-mode superword-mode
+  :group 'convenience
   (lambda () (superword-mode 1)))
 
 \f
index 1a7ecb5ef87ed5fdfd96b888bd64c65749165480..4bb388d4405e65b1ec2f2feb2a27109eefda7e04 100644 (file)
@@ -8327,14 +8327,14 @@ project is defined."
 With a prefix argument ARG, enable the mode if ARG is positive,
 and disable it otherwise.  If called from Lisp, enable it if ARG
 is omitted or nil."
-  :global t)
+  :global t :group 'vhdl-mode)
 
 (define-minor-mode vhdl-stutter-mode
   "Toggle VHDL stuttering mode.
 With a prefix argument ARG, enable the mode if ARG is positive,
 and disable it otherwise.  If called from Lisp, enable it if ARG
 is omitted or nil."
-  :global t)
+  :global t :group 'vhdl-mode)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Stuttering
index d09d7aee43f958bc5697647aa36e336d3d835c0e..51a0ffc4fe869c4f1ba0e35ef5d0e95944ef5a06 100644 (file)
   "Directory support in shell mode."
   :group 'shell)
 
-(defgroup shell-faces nil
-  "Faces in shell buffers."
-  :group 'shell)
+;; Unused.
+;;; (defgroup shell-faces nil
+;;;   "Faces in shell buffers."
+;;;   :group 'shell)
 
 ;;;###autoload
 (defcustom shell-dumb-shell-regexp (purecopy "cmd\\(proxy\\)?\\.exe")
index 782924086df16f5ab5f92558012566baccaca832..2453f479edaa9cd3b9813bad8c63c8a82ff1a3cb 100644 (file)
@@ -46,6 +46,7 @@ With a prefix argument ARG, switch to 132-column mode if ARG is
 positive, and 80-column mode otherwise.  If called from Lisp,
 switch to 132-column mode if ARG is omitted or nil."
   :global t :init-value (= (frame-width) 132)
+  :group 'terminals
   (send-string-to-terminal (if vt100-wide-mode "\e[?3h" "\e[?3l"))
   (set-frame-width terminal-frame (if vt100-wide-mode 132 80)))
 
index da437c178b6d780c330515a0a992f5057200b188..05a129225eeaee8fafeb464dd04fa7ee18e45a5e 100644 (file)
@@ -27,7 +27,7 @@
 (defgroup xterm nil
   "XTerm support."
   :version "24.1"
-  :group 'environment)
+  :group 'terminals)
 
 (defcustom xterm-extra-capabilities 'check
   "Whether Xterm supports some additional, more modern, features.
index f6a2c7eca0545912117674c044cbec209001e803..ebbc6ee0afb48a2353b040de60704caab3269943 100644 (file)
 
 ;;; Code:
 
-(defgroup refill nil
-  "Refilling paragraphs on changes."
-  :group 'fill)
+;; Unused.
+;;; (defgroup refill nil
+;;;   "Refilling paragraphs on changes."
+;;;   :group 'fill)
 
 (defvar refill-ignorable-overlay nil
   "Portion of the most recently filled paragraph not needing filling.
@@ -222,7 +223,8 @@ characters only cause refilling if they would cause
 auto-filling.
 
 For true \"word wrap\" behavior, use `visual-line-mode' instead."
-  :group 'refill
+  ;; Not global, so no effect.
+;;;  :group 'refill
   :lighter " Refill"
   :keymap '(("\177" . backward-delete-char-untabify))
   ;; Remove old state if necessary
index b3503c6c9821645a23639e26acf6ab49d828873c..01981175e1d1a2eb84951a0ee6418701ecf55cd0 100644 (file)
@@ -3932,7 +3932,7 @@ string)) to be used for converting the document."
                              (choice :tag "Command options"
                                      (const :tag "No options" nil)
                                      (string :tag "Options"))))
-  :group 'rst
+  :group 'rst-compile
   :package-version "1.2.0")
 (rst-testcover-defcustom)
 
index e4fa02f9fe604ecc4515adc055f6e66e21f3c0e7..b4e4be319558fce0c39c6202b6164e9ea5a7cc38 100644 (file)
@@ -418,7 +418,7 @@ Variables controlling the display of messages in the mode line include:
         `global-mode-string'
         `type-break-mode-line-break-message'
         `type-break-mode-line-warning'"
-  :global t)
+  :global t :group 'type-break)
 
 (define-minor-mode type-break-query-mode
   "Toggle typing break queries.
@@ -428,7 +428,7 @@ enable them if ARG is omitted or nil.
 
 The user may also enable or disable this mode simply by setting
 the variable of the same name."
-  :global t)
+  :global t :group 'type-break)
 
 \f
 ;;; session file functions
index f8f24de6b68ee3cb2354556d61e655866ab0fcd5..4c63c548f791e8725ed72bfd44543e466e28dd82 100644 (file)
@@ -1,3 +1,7 @@
+2013-05-15  Glenn Morris  <rgm@gnu.org>
+
+       * url-news.el (url-news): Remove empty custom group.
+
 2013-02-16  Glenn Morris  <rgm@gnu.org>
 
        * url-http.el (url-http-wait-for-headers-change-function):
index 391974d79f8f840a69ae8f6ee30b679a1a7a0a44..d45326261839bdefafa717a5ddbbfae5831f4a96 100644 (file)
 (autoload 'url-warn "url")
 (autoload 'gnus-group-read-ephemeral-group "gnus-group")
 
-(defgroup url-news nil
-  "News related options."
-  :group 'url)
+;; Unused.
+;;; (defgroup url-news nil
+;;;   "News related options."
+;;;   :group 'url)
 
 (defun url-news-open-host (host port user pass)
   (if (fboundp 'nnheader-init-server-buffer)