auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] Re: Cleaning functionality


From: David Kastrup
Subject: Re: [AUCTeX-devel] Re: Cleaning functionality
Date: Mon, 06 Feb 2006 12:35:52 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Reiner Steib <address@hidden> writes:

> On Mon, Feb 06 2006, Ralf Angeli wrote:
>
>> * Reiner Steib (2006-02-05) writes:
>>> On Sun, Feb 05 2006, Ralf Angeli wrote:
> [...]
>>>> The resulting customization options may not be easily
>>>> understandable by users not familiar with regular expressions.
>>>> Consequently we could provide the option to use a list of suffixes
>>>> instead of a regular expression and use such a list in the "easy"
>>>> cases like (La)TeX and ConTeXt modes as default.
>>>
>>> A compromise might be to use a list of regexps.
>>
>> Hm, not a bad option.  My concerns are that you will have to write a
>> lot of "\."'s for the extension delimiters and "\'"'s for matching
>> their ends.  And if you fail to do that correctly, mismatches will
>> happen which would be rather fatal when it comes to deleting files.
>
> We could prepend «\.» and append «\'» automatically unless the entry
> starts with «\.» (and «-» or «_» for ConTeXt or texinfo).  It might
> sound like too much DWIM, but if it's explicitly documented and the
> user already can see examples, it should be okay.

I don't like this.  One could use a list of strings, and instead of a
string you can also use '(regexp . "\\.sty\\'") or so.  I think I have
seen some convention like that somewhere within Emacs, don't remember
whether this was a normal or dotted list.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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