[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comment-filling fixes
From: |
Dave Love |
Subject: |
Re: comment-filling fixes |
Date: |
Thu, 18 Mar 2004 15:36:56 +0000 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> I actually fixed this a couple days ago. My fix is similar to
> yours.
Actually, my fix was wrong/incomplete. I can't send a new diff just now.
> I sent a similar patch to the list a while ago and just installed.
Sigh.
> The difference with yours is that it only uses syntax-ppss if the major
> mode sets a specific variable. The reason for it is that in major modes
> like tex-mode or perl-mode where the syntax-tables are not quite up to the
> task, using syntax-ppss means that if the syntax functions get confused the
> comment-related operations suddenly don't work at all any more.
That seems backwards to me. Why penalize most modes?
In modes which actually need `font-lock-syntactic-keywords' treatment,
I suppose you could modify the behaviour depending on whether
font-lock is on. Syntactification really should be divorced from
fontification.
- comment-filling fixes, Dave Love, 2004/03/06
- Re: comment-filling fixes, Stefan Monnier, 2004/03/10
- Re: comment-filling fixes,
Dave Love <=
- Re: comment-filling fixes, Stefan Monnier, 2004/03/18
- Re: comment-filling fixes, Stefan Monnier, 2004/03/18
- Re: comment-filling fixes, Dave Love, 2004/03/25
- Re: comment-filling fixes, Stefan Monnier, 2004/03/25
- Re: comment-filling fixes, Dave Love, 2004/03/26
- Re: comment-filling fixes, Richard Stallman, 2004/03/27
- Re: comment-filling fixes, Dave Love, 2004/03/29
- Re: comment-filling fixes, Stefan Monnier, 2004/03/29
- Re: comment-filling fixes, Richard Stallman, 2004/03/30