emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: customize-apropos


From: Luc Teirlinck
Subject: Re: customize-apropos
Date: Tue, 13 Dec 2005 23:58:28 -0600 (CST)

Drew Adams wrote:

   Using a documented `C-u' with a standard command is not some bizarre expert
   behavior. If this is not intended for users, then let's get rid of the `C-u'
   option. I vote to keep it and clarify the Custom-buffer messages
   accordingly, but if people think this `C-u' behavior is something for
   experts only, then let's get rid of it.

Because you can use a prefix arg does not mean that you have to use
it.  Would the following patch help clear up your misconceptions?

===File ~/cus-edit-diff=====================================
*** cus-edit.el 12 Dec 2005 21:36:47 -0600      1.247
--- cus-edit.el 13 Dec 2005 23:54:56 -0600      
***************
*** 1257,1263 ****
  If ALL is `faces', include only faces.
  If ALL is `groups', include only groups.
  If ALL is t (interactively, with prefix arg), include variables
! that are not customizable options, as well as faces and groups."
    (interactive "sCustomize regexp: \nP")
    (let ((found nil))
      (mapatoms (lambda (symbol)
--- 1257,1265 ----
  If ALL is `faces', include only faces.
  If ALL is `groups', include only groups.
  If ALL is t (interactively, with prefix arg), include variables
! that are not customizable options, as well as faces and groups.
! \(In most situations, using `apropos-variable', with or without
! prefix arg, is more useful than using a prefix arg for this function.)"
    (interactive "sCustomize regexp: \nP")
    (let ((found nil))
      (mapatoms (lambda (symbol)
***************
*** 1285,1291 ****
  ;;;###autoload
  (defun customize-apropos-options (regexp &optional arg)
    "Customize all loaded customizable options matching REGEXP.
! With prefix arg, include variables that are not customizable options."
    (interactive "sCustomize regexp: \nP")
    (customize-apropos regexp (or arg 'options)))
  
--- 1287,1294 ----
  ;;;###autoload
  (defun customize-apropos-options (regexp &optional arg)
    "Customize all loaded customizable options matching REGEXP.
! With prefix arg, include variables that are not customizable options.
! \(In most situations, using `apropos-variable', with or without
! prefix arg, is more useful than using a prefix arg for this function.)"
    (interactive "sCustomize regexp: \nP")
    (customize-apropos regexp (or arg 'options)))
============================================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]