From: Leo <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Change the default binding of C-x C-e ?
Date: Sun, 06 Jan 2008 14:59:11 +0000 [thread overview]
Message-ID: <m3ve67huf4.fsf@cam.ac.uk> (raw)
In-Reply-To: 20080106034104.5a17f366@reforged
On 2008-01-06 11:41 +0000, Mike Mattie wrote:
> Hello,
>
> I think it is a good idea to change the default key-binding of C-x C-e to eval-defun. From a reading of the Elisp
> Intro I became used to using the usual binding which is eval-last-sexp. Things worked fine until I progressed
> in elisp to where I wanted to use defvar. As the informed have probably surmised I was baffled by the results
> because repeated evaluation did not affect the default value.
>
> While reading through the manuals I stumbled across eval-defun and realized what was going on. AFAICT they
> are effectively the same in use, however eval-defun does not have suprising corner cases like defvar default
> values.
>
> FWIW it may help others to change this binding.
Do you know about "C-M-x"?
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
Use the best OS -- http://www.fedoraproject.org/
next prev parent reply other threads:[~2008-01-06 14:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-06 11:41 Change the default binding of C-x C-e ? Mike Mattie
2008-01-06 14:59 ` Leo [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2008-01-06 17:21 Robert J. Chassell
2008-01-06 19:45 ` Tom Tromey
2008-01-07 0:15 ` Stephen J. Turnbull
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ve67huf4.fsf@cam.ac.uk \
--to=sdl.web@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.