all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: find-tag
Date: Sun, 15 Nov 2015 22:38:05 +0200	[thread overview]
Message-ID: <83fv07c82a.fsf@gnu.org> (raw)
In-Reply-To: <oc0khc-fg8.ln1@winky.hogwarts>

> 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	other threads:[~2015-11-15 20:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11 20:23 find-tag Andreas Matthias
2015-11-14 15:25 ` find-tag Andreas Matthias
2015-11-15 20:38   ` Eli Zaretskii [this message]
2015-11-16  0:14   ` find-tag Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83fv07c82a.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.