From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: `xterm-mouse-mode' has a bogus Custom group Date: Mon, 11 Apr 2005 09:51:32 +1200 Message-ID: <16985.40932.272577.252728@farnswood.snap.net.nz> References: <200504020351.j323ppS16391@raven.dms.auburn.edu> <16974.11752.332998.125628@farnswood.snap.net.nz> <200504021346.j32Dk3e19471@raven.dms.auburn.edu> <16978.12100.857894.861739@farnswood.snap.net.nz> <200504060000.j3600bm15264@raven.dms.auburn.edu> <16979.20638.871209.55398@farnswood.snap.net.nz> <200504070045.j370j0J27252@raven.dms.auburn.edu> <16981.58243.428189.615765@farnswood.snap.net.nz> <200504081605.j38G5ia15320@raven.dms.auburn.edu> <16982.64939.154130.463783@farnswood.snap.net.nz> <200504090406.j3946HQ22712@raven.dms.auburn.edu> <01c53d89$Blat.v2.4$96f0bb20@zahav.net.il> <200504101318.j3ADID528159@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1113170051 25326 80.91.229.2 (10 Apr 2005 21:54:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2005 21:54:11 +0000 (UTC) Cc: eliz@gnu.org, Luc Teirlinck , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 10 23:54:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKkNV-000217-Sl for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2005 23:54:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKjxV-0002e1-6y for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2005 17:27:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DKjwC-0002AZ-42 for emacs-devel@gnu.org; Sun, 10 Apr 2005 17:25:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DKjw9-00029U-QN for emacs-devel@gnu.org; Sun, 10 Apr 2005 17:25:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKjw8-00027O-O8 for emacs-devel@gnu.org; Sun, 10 Apr 2005 17:25:44 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DKkMy-0004Hm-QN; Sun, 10 Apr 2005 17:53:29 -0400 Original-Received: from farnswood.snap.net.nz (p249-tnt1.snap.net.nz [202.124.110.249]) by viper.snap.net.nz (Postfix) with ESMTP id ED2164AC7A1; Mon, 11 Apr 2005 09:51:59 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 378EF62A99; Sun, 10 Apr 2005 22:51:32 +0100 (BST) Original-To: Stefan Monnier In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.11 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:35839 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35839 > > confusion with some prior similar cases. The only drawback of not > > preloading it is that we need to duplicate the same code in the > > defcustom and in startup.el and make sure that the two stay exactly in > > sync. > > There are other ways to avoid this duplication. See patch below. In the case of define-minor-mode, perhaps it could be arranged that, for example, (tooltip-mode 2) sets tooltip-mode to the standard value. That might mean a lot of changes but I guess its a problem thats not going to go away. I don't know how to access the standard value (:init-value?), what would happen if its not set, etc, but if its a sensible idea, I could look at it. Nick