Re: symboldef buffer ignores ecb-non-semantic-exclude-modes

"Berndl, Klaus" <[email protected]> Mon, 11 Jan 2010 18:27:55 +0100
Newsgroups gmane.emacs.code-browser
Message-ID <7697A57B1AD9104F993CDF6A5B69430C08D94DDAE0@CORPMAIL08.corp.capgemini.com>
Hi,

Thanks for pointing this out - i will pick up this! Good idea...

Ciao,
Klaus 

-----Ursprüngliche Nachricht-----
Von: Nate Schley [mailto:[email protected]] 
Gesendet: Montag, 4. Januar 2010 23:44
An: [email protected]
Betreff: [ECB-list] symboldef buffer ignores ecb-non-semantic-exclude-modes

Klaus,

ecb-method-browser has the variable ecb-non-semantic-exclude-modes to
exclude buffers with specified modes from getting parsed with imenu or
etags.

There appears to be no equivalent in ecb-symboldef.  Consequently, I
found myself having to close a pop-up window looking for a TAGS file
every time I moved the cursor in Custom-mode, help-mode, etc. -- a real pain.

I found the following modification to ecb-symboldef-find-definition
(line 548 of 1.18) seems to have fixed the problem.

d546 1
a546 2
                     (if (not (member major-mode
ecb-non-semantic-exclude-modes))
                         (ecb-symboldef-find-tag-by-etags symbol-name
edit-buffer))

You may want to pick this up.

-- 
Thanks,

Nate

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ecb-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecb-list

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev