[Top][All Lists]

[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: Thu, 29 Oct 2015 07:32:55 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

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.

But it's not easy to implement, and there are certain corner cases
especially with multi-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.


reply via email to

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