[Top][All Lists]

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

Re: longlines-mode: font-lock fails (in outline-mode)

From: David Reitter
Subject: Re: longlines-mode: font-lock fails (in outline-mode)
Date: Mon, 27 Jun 2005 18:11:21 +0100

On 27 Jun 2005, at 17:46, Richard M. Stallman wrote:

when outline-mode is used in conjunction with log, wrapped lines do not get fontified correctly: if a headline is wrapped, only the first
    line is correctly colored - the next one(s) are wrong.

Please provide a precise, self-contained test case so we can try
to reproduce it.

Oh, substitute "longlines-mode" for "log".
If the above description is not enough to reproduce, do this:

M-x outline-mode
M-x longlines-mode

enter this:

*** bla bla bla blu blu blu er er er yeah yeah yeah wow wow wow yup yup yup see here it went black not so good

Enter enough text for it to be wrapped around. The first line shown is in purple color, the next line is black, as are the following lines. Because it's still part of the headline, it should be purple as well. outline-mode should look for the hard end of the line, not the 'soft' or wrapped end.

Other modes (such as python-mode) have problems with longlines, too. I have reported this last week: http://lists.gnu.org/archive/html/emacs-pretest-bug/2005-06/ msg00452.html

reply via email to

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