[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Couple of automation questions

From: Teemu Likonen
Subject: Re: Couple of automation questions
Date: Wed, 27 Jul 2011 11:28:54 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

* 2011-07-27T13:41:29+05:30 * C. K. Kashyap wrote:

> Thanks Teemu ... I am aware of elisp. What I am looking for are
> general tips on how one goes about actually writing them in real time
> ( while editing some text) ... for example, if I do a kill and want to
> yank 10 times, What I'd do is M-:(dotimes (i 10) (yank))
> but is that the recommended way or would writing the script in the
> main buffer and executing it with C-x-e better ... or is there an even
> better way?

There are options. I'd say that do what you feel is comfortable to you.
I'll just add another option: write and define an interactive function
in the *scratch* buffer and then execute it (M-x ...) in the target

reply via email to

[Prev in Thread] Current Thread [Next in Thread]