unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Magnus Henoch <mange@freemail.hu>
To: emacs-devel@gnu.org
Subject: custom-mode should not be interactive
Date: Sun, 24 Feb 2008 01:33:48 +0100	[thread overview]
Message-ID: <87d4qnw5ub.fsf@freemail.hu> (raw)

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





             reply	other threads:[~2008-02-24  0:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-24  0:33 Magnus Henoch [this message]
2008-02-24 15:23 ` custom-mode should not be interactive 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d4qnw5ub.fsf@freemail.hu \
    --to=mange@freemail.hu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).