[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Modify environments interactively
From: |
Nicolas Richard |
Subject: |
Re: [AUCTeX] Modify environments interactively |
Date: |
Mon, 16 Feb 2015 11:34:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Tassilo Horn <address@hidden> writes:
> Igor Sosa Mayor <address@hidden> writes:
>
>>> related, is there a build in feature for deleting a given env?
>>>
>>> This is sometimes handy when editing other peoples work. (some people
>>> are very messy)
>>
>> this would be a good idea...
>
> I guess doing `C-u C-c C-e' and then deleting the environment name could
> do that, i.e., modifying an environment so that is has an empty name.
> But there's no good way to delete an environment. I mean, deleting the
> \begin/\end is easy, but you'd probably also want to delete its \items
> in case its an enumerate/itemize, etc.
Maybe. But what if there are labels ? (i.e. \item[foo] bar).
I would also want such a command to:
- remove arguments to the environement (e.g. for tabular, array, etc.).
- remove the indentation when applicable.
(I'm throwing in ideas in case someone wants to do it :p)
--
Nico
- [AUCTeX] Modify environments interactively, Roy Crihfield, 2015/02/13
- Re: [AUCTeX] Modify environments interactively, Tassilo Horn, 2015/02/13
- Re: [AUCTeX] Modify environments interactively, Lars Madsen, 2015/02/15
- Re: [AUCTeX] Modify environments interactively, Igor Sosa Mayor, 2015/02/15
- Re: [AUCTeX] Modify environments interactively, Tassilo Horn, 2015/02/16
- Re: [AUCTeX] Modify environments interactively, Igor Sosa Mayor, 2015/02/16
- Re: [AUCTeX] Modify environments interactively, Lars Madsen, 2015/02/16
- Re: [AUCTeX] Modify environments interactively, Lars Madsen, 2015/02/16
- Re: [AUCTeX] Modify environments interactively, Tassilo Horn, 2015/02/17
- Re: [AUCTeX] Modify environments interactively,
Nicolas Richard <=
- Re: [AUCTeX] Modify environments interactively, Tassilo Horn, 2015/02/16