From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#2544: 23.0.60; Could etags please try find a local tag first? Date: Mon, 19 Jul 2021 16:48:52 +0200 Message-ID: <878s22nyuj.fsf@gnus.org> References: <7f9b11c90903021336o775a3f75i8bd89f3ae4540cb7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22694"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 2544@debbugs.gnu.org To: Matzi Kratzi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 19 16:50:13 2021 Return-path: Envelope-to: geb-bug-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 1m5Uay-0005gA-1n for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Jul 2021 16:50:12 +0200 Original-Received: from localhost ([::1]:60760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5Uax-0001Uk-1c for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Jul 2021 10:50:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5Uao-0001Uc-Ls for bug-gnu-emacs@gnu.org; Mon, 19 Jul 2021 10:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48183) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5Uao-00077C-Du for bug-gnu-emacs@gnu.org; Mon, 19 Jul 2021 10:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5Uao-0005rt-8o for bug-gnu-emacs@gnu.org; Mon, 19 Jul 2021 10:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Jul 2021 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 2544 X-GNU-PR-Package: emacs Original-Received: via spool by 2544-submit@debbugs.gnu.org id=B2544.162670614322479 (code B ref 2544); Mon, 19 Jul 2021 14:50:02 +0000 Original-Received: (at 2544) by debbugs.gnu.org; 19 Jul 2021 14:49:03 +0000 Original-Received: from localhost ([127.0.0.1]:59729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5UZr-0005qU-Gq for submit@debbugs.gnu.org; Mon, 19 Jul 2021 10:49:03 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:45772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5UZp-0005q0-B9 for 2544@debbugs.gnu.org; Mon, 19 Jul 2021 10:49:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=NCSoj+3cIsD5H/ung7FPezN8Mtygh2gR1+TTa88bPZM=; b=LvCTH3/XOwZaORDMKAswxe8G9X /I2jtuU1fpFF2FBnU/pzff3H3hPWvciQQYGyWfwL5FLa7y7Ry5DMzJ8vLRNR60zMyG11ZzLv4wpiC +JfBk1OA3Htyd8VLMDNt9BzByB9lnxZMz6DBoOKR6oG+GyM3xZnok5/G8VUr0UxDa8d8=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5UZg-0007sj-Rj; Mon, 19 Jul 2021 16:48:55 +0200 X-Now-Playing: Colored Music's _Individual Beauty_: "Trick Or Treat" In-Reply-To: <7f9b11c90903021336o775a3f75i8bd89f3ae4540cb7@mail.gmail.com> (Matzi Kratzi's message of "Mon, 2 Mar 2009 22:36:40 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210250 Archived-At: Matzi Kratzi writes: > Would it make sense, in general, for etags to first try to find a tag > inside the current buffer? I am working in legacy code that has the > same name for certain help functions in many files. I would like etags > to first try find the tag inside the current buffer. (I'm going through old bug reports that unfortunately got no response at the time.) I can certainly see cases where that would be useful. I think much of this stuff has been rewritten in terms of xref now? I gave the xref code a quick look-over, but I didn't see anything obvious in this area... Does anybody know whether Emacs grown support for this use case in the 12 years since this bug report was filed? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no