bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] Re: 2005-06-15; wrong-type-argument with LaTeX-includeg


From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] Re: 2005-06-15; wrong-type-argument with LaTeX-includegraphics-read-file-relative
Date: Thu, 16 Jun 2005 11:09:48 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

* Franz Haeuslschmid (2005-06-16) writes:

> Anyway, as I prepared the report, it stroke me,
> that the process of inserting macros is not transactional.  I
> mean, when I'm hit by an error or decide to abort to insert a
> macro, e.g. when I'm prompted to insert a file, the edited buffer
> should be in the state, that it was before hitting `C-c RET'.
>
> I don't know AUCTeX's internals, but is something like that hard
> to implement?  Of course, this is more a feature request or a
> suggestion for an improvement.

Doing this currently would be tricky.  The code for inserting macros
inserts the plain macro and then calls potential special functions for
inserting arguments of the macro.  In case processing of these special
functions is aborted, the plain macro will remain in the buffer as you
observed.

-- 
Ralf




reply via email to

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