* "Custom-" vs "customize-"
@ 2006-06-10 17:11 Drew Adams
2006-06-11 16:16 ` Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2006-06-10 17:11 UTC (permalink / raw)
There is this comment in cus-edit.el:
;; No commands should have names starting with `custom-' because
;; that interferes with completion. Use `customize-' for commands
;; that the user will run with M-x, and `Custom-' for interactive commands.
Of course "interactive commands" is redundant, and doesn't in any way
distinguish this case from "commands that the user will run with M-x".
Ignoring that, I imagine that what is meant is this:
1. `custom-' is for non-interactive functions (non-commands).
2. `Custom-' is for commands that are bound to key sequences.
3. `customize' is for commands that are not bound to key sequences.
If that's what the convention means, then I don't understand #2 and #3. Why
distinguish names based on whether or not a command is bound?
And even if that were a good idea, the convention is confusing because #1
and #2 are closer than #2 and #3 - why associate (and therefore confuse) #1
and #2?
Unless I'm missing something, I suggest that #2 be eliminated in favor of #3
for all commands. If this breaks old code, then we can create aliases and
deprecate their names.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "Custom-" vs "customize-"
2006-06-10 17:11 "Custom-" vs "customize-" Drew Adams
@ 2006-06-11 16:16 ` Richard Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2006-06-11 16:16 UTC (permalink / raw)
Cc: emacs-devel
2. `Custom-' is for commands that are bound to key sequences.
3. `customize' is for commands that are not bound to key sequences.
If that's what the convention means, then I don't understand #2 and #3. Why
distinguish names based on whether or not a command is bound?
So that the commands that are on keys won't impede completion
for the commands that you run with M-x.
This should not be changed.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-11 16:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-10 17:11 "Custom-" vs "customize-" Drew Adams
2006-06-11 16:16 ` Richard Stallman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).