help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find-tag


From: Eli Zaretskii
Subject: Re: find-tag
Date: Sun, 15 Nov 2015 22:38:05 +0200

> From: Andreas Matthias <andreas.matthias@gmail.com>
> Date: Sat, 14 Nov 2015 16:25:44 +0100
> 
> Andreas Matthias wrote:
> 
> > I'm trying to `find-tag' a function named `foo.bar' but it seems
> > to be impossible to find function names containing a period.
> > The name is definitely listed in the TAGS file but is not found
> > by `find-tag'. Am I missing something?
> 
> Digging through the code of etags.el I found etags-tags-completion-table which
> contains a large regex used for parsing the TAGS file. In this regex there
> are three character groups like
> 
>    [-a-zA-Z0-9_+*$:]
> 
> This seems to be the reason why function names containing periods are not
> found. If I add the period in these character groups
> 
>    [-.a-zA-Z0-9_+*$:]
> 
> then `find-tag' finds function names like `foo.bar' (quite common names in 
> Lua).
> 
> Are there reasons why the period was omitted in this regex?

So is the problem with completion or with finding tags that include a
period (or both)?

In any case, I suggest to report all this, including a sample Lua
source file, using "M-x report-emacs-bug RET", and let the developers
decide whether this is a bug and how to fix it.

Thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]