auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] feature proposal for reftex-toc: move sections


From: Uwe Brauer
Subject: Re: [AUCTeX-devel] feature proposal for reftex-toc: move sections
Date: Thu, 29 Oct 2015 10:09:27 +0000
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux)

>>> "Tassilo" == Tassilo Horn <address@hidden> writes:

> Uwe Brauer <address@hidden> writes:
> Hi Uwe,

>> But could reftex-toc support to move or even delete sections?

> You mean by drag and drop?  Or maybe being able to edit the toc buffer
> (moving and renaming sections, etc) much like wdired?  I think
> especially the latter would be really cool.

That is what I meant!

> 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.



reply via email to

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