auctex
[Top][All Lists]
Advanced

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

Re: [AucTeX] Comment filling : I would like to make a contribution


From: Vincent Belaïche
Subject: Re: [AucTeX] Comment filling : I would like to make a contribution
Date: Fri, 08 Aug 2008 21:55:40 +0200
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

Salut,

Herein attached is my contribution. Finally I was in such a need for that change that I could not wait for your feedback.

The total change exceeds 12 lines, I commit to feel in all the legalese if you send me the papers.

+-----------------+--------------------------------------+
|auctex.texi      | Updated documentation                |
|auctex.texi.diff | Unified diff on documentation        |
|auctex.texi.old  | Documentation version prior to update|
+-----------------+--------------------------------------+
|latex.el         | Updated code                         |
|latex.el.diff    | Unified diff on code                 |
|latex.el.old     | Code version prior to update         |
+-----------------+--------------------------------------+
|ChangeLog.delta  | ChangeLog addendum                   |
+-----------------+--------------------------------------+

Cordialement,
  Vincent.


Vincent Belaïche a écrit :
Hi,

Me again.

Just to recall that I am not subscribed to address@hidden and that any answer to my mail should explicitly include me in recipient list.

FYI: I have developped this "unfillable comment line" thing, and now I am testing it. I am waiting for your feedback before providing diff files for documentation and latex.el, and a change log.

BR,
  Vincent.

Vincent Belaïche a écrit :
Dear Ralf,

I would like to make a contribution on comment filling. This contribution has not been yet developped, I am just asking for your opinion before doing anything.

For some reason I need that some special comments be not filled. These special comments are defined by this that

1) they start at column 1
2) they match some regexp

I think that this can be usefull for some other users (e.g. if you have a table within a comment, you would not like
filling to destroy the column alignments in the table).

I could not find that such a possibility already exists in AucTeX. Please tell me if I am wrong.

My intention is to add a new defcustom, something like :

(defcustom LaTeX-unfillable-line-comment-re-list nil
"List of regexp matching LaTeX comments starting at column 1 that shall not be filled"
 :type '(repeat regexp)
 :group 'LaTeX)

And to use it in function LaTeX-fill-paragraph in order to disable comment filling for those comments that start on column 1 and match one of the regexp in
LaTeX-unfillable-line-comment-re-list ?

Do you approve this way of doing ?

VBR,
  Vincent.










Attachment: unfillablelinecomments.tgz
Description: Binary data


reply via email to

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