From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: xref-find-definitions Date: Thu, 25 Feb 2021 14:38:11 +0200 Message-ID: <5e44b1d0-04e3-ce2c-50a4-dea0f83d1639@yandex.ru> References: <86wnuxiaj5.fsf@x201.butler.org> <878s7ctu4r.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22176"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: Emacs To: Philip Kaludercic , Leo Butler Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 25 13:39:41 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 1lFFvh-0005db-BF for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 25 Feb 2021 13:39:41 +0100 Original-Received: from localhost ([::1]:41650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFFvg-0003AV-Ch for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 25 Feb 2021 07:39:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFFuL-0003AK-RY for help-gnu-emacs@gnu.org; Thu, 25 Feb 2021 07:38:17 -0500 Original-Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:38116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFFuJ-0002vH-J7 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2021 07:38:17 -0500 Original-Received: by mail-wm1-x331.google.com with SMTP id n4so3260585wmq.3 for ; Thu, 25 Feb 2021 04:38:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=GDuGdfPsPI6MhNdhspKJVAhL4JljnnFKJzefq/uYC9I=; b=DBsNJd/62nowhwYzbk0V2liA/umZqqFb7pDPEcRlqenHVGMofJiGFXRrgThhZ1MFcR g5EQVhzpJhuG7ZNteaRRm9uMDd8ecuOuSB70Qngmh9vlGIzM4p3dXg9TCzkv0oEL0BPw HbEpzdmAuGSsN9gAJxg9MDJnbhQMhWQVkbbxtdHVAjsQ/3Xzgj7IpwsTE7pA2ygj1I2Q qEMYaxLR4sWMd7yHzaW2qdWq7udlC+v8AExkNCq4k3Bg8g6UZkK3CAFBOqjqkCCLy+xH QTZCBSeepvpWVTPjGPRoMlJ2MJ0XfwtQgV3j7jwsmpUXuEY2aidOC9F+C5oSKnIcv5Zu s3vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GDuGdfPsPI6MhNdhspKJVAhL4JljnnFKJzefq/uYC9I=; b=H5kVx3l+NigrqIzleGfbyRK0SbAE9YmCN2EpVfHhi4GPX0LBx87RyRrhO9Nl25rr4j 0rmi3EAUKAgWFNtmM70LFtKByj8U8vvTeqdObGo3Cz2QxpLbDuxanzR+P0j3yu3mKwBT tbtGB+mmtA8yBVAjfjP4xuM3g1MUyOQMhzIAL1DBL4JJzGX2xO4no4dKGQGS1cjaJLXC B9qSywvgcEEB4QR5FtohQK4tac8+dnvzGf/pjaiBOe3TVqNWEEMGnrBp1/iPGFCcwmKU 4R4UjLZgU8u/D6LI9mNYEUbsQdIJZyw+7Q9ZfE7dXvSpquxMhT6AOs3u+AEe+XmYUygV dYEw== X-Gm-Message-State: AOAM5303EvjQ69cLLyi/J3XWY0RUXXppcPHwFx4kPqBrIjPtyjf5wsrH VsDsH3q87/esNKDUPeSa9vhd6tiuqYk= X-Google-Smtp-Source: ABdhPJzO+AoUh1f81oEJrjUgBhAcKvsodSNT5tAzqbgkBd6swQ1UB/FVYWH04d5vjNpOxplhmgo5Yg== X-Received: by 2002:a1c:29c4:: with SMTP id p187mr3139429wmp.8.1614256694076; Thu, 25 Feb 2021 04:38:14 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id a14sm9768270wrg.84.2021.02.25.04.38.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Feb 2021 04:38:13 -0800 (PST) In-Reply-To: <878s7ctu4r.fsf@posteo.net> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=raaahh@gmail.com; helo=mail-wm1-x331.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.435, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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" Xref: news.gmane.io gmane.emacs.help:128244 Archived-At: On 25.02.2021 10:43, Philip Kaludercic wrote: > Depending on the backend, it will call the method > xref-backend-identifier-at-point, that defaults to symbol-at-point, so > it doesn't use a regular expression in that sense. symbol-at-point ultimately delegates to forward-symbol, which uses certain regexps. But find-tag--default also adds a few ways the major mode can override the bounds-finding logic.