From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Cameron Horsburgh Newsgroups: gmane.emacs.bugs Subject: bug#3136: 23.0.92; Customized variables include state string Date: Tue, 28 Apr 2009 20:12:35 +1000 Message-ID: <20090428101235.GI17832@earth> References: <87mya1ct0u.fsf@cyd.mit.edu> Reply-To: Cameron Horsburgh , 3136@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1240932605 7074 80.91.229.12 (28 Apr 2009 15:30:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2009 15:30:05 +0000 (UTC) Cc: 3136@emacsbugs.donarmstrong.com, rfrancoise@debian.org, Cameron Horsburgh To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 28 17:29:56 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LypFq-0002lQ-UC for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Apr 2009 17:29:55 +0200 Original-Received: from localhost ([127.0.0.1]:57051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LypFq-00082G-23 for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Apr 2009 11:29:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LykbZ-0004q8-6b for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 06:32:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LykbU-0004pS-Gb for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 06:32:00 -0400 Original-Received: from [199.232.76.173] (port=45222 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LykbU-0004pP-80 for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 06:31:56 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44098) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LykbT-0005NQ-OC for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2009 06:31:56 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3SAVpQ8018351; Tue, 28 Apr 2009 03:31:51 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3SAP4UW016042; Tue, 28 Apr 2009 03:25:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Cameron Horsburgh Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 28 Apr 2009 10:25:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3136 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3136-submit@emacsbugs.donarmstrong.com id=B3136.124091380714748 (code B ref 3136); Tue, 28 Apr 2009 10:25:04 +0000 Original-Received: (at 3136) by emacsbugs.donarmstrong.com; 28 Apr 2009 10:16:47 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from poplet2.per.eftel.com (postfix@poplet2.per.eftel.com [203.24.100.45]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3SAGgI7014742 for <3136@emacsbugs.donarmstrong.com>; Tue, 28 Apr 2009 03:16:44 -0700 Original-Received: from mail.aanet.com.au (mail.aanet.com.au [203.24.100.34]) by poplet2.per.eftel.com (Postfix) with ESMTP id 3D105173887; Tue, 28 Apr 2009 18:16:30 +0800 (WST) Original-Received: from localhost (unknown [202.164.196.24]) by mail.aanet.com.au (Postfix) with ESMTP id D2BD4149CEAB; Tue, 28 Apr 2009 18:12:35 +0800 (WST) Original-Received: from cameron by localhost with local (Exim 4.69) (envelope-from ) id 1LykIl-0004yO-Cp; Tue, 28 Apr 2009 20:12:35 +1000 Content-Disposition: inline In-Reply-To: <87mya1ct0u.fsf@cyd.mit.edu> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 28 Apr 2009 06:32:00 -0400 X-Mailman-Approved-At: Tue, 28 Apr 2009 11:29:39 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27506 Archived-At: On Tue, Apr 28, 2009 at 12:16:17AM -0400, Chong Yidong wrote: > > When I change a string variable using the customize interface, the > > line after the entry point for the string is included in the > > string. So, customising the variable 'twitter-username' to 'fred' leads > > to: > > > > ,---- > > | > > | '(twitter-username "fred > > | [State]: EDITED, shown value does not take effect until you set or > > | save it.") > > | > > `---- > > > > This behaviour has occurred for variables in several modes I have > > tried to customise and is readily reproducible. > > I can't reproduce this. Please provide a precise recipe for reproducing > this, starting with `emacs -Q'. > Thanks for your reply. Here's a blow by blow reproduction of trying this with emacs -Q. I move my existing .emacs out of the way, stop all running emacs processes and call emacs -Q. Then I run M-x customize-variable. I need to choose one that can be set to a string but has no initial value, because I can change existing values without the problem behaviour occurring. A good candidate is fill-prefix: M-x customize-variable fill-prefix I choose the option to set the variable to a string. I am given an area to type my customisation. However, the input area also appears to include the line immediately following, which refers to the state of the variable. I enter a string (say, NonsenseString) into the appropriate place and save with C-x C-s. Then I look at my .emacs file: C-x C-f ~/.emacs and I find: ,---- | | (custom-set-variables | ;; custom-set-variables was added by Custom. | ;; If you edit it by hand, you could mess it up, so be careful. | ;; Your init file should contain only one such instance. | ;; If there is more than one, they won't work right. | '(fill-prefix "NonsenseString | State: EDITED, shown value does not take effect until you set or save it.")) | (custom-set-faces | ;; custom-set-faces was added by Custom. | ;; If you edit it by hand, you could mess it up, so be careful. | ;; Your init file should contain only one such instance. | ;; If there is more than one, they won't work right. | ) | `---- I should also add that I have been able to follow this recipe in an xterm and in the GTK GUI version of emacs. Thanks for your time in helping get to the bottom of this! -- Cameron Horsburgh Blog: http://spiritcry.wordpress.com/