A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01072.html below:

Re: Modifying a variable from describe-variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] 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.








RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4