auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Feature request: LaTeX-environment behavior with acti


From: Ralf Angeli
Subject: Re: [AUCTeX-devel] Feature request: LaTeX-environment behavior with active region
Date: Wed, 10 Aug 2011 23:39:26 +0200

* Erik Parmann (2011-07-24) writes:

> On Sun, Jul 24, 2011 at 2:35 PM, Ralf Angeli <address@hidden> wrote:
>> * Erik Parmann (2011-06-15) writes:
>>
>>> For me it seems to reasonable that when one evoke the function
>>> "LaTeX-environment" (e.g with C-c C-e) with some region selected it
>>> should but the environment delimiters (\begin.. and \end) at the
>>> beginning and the end of the selected region. Currently it does
>>> nothing if some region is selected.
>>
>> Sorry, but I don't understand the request.  What exactly should happen
>> if you type `C-c C-e' when the region is active?
>>
> It should invoke the function LaTeX-environment, prompting you to
> choose a environment. It should then put the start tag of that
> environment (e.g \begin{theorem}) at the start of your marked area,
> and the end tag at the end of the marked area.

In my case it does exactly that.

Which versions of AUCTeX and Emacs are you using?  Are you sure that
`C-c C-e' actually calls the original `LaTeX-environment' function
coming with AUCTeX?  `C-h k C-c C-e' might help you to determine that.

-- 
Ralf



reply via email to

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