bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#10033: 24.0.91; Uncommenting fails in Autoconf mode


From: Chong Yidong
Subject: bug#10033: 24.0.91; Uncommenting fails in Autoconf mode
Date: Tue, 15 Nov 2011 13:29:08 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

Andreas Schwab <schwab@linux-m68k.org> writes:

> Chong Yidong <cyd@gnu.org> writes:
>
>> This is because the value of comment-start-skip in Autoconf mode is
>>
>>    "\\(?:\\<dnl\\|#\\) +"
>>
>> The \< is intended to avoid matching a "dnl" that is part of a word.
>
> dnl isn't a word, it is a comment, so \< cannot match it.

Yet syntax-propertize-function for Autoconf uses

  (set (make-local-variable 'syntax-propertize-function)
       (syntax-propertize-rules ("\\<dnl\\>" (0 "<"))))

which does work for matching only occurrences of `dnl' as separate
tokens.





reply via email to

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