semantic--before-fetch-tags-hook is defined via defvar not via defcustom, so its not customizable via customize. You have to use `add-hook'.
 
Example: (add-hook  'semantic--before-fetch-tags-hook ...)
 
Klaus


Von: cedet-semantic-bounces@lists.sourceforge.net im Auftrag von Arne Schmitz
Gesendet: Mi 28.06.2006 14:20
An: cedet-semantic@lists.sourceforge.net
Betreff: Re: [cedet-semantic] Disable semantic parsing, keep ECB

Am Mittwoch, 28. Juni 2006 13:06 schrieb Eric M. Ludlam:
> >>> <klaus.berndl@sdm.de> seems to think that:
> >
> >Using Tomcat but need to do more? Need to support web services, security?
> >Get stuff done quickly with pre-integrated technology to make your job
> > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>   [ ... ]
>
> You are likely referring to this:
>
> (defvar semantic--before-fetch-tags-hook nil
>   "Hooks run before a buffer is parses for tags.
> It is called before any request for tags is made via the function
> `semantic-fetch-tags' by an application.
> If any hook returns a nil value, the cached value is returned
> immediately, even if it is empty.")
>
> which lets you short-circuit any parse based on an arbitrary criteria,
> such as directory, size, or whatever.

I can't find any of the variables you both mentioned in customize. What now?

Arne

--
Dipl.-Inform. Arne Schmitz              Phone   +49 (0)241 80-21817
Computer Graphics Group                 Fax     +49 (0)241 80-22899
RWTH Aachen University                  http://www.rwth-graphics.de
Ahornstrasse 55, 52074 Aachen, Germany