From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64131: make resolving symlinks in compilation-find-file optional Date: Wed, 10 Jan 2024 15:29:42 +0200 Message-ID: <835y01nwop.fsf@gnu.org> References: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> <87h6o0b6x3.wl-qiang.fang@zoho.com.cn> <87cyyob3xm.wl-qiang.fang@zoho.com.cn> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29929"; mail-complaints-to="usenet@ciao.gmane.io" Cc: qiang.fang@zoho.com.cn, 64131@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 10 14:49:01 2024 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 1rNYx2-0007ZQ-Fw for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jan 2024 14:49:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNYwA-0007UJ-1o; Wed, 10 Jan 2024 08:48:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNYw8-0007TX-El for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2024 08:48:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rNYw8-00045G-4o for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2024 08:48:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNYw6-000323-Ip for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2024 08:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jan 2024 13:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64131 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 64131-submit@debbugs.gnu.org id=B64131.170489446611525 (code B ref 64131); Wed, 10 Jan 2024 13:48:02 +0000 Original-Received: (at 64131) by debbugs.gnu.org; 10 Jan 2024 13:47:46 +0000 Original-Received: from localhost ([127.0.0.1]:39236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNYvp-0002zd-Tm for submit@debbugs.gnu.org; Wed, 10 Jan 2024 08:47:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNYvl-0002ww-Dl for 64131@debbugs.gnu.org; Wed, 10 Jan 2024 08:47:41 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNYeg-0003La-Vo; Wed, 10 Jan 2024 08:30:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=A2mwbVqkaFV9jjuK4S0fGJPSACoeEcoWgHqKU7ROxrk=; b=SGUUni5Waq97 iLNrlN506SaeA/PPlGLKPoVUDulByEfKXR1aIVUUTKQY+y6oWS2CuqFDbKtgBQvFD464buy6IAcol lTdKKk0nLYWH2ou68iXfJ+n9lWBL7AUfYeKKlpZio/GRhhsbNHUzQw1zTtnC9IsO4P2ZpWmp5Y/aW 8G5i3OF2igIvMbExgpbkbJ5tSUg9UzqbwRA8VG6u5vUhANBtyogJlnDaFZQfn1TsXe9p7HaBUXZ7O Wj8yTOx7HZFtefhdgKdXnEr/4UArNTJQAeOTLMRKWXw/5mDPt54erMTaV9HkLnj/6zUMzjTdl1eZl SVgZVdrGeXZqePm/QOIKsA==; In-Reply-To: (message from Stefan Kangas on Wed, 10 Jan 2024 02:39:33 -0800) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:277738 Archived-At: > Cc: 64131@debbugs.gnu.org > From: Stefan Kangas > Date: Wed, 10 Jan 2024 02:39:33 -0800 > > Qiang writes: > > > Without that tiny modification, I have problem jump to the file in my > > git-annex folder, it jump to the actual database folder, what I want > > to the folder that have the symlink. I think it should be the default. > > > > People use symlinks to organize text documents, a file may have links > > in different dirs. For example, if we use dirs as catalogues, when a > > file is opened following the search result in a "rg" buffer, it would > > be convenient to jump to the catalogue by just M-x "dired". However, > > the current behavior is to jump to the dir that has the symlink > > destination file. For people using git-annex, the symlink destination > > dir could be a database dir, and it is not supposed to be accessed > > directly. > > Could you provide a recipe for how to test this, for someone that > doesn't use git-annex but would be happy to install it? > > Or even better, could you produce a recipe that doesn't rely on > git-annex? It is possible that this issue was resolved while solving bug#67930, so I suggest that the OP tries the current master branch to see if the problem still exists.