[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change the default binding of C-x C-e ?
From: |
Leo |
Subject: |
Re: Change the default binding of C-x C-e ? |
Date: |
Sun, 06 Jan 2008 14:59:11 +0000 |
User-agent: |
Gnus/5.130000 Emacs/23.0.50 (20071101) Fedora 8 (gnu/linux) |
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/