- Subject: Customizing ctags Behaviour
- From: "Hagemann, Robert" <rhagemann@xxxxxxxxxxxx>
- Date: Thu, 9 Nov 2006 15:54:29 +0100
Hi,
thank you for the patch and sorry for answering not in time...
The patch seems to works for me, but there are to pending questions:
1. The patch uses get_blocal_var with two arguments.
According to the documentation,
get_blocal_var expects only one variable.
2. (Not in the patch itself):
The suggested c_mode_hook shuffles the arguments for set_blocal_var.
Anyways, in our environment, the tags-file is the same
for several programming languages,
so IMHO, a mode dependent setting is not the way to go,
I'd rather use the startup script
for the tags file location and the Word-Chars setting in
the mode definition itself.
Thank you again for your help,
Bye,
Robert Hagemann
> -----Ursprüngliche Nachricht-----
> Von: owner-jed-users-l@xxxxxxxxxxxxxxxx
> [mailto:owner-jed-users-l@xxxxxxxxxxxxxxxx] Im Auftrag von
> John E. Davis
> Gesendet: Dienstag, 31. Oktober 2006 18:17
> create_blocal_var ("Word_Chars");
> set_blocal_var ("Word_Chars", "-A-Za-z0-9");
> + word_chars = get_blocal_var ("Word_Chars", word_chars);
> return read_mini ("Find tag:", get_word_at_point (word_chars),
> ""); }
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2006 date index]
[2006 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]