From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Matthias Newsgroups: gmane.emacs.help Subject: Re: find-tag Date: Sat, 14 Nov 2015 16:25:44 +0100 Organization: - Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447560063 31529 80.91.229.3 (15 Nov 2015 04:01:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Nov 2015 04:01:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 15 05:00:57 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZxoUr-0000ip-Bw for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Nov 2015 05:00:57 +0100 Original-Received: from localhost ([::1]:39648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxoUq-0006qD-QQ for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Nov 2015 23:00:56 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!1.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Injection-Info: mx02.eternal-september.org; posting-host="c3479830ba1f63b81d8488657897e0a0"; logging-data="5635"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18xv2Xfuu5YI6LTCjKURAbj" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:VRvyPwJNuE1BibD7JAqDFEmxOSE= Original-Xref: usenet.stanford.edu gnu.emacs.help:215778 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108071 Archived-At: 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? Andreas