From unknown Sun Jun 22 04:01:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64131: make resolving symlinks in compilation-find-file optional Resent-From: Qiang Fang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Jun 2023 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64131 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 64131@debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs" Received: via spool by submit@debbugs.gnu.org id=B.168701206628233 (code B ref -1); Sat, 17 Jun 2023 14:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jun 2023 14:27:46 +0000 Received: from localhost ([127.0.0.1]:52242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAWu0-0007LG-9s for submit@debbugs.gnu.org; Sat, 17 Jun 2023 10:27:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:48470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAVpc-0002g4-Fr for submit@debbugs.gnu.org; Sat, 17 Jun 2023 09:19:10 -0400 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 1qAVpc-0005bT-9q for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2023 09:19:08 -0400 Received: from sender2-pp-o92.zoho.com.cn ([163.53.93.251]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAVpZ-0001x9-65 for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2023 09:19:08 -0400 Received: from mail.baihui.com by mx.zoho.com.cn with SMTP id 1687007929770257.411134155224; Sat, 17 Jun 2023 21:18:49 +0800 (CST) Received: from [119.7.117.38] by mail.zoho.com.cn with HTTP;Sat, 17 Jun 2023 21:18:49 +0800 (CST) Date: Sat, 17 Jun 2023 21:18:49 +0800 From: Qiang Fang Message-ID: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: ZohoCN Mail X-Mailer: ZohoCN Mail Received-SPF: pass client-ip=163.53.93.251; envelope-from=qiang.fang@zoho.com.cn; helo=sender2-pp-o92.zoho.com.cn 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Sat, 17 Jun 2023 10:27:42 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) I use rg for searching in a git-annex repo, rg use compilation-find-file to jump to the file from the search result, symlinks are resolved with file-truename. But it should not resolve the symlink in the above case. See this issue for more details. https://github.com/dajva/rg.el/issues/156#issuecomment-1595654224 From unknown Sun Jun 22 04:01:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64131: make resolving symlinks in compilation-find-file optional Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Sep 2023 18:07: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: To: Qiang Fang , 64131@debbugs.gnu.org Received: via spool by 64131-submit@debbugs.gnu.org id=B64131.169445560314263 (code B ref 64131); Mon, 11 Sep 2023 18:07:02 +0000 Received: (at 64131) by debbugs.gnu.org; 11 Sep 2023 18:06:43 +0000 Received: from localhost ([127.0.0.1]:54737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qflJ4-0003hy-MC for submit@debbugs.gnu.org; Mon, 11 Sep 2023 14:06:42 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:42178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qflJ1-0003hd-9A for 64131@debbugs.gnu.org; Mon, 11 Sep 2023 14:06:41 -0400 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2bcc331f942so57944321fa.0 for <64131@debbugs.gnu.org>; Mon, 11 Sep 2023 11:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694455589; x=1695060389; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:references:in-reply-to:from :from:to:cc:subject:date:message-id:reply-to; bh=z6nGl5clCjMHrQ3So9Psxlv7NjQ8eMoegx7HH+L6Z+E=; b=heHN1qKTDKYrwolC7UXPqwjmXTt60F19kET/8oJpsKmC4TFwfukdBjWHf//IsxQI0j RM0F/9wBTyRGaoAiE2i3sl6aWPf4DlZkOrKfELR7e/+FzNyTpncTaiRHqp/VpHSSt1CN PeLKnhfM1jZjWiWsy16mjxojqTL+896n2GadvM2+9ip7Gc6fkhzsbGnPq1C0cRsXWWx0 PLlcG4xIZI5DHinrC3OW8MJrJ9aLMsVLLkWvjKgHejJy2sn/NseTD86mojnzKL5o4rGm PRj/c6gM9pDMKeqK0ZF/sDnNMb2iEGIH67ic0vOQ3ak6Ml36gQnvw7ghzwMB9e2Gr+qw CPpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694455589; x=1695060389; h=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=z6nGl5clCjMHrQ3So9Psxlv7NjQ8eMoegx7HH+L6Z+E=; b=OqJWWHou1m/mrq7iBx44NNkj3zEqy6m/YC1Yi908Ahsse9IrLI4T8FAfeB6MzQZnGR 1C4hhtszid1AMY8yCMJHSHYTY5DdLp/8mDdlRouPHvi47W1+9T6uRvAyZ3NqGrdaNL4D KMFcsiYaGYstCiVgOCnHpDXfsoq4dCVcLJr2aBX05Tum6H1ItjR2tgrA7JLUg7WPV3t0 R0EvEuEEirOYxWZuWwoEsBPUa3m7b9l+h5aZ9clvitZZzHBfkmiYGb8MWU/Ug2KignCq 0Fd4/8pF2ehuhHr6YS1fG+EA9W+7d/bZAfUpUaX2RCwdLTPzmoj9trGuSCLex2MOFle+ r4Yg== X-Gm-Message-State: AOJu0YwodlRblIQBEyj8N1gzTvMguSB6n7eovZkUSifA031n0sqeDl25 3LMgx6zVFAV0EIPgLw0qoh5ne4V+rj3xdW0XqMU= X-Google-Smtp-Source: AGHT+IEiXyCOVJaZm5LiMvMletgmAsS2P7d1C3yPyROVsWDpWXEs/j3dhAK3nXU2O8xZ93GkdLk/a482MzvMU1bJFBk= X-Received: by 2002:a2e:86c2:0:b0:2b6:eceb:9b8 with SMTP id n2-20020a2e86c2000000b002b6eceb09b8mr128057ljj.10.1694455588816; Mon, 11 Sep 2023 11:06:28 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 11 Sep 2023 11:06:28 -0700 From: Stefan Kangas In-Reply-To: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> References: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> MIME-Version: 1.0 Date: Mon, 11 Sep 2023 11:06:28 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 64131 + moreinfo thanks Qiang Fang via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > I use rg for searching in a git-annex repo, rg use compilation-find-file to jump to the file from the search result, symlinks are resolved with file-truename. But it should not resolve the symlink in the above case. See this issue for more details. > > https://github.com/dajva/rg.el/issues/156#issuecomment-1595654224 Could you please give a complete recipe to reproduce this, what the result is and what you expect? Or is this a feature request? It's preferable if your recipe doesn't include rg.el, because otherwise it'll be hard for us to test it. From unknown Sun Jun 22 04:01:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64131: make resolving symlinks in compilation-find-file optional Resent-From: Qiang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Sep 2023 23:57: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 To: Stefan Kangas Cc: Qiang Fang , 64131@debbugs.gnu.org Received: via spool by 64131-submit@debbugs.gnu.org id=B64131.169447662013482 (code B ref 64131); Mon, 11 Sep 2023 23:57:02 +0000 Received: (at 64131) by debbugs.gnu.org; 11 Sep 2023 23:57:00 +0000 Received: from localhost ([127.0.0.1]:55267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfqm4-0003VM-8Z for submit@debbugs.gnu.org; Mon, 11 Sep 2023 19:57:00 -0400 Received: from sender2-pp-o92.zoho.com.cn ([163.53.93.251]:25156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfqm2-0003VC-6y for 64131@debbugs.gnu.org; Mon, 11 Sep 2023 19:56:59 -0400 Delivered-To: qiang.fang@zoho.com.cn DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1694476608; s=admin; d=zoho.com.cn; i=qiang.fang@zoho.com.cn; h=Date:Date:Message-ID:From:From:To:To:Cc:Cc:Subject:Subject:In-Reply-To:References:MIME-Version:Content-Type:Message-Id:Reply-To; bh=YX+U0sCQH72Xwncm0PVb/Vdud8HJhqJD9IICKlrbhsA=; b=B+vknzSqg/XGIqsW6Qkg8c0kjT0hv7x4wFSmiwOkZUCzpPPY7sQ/xa3UxB/GRYUQ oXvdZmxOvcT2kSu64u6j2ibNDv9N5+jyN0zUMNDM1cN8D32/eY1YtthUYD6EF8e6IUi NybdrjX7DII+bf6j3HraTtwhDI88Om+tWLAIDwWU= Received: from mypc.zoho.com.cn (182.136.10.30 [182.136.10.30]) by mx.zoho.com.cn with SMTPS id 1694476607376388.74310962524737; Tue, 12 Sep 2023 07:56:47 +0800 (CST) Date: Tue, 12 Sep 2023 07:56:40 +0800 Message-ID: <87h6o0b6x3.wl-qiang.fang@zoho.com.cn> From: Qiang In-Reply-To: References: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-ZohoCNMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) No, I couldn't provide a recipe. But it is obvious even to a beginner like me. The solution is just removed the file-truename function from compile-find-file, or make it customisable: (defun compilation-find-file (marker filename directory &rest formats) "Find a buffer for file FILENAME. If FILENAME is not found at all, ask the user where to find it. Pop up the buffer containing MARKER and scroll to MARKER if we ask the user where to find the file. Search the directories in `compilation-search-path'. A nil in `compilation-search-path' means to try the \"current\" directory, which is passed in DIRECTORY. If DIRECTORY is relative, it is combined with `default-directory'. If DIRECTORY is nil, that means use `default-directory'. FORMATS, if given, is a list of formats to reformat FILENAME when looking for it: for each element FMT in FORMATS, this function attempts to find a file whose name is produced by (format FMT FILENAME)." (or formats (setq formats '("%s"))) (let ((dirs compilation-search-path) (spec-dir (if directory (expand-file-name directory) default-directory)) buffer thisdir fmts name) (if (and filename (file-name-absolute-p filename)) ;; The file name is absolute. Use its explicit directory as ;; the first in the search path, and strip it from FILENAME. (setq filename (abbreviate-file-name (expand-file-name filename)) dirs (cons (file-name-directory filename) dirs) filename (file-name-nondirectory filename))) ;; Now search the path. (while (and dirs (null buffer)) (setq thisdir (or (car dirs) spec-dir) fmts formats) ;; For each directory, try each format string. (while (and fmts (null buffer)) (setq name (file-name-concat thisdir (format (car fmts) filename)) buffer (and (file-exists-p name) (find-file-noselect name)) fmts (cdr fmts))) (setq dirs (cdr dirs))) ;; If we haven't found it, this might be a parallel build. ;; Search the directories further up the buffer. (when (and (null buffer) compilation-search-all-directories) (with-current-buffer (marker-buffer marker) (save-excursion (goto-char (marker-position marker)) (when-let ((prev (compilation--previous-directory (point)))) (goto-char prev)) (setq dirs (cdr (or (get-text-property (1- (point)) 'compilation-directory) (get-text-property (point) 'compilation-directory)))))) (while (and dirs (null buffer)) (setq thisdir (car dirs) fmts formats) (while (and fmts (null buffer)) (setq name (file-name-concat thisdir (format (car fmts) filename)) buffer (and (file-exists-p name) (find-file-noselect name)) fmts (cdr fmts))) (setq dirs (cdr dirs)))) (while (null buffer) ;Repeat until the user selects an existing file. ;; The file doesn't exist. Ask the user where to find it. (save-excursion ;This save-excursion is probably not right. (let ((w (let ((pop-up-windows t)) (display-buffer (marker-buffer marker) '(nil (allow-no-window . t)))))) (with-current-buffer (marker-buffer marker) (goto-char marker) (and w (progn (compilation-set-window w marker) (compilation-set-overlay-arrow w)))) (let* ((name (read-file-name (format-prompt "Find this %s in" filename compilation-error) spec-dir filename t nil ;; The predicate below is fine when called from ;; minibuffer-complete-and-exit, but it's too ;; restrictive otherwise, since it also prevents the ;; user from completing "fo" to "foo/" when she ;; wants to enter "foo/bar". ;; ;; Try to make sure the user can only select ;; a valid answer. This predicate may be ignored, ;; tho, so we still have to double-check afterwards. ;; TODO: We should probably fix read-file-name so ;; that it never ignores this predicate, even when ;; using popup dialog boxes. ;; (lambda (name) ;; (if (file-directory-p name) ;; (setq name (expand-file-name filename name))) ;; (file-exists-p name)) )) (origname name)) (cond ((not (file-exists-p name)) (message "Cannot find file `%s'" name) (ding) (sit-for 2)) ((and (file-directory-p name) (not (file-exists-p (setq name (file-name-concat name filename))))) (message "No `%s' in directory %s" filename origname) (ding) (sit-for 2)) (t (setq buffer (find-file-noselect name)))))))) ;; Make intangible overlays tangible. ;; This is weird: it's not even clear which is the current buffer, ;; so the code below can't be expected to DTRT here. -- Stef (dolist (ov (overlays-in (point-min) (point-max))) (when (overlay-get ov 'intangible) (overlay-put ov 'intangible nil))) buffer))) From unknown Sun Jun 22 04:01:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64131: make resolving symlinks in compilation-find-file optional Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Sep 2023 00:34: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 To: Qiang Cc: 64131@debbugs.gnu.org Received: via spool by 64131-submit@debbugs.gnu.org id=B64131.169447882916049 (code B ref 64131); Tue, 12 Sep 2023 00:34:02 +0000 Received: (at 64131) by debbugs.gnu.org; 12 Sep 2023 00:33:49 +0000 Received: from localhost ([127.0.0.1]:55421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfrLg-0004Am-Sj for submit@debbugs.gnu.org; Mon, 11 Sep 2023 20:33:49 -0400 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:62516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfrLe-0004AZ-Ug for 64131@debbugs.gnu.org; Mon, 11 Sep 2023 20:33:48 -0400 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2be5e2a3c86so73277191fa.0 for <64131@debbugs.gnu.org>; Mon, 11 Sep 2023 17:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694478816; x=1695083616; 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=lLtQR/P6LNPVW8qfUl0TeHfRvoK7p+I/7/0Qtw2MHqU=; b=BKtnVUtWxCgvmJ08qB6wJuDhRUMPsCFJ79Vc5D5W64D1Tku+F9NFlvOwh1mrh8mTwP zb1lfVqY4jYj4GZAy+qttmDIhowNuO1BkEho6vxyVwW9hiKSFa48f9eyVYeOEmZOOt1E 6ZxbdVBJ6lHWmnDG0yWQlZW7j9L3iRUqfCtUZscH0XW+bkn8xSsBU3pH2yHI/WGOPRZa euLhHT9HneYVKi6XsjISxgpybYXevWcAY6yYrm3GUZ3A0KbTIPQcF/EKOeRvZF479NOZ BL3W6FW62oeqaxQee9P8bMyf7G2oiCNaDGSX9lg/L2BxNeKDp+VKiO84Q+VBa+Yv/mEP 1KSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694478816; x=1695083616; 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=lLtQR/P6LNPVW8qfUl0TeHfRvoK7p+I/7/0Qtw2MHqU=; b=feP1vla/riX8ffRGK/ZYE5ZI/3kePJ5OhO25qxm87BajFkLROb0npyrICb2aqaIGlw 56LJ5ssWcZOlRkF/QJe/9FbyP6lneHt2GyOlTKB5vfAL2sUf7FETneF1G8WzQD7nCHOC N1mMUD2wPvp5/8EyG6Vum/WFWWO8J9SWyjMeqeDG8HlprlZ8iw60a5GisUF5I5O0bTwI EltaNqbc8Cvq2bfJp0Yd8eAXZ0AxKnqm7XyJlEQJMzogvKs4x6glSNK2qvjIkPJrlod4 2Ihxe1z3NB0vyif5dLbQjQpkpDzNm2LIUXVhrcXCXN72nHuVk5xjphf3L2P5KOyPkVHc /taA== X-Gm-Message-State: AOJu0Yz1diA5PgeUHUE5LEpi3NoN398JUNSlZyQDlkaYVBjy8mXBT/5A 1fhlbyABNrrrhg21HXITylXxoG/8ieye3y/dBItRvbIfB8I= X-Google-Smtp-Source: AGHT+IGG7teK4QKqY+9ZZm/PanVgQZKEzp4hqb4tphTflAuc97UUVCVNg8kbcvwQF4ToPvtxUzu9gkc4XI+sKnik/8U= X-Received: by 2002:a05:651c:1250:b0:2bc:d2a6:3083 with SMTP id h16-20020a05651c125000b002bcd2a63083mr396850ljh.18.1694478816430; Mon, 11 Sep 2023 17:33:36 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 11 Sep 2023 17:33:36 -0700 From: Stefan Kangas In-Reply-To: <87h6o0b6x3.wl-qiang.fang@zoho.com.cn> References: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> <87h6o0b6x3.wl-qiang.fang@zoho.com.cn> MIME-Version: 1.0 Date: Mon, 11 Sep 2023 17:33:36 -0700 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Qiang writes: > No, I couldn't provide a recipe. But it is obvious even to a beginner > like me. The solution is just removed the file-truename function from > compile-find-file, or make it customisable: Thanks, but what is the problem that this solves? From unknown Sun Jun 22 04:01:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64131: make resolving symlinks in compilation-find-file optional Resent-From: Qiang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Sep 2023 01:00: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 To: Stefan Kangas Cc: Qiang , 64131@debbugs.gnu.org Received: via spool by 64131-submit@debbugs.gnu.org id=B64131.169448035918884 (code B ref 64131); Tue, 12 Sep 2023 01:00:02 +0000 Received: (at 64131) by debbugs.gnu.org; 12 Sep 2023 00:59:19 +0000 Received: from localhost ([127.0.0.1]:55480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfrkN-0004uU-1R for submit@debbugs.gnu.org; Mon, 11 Sep 2023 20:59:19 -0400 Received: from sender2-pp-o92.zoho.com.cn ([163.53.93.251]:25159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfrkJ-0004uG-JC for 64131@debbugs.gnu.org; Mon, 11 Sep 2023 20:59:17 -0400 Delivered-To: qiang.fang@zoho.com.cn DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1694480346; s=admin; d=zoho.com.cn; i=qiang.fang@zoho.com.cn; h=Date:Date:Message-ID:From:From:To:To:Cc:Cc:Subject:Subject:In-Reply-To:References:MIME-Version:Content-Type:Message-Id:Reply-To; bh=dznpbdRW6RoUtFOLxwcdr6/XAN84+MZvgFJFWJVIeAc=; b=N5f5dA6cyp04e9ouQPnhlHb2ZyfCTmI0w/uaR45g2mX8qWKv7B+/MeYS4FPnYuE1 uvM1Od6ogvP3kxbJQeELnxakpA7Hm3NEm5r///SvprLIZ25H0wS/c2dUOspDTiH7ejS dnMx+woNjtMQmSkFilKNVmvfWurlah6pQu0VE/tw= Received: from mypc.zoho.com.cn (118.117.89.232 [118.117.89.232]) by mx.zoho.com.cn with SMTPS id 1694480343994606.9699119934793; Tue, 12 Sep 2023 08:59:03 +0800 (CST) Date: Tue, 12 Sep 2023 08:59:03 +0800 Message-ID: <87edj4b414.wl-qiang.fang@zoho.com.cn> From: Qiang In-Reply-To: References: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> <87h6o0b6x3.wl-qiang.fang@zoho.com.cn> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-ZohoCNMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Without that tiny modification, I have problem jump to the file in my git-annex folder. I think it should be the default. From unknown Sun Jun 22 04:01:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64131: make resolving symlinks in compilation-find-file optional Resent-From: Qiang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Sep 2023 01:02: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 To: Stefan Kangas Cc: Qiang , 64131@debbugs.gnu.org Received: via spool by 64131-submit@debbugs.gnu.org id=B64131.169448048129407 (code B ref 64131); Tue, 12 Sep 2023 01:02:02 +0000 Received: (at 64131) by debbugs.gnu.org; 12 Sep 2023 01:01:21 +0000 Received: from localhost ([127.0.0.1]:55486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfrmL-0007eE-EQ for submit@debbugs.gnu.org; Mon, 11 Sep 2023 21:01:21 -0400 Received: from sender2-pp-o92.zoho.com.cn ([163.53.93.251]:25162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfrmJ-0007e3-Dz for 64131@debbugs.gnu.org; Mon, 11 Sep 2023 21:01:20 -0400 Delivered-To: qiang.fang@zoho.com.cn DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1694480472; s=admin; d=zoho.com.cn; i=qiang.fang@zoho.com.cn; h=Date:Date:Message-ID:From:From:To:To:Cc:Cc:Subject:Subject:In-Reply-To:References:MIME-Version:Content-Type:Message-Id:Reply-To; bh=ZB8JYjEOIzLfI8ctgn9ds4DpxQJM2m0pJuAwinbgcVo=; b=J+03VH35OQz4bCI4gHh3+lu86kPGvsdUC2xaNqpSJUfrdiXQSIKbDkcERu/xM52n hJrc42Ne3lFDeMYQiV8pblxsdn3G56O/90fufeEQG0MLPR/Lyl4tN39Hkw2rNay094r j1XDnFvhkFJRd1W6J20BQsKER6LEl8uDSyrxxB5s= Received: from mypc.zoho.com.cn (118.117.89.178 [118.117.89.178]) by mx.zoho.com.cn with SMTPS id 1694480470911372.0672858121342; Tue, 12 Sep 2023 09:01:10 +0800 (CST) Date: Tue, 12 Sep 2023 09:01:09 +0800 Message-ID: <87cyyob3xm.wl-qiang.fang@zoho.com.cn> From: Qiang In-Reply-To: References: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> <87h6o0b6x3.wl-qiang.fang@zoho.com.cn> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-ZohoCNMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. From unknown Sun Jun 22 04:01:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64131: make resolving symlinks in compilation-find-file optional 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 To: Qiang Cc: 64131@debbugs.gnu.org Received: via spool by 64131-submit@debbugs.gnu.org id=B64131.17048831897235 (code B ref 64131); Wed, 10 Jan 2024 10:40:02 +0000 Received: (at 64131) by debbugs.gnu.org; 10 Jan 2024 10:39:49 +0000 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 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 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) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Jan 2024 02:39:33 -0800 From: Stefan Kangas In-Reply-To: <87cyyob3xm.wl-qiang.fang@zoho.com.cn> (Qiang's message of "Tue, 12 Sep 2023 09:01:09 +0800") 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 Date: Wed, 10 Jan 2024 02:39:33 -0800 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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? From unknown Sun Jun 22 04:01:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64131: make resolving symlinks in compilation-find-file optional 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 To: Stefan Kangas Cc: qiang.fang@zoho.com.cn, 64131@debbugs.gnu.org Received: via spool by 64131-submit@debbugs.gnu.org id=B64131.170489446611525 (code B ref 64131); Wed, 10 Jan 2024 13:48:02 +0000 Received: (at 64131) by debbugs.gnu.org; 10 Jan 2024 13:47:46 +0000 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 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 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==; Date: Wed, 10 Jan 2024 15:29:42 +0200 Message-Id: <835y01nwop.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Stefan Kangas on Wed, 10 Jan 2024 02:39:33 -0800) References: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> <87h6o0b6x3.wl-qiang.fang@zoho.com.cn> <87cyyob3xm.wl-qiang.fang@zoho.com.cn> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. From unknown Sun Jun 22 04:01:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Qiang Fang Subject: bug#64131: closed (Re: bug#64131: make resolving symlinks in compilation-find-file optional) Message-ID: References: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> X-Gnu-PR-Message: they-closed 64131 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: moreinfo Reply-To: 64131@debbugs.gnu.org Date: Sun, 09 Jun 2024 22:26:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1717971963-8717-1" This is a multi-part message in MIME format... ------------=_1717971963-8717-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #64131: make resolving symlinks in compilation-find-file optional which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 64131@debbugs.gnu.org. --=20 64131: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64131 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1717971963-8717-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 64131-done) by debbugs.gnu.org; 9 Jun 2024 22:25:26 +0000 Received: from localhost ([127.0.0.1]:36169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGQyb-0002EI-2W for submit@debbugs.gnu.org; Sun, 09 Jun 2024 18:25:25 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:45307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sGQgG-0001RB-Tu for 64131-done@debbugs.gnu.org; Sun, 09 Jun 2024 18:06:29 -0400 Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4217990f997so12400935e9.2 for <64131-done@debbugs.gnu.org>; Sun, 09 Jun 2024 15:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717970706; x=1718575506; 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=eiYUr3Ud0itwzRLeqXwo+FLuwSl8w5By1YN0WxX0ZQI=; b=dICadlhwgU1xmeGKsqjPGtwIF4n4z4bJvpjKBo5TG7NrfTcV874Poeid0QxD2mZcxJ uGzOmin6uUzbsOaVGVWsPSRTOtO36pWU8g86SVLIJvSO2cbO5MGnLur+BzUtkIcoEL5s EHi1ueQvIDXs8969J9ah8Kb4ioJbOtkEJNg0ytaXSSFK6q+QErQ3eC6Sn9j3dnC3ock4 dcceFEXKn0LZqp2NSlsQ4BPOAYMPYEfqxL3deh32Gb7f3RsPVn49njGria5dG6rN5Jek RvQvJnq9FfVKkgt/KITfjUPenl///XPz3zNEHJmX2BwBwlWDzsnoK35deU97pRxx6pWB WfVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717970706; x=1718575506; 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=eiYUr3Ud0itwzRLeqXwo+FLuwSl8w5By1YN0WxX0ZQI=; b=Va9oV1qqQqZVCupU21lChY53JYpaYYy4eGhIAxsC3pagR0p9mwN/TPcZAVxNvW9ptT GOzjNYNVTFb2FEKGUlmAu5OCcRMWd90lEKmCufez4X9tZtIfkvkR2N9GLZr/p7Z96QXS H4sJG47qgLBfaLsykN3BP6hrbyOnlNflZiD8XaXEJYgMs4y90knwWRcp+oKp7Xwmnmrb AaIoTX+VOJ1pulqkyEQ32wuQDkq5h8n00tzlo7NfLXhlFd2geNzJY8llOpy9r3025otA RckzJkd/oVm8948LO0mxy3nlamvyUAgGlmwsCbsI1HV4lrxLyu28TWW4aLUw9zyTK5JN lVXA== X-Forwarded-Encrypted: i=1; AJvYcCV2DAWM8tFH/+QXBWCfmw3mzpaIWCf5rgicLt6FxrdRaNNCW4g3RrzsKMB1zUHDx1Zwglnl3FtoyQW3MYK7rgYIgHrPLCN2K2roUQ== X-Gm-Message-State: AOJu0Yxt0YXy9eY1RPESvH4gxgL6MkCJMy1SHP2ck82WugObauTDXrrC PfjE9pKbgDf7G+lzrsCC84SkF9SHkp53+Un5e+J7xHu4eSkyAoPyE/+WRbsmhJ0W6NiKbjemSQx ugWkTowkrz4QdK22FNC+lIR1ymBarJpLw X-Google-Smtp-Source: AGHT+IGyhBg/Wjeaj0wH7rV3C9Qr1z9YzMXRPt5A7wPKXDuY9+dID0H2AvJ7u6eWXGsupLP33y3ogubLIG6aCupcZMc= X-Received: by 2002:a50:9b46:0:b0:579:c8cb:ec4c with SMTP id 4fb4d7f45d1cf-57c5085eb47mr6010783a12.1.1717966750807; Sun, 09 Jun 2024 13:59:10 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 9 Jun 2024 16:59:10 -0400 From: Stefan Kangas In-Reply-To: <835y01nwop.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 Jan 2024 15:29:42 +0200") References: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> <87h6o0b6x3.wl-qiang.fang@zoho.com.cn> <87cyyob3xm.wl-qiang.fang@zoho.com.cn> <835y01nwop.fsf@gnu.org> MIME-Version: 1.0 Date: Sun, 9 Jun 2024 16:59:10 -0400 Message-ID: Subject: Re: bug#64131: make resolving symlinks in compilation-find-file optional To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64131-done Cc: qiang.fang@zoho.com.cn, 64131-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> 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. More information was requested, but none was given within 5 months, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. ------------=_1717971963-8717-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 17 Jun 2023 14:27:46 +0000 Received: from localhost ([127.0.0.1]:52242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAWu0-0007LG-9s for submit@debbugs.gnu.org; Sat, 17 Jun 2023 10:27:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:48470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qAVpc-0002g4-Fr for submit@debbugs.gnu.org; Sat, 17 Jun 2023 09:19:10 -0400 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 1qAVpc-0005bT-9q for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2023 09:19:08 -0400 Received: from sender2-pp-o92.zoho.com.cn ([163.53.93.251]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAVpZ-0001x9-65 for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2023 09:19:08 -0400 Received: from mail.baihui.com by mx.zoho.com.cn with SMTP id 1687007929770257.411134155224; Sat, 17 Jun 2023 21:18:49 +0800 (CST) Received: from [119.7.117.38] by mail.zoho.com.cn with HTTP;Sat, 17 Jun 2023 21:18:49 +0800 (CST) Date: Sat, 17 Jun 2023 21:18:49 +0800 From: Qiang Fang To: "bug-gnu-emacs" Message-ID: <188c9822598.13072238736789.4931166686046079619@zoho.com.cn> In-Reply-To: Subject: make resolving symlinks in compilation-find-file optional MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: ZohoCN Mail X-Mailer: ZohoCN Mail Received-SPF: pass client-ip=163.53.93.251; envelope-from=qiang.fang@zoho.com.cn; helo=sender2-pp-o92.zoho.com.cn 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 17 Jun 2023 10:27:42 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) I use rg for searching in a git-annex repo, rg use compilation-find-file to jump to the file from the search result, symlinks are resolved with file-truename. But it should not resolve the symlink in the above case. See this issue for more details. https://github.com/dajva/rg.el/issues/156#issuecomment-1595654224 ------------=_1717971963-8717-1--