From: Cameron Horsburgh <cammo@netcall.com.au>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 3136@emacsbugs.donarmstrong.com, rfrancoise@debian.org,
Cameron Horsburgh <cammo@netcall.com.au>
Subject: bug#3136: 23.0.92; Customized variables include state string
Date: Tue, 28 Apr 2009 20:12:35 +1000 [thread overview]
Message-ID: <20090428101235.GI17832@earth> (raw)
In-Reply-To: <87mya1ct0u.fsf@cyd.mit.edu>
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/
next prev parent reply other threads:[~2009-04-28 10:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-28 4:16 bug#3136: 23.0.92; Customized variables include state string Chong Yidong
2009-04-28 10:12 ` Cameron Horsburgh [this message]
2009-04-28 17:16 ` Glenn Morris
2009-04-29 3:22 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2009-04-27 21:24 Cameron Horsburgh
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=20090428101235.GI17832@earth \
--to=cammo@netcall.com.au \
--cc=3136@emacsbugs.donarmstrong.com \
--cc=cyd@stupidchicken.com \
--cc=rfrancoise@debian.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).