auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: Insert Macro - Undo


From: Holger Sparr
Subject: [AUCTeX] Re: Insert Macro - Undo
Date: Tue, 12 Jun 2007 15:19:53 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

David Kastrup wrote:

> Holger Sparr <address@hidden> writes:
>
>> when using 'C-c RET' and being asked for further input for this macro
>> the insertion might take place in several steps.
>>
>> What can be done to undo the whole insertion at once?
>
> (defadvice TeX-insert-macro (around whole-undo activate)
>    (atomic-change-group ad-do-it))
>
> could possibly work.

Unfortunately, it does not.

(Building the string ahead of insertion causes a lot of changes in the
style files. Inserting it in a temp buffer could be an option.)

Holger

-- 





reply via email to

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