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 10:38:01 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

* David Kastrup (2005-05-04) writes:

> Ralf Angeli <address@hidden> writes:
>
>> I don't think anyone will expect the mark being placed at the start
>> of the environment after inserting it.  As a user I would rather
>> expect it to be where I left it, i.e. either at the start or the end
>> of the originally marked region, depending on it being marked from
>> bottom to top or the other way round.
>
> I can't see that.  If I mark a region actively and do C-c C-e, then I
> expect the resulting region to be around the environment.  And that
> means that if we move point to either beginning or end of the inserted
> area, mark should end up at the opposite side.  Letting the mark stay
> where it is within the resulting environment would only be appropriate
> if we let at the same time point stay where it is.

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.

-- 
Ralf




reply via email to

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