[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: something like linum.el ought to be added
From: |
Stefan Monnier |
Subject: |
Re: something like linum.el ought to be added |
Date: |
Fri, 14 Sep 2007 09:59:37 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
> Yes, that's how I'm doing it now; update is now also added to several
> other hooks. One oversight in Emacs is, I think, that the functions in
> window-size-change-functions are invoked as regular functions in
> xdisp.c, therefore making the hook buffer-local currently results in
> an error (due to 't'). I'm thus modifying the global hook for now.
I think your code should rely on fontification-functions instead of fiddling
with things like window-size-change-functions. It may very well be that
fontification-functions doesn't work quite right for you, tho (basically it
was defined for jit-lock and I believe that putting more than one function
on it won't work right, so maybe you'd want to use jit-lock-register
instead).
Stefan
- Re: something like linum.el ought to be added, (continued)
- Re: something like linum.el ought to be added, Markus Triska, 2007/09/10
- Re: something like linum.el ought to be added, Richard Stallman, 2007/09/12
- Re: something like linum.el ought to be added, Joe Wells, 2007/09/12
- Re: something like linum.el ought to be added, David Kastrup, 2007/09/12
- Re: something like linum.el ought to be added, Richard Stallman, 2007/09/12
- Re: something like linum.el ought to be added, Markus Triska, 2007/09/14
- Re: something like linum.el ought to be added,
Stefan Monnier <=
- Re: something like linum.el ought to be added, Joe Wells, 2007/09/14
- Re: something like linum.el ought to be added, Stefan Monnier, 2007/09/14
- Re: something like linum.el ought to be added, Richard Stallman, 2007/09/14
- RE: something like linum.el ought to be added, brianjiang, 2007/09/14
- Re: something like linum.el ought to be added, Markus Triska, 2007/09/14
- Re: something like linum.el ought to be added, Juanma Barranquero, 2007/09/15
- Re: something like linum.el ought to be added, Markus Triska, 2007/09/15
- Re: something like linum.el ought to be added, Juanma Barranquero, 2007/09/15
- Re: something like linum.el ought to be added, Richard Stallman, 2007/09/11
- Re: something like linum.el ought to be added, Richard Stallman, 2007/09/11