From: "Robert J. Chassell" <bob@rattlesnake.com>
To: emacs-devel@gnu.org
Subject: Re: Change the default binding of C-x C-e ?
Date: Sun, 6 Jan 2008 17:21:17 +0000 (UTC) [thread overview]
Message-ID: <m1JBZBV-002K4LC@rattlesnake.com> (raw)
Things worked fine until I progressed in elisp to where I wanted
to use defvar.
(info "(eintr)defvar")
says
The `defvar' special form ... only sets the value of the
variable if the variable does not already have a value.
I just checked this: I can use C-x C-e (eval-last-sexp) to set the
value of a variable with `defvar' for the first time. As described in
the Introduction, I cannot change the value a second time with
`defvar' and `eval-last-sexp'; for that, I must use `setq'.
Today's GNU Emacs CVS snapshot, Sun, 2008 Jan 6 11:10 UTC
GNU Emacs 23.0.50.21 (i686-pc-linux-gnu, GTK+ Version 2.12.1)
--
Robert J. Chassell GnuPG Key ID: 004B4AC8
bob@rattlesnake.com bob@gnu.org
http://www.rattlesnake.com http://www.teak.cc
next reply other threads:[~2008-01-06 17:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-06 17:21 Robert J. Chassell [this message]
2008-01-06 19:45 ` Change the default binding of C-x C-e ? Tom Tromey
2008-01-07 0:15 ` Stephen J. Turnbull
-- strict thread matches above, loose matches on Subject: below --
2008-01-06 11:41 Mike Mattie
2008-01-06 14:59 ` Leo
2008-01-06 15:14 ` Mike Mattie
2008-01-06 15:17 ` Alan Mackenzie
2008-01-06 20:35 ` Stefan Monnier
2008-01-07 6:53 ` Andreas Röhler
2008-01-07 4:18 ` Richard Stallman
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=m1JBZBV-002K4LC@rattlesnake.com \
--to=bob@rattlesnake.com \
--cc=emacs-devel@gnu.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).