[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock-comment-delimiter-face
From: |
Ralf Angeli |
Subject: |
Re: font-lock-comment-delimiter-face |
Date: |
Mon, 16 May 2005 10:16:36 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
* Richard Stallman (2005-05-16) writes:
> As your fix does not concern regular expression matching, does this
> mean it is correct for `(looking-at comment-start-skip)' in Lisp mode
> to return different values in case of single and multiple semicolons?
>
> I don't understand that question.
Okay, here are two examples:
(with-temp-buffer
(insert " ;")
(backward-char)
(looking-at "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+ *"))
(with-temp-buffer
(insert " ;;")
(backward-char 2)
(looking-at "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+ *"))
Shouldn't both examples return the same value? It looks like a bug to
me that the first example returns nil and the second t.
--
Ralf
Re: font-lock-comment-delimiter-face, Ralf Angeli, 2005/05/14
- Re: font-lock-comment-delimiter-face, Richard Stallman, 2005/05/16
- Re: font-lock-comment-delimiter-face, Ralf Angeli, 2005/05/16
- Re: font-lock-comment-delimiter-face, Richard Stallman, 2005/05/16
- Re: font-lock-comment-delimiter-face,
Ralf Angeli <=
- Re: font-lock-comment-delimiter-face, Richard Stallman, 2005/05/17
- Re: font-lock-comment-delimiter-face, Ralf Angeli, 2005/05/17
- Re: font-lock-comment-delimiter-face, Stefan Monnier, 2005/05/18