|
From: | Vincent Belaïche |
Subject: | [AUCTeX] Re: Comment filling : I would like to make a contribution |
Date: | Fri, 15 Aug 2008 10:08:46 +0200 |
User-agent: | Thunderbird 2.0.0.16 (Windows/20080708) |
Ralf Angeli a écrit :
*Please confirm your intention* : do you object to my contribution ?If yes, you seem however to see some need for unfillable sections, could you please tell me how I could make this function available in an acceptable manner, as I do need for it, and I am sure that other people may need for it too.I'd post the idea on the Emacs development list for discussion.
Hello Ralph,Just to fuel arguments into this discussion: the need is not only for EUPP. File-variables also are using comments that need to be handled as special sections without indentation.
EUPP uses the same philosophy as file-varables for preprocessor code delimitation, either an EUPP bock is a one-liner (as for the buffer first line -*- coding: iso-8859-1 -*- file variable setting) or an EUPP block is a multi-liner (as for the end of buffer file variable setting
%%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: )So it would probably be good if there was some buffer local variable containig a list of delimitations conditions. Each delimitation condition would be a itself a list or a vector with the following information: * usage: some symbol telling what this delimitation is for (that symbol could be file-variable or eupp)
* position in buffer : top | bottom | anywhere * type of section : one-liner | multiliner * delimitation regexps : (bol eol) for a one-liner(first-line-bol first-line-eol mid-line-bol mid-line-eol last-line-bol last-line-eol) for a multi-liner
Then all what I would need to use EUPP under AUCTeX would be to add to that list EUPP specific EUPP block delimitation information.
BR, Vincent.
[Prev in Thread] | Current Thread | [Next in Thread] |