From: "Drew Adams" <drew.adams@oracle.com>
To: "'Teemu Likonen'" <tlikonen@iki.fi>, <help-gnu-emacs@gnu.org>
Subject: RE: How change value of any variable at run time? (not just in.emacs w/ setq!)
Date: Wed, 17 Dec 2008 13:14:48 -0800 [thread overview]
Message-ID: <000a01c9608c$7e697c20$c2b22382@us.oracle.com> (raw)
In-Reply-To: <873agmfssm.fsf@iki.fi>
> > How change value of any variable at run time? (not just in .emacs)
> > I can use setq in .emacs but I don't know about run time.
>
> M-x set-variable
No. `set-variable' is only for user options.
You can use `set-any-variable', from simple+.el to set any variable.
http://www.emacswiki.org/emacs/simple%2b.el
> You can also evaluate any code with M-: so this also works:
>
> M-: (setq variable ...)
Yes.
See also `setq-default'.
next prev parent reply other threads:[~2008-12-17 21:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-17 20:16 How change value of any variable at run time? (not just in .emacs w/ setq!) seberino
2008-12-17 20:30 ` Teemu Likonen
2008-12-17 21:14 ` Drew Adams [this message]
[not found] ` <mailman.2982.1229548500.26697.help-gnu-emacs@gnu.org>
2008-12-18 2:46 ` How change value of any variable at run time? (not just in.emacs " Chetan
2008-12-17 20:31 ` How change value of any variable at run time? (not just in .emacs " Joost Diepenmaat
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='000a01c9608c$7e697c20$c2b22382@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=tlikonen@iki.fi \
/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.
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).