From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christian Barthel Newsgroups: gmane.emacs.help Subject: etags - Word separators with xref-find-definitions Date: Sun, 25 Jul 2021 10:56:01 +0200 Message-ID: <874kciydpa.fsf@online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34751"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 25 15:35:22 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m7eHq-0008vK-5l for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 25 Jul 2021 15:35:22 +0200 Original-Received: from localhost ([::1]:60534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7eHo-00076l-U1 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 25 Jul 2021 09:35:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7eHV-00076d-Ni for help-gnu-emacs@gnu.org; Sun, 25 Jul 2021 09:35:01 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.134]:42517) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7eHT-0000Pp-Uj for help-gnu-emacs@gnu.org; Sun, 25 Jul 2021 09:35:01 -0400 Original-Received: from t480a1 ([84.189.158.26]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MeTkC-1lXUaC3Uk0-00aWGs for ; Sun, 25 Jul 2021 15:34:56 +0200 X-Archive: expiry=7 X-Provags-ID: V03:K1:gOctUqhpEX2gf3k+A2qyuvJmKTX9pTVe2mSNOFvp6N7X58+4hVy wbG35f9GjFaFLNnE3SbCzlc0udnqdJ6A2MoH2OLklnsqY0t2dfiqmKBmfxcP9YQj9rzpVXw uoLui05fQH5hmXhy1k3bOFMioE9zJqEZhErH9gRH7DH/OZQlVv7NQuRmgFUp0FEf+pmXFo/ Wi6Wz7DoQ+/j9EgP88KQA== X-UI-Out-Filterresults: notjunk:1;V03:K0:OmKhtTK8rD0=:tAVTU4oabhYl7rqnzpaw/7 BQU+2NoK1gYhgfNhU4j3U+YqVI9yAO2lrZQ56QPbmzGAEJE++kfw8rOZsyuCtVAcJ+8fuNtIU naaHwEUC2HH+dy+4MACgAaUEbm5mTp+2rP8RurmrPYdL0iKPUNgesLrLT2eauXwhQnl8H4UH9 NO3P4aCPizNw2qzGPCKsYVjLjt75qTKn+aBhvMj8mnpQWoZBnVp56aEoXp8JO1u1+625ti3kX 9EloHwrjxKG3Uuugm2jRtZ5jC8ePecSIO46ckjapcqfyXvTIw4YCAYLyVX0rRXn/FuJeKbo9o Vo+YqqmKQwHNycu9L+zIYXeGEhqxDfEvhxvSQY6hqkWKnzPKr/2eiPLL8S6xZmvB4W5nYAGAj D/+VWilpAiyY/sGbxNAYqS7puq7eUfn+XjY9ySy5XSg4hIgP+u8wbc7N3XTe+s0Bs6uNy6n8D +dQ7siN86cDvU5T1573sFv9qahEgQZ26yJjTaR/WFMbizCWXiM0JLOkb7Fhua6BD+UwWAS4vV +vO7K5JJmDMF3P2IqtlLEQhx44sVZ5D8FfHAjEJQZspqmWAPr3UOoIFVGYSQSaCZo3cV7opn3 anXTIvfjtj5EVXcEWBxW2bhnewW9QBUZKjJfC/66d00SbqWrrsly6D8vAy29Irp0cZz6+46Nq qRRYDUlhr/52FD667JAnnzTzirJPcjB8bQApIIsByyGg4uEJbGCB2+mFKx8RA/L9vcewpYHla pDSoTRKJHVdd+Q6eQOEd7eo0ehMfz6ZibyP1KCaAH3U5zHWTJ9X//OmlXmnYiTuz+HFTyY/e Received-SPF: pass client-ip=212.227.126.134; envelope-from=bch@online.de; helo=mout.kundenserver.de X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" X-Gmane-Expiry: 2021-08-01 Xref: news.gmane.io gmane.emacs.help:132099 Archived-At: Hello, I am using a TAGS file with a custom regex for SQL function, view and table definitions. At the moment, I am using this: --8<---------------cut here---------------start------------->8--- etags --language=3Dnone \ --regex=3D'/[ \t]*create\( or replace\)*[ \t][ \t]*\(function\|view\|tab= le\)[ \t]*\([^ (]*\)/\3/i' *.sql --8<---------------cut here---------------end--------------->8--- The TAGS file contains identifiers like =E2=80=98schema.objectname=E2=80=99. However, when I am trying to use M-. (xref-find-definitions), it either searches for =E2=80=98schema=E2=80=99 or =E2=80=98objectname=E2=80= =99 (depending on the location of the point). Is it possible to customize the xref function such that it recognize =E2=80=98schema.objectname=E2=80=99? Are there any variables to control the behavior of M-. ? (Something similar happens for LaTeX references: I am using \label{chapter:foobar}, but the : is lost and I can=E2=80=99t easily jump to the reference) My current workaround is to use C-u M-. and enter the name manually but it would be nicer to directly jump to the definition. Thanks! --=20 Christian Barthel