From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#64131: make resolving symlinks in compilation-find-file optional Date: Wed, 10 Jan 2024 02:39:33 -0800 Message-ID: References: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> <87h6o0b6x3.wl-qiang.fang@zoho.com.cn> <87cyyob3xm.wl-qiang.fang@zoho.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4021"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64131@debbugs.gnu.org To: Qiang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 10 11:40:18 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 1rNW0P-0000mF-Qe for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jan 2024 11:40:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNW05-0000Os-Qp; Wed, 10 Jan 2024 05:39:57 -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 1rNW04-0000NI-Fu for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2024 05:39:56 -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 1rNW03-0000Cw-5G for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2024 05:39:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNW0A-0001tC-Fm for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2024 05:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jan 2024 10:40: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.17048831897235 (code B ref 64131); Wed, 10 Jan 2024 10:40:02 +0000 Original-Received: (at 64131) by debbugs.gnu.org; 10 Jan 2024 10:39:49 +0000 Original-Received: from localhost ([127.0.0.1]:42013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNVzx-0001sc-4h for submit@debbugs.gnu.org; Wed, 10 Jan 2024 05:39:49 -0500 Original-Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:50430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNVzv-0001sM-1E for 64131@debbugs.gnu.org; Wed, 10 Jan 2024 05:39:47 -0500 Original-Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-55753dc5cf0so4706193a12.0 for <64131@debbugs.gnu.org>; Wed, 10 Jan 2024 02:39:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704883174; x=1705487974; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=oiaWSNpxhH7q3KfmUgnjWkTwtyE2iLEdKWSddvHUcYk=; b=KeZR+nwYxDhjHdcTns6tflgD9wj5nX30lLvg/9v39KZMLxVh6YPmRHRZHAtdgyAkxn b77t0uv+GgWW+O029eTwcK2io2Qm9qOV57uiR3Kxu6uGG0HzYmKMLUj+jc9XpaD8BDV5 cSIOqH8GXSl03z1k2dTgUCGc7oO7ZdM1It5gs8Ue5P4NiBtALhvjy7rWk/hIODvSVdy8 +66KJcC0IMw1UZWhF3iLRat5yAniOmg9Pa9uKaL7WpUP8LdB/xCvuVUru8um77AzxX3A IUPEiTP+KoqwfFdPUHwJQGX68AGSdHvgIlk0ZoYorOrEm0F3mag3BZMTRNxGpNoW9t/T Ea6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704883174; x=1705487974; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oiaWSNpxhH7q3KfmUgnjWkTwtyE2iLEdKWSddvHUcYk=; b=mWotQP0DYfAXu4myCsXQ2CgJLX+aLGnVep3ibO8P3Bq2GVJNkV9XKIoLDzzE2c5VRl 6HQgq+N6OIOrjB/F8Xo+7SGthDXQlvFo3q1gSlOn6QslCw/kquyHUu697qL+QTGy6XW1 K1RpHWd3gJtfMDw6P1vqmCgm3yd98E9i2+WnIiPQoAYNPJZxEEDl5qqVAJRpZujjXi9P RkuqY7Rx7cKGOEjo5w7rPJyPXk5D7ft6YHEPq4bDnR1SGq6LbLlkR4oBctLztjXCsbSz kMqnMiBBl/qq80kCNRw2xX4nasV2Z+TocBvEPxbpglYuj/KFBnImMuSzisWjPYLNufpz EZ3A== X-Gm-Message-State: AOJu0YxUtQvFeCT1+0Fv3QW4k6zhpbxtw/napZrouGOWZZMiH5AeQpY2 i6yQR8VW9sBtMRymA6thB/2rp5WMbhPdARSSTeU= X-Google-Smtp-Source: AGHT+IGcA/3gwwZWAGA/CPlkKKXLKBfzJ2z1DoW9WN/nXQ2UN6yChQnn9bGdwJehL4t46e7YgGf38QIZBxojplC1EpQ= X-Received: by 2002:a50:a695:0:b0:557:ecab:2c7d with SMTP id e21-20020a50a695000000b00557ecab2c7dmr307265edc.30.1704883173710; Wed, 10 Jan 2024 02:39:33 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Jan 2024 02:39:33 -0800 In-Reply-To: <87cyyob3xm.wl-qiang.fang@zoho.com.cn> (Qiang's message of "Tue, 12 Sep 2023 09:01:09 +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:277698 Archived-At: 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?