[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Modifying a variable from describe-variable
From: |
Tom |
Subject: |
Re: Modifying a variable from describe-variable |
Date: |
Sat, 11 Jan 2014 16:45:11 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
João Távora <joaotavora <at> gmail.com> writes:
r all variables.
>
> This is so good I've already hacked it for me. No idea if I'm doing it
> correctly though...
>
> Thanks a lot for the idea.
If I understand correctly your solution does not provide the current
value of the variable by default, though this is the point.
E.g. if I have a value like
(("\\.org$" . org-mode)
("\\.php$" . html-mumamo-mode)
("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" nil epa-file)
("\\.dz\\'" nil jka-compr)
("\\.xz\\'" nil jka-compr)
("\\.lzma\\'" nil jka-compr)
("\\.lz\\'" nil jka-compr)
("\\.g?z\\'" nil jka-compr)
("\\.bz2\\'" nil jka-compr)
("\\.Z\\'" nil jka-compr)))
and I want to change a some minor thing it then I don't want to
type whe whole thing. I'd like to have the current value displayed
in a buffer, modify it then simply apply it.
Your solution can be useful for primitive types, but handling
more complex values in the echo area would not be really convenient.
- Modifying a variable from describe-variable, Tom, 2014/01/10
- Re: Modifying a variable from describe-variable, Stefan Monnier, 2014/01/10
- Re: Modifying a variable from describe-variable, Ivan Andrus, 2014/01/10
- Re: Modifying a variable from describe-variable, Daniel Colascione, 2014/01/10
- Re: Modifying a variable from describe-variable, Stefan Monnier, 2014/01/11
- Re: Modifying a variable from describe-variable, Tom, 2014/01/11
- Re: Modifying a variable from describe-variable, João Távora, 2014/01/11
- Re: Modifying a variable from describe-variable,
Tom <=
- Re: Modifying a variable from describe-variable, João Távora, 2014/01/11
- Re: Modifying a variable from describe-variable, Tom, 2014/01/12
- Re: Modifying a variable from describe-variable, Stefan Monnier, 2014/01/12
- Re: Modifying a variable from describe-variable, Tom, 2014/01/13
- Re: Modifying a variable from describe-variable, Josh, 2014/01/12
- Re: Modifying a variable from describe-variable, martin rudalics, 2014/01/11
- Re: Modifying a variable from describe-variable, David Kastrup, 2014/01/11
- Re: Modifying a variable from describe-variable, martin rudalics, 2014/01/11
- Re: Modifying a variable from describe-variable, David Kastrup, 2014/01/11
- Re: Modifying a variable from describe-variable, Tom, 2014/01/11