[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Running .emacs style commands within emacs
From: |
Joel J. Adamson |
Subject: |
Re: Running .emacs style commands within emacs |
Date: |
Wed, 21 May 2008 09:28:47 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Tim X <timx@nospam.dev.null> writes:
> "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.
>
There's also an interactive Emacs Lisp REPL called ielm in Emacs 23
(from CVS).
M-x ielm
Joel
--
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA 02114
(617) 643-1432
(303) 880-3109
Public key: http://pgp.mit.edu
http://www.unc.edu/~adamsonj
Re: Running .emacs style commands within emacs, james, 2008/05/20