[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conflict between font-lock and justification.
From: |
Stefan Monnier |
Subject: |
Re: Conflict between font-lock and justification. |
Date: |
09 Jul 2001 11:06:10 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104 |
>>>>> "Cyril" == Cyril Bouthors <cyril@bouthors.org> writes:
> (setq vm-reply-hook
> '(lambda ()
> (setq default-justification "full")
> )
> )
Try to use
(add-hook 'vm-reply-hook (lambda () (setq default-justification 'full)))
instead. It might not fix your problem, but it will be more correct anyway.
> I'm quite used to quote only the minimal needed text and fill
> it in order to take always less than 72 caracters: I'm doing this with
> fill-paragraph (M-q) on each sentence/paragraph I quote. This was used
> to work fine with colors (quotes were always red even after being
> filled) when I didn't have to hook to justify text. Now, every lines
> in which fill-paragraph adds spaces to justify it are written in black
> instead of red, this is quite confusing. The lines are coming red
> back if I edit them.
So, you're saying that things work correctly if you comment out the
(setq vm-reply-hook ...) and that adding it back prevents
font-lock from automatically re-fontifying after fill-paragraph ?
That's odd. Do you have something else in your .emacs besides
the setq and the call to global-font-lock-mode ?
Stefan