* Re: font-lock bug in fundamental mode
[not found] <20050830162948.GA11917@prunille.vinc17.org>
@ 2005-09-01 15:52 ` Richard M. Stallman
2005-11-27 17:59 ` Vincent Lefevre
0 siblings, 1 reply; 4+ messages in thread
From: Richard M. Stallman @ 2005-09-01 15:52 UTC (permalink / raw)
Cc: emacs-devel
With emacs 22.0.50.1 under Mac OS X 10.4.2 (installed via darwinports),
I have the following problem. Consider the following emacs-test file:
(add-to-list 'load-path "/opt/local/share/emacs/site-lisp")
(require 'font-lock)
(global-font-lock-mode t)
(setq font-lock-maximum-decoration t)
(add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
I open it with:
emacs -no-site-file -q -l emacs-test emacs-test
At this time, nothing has been colorized yet (this is OK). But
if I add something like a blank line at the beginning of the
file ([Enter] key), then the string
"/opt/local/share/emacs/site-lisp"
gets colorized. This shouldn't happen in fundamental mode.
I cannot reproduce it on GNU/Linux.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: font-lock bug in fundamental mode
2005-09-01 15:52 ` font-lock bug in fundamental mode Richard M. Stallman
@ 2005-11-27 17:59 ` Vincent Lefevre
2005-11-27 22:34 ` Richard M. Stallman
0 siblings, 1 reply; 4+ messages in thread
From: Vincent Lefevre @ 2005-11-27 17:59 UTC (permalink / raw)
I reported the following bug a few months ago...
On 2005-09-01 11:52:35 -0400, Richard M. Stallman wrote:
> With emacs 22.0.50.1 under Mac OS X 10.4.2 (installed via darwinports),
> I have the following problem. Consider the following emacs-test file:
>
> (add-to-list 'load-path "/opt/local/share/emacs/site-lisp")
> (require 'font-lock)
> (global-font-lock-mode t)
> (setq font-lock-maximum-decoration t)
> (add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
>
> I open it with:
>
> emacs -no-site-file -q -l emacs-test emacs-test
> At this time, nothing has been colorized yet (this is OK). But
> if I add something like a blank line at the beginning of the
> file ([Enter] key), then the string
>
> "/opt/local/share/emacs/site-lisp"
>
> gets colorized. This shouldn't happen in fundamental mode.
[I recall this was under Mac OS X.]
> I cannot reproduce it on GNU/Linux.
Now I could test it by myself under Linux... I've just installed the
emacs-snapshot-gtk Debian package:
emacs-snapshot-bin-common 20051124-1
emacs-snapshot-common 20051124-1
emacs-snapshot-el 20051124-1
emacs-snapshot-gtk 20051124-1
and I have exactly the same problem.
ay:~> emacs --version
GNU Emacs 22.0.50.1
[...]
The messages:
------------------------------------------------------------------
(emacs -q -no-site-file -l emacs-test emacs-test)
Loading disp-table...done
For information about the GNU Project and its goals, type C-h C-p.
Loading lazy-lock...done
Package lazy-lock is obsolete
------------------------------------------------------------------
Could it be due to the fact that Package lazy-lock is obsolete?
Unfortunately, it doesn't say what to use instead.
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: font-lock bug in fundamental mode
2005-11-27 17:59 ` Vincent Lefevre
@ 2005-11-27 22:34 ` Richard M. Stallman
2005-11-28 1:06 ` Vincent Lefevre
0 siblings, 1 reply; 4+ messages in thread
From: Richard M. Stallman @ 2005-11-27 22:34 UTC (permalink / raw)
Cc: emacs-devel
Now I could test it by myself under Linux...
Don't you mean "under GNU/Linux"?
Meanwhile, I am not sure I understand this:
I've just installed the
emacs-snapshot-gtk Debian package:
but I think it means you're not using the latest development Emacs
sources. In that case, it is not entirely clear what conclusion to
draw. Maybe you are seeing a bug that has been fixed.
Can you make it fail with the latest Emacs sources?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: font-lock bug in fundamental mode
2005-11-27 22:34 ` Richard M. Stallman
@ 2005-11-28 1:06 ` Vincent Lefevre
0 siblings, 0 replies; 4+ messages in thread
From: Vincent Lefevre @ 2005-11-28 1:06 UTC (permalink / raw)
Cc: emacs-devel
On 2005-11-27 17:34:27 -0500, Richard M. Stallman wrote:
> Now I could test it by myself under Linux...
>
> Don't you mean "under GNU/Linux"?
Oops, sorry, yes.
> Meanwhile, I am not sure I understand this:
>
> I've just installed the
> emacs-snapshot-gtk Debian package:
>
> but I think it means you're not using the latest development Emacs
> sources. In that case, it is not entirely clear what conclusion to
> draw. Maybe you are seeing a bug that has been fixed.
I've had a mail by the package maintainer, telling me that lazy-lock
is "hopelessly buggy", and suggested not to use it (jit-lock used by
default being sufficient). This is OK for me.
In fact, I had lazy-lock selected in my .emacs for years; I didn't
know that things have been improved and that it is now useless.
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-28 1:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20050830162948.GA11917@prunille.vinc17.org>
2005-09-01 15:52 ` font-lock bug in fundamental mode Richard M. Stallman
2005-11-27 17:59 ` Vincent Lefevre
2005-11-27 22:34 ` Richard M. Stallman
2005-11-28 1:06 ` Vincent Lefevre
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).