* bug#3136: 23.0.92; Customized variables include state string
@ 2009-04-28 4:16 Chong Yidong
2009-04-28 10:12 ` Cameron Horsburgh
0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2009-04-28 4:16 UTC (permalink / raw)
To: Cameron Horsburgh; +Cc: 3136, rfrancoise
> 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'.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#3136: 23.0.92; Customized variables include state string
2009-04-28 4:16 bug#3136: 23.0.92; Customized variables include state string Chong Yidong
@ 2009-04-28 10:12 ` Cameron Horsburgh
2009-04-28 17:16 ` Glenn Morris
0 siblings, 1 reply; 5+ messages in thread
From: Cameron Horsburgh @ 2009-04-28 10:12 UTC (permalink / raw)
To: Chong Yidong; +Cc: 3136, rfrancoise, Cameron Horsburgh
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#3136: 23.0.92; Customized variables include state string
2009-04-28 10:12 ` Cameron Horsburgh
@ 2009-04-28 17:16 ` Glenn Morris
2009-04-29 3:22 ` Stefan Monnier
0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2009-04-28 17:16 UTC (permalink / raw)
To: Cameron Horsburgh; +Cc: Chong Yidong, 3136, rfrancoise
Cameron Horsburgh wrote:
> 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,
Looks like my 2009-03-24 changes to wid-edit.el are to blame.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#3136: 23.0.92; Customized variables include state string
2009-04-28 17:16 ` Glenn Morris
@ 2009-04-29 3:22 ` Stefan Monnier
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2009-04-29 3:22 UTC (permalink / raw)
To: Glenn Morris; +Cc: Chong Yidong, 3136, rfrancoise, Cameron Horsburgh
>> 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,
> Looks like my 2009-03-24 changes to wid-edit.el are to blame.
Shame on them,
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#3136: 23.0.92; Customized variables include state string
@ 2009-04-27 21:24 Cameron Horsburgh
0 siblings, 0 replies; 5+ messages in thread
From: Cameron Horsburgh @ 2009-04-27 21:24 UTC (permalink / raw)
To: emacs-pretest-bug; +Cc: rfrancoise
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.
In GNU Emacs 23.0.92.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1)
of 2009-04-24 on elegiac, modified by Debian
(emacs-snapshot package, version 1:20090423-1)
Windowing system distributor `The X.Org Foundation', version 11.0.10601000
configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.92/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.92/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_AU.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Custom
Minor modes in effect:
rcirc-track-minor-mode: t
diff-auto-refine-mode: t
desktop-save-mode: t
shell-dirtrack-mode: t
recentf-mode: t
display-time-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
c t o r i a SPC f o r SPC s c h o o l SPC c h a m p
s . <backspace> <backspace> . <return> SPC <tab> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> SPC SPC SPC SPC SPC A s s <backspace>
<backspace> <backspace> E x p <tab> <down-mouse-5>
<mouse-5> <down-mouse-5> <mouse-5> <down-mouse-5> <mouse-5>
O t h e r : S c h o o l SPC C h a m p i o n s h i p
s : T e a m SPC f e e <return> <tab> <home> SPC SPC
SPC SPC SPC <end> <tab> <up> <end> <tab> SPC SPC SPC
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC <backspace>
$ 1 4 0 . 0 0 C-x C-s <up> <down> C-x C-s <up> <up>
<up> <up> <up> <up> <down> <down> <down> <down> <down>
<home> C-SPC <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <up> <up> <up> <down> M-x
<up> <up> <up> <return> ; <return> C-x C-s M-/ C-/
C-x C-s M-x c u s t o m <tab> - g r <tab> <return>
t w i t t e r <return> <down-mouse-5> <mouse-5> <double-down-mouse-5>
<double-mouse-5> <down-mouse-4> <mouse-4> <help-echo>
<help-echo> <down-mouse-1> <help-echo> <mouse-movement>
<mouse-1> <help-echo> <help-echo> <help-echo> <down-mouse-1>
<mouse-1> <help-echo> <down-mouse-1> <mouse-1> <help-echo>
<down-mouse-1> <mouse-1> <help-echo> <down-mouse-1>
<mouse-1> <help-echo> <help-echo> <down-mouse-1> <help-echo>
<mouse-movement> <mouse-1> <help-echo> <down-mouse-1>
<down-mouse-2> <help-echo> <help-echo> <help-echo>
<help-echo> <down-mouse-1> <down-mouse-5> <mouse-5>
<help-echo> <help-echo> <down-mouse-1> <help-echo>
<mouse-movement> <mouse-2> <down-mouse-4> <mouse-4>
<help-echo> <down-mouse-1> <mouse-2> <help-echo> <down-mouse-5>
<mouse-5> <double-down-mouse-5> <double-mouse-5> <triple-down-mouse-5>
<triple-mouse-5> <down-mouse-4> <mouse-4> <double-down-mouse-4>
<double-mouse-4> <triple-down-mouse-4> <triple-mouse-4>
<down-mouse-5> <mouse-5> <down-mouse-4> <mouse-4> <down-mouse-4>
<mouse-4> C-x C-s <help-echo> <help-echo> <help-echo>
y e s <return> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <se
nd-emacs-bug-report>
Recent messages:
Creating group members... 75%
Creating group magic...
Creating group state...
Creating group... done
Creating customization items ...done
Resetting customization items...done
Creating customization setup...done
byte-code: Beginning of buffer [2 times]
Saving file /home/cameron/.emacs...
Wrote /home/cameron/.emacs
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-04-29 3:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 4:16 bug#3136: 23.0.92; Customized variables include state string Chong Yidong
2009-04-28 10:12 ` Cameron Horsburgh
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
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).