From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Magnus Henoch Newsgroups: gmane.emacs.devel Subject: custom-mode should not be interactive Date: Sun, 24 Feb 2008 01:33:48 +0100 Message-ID: <87d4qnw5ub.fsf@freemail.hu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203813262 13004 80.91.229.12 (24 Feb 2008 00:34:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2008 00:34:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 24 01:34:47 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JT4pG-0003hi-82 for ged-emacs-devel@m.gmane.org; Sun, 24 Feb 2008 01:34:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JT4ok-0002tJ-PD for ged-emacs-devel@m.gmane.org; Sat, 23 Feb 2008 19:34:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JT4og-0002t2-Na for emacs-devel@gnu.org; Sat, 23 Feb 2008 19:34:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JT4of-0002sq-N9 for emacs-devel@gnu.org; Sat, 23 Feb 2008 19:34:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JT4of-0002sn-Hb for emacs-devel@gnu.org; Sat, 23 Feb 2008 19:34:05 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JT4oe-0007FD-FI for emacs-devel@gnu.org; Sat, 23 Feb 2008 19:34:05 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JT4oW-00037j-GD for emacs-devel@gnu.org; Sun, 24 Feb 2008 00:33:57 +0000 Original-Received: from etthundrat.olf.sgsnet.se ([193.11.222.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Feb 2008 00:33:56 +0000 Original-Received: from mange by etthundrat.olf.sgsnet.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Feb 2008 00:33:56 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 13 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: etthundrat.olf.sgsnet.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) Cancel-Lock: sha1:LbWccndZyLiZpHiWN5+kWVOgl+o= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90187 Archived-At: 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