From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: custom-variable-menu loses entries if defined during site-start Date: Tue, 09 Oct 2007 21:31:14 -0400 Message-ID: References: <20071007171653.GA11765@atlantic.linksys.moosehall> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191979952 19753 80.91.229.12 (10 Oct 2007 01:32:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Oct 2007 01:32:32 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Adam Spiers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 10 03:32:30 2007 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 1IfQR2-0008DU-O4 for ged-emacs-devel@m.gmane.org; Wed, 10 Oct 2007 03:32:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IfQQw-00035I-UN for ged-emacs-devel@m.gmane.org; Tue, 09 Oct 2007 21:32:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IfQQt-00034m-SB for emacs-devel@gnu.org; Tue, 09 Oct 2007 21:32:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IfQQq-00033T-68 for emacs-devel@gnu.org; Tue, 09 Oct 2007 21:32:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IfQQp-00033K-To for emacs-devel@gnu.org; Tue, 09 Oct 2007 21:32:15 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IfQQp-0004S0-Ov for emacs-devel@gnu.org; Tue, 09 Oct 2007 21:32:15 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IfQPq-0005I1-TE; Tue, 09 Oct 2007 21:31:14 -0400 X-Spook: diwn MP5K-SD CID Pine Gap plutonium sweep COSCO ANDVT X-Ran: wc)66h<[<$_BC7E[XBxP^m<]Z;APAj&$d@}l)W&|uyuz3|-vHP'%xTp^j}$w`Pv_^eOtFG X-Hue: black X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-Detected-Kernel: 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:80488 gmane.emacs.pretest.bugs:20090 Archived-At: Adam Spiers wrote: > I noticed that since upgrading to emacs 22, when changing variables > in a Custom buffer, individual variables no longer offered the "Save > for Future Sessions" action in the State menu, even when custom-file > and user-init-file are set correctly. I tracked it down to this > change: > > http://cvs.savannah.gnu.org/viewvc/emacs/lisp/cus-edit.el?root=emacs&view=diff&r1=1.250&r2=1.251 > > In particular, in the defvar of custom-variable-menu: > > ("Save for Future Sessions" custom-variable-save > > is changed to > > ,@(when (or custom-file user-init-file) > '(("Save for Future Sessions" custom-variable-save > > This works fine if cus-edit.el is loaded after custom-file and/or > user-init-file are initialized during startup. Perhaps cus-edit could test `init-file-user' instead of `user-init-file'. Looks like this is set early enough in the startup sequence. > However, on Fedora 7, the emacs-common-22.0.990-2.fc7 rpm This is a pretest of Emacs 22. Is there not a proper Emacs 22.1 package for Fedora 7?