[plt-scheme] Specifying directory sandbox evalutes file requires relative to
My Emacs, these days, lets me type control-x e to run a macro and then
if I keep typing "e" it keeps running the macro. (I didn't do that
myself -- it just started working at some point.)
Robby
On Sun, Aug 31, 2008 at 5:37 PM, Neil Van Dyke <neil at neilvandyke.org> wrote:
> I almost forgot, if your Emacs isn't set up to have one-keypress execution
> of a keyboard macro, you might want something like this:
>
> (global-set-key [f5] 'call-last-kbd-macro)
>
> (global-set-key [(control f5)] 'my-macro-record-toggle)
>
> (defun my-macro-record-toggle ()
>
> (interactive)
>
> (if defining-kbd-macro
>
> (end-kbd-macro)
>
> (start-kbd-macro nil)))
>
>
>
>
>
> Neil Van Dyke wrote at 08/31/2008 06:31 PM:
>>
>> Emacs keyboard macros are also often a good one-off way to do this sort of
>> thing.
>>
>> And if you can formulate the edits as one keyboard macro activation per
>> file, then you can open a Dired showing the files to be modified, and launch
>> your keyboard macro on the file under point in Dired (so the keyboard macro
>> opens the file, does the edit, saves and closes the file, moves point to the
>> next file in the list for you to invoke the keyboard macro again).
>>
>> Robby Findler wrote at 08/31/2008 04:29 PM:
>>>
>>> I think that Eli recently mentioned that he'd found a way to pack a
>>> whole bunch of files into a single Emacs buffer and then edit them and
>>> then unpack them again -- if you did that, you could use an emacs
>>> macro to make the change to them all.
>>>
>>> Robby
>>>
>>
>> _________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>
>