jed-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Update to my Jed macros page


G. Milde wrote:

No, Word_Chars is a buffer local variable: While define_word() defines
word chars globally (i.e. for all buffers and modes), the buffer local
variable allows different settings for different modes.


Do you think it would make sense to add another level of local variables --
the mode-local variables. The search order for a variable would then be:
  1. buffer local
  2. mode local
  3. global

(this search order could be coded into get_blocal_var or a new function
could be added)

This way one could define Word_Chars for all buffers with the same mode
and not just for the current buffer.

Marko

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]