From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#49905: xref-find-references doesn't change directory to match relative filenames Date: Fri, 06 Aug 2021 03:36:51 +0300 Organization: LINKOV.NET Message-ID: <87k0kz8kn8.fsf@mail.linkov.net> References: <87pmurbfta.fsf_-_@mail.linkov.net> <49ea882f-0a37-0602-55e8-3c3eb558144a@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35412"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 49905@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 06 02:51:11 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 1mBo4t-00091L-Fi for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Aug 2021 02:51:11 +0200 Original-Received: from localhost ([::1]:43554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBo4r-0005Wx-Ri for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Aug 2021 20:51:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBo4k-0005Vn-Dq for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 20:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBo4k-0000we-7a for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 20:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBo4k-0004cq-4Z for bug-gnu-emacs@gnu.org; Thu, 05 Aug 2021 20:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Aug 2021 00:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49905 X-GNU-PR-Package: emacs Original-Received: via spool by 49905-submit@debbugs.gnu.org id=B49905.162821101817725 (code B ref 49905); Fri, 06 Aug 2021 00:51:02 +0000 Original-Received: (at 49905) by debbugs.gnu.org; 6 Aug 2021 00:50:18 +0000 Original-Received: from localhost ([127.0.0.1]:48705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBo42-0004bp-MN for submit@debbugs.gnu.org; Thu, 05 Aug 2021 20:50:18 -0400 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:39919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBo40-0004bM-VS for 49905@debbugs.gnu.org; Thu, 05 Aug 2021 20:50:17 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 9CB76200002; Fri, 6 Aug 2021 00:50:09 +0000 (UTC) In-Reply-To: <49ea882f-0a37-0602-55e8-3c3eb558144a@yandex.ru> (Dmitry Gutov's message of "Fri, 6 Aug 2021 03:14:58 +0300") 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:211281 Archived-At: >> 3. check that default-directory of the output*xref* buffer >> with relative file names is not project's root. > > But does that lead to you not being able to visit the references by > pressing RET (or C-o)? No problem with RET and C-o, but e.g. using 'find-file-at-point' on the file name fails to find the relative file name.