Reiner Steib <[EMAIL PROTECTED]> 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 _______________________________________________ auctex-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex-devel
