* meta-mode.el comment on font lock
@ 2007-09-10 12:49 Lennart Borgman (gmail)
2007-09-10 14:17 ` Michaël Cadilhac
2007-09-10 14:21 ` Stefan Monnier
0 siblings, 2 replies; 6+ messages in thread
From: Lennart Borgman (gmail) @ 2007-09-10 12:49 UTC (permalink / raw)
To: Emacs Devel
I think the comments about font lock in meta-mode.el needs some
updating. Here is how it looks now:
;; Font Lock Support:
;;
;; If you are using global-font-lock-mode (introduced in Emacs 19.31),
;; fontification in Metafont and/or MetaPost mode will be activated
;; automatically. To speed up fontification for the rather complex
;; patterns used in these modes, it may be a good idea to activate
;; lazy-lock as a font-lock-support-mode (introduced in Emacs 19.32)
;; by adding these lines to your startup file:
;;
;; (global-font-lock-mode t)
;; (setq font-lock-support-mode 'lazy-lock-mode)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: meta-mode.el comment on font lock
2007-09-10 12:49 meta-mode.el comment on font lock Lennart Borgman (gmail)
@ 2007-09-10 14:17 ` Michaël Cadilhac
2007-09-10 15:11 ` Lennart Borgman (gmail)
2007-09-10 14:21 ` Stefan Monnier
1 sibling, 1 reply; 6+ messages in thread
From: Michaël Cadilhac @ 2007-09-10 14:17 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: Emacs Devel
[-- Attachment #1.1: Type: text/plain, Size: 540 bytes --]
"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
> I think the comments about font lock in meta-mode.el needs some
> updating.
What do you suggest? Talking about jit? Deleting the comment?
--
| Michaël `Micha' Cadilhac | Boobs will come and go, and then, |
| http://michael.cadilhac.name | someday, you'll meet a pair of boobs |
| JID/MSN: | that you want to marry. |
`---- michael.cadilhac@gmail.com | -- Randy - --'
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: meta-mode.el comment on font lock
2007-09-10 12:49 meta-mode.el comment on font lock Lennart Borgman (gmail)
2007-09-10 14:17 ` Michaël Cadilhac
@ 2007-09-10 14:21 ` Stefan Monnier
1 sibling, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2007-09-10 14:21 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: Emacs Devel
> I think the comments about font lock in meta-mode.el needs some
> updating. Here is how it looks now:
> ;; Font Lock Support:
> ;;
> ;; If you are using global-font-lock-mode (introduced in Emacs 19.31),
> ;; fontification in Metafont and/or MetaPost mode will be activated
> ;; automatically. To speed up fontification for the rather complex
> ;; patterns used in these modes, it may be a good idea to activate
> ;; lazy-lock as a font-lock-support-mode (introduced in Emacs 19.32)
> ;; by adding these lines to your startup file:
> ;;
> ;; (global-font-lock-mode t)
> ;; (setq font-lock-support-mode 'lazy-lock-mode)
Yes, please remove at least the lazy-lock bits (could be replaced with
jit-lock, but since jit-lock is and has always been the default anyway,
there's no point mentioning it).
Thanks,
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: meta-mode.el comment on font lock
2007-09-10 14:17 ` Michaël Cadilhac
@ 2007-09-10 15:11 ` Lennart Borgman (gmail)
2007-09-10 15:25 ` David Kastrup
0 siblings, 1 reply; 6+ messages in thread
From: Lennart Borgman (gmail) @ 2007-09-10 15:11 UTC (permalink / raw)
To: Michaël Cadilhac; +Cc: Emacs Devel
Michaël Cadilhac wrote:
> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
>
>> I think the comments about font lock in meta-mode.el needs some
>> updating.
>
> What do you suggest? Talking about jit? Deleting the comment?
It looks to me like the whole comment should be deleted, but Stefan
suggested just removing the lazy-lock bit. An alternative is to clearly
state that the portion I pasted is for versions of Emacs older than 22.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: meta-mode.el comment on font lock
2007-09-10 15:11 ` Lennart Borgman (gmail)
@ 2007-09-10 15:25 ` David Kastrup
2007-09-10 15:32 ` Michaël Cadilhac
0 siblings, 1 reply; 6+ messages in thread
From: David Kastrup @ 2007-09-10 15:25 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: Michaël Cadilhac, Emacs Devel
"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
> Michaël Cadilhac wrote:
>> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
>>
>>> I think the comments about font lock in meta-mode.el needs some
>>> updating.
>>
>> What do you suggest? Talking about jit? Deleting the comment?
>
> It looks to me like the whole comment should be deleted, but Stefan
> suggested just removing the lazy-lock bit. An alternative is to
> clearly state that the portion I pasted is for versions of Emacs older
> than 22.
I am not sure what the situation for XEmacs would be, but I don't
think leaving a comment in for which we don't even know whether or not
it might possibly apply makes sense.
So I'd vote for throwing out the whole comment.
--
David Kastrup
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: meta-mode.el comment on font lock
2007-09-10 15:25 ` David Kastrup
@ 2007-09-10 15:32 ` Michaël Cadilhac
0 siblings, 0 replies; 6+ messages in thread
From: Michaël Cadilhac @ 2007-09-10 15:32 UTC (permalink / raw)
To: David Kastrup; +Cc: Lennart Borgman (gmail), Emacs Devel
[-- Attachment #1.1: Type: text/plain, Size: 1204 bytes --]
David Kastrup <dak@gnu.org> writes:
> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
>
>> Michaël Cadilhac wrote:
>>> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
>>>
>>>> I think the comments about font lock in meta-mode.el needs some
>>>> updating.
>>>
>>> What do you suggest? Talking about jit? Deleting the comment?
>>
>> It looks to me like the whole comment should be deleted, but Stefan
>> suggested just removing the lazy-lock bit. An alternative is to
>> clearly state that the portion I pasted is for versions of Emacs older
>> than 22.
>
> I am not sure what the situation for XEmacs would be, but I don't
> think leaving a comment in for which we don't even know whether or not
> it might possibly apply makes sense.
>
> So I'd vote for throwing out the whole comment.
The complete nuke has my vote too.
--
| Michaël `Micha' Cadilhac | Personne n'est la au mauvais moment |
| http://michael.cadilhac.name | et au mauvais endroit |
| JID/MSN: | par hasard. |
`---- michael.cadilhac@gmail.com | -- ElBarto - --'
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-09-10 15:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-10 12:49 meta-mode.el comment on font lock Lennart Borgman (gmail)
2007-09-10 14:17 ` Michaël Cadilhac
2007-09-10 15:11 ` Lennart Borgman (gmail)
2007-09-10 15:25 ` David Kastrup
2007-09-10 15:32 ` Michaël Cadilhac
2007-09-10 14:21 ` Stefan Monnier
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).