[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] feature proposal for reftex-toc: move sections
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX-devel] feature proposal for reftex-toc: move sections |
Date: |
Fri, 30 Oct 2015 08:14:46 +0100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
Uwe Brauer <address@hidden> writes:
>> But it's not easy to implement, and there are certain corner cases
>> especially with multi-file documents.
>
> Right this is why I thought, as a first step, only to implement it for
> one-file documents.
>
>> E.g., moving a section in a one-file document basically means moving
>> some region. With a multi-file document, it could also mean moving
>> just some \include or \input statement. And with a document with
>> sections A, B, and C where A and B are in one file and C in another
>> file, moving C in between A and B would entail deleting some include
>> in probably some main.tex and adding a new in the file with A and B.
>> Or alternatively, it could kill all text in C.tex and yank it in
>> between A and B, and then delete C.tex.
>
> Of course this would be really brilliant, but I think it requires
> quite a bit of work.
I won't come to implementing that anytime soon but I just added this
idea to emacs/etc/TODO so maybe someone else gives it a go.
Bye,
Tassilo