bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] Re: 2005-05-02; environment insertion on active region


From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] Re: 2005-05-02; environment insertion on active region unpractical
Date: Thu, 05 May 2005 12:20:31 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

* Ralf Angeli (2005-05-05) writes:

> Agreed.  As we traditionally alter point (e.g. in figure environments
> it will be placed inside the environment before the caption), it will
> be better to change the position of mark as well, i.e. to push a new
> mark onto the mark ring.

Argh!  This will break functions all over the board which call
`LaTeX-insert-item' after `LaTeX-insert-environment' if one does not
explicitely deactivate the mark.  The mark could be deactivated in
`LaTeX-insert-item' but this will of course take away the possibility
to use an active selection as optional argument for \item.  But
looking at the current code, implementing something like this does not
seem feasible anyway.  Ugh, unless I can find a solution I am
confident with, I tend to keep my hands off of this.  A patch is
attached if somebody is interested in it.

-- 
Ralf

Attachment: txtf_h3CPm9l4.txt
Description: Text Data


reply via email to

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