[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Running .emacs style commands within emacs
From: |
Tim X |
Subject: |
Re: Running .emacs style commands within emacs |
Date: |
Wed, 21 May 2008 18:58:21 +1000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
"Ben Forbes" <bdforbes@gmail.com> writes:
> Actually what I meant was, I want to run lisp forms from within emacs. Eg,
> (global-set-key "\C-\M-z" 'delete-whole-line). There must be a Lisp engine
> running within Emacs that interprets this form when it is in the .emacs init
> file. Can I send lisp forms to this engine at any given time during an Emacs
> session? I know global-set-key can be run from M-x but it's interactive, I'd
> like to be able to enter the above form manually.
This is what I use the scratch buffer for.
enter the elisp form you want to evaluate. Put the cursor at the end
and hit C-x C-e. There are many other commands that will do similar
things, but that will get you started.
>
--
tcross (at) rapttech dot com dot au
Re: Running .emacs style commands within emacs, james, 2008/05/20