unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* custom-mode should not be interactive
@ 2008-02-24  0:33 Magnus Henoch
  2008-02-24 15:23 ` Richard Stallman
  0 siblings, 1 reply; 7+ messages in thread
From: Magnus Henoch @ 2008-02-24  0:33 UTC (permalink / raw)
  To: emacs-devel

I noticed that custom-mode is an interactive function now.  I think it
shouldn't be, for two reasons:

1. It doesn't do anything useful when called interactively.
2. It hinders tab completion, making M-x customize-variable etc more
   difficult to type.

I'm not sure how to fix it though, as custom-mode is defined through
define-derived-mode, which always makes the mode function interactive.
One way is to define a new keyword argument for define-derived-mode.
What do you think?

Magnus





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-02-28  1:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-24  0:33 custom-mode should not be interactive Magnus Henoch
2008-02-24 15:23 ` Richard Stallman
2008-02-24 20:34   ` Stefan Monnier
2008-02-27 21:27     ` Juri Linkov
2008-02-27 22:31       ` Stefan Monnier
2008-02-27 22:50         ` Juri Linkov
2008-02-28  1:50           ` Stefan Monnier

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).