From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 30 10:47:53 2025 Received: (at submit) by debbugs.gnu.org; 30 Jun 2025 14:47:53 +0000 Received: from localhost ([127.0.0.1]:45088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uWFnU-00005k-Uk for submit@debbugs.gnu.org; Mon, 30 Jun 2025 10:47:53 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47662) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uWFnO-0008VN-6Q for submit@debbugs.gnu.org; Mon, 30 Jun 2025 10:47:46 -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 1uWFnC-0007Lc-HD for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2025 10:47:34 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uWFn3-0003Zw-2l for bug-gnu-emacs@gnu.org; Mon, 30 Jun 2025 10:47:34 -0400 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3a57ae5cb17so1409582f8f.0 for ; Mon, 30 Jun 2025 07:47:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751294842; x=1751899642; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=YPRUtb7qPXcMXkMDKDcD6WvyznyMP1jD/Jt7v6rgW64=; b=ZX5GLQgWlggO+QSM5X9Ykkqd4lA5c4V6r8AsEde9a/ws3TVx++6FIOLkUTZbDCh/R3 JPnRSVE7zN9YISQrZZsdAeyAKrKGpAg4TC7i1I+H39pLGDSWqy9ldAZ5nq64kPHFieYq C+TnYUDhwkgKlkDDTrI+OT+DS7+cnwNo5L7yuAXs2TOhijAaEBa56jPUaO+5UwHWw/uX Bnq3sRaPAalcj8UWQ4yXx4x42kFxysKEG82E2i+rEQDEzisgTwcjmgFLz364CKfBlghg Bey6iopp2QNFNdA7/9GRSifGftH0An/W3GThcMMqIgSN7B5C5zwKQtrvtsX49HaKNXMR yW/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751294842; x=1751899642; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=YPRUtb7qPXcMXkMDKDcD6WvyznyMP1jD/Jt7v6rgW64=; b=TFop8ACpr3q7UOr5cUnDtHCzP4L+66TU7LAQp8F+zDW4Qc+i6CXsSy+CeMiMkQVwhr 7iwkVp59ync/icLBUy2NqntfPAI/GJPp9Huc1JUH08nKRCm1VTq9O3HhHUQuxsBIbOyB 0VnZ3+iz9Yegv1Yav9/9I3WmjbyGr0UejTgJnEFirFDqDuxFiT2HBLJqCPtnGjv+wNgq RkjLV9z4jCuxXkcZvchvOqQJWMSIaPEe/tFPUc0x4hPiK1lwe31D1v2PwrxZNswORZvR kHkNgOqC0EL9YaKxsn8F5dqrowM2YySsMgCXwR+7NuoeJFt+Dq7LqLn4PEmr2yOWLhwv PR3Q== X-Gm-Message-State: AOJu0YxELA++my42Wd88RPvyJK1EyFZaNh6FJx/abN1QuRO8rKrS0atg LUBa5xRFNq401Z+JfxF+ezhZle2MiN0tc1eICjRzYnLZEEQvJYshhcFGE/kAab4EiRAHsEt3LrG zwQplsZWrnkOp1fxHW1WM7655L9VFoFKI/J4W X-Gm-Gg: ASbGncukuNfXuPycoliqwYsrDQn8DYfEyG1tE2MvX1bjrpNxfIwwzmSn/vKw4X6kKce MT2cPltyEI1mfRoKPEyEiff8UR8V+sAKmapvUykpwFMNsqu4O44OS0WBMQ04t6j54FA/W4ydl95 bB4AO9eAEW6auoQuGa0HCwNs1dXbOqKDC+wrpVA1bp2Ek= X-Google-Smtp-Source: AGHT+IEUFVfMlVub6MrWGskffPIZqhiTiG7t40LPNLYOuk8SKLl8InTspote29dPLoWIaTdYHylRLEL2kTavIgAoq7A= X-Received: by 2002:adf:e650:0:b0:3a5:27ba:47a8 with SMTP id ffacd0b85a97d-3a8ffadf885mr10698469f8f.52.1751294841568; Mon, 30 Jun 2025 07:47:21 -0700 (PDT) MIME-Version: 1.0 From: Liu Hui Date: Mon, 30 Jun 2025 22:47:10 +0800 X-Gm-Features: Ac12FXx02CEwbMxSZLFFjz2SUnXkTHVHHxqbIic74laiqX5FDFtJPT2Lsz3JxhU Message-ID: Subject: 31.0.50; ffap does not find the correct filename in remote projects To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=liuhui1610@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, The following recipe is extracted from bug#78925: 1. emacs -Q 2. Open a file in a remote project: C-x C-f /ssh:server:~/a_git_project/test_file 3. Create a file that exists outside the project in the remote host, e.g. M-! touch /tmp/abc 4. type the a [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (liuhui1610[at]gmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liuhui1610[at]gmail.com) X-Debbugs-Envelope-To: submit 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: 0.2 (/) Hi, The following recipe is extracted from bug#78925: 1. emacs -Q 2. Open a file in a remote project: C-x C-f /ssh:server:~/a_git_project/test_file 3. Create a file that exists outside the project in the remote host, e.g. M-! touch /tmp/abc 4. type the above filename (i.e. /tmp/abc) in test_file, and M-x ffap ffap prompts /ssh:server:~/a_git_project/tmp/abc, while in Emacs 29 prompts /ssh:server:/tmp/abc correctly. This problem seems to be related to commit 1eae0e7edf4. Thanks. -- Liu Hui From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 30 11:38:47 2025 Received: (at 78929) by debbugs.gnu.org; 30 Jun 2025 15:38:47 +0000 Received: from localhost ([127.0.0.1]:45701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uWGak-0006p6-24 for submit@debbugs.gnu.org; Mon, 30 Jun 2025 11:38:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33004) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uWGZb-0006gj-KZ for 78929@debbugs.gnu.org; Mon, 30 Jun 2025 11:37:36 -0400 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 1uWGZV-0000rU-1x; Mon, 30 Jun 2025 11:37:29 -0400 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=fASkACC1sFdwT+gII6NZ+c7WJ3XWkkrl8NxTUPf4kAI=; b=UNci33JGwKCk rMMES9wpk9CPWq8rP8ccBxl+bFzeOwnu6RnJNuR54aLS4/xHZBO8mtydUtdUokqP7+Df4Cj/qDJOv Yh9lzVLfRaxpKZu4y0aoF52TbOKyJyEC2OEZVXuJE/SG9Om0ETCsSaQxlb1iuubjb4qPx4eMiK6ta XqEZ2ypZioCRmX8sWB6HuaDIfnyMjXmGoGHPbiXRx0Bcf549MN+77UTdbDmo6uylCiRRct2Sln4Wn ftIH1FTkur3dHP5pUCpi/GY8bU3FunLM1bxFLN3XNG7qamqEIbCSWjbnAczCGugDwolWluGBh6CWA VkbOOJBpSGJDFi/4Q2dx4g==; Date: Mon, 30 Jun 2025 18:37:22 +0300 Message-Id: <864ivx44wd.fsf@gnu.org> From: Eli Zaretskii To: Liu Hui , Spencer Baugh In-Reply-To: (message from Liu Hui on Mon, 30 Jun 2025 22:47:10 +0800) Subject: Re: bug#78929: 31.0.50; ffap does not find the correct filename in remote projects References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78929 Cc: 78929@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: -3.3 (---) > From: Liu Hui > Date: Mon, 30 Jun 2025 22:47:10 +0800 > > Hi, > > The following recipe is extracted from bug#78925: > > 1. emacs -Q > 2. Open a file in a remote project: > C-x C-f /ssh:server:~/a_git_project/test_file > 3. Create a file that exists outside the project in the remote host, e.g. > M-! touch /tmp/abc > 4. type the above filename (i.e. /tmp/abc) in test_file, and M-x ffap > > ffap prompts /ssh:server:~/a_git_project/tmp/abc, while in Emacs 29 > prompts /ssh:server:/tmp/abc correctly. This problem seems to be > related to commit 1eae0e7edf4. Spencer, could you please look into this? From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 03 14:02:32 2025 Received: (at 78929) by debbugs.gnu.org; 3 Jul 2025 18:02:32 +0000 Received: from localhost ([127.0.0.1]:51545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uXOGV-0006A5-Rn for submit@debbugs.gnu.org; Thu, 03 Jul 2025 14:02:32 -0400 Received: from mxout5.mail.janestreet.com ([64.215.233.18]:38909) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uXOGS-00068t-Et for 78929@debbugs.gnu.org; Thu, 03 Jul 2025 14:02:29 -0400 From: Spencer Baugh To: Eli Zaretskii Subject: Re: bug#78929: 31.0.50; ffap does not find the correct filename in remote projects In-Reply-To: <864ivx44wd.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 30 Jun 2025 18:37:22 +0300") References: <864ivx44wd.fsf@gnu.org> Date: Thu, 03 Jul 2025 14:02:21 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1751565742; bh=Yd4EAy4z+/3IcI3NHLQnAJ7nMLKBaiUhQj0R13WCNA4=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=AdCf5ILry3U6MiGULi4M3j6AvqdnASAHxx/l63ZOaZE+f8lHNbWsYcaU1l7eBURaZ meY8FyhBLbmlG+w0q6OF0lPo8KxaLutfe2cOPDg0EboXN7re3Zv9t6A8uImTTHKWFq 80IR2T5tTQJzrA3xviTDteNHEXhqlHl6y1686PSQ5LZQU6h1a4RUbQg1GvJ1hgDMw9 fBbgRkzVEa63yNglRAYcVy+cRk03Y8Q5csYMZRnSQFHgNH2AP0IwHQUS1wuEI39GNe EURczmm+qXrh6gHD8yJ7u7BJ2JBIf9+zrlo1zPta43WTFBEOrN5cc7IEojBXir6SFg 5BkTdZ3s7YZTA== X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 78929 Cc: Liu Hui , 78929@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: -3.1 (---) --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> From: Liu Hui >> Date: Mon, 30 Jun 2025 22:47:10 +0800 >> >> Hi, >> >> The following recipe is extracted from bug#78925: >> >> 1. emacs -Q >> 2. Open a file in a remote project: >> C-x C-f /ssh:server:~/a_git_project/test_file >> 3. Create a file that exists outside the project in the remote host, e.g. >> M-! touch /tmp/abc >> 4. type the above filename (i.e. /tmp/abc) in test_file, and M-x ffap >> >> ffap prompts /ssh:server:~/a_git_project/tmp/abc, while in Emacs 29 >> prompts /ssh:server:/tmp/abc correctly. This problem seems to be >> related to commit 1eae0e7edf4. > > Spencer, could you please look into this? Thanks for the report, this is indeed a bug in ffap-in-project. This should be fixed by the attached patch, could you please test? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Fix-ffap-in-project-to-check-file-existence.patch >From 3d6b886fb8d9f30ec72950e969427925299d3c8e Mon Sep 17 00:00:00 2001 From: Spencer Baugh Date: Thu, 3 Jul 2025 13:59:46 -0400 Subject: [PATCH] Fix ffap-in-project to check file existence * lisp/ffap.el (ffap-in-project): Check file existence before returning non-nil. (bug#78929) --- lisp/ffap.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ffap.el b/lisp/ffap.el index 1c9f0294601..10afcd9514a 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el @@ -807,7 +807,9 @@ ffap-completable (declare-function project-root "project" (project)) (defun ffap-in-project (name) (when-let* ((project (project-current))) - (file-name-concat (project-root project) name))) + (ffap-file-exists-string + (file-name-concat (project-root project) name) + 'nomodify))) (defun ffap-home (name) (ffap-locate-file name t '("~"))) -- 2.39.3 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 04 00:55:17 2025 Received: (at 78929) by debbugs.gnu.org; 4 Jul 2025 04:55:17 +0000 Received: from localhost ([127.0.0.1]:55356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uXYSC-0003TF-UL for submit@debbugs.gnu.org; Fri, 04 Jul 2025 00:55:17 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:55752) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uXYS9-0003PY-Uh for 78929@debbugs.gnu.org; Fri, 04 Jul 2025 00:55:14 -0400 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-3a531fcaa05so275322f8f.3 for <78929@debbugs.gnu.org>; Thu, 03 Jul 2025 21:55:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751604907; x=1752209707; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=GMN7/k7qbL2xiSwpxjhjYH6v3Zy3hmOR4jfnc5UUcw4=; b=XEC27uu7S0zLUKQ4nmxppYKmUVjiJZ7yGoghdt7cOs64hgIwtpwQiejufZtfjQGtyZ c4y4ogVXzBVedbDyYZzAAGwdcHmJYhRrR4AhApJ4zOLzzoB3WR/wXJ3lQ9+1N9B+9nzQ binrG5dQJpanOAtYSqjNdnudNioIY/QpJDSTT/dQa+Eect5NWyT4MnCn0X/QM+3Bk3wn wxYfNRwCBzoEHBWKJee5Wh3MnUj6kXEb31pxtOSOKiG4nrLhde5fzSYt6FLIh1O0jLKq xrFTjWvQrRbzNfaTxy4jhnecbuSqUahaexotommXKQTGCvF+dJ56QQBr7NHii+ZQiIty 6pYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751604907; x=1752209707; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GMN7/k7qbL2xiSwpxjhjYH6v3Zy3hmOR4jfnc5UUcw4=; b=pEC4iqCut4FIZHoRtz5tJA8jI+ed5Qemnu0ZBdo48ITBMxYvnFaHAuSXSzbb/RGYvs L6pd+wSVEtouggylQIryRymQmh+XhNoygLpqTaZx92RdmycBAQNJjnyn/+qFX8AxDlNs d4FvljI+rBavm/JfP+cToPOlk7SaHNR35dNoOCwc6ysonRE8H9Su5HGYwJvBSGypb/5K iH3mh+9SIH6NFbklE6kpeS6JzEEGBvFdAMPhUEFsRxitIB9kE47uDH3YGfYkiTBguiFL gVq5oi8jbDP5+9SuFG1lMzAbJG9VvZ/Me5Ayv3ivACSnQU1jiO3uirvH9B6hVHw5EReV B02w== X-Forwarded-Encrypted: i=1; AJvYcCWWR2cWGxLSGPRwvDPQ6JDLCouLa3U1tpWtFOnhsKBaz5iCoqNPYiW3jmuPzvwckkyjy8Gu4A==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwtRvA+Eq/ovyvyKCQ9GD0iczX33l5t1dQ1vL6N/gqQPJfTG3pR Q7JnVLCnVzVEv6m9cki1ls8++A6w7CRRVNrsrFIv4UBeyOerFH6rn+4/PWxyA8LpChAbyM0fU2v bGNBgcHImzcgvF3LxoWdmmhgK2lOgOgc= X-Gm-Gg: ASbGnctSRxmOyCSVY1T+PVUm8igydjHipkBoIGyZQRulo3fxOIJkeVJ818eZ4FAA5/4 2slYJotNQyjkMUQ3bgawU7pSVslRdGgCTRnDA9MEmZjidHZFfgsYB3CPGIPcrsEyU9T4j8gwVYU z3m4rT1B9nCgshZI0t2fNoQL3u+M6OYIv6KnCi73WhGeA= X-Google-Smtp-Source: AGHT+IHSVCqyhAxTGotK1F6GkNXy2NBJ4tc1QRL+951Kbi02+ishEkk1KEslZOmvj9cpAnamsGXOmAoN8ehTA6lZOcI= X-Received: by 2002:a05:6000:18a5:b0:3a5:2182:bce2 with SMTP id ffacd0b85a97d-3b4964c0a9fmr773859f8f.17.1751604907352; Thu, 03 Jul 2025 21:55:07 -0700 (PDT) MIME-Version: 1.0 References: <864ivx44wd.fsf@gnu.org> In-Reply-To: From: Liu Hui Date: Fri, 4 Jul 2025 12:54:55 +0800 X-Gm-Features: Ac12FXyPoBFP-gDB4OS1liEhrEOyA8w8EXuh8F4kBxdOYMANamr8qJtuP9UCh0c Message-ID: Subject: Re: bug#78929: 31.0.50; ffap does not find the correct filename in remote projects To: Spencer Baugh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 78929 Cc: Eli Zaretskii , 78929@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: -0.7 (/) On Fri, Jul 4, 2025 at 2:02=E2=80=AFAM Spencer Baugh wrote: > > Eli Zaretskii writes: > > >> From: Liu Hui > >> Date: Mon, 30 Jun 2025 22:47:10 +0800 > >> > >> Hi, > >> > >> The following recipe is extracted from bug#78925: > >> > >> 1. emacs -Q > >> 2. Open a file in a remote project: > >> C-x C-f /ssh:server:~/a_git_project/test_file > >> 3. Create a file that exists outside the project in the remote host, e= .g. > >> M-! touch /tmp/abc > >> 4. type the above filename (i.e. /tmp/abc) in test_file, and M-x ffap > >> > >> ffap prompts /ssh:server:~/a_git_project/tmp/abc, while in Emacs 29 > >> prompts /ssh:server:/tmp/abc correctly. This problem seems to be > >> related to commit 1eae0e7edf4. > > > > Spencer, could you please look into this? > > Thanks for the report, this is indeed a bug in ffap-in-project. This > should be fixed by the attached patch, could you please test? I confirm the issue is fixed, thanks! From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 05 05:21:20 2025 Received: (at 78929-done) by debbugs.gnu.org; 5 Jul 2025 09:21:20 +0000 Received: from localhost ([127.0.0.1]:40408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uXz5E-0001RP-2w for submit@debbugs.gnu.org; Sat, 05 Jul 2025 05:21:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34880) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uXz5A-0001Pz-AR for 78929-done@debbugs.gnu.org; Sat, 05 Jul 2025 05:21:17 -0400 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 1uXz54-0005ki-BI; Sat, 05 Jul 2025 05:21:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=uPR2trqWMv739kRhc51ocN2XvIpt2N5q1RgeggviocY=; b=NCSE0egeDf2HFcjyMdbB OYzDoaCMofipqi+y34P80LN0kL90pcqM26KUtllkZEUtsh0hLqduYrB9QLg5yiaHYB5gOgGoF4P/S p96LVF0FhYLMBSJLuB2EqOWOEP5rUBa2j3wsenmCCcg2TpaSsZlV55PRSV/jkEi8/GEToIFmp+v2f xJd2bxw8uB7kkgWsjzcTJsnVu0kUEC0MBZ9W7Chug2pMGn8J9fw45QO0M1wEOyBcVmijwuoGzIvTv 3wzqZbxYBUI1wavJnH5spHpHlmrQRP6vIxfLQrOcvCbfa61XA4wvch3bwrT7P74bRMbOqNravTsYb yu9/+eqgAWgzpg==; Date: Sat, 05 Jul 2025 12:20:44 +0300 Message-Id: <865xg7vvrn.fsf@gnu.org> From: Eli Zaretskii To: Liu Hui In-Reply-To: (message from Liu Hui on Fri, 4 Jul 2025 12:54:55 +0800) Subject: Re: bug#78929: 31.0.50; ffap does not find the correct filename in remote projects References: <864ivx44wd.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78929-done Cc: sbaugh@janestreet.com, 78929-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: -3.3 (---) > From: Liu Hui > Date: Fri, 4 Jul 2025 12:54:55 +0800 > Cc: Eli Zaretskii , 78929@debbugs.gnu.org > > On Fri, Jul 4, 2025 at 2:02 AM Spencer Baugh wrote: > > > > Eli Zaretskii writes: > > > > >> From: Liu Hui > > >> Date: Mon, 30 Jun 2025 22:47:10 +0800 > > >> > > >> Hi, > > >> > > >> The following recipe is extracted from bug#78925: > > >> > > >> 1. emacs -Q > > >> 2. Open a file in a remote project: > > >> C-x C-f /ssh:server:~/a_git_project/test_file > > >> 3. Create a file that exists outside the project in the remote host, e.g. > > >> M-! touch /tmp/abc > > >> 4. type the above filename (i.e. /tmp/abc) in test_file, and M-x ffap > > >> > > >> ffap prompts /ssh:server:~/a_git_project/tmp/abc, while in Emacs 29 > > >> prompts /ssh:server:/tmp/abc correctly. This problem seems to be > > >> related to commit 1eae0e7edf4. > > > > > > Spencer, could you please look into this? > > > > Thanks for the report, this is indeed a bug in ffap-in-project. This > > should be fixed by the attached patch, could you please test? > > I confirm the issue is fixed, thanks! Thanks, installed on the master branch, and closing the bug. From unknown Thu Aug 14 22:21:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 02 Aug 2025 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator