From unknown Fri Jun 20 07:12:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#55810 <55810@debbugs.gnu.org> To: bug#55810 <55810@debbugs.gnu.org> Subject: Status: 28.1; No "really edit the buffer?" prompt when editing a changed file over Tramp Reply-To: bug#55810 <55810@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:12:43 +0000 retitle 55810 28.1; No "really edit the buffer?" prompt when editing a chan= ged file over Tramp reassign 55810 emacs submitter 55810 Jim Porter severity 55810 normal tag 55810 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 05 14:44:04 2022 Received: (at submit) by debbugs.gnu.org; 5 Jun 2022 18:44:04 +0000 Received: from localhost ([127.0.0.1]:33430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxvE6-00018G-54 for submit@debbugs.gnu.org; Sun, 05 Jun 2022 14:44:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:42824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxvE4-000189-Vy for submit@debbugs.gnu.org; Sun, 05 Jun 2022 14:43:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxvE4-0005Hy-PJ for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2022 14:43:48 -0400 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]:35441) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxvE3-0003Q6-Bd for bug-gnu-emacs@gnu.org; Sun, 05 Jun 2022 14:43:48 -0400 Received: by mail-pf1-x431.google.com with SMTP id u2so11115423pfc.2 for ; Sun, 05 Jun 2022 11:43:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:subject:to:message-id:date:mime-version:content-language :content-transfer-encoding; bh=3A/DQkKIoWNdxA+Ryk/1fdgAbZYQfrv6HpgleH7u3yo=; b=ILHfdadM0hWW9NjNbl5mDk88u4WM4SUipJDchp0oL+nraqvlDUb5gdlsToH3PaEZ4N 58maZQgBhq7/iFC9cqibfg7z44QHAjL/7US6TIzIFat7OzPdDUe5CKH6sXMM8MplLVqC BhuHWem0VuF2StuYFLlxdoyWd5z3iKKwldxrRcsJwJHhLRlsSVFdJsDpofdNbVSybKhf Ggefk9uI+wzSpPwHrwZW9diXYlWgbhzddAG+ttzF/0cQU2hrT9P5WU5/JrnUx0cIbTeD LWWsr3D/bsuk62VvTt0cZ6/8X1rcqbW/1j1mJv9BDsdBd+BQFlaJ2yhEiX2TEeIdUnNa HOaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:subject:to:message-id:date:mime-version :content-language:content-transfer-encoding; bh=3A/DQkKIoWNdxA+Ryk/1fdgAbZYQfrv6HpgleH7u3yo=; b=iKWA9eE309re91WkeOLzM9rC3fapKXdBV3L+O/abBHXHO3yvUBVSAbOq1NQuvmVZgN 3Byb61Wfw6MOuErjGKw1B4X2HjaOcVT+AQoA56y4W4Qa9rcm2b8M//4wvObFy0jPwP44 x8TCjlSMUtwvTqrfWoUKcZ1h0Rr0Rz43bmNh00v0IJmblY5Iknc9Aahdrd+gT7mneGM7 9/jR6IpD6GfGVLuPNLa05zI0KlYIXQ7+6Ni7oO6dpv0u14ySs3Ddo4++E4ZOBcHeqHHW CbrK7TkYebYxdLkJeBB/2a7UYyPfv7fXh5m3ZUMrUiBv5XoRf7lRqT5EWn4KkP+k1GTL 5/WA== X-Gm-Message-State: AOAM5312ccKpaJsSLG+UEZVLvksBjMkub1XpBZoaF7dHlXp+j32vZZjC IZKKJOKUtcEg7Uy9gCCr5Ki/WAd31BI= X-Google-Smtp-Source: ABdhPJykh3WfHLG6QSa9qy3aH86t6MEEmBuz38t0g+RXGjkLBA+O4wnehDXEIounHiUOiWHxrpMdUQ== X-Received: by 2002:a63:f911:0:b0:3fd:8dbc:8a23 with SMTP id h17-20020a63f911000000b003fd8dbc8a23mr4660272pgi.365.1654454625937; Sun, 05 Jun 2022 11:43:45 -0700 (PDT) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id bi16-20020a056a00311000b0050dc762815asm2388386pfb.52.2022.06.05.11.43.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Jun 2022 11:43:45 -0700 (PDT) X-Mozilla-News-Host: news://news.gmane.org:119 From: Jim Porter Subject: 28.1; No "really edit the buffer?" prompt when editing a changed file over Tramp To: bug-gnu-emacs@gnu.org Message-ID: Date: Sun, 5 Jun 2022 11:43:44 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::431; envelope-from=jporterbugs@gmail.com; helo=mail-pf1-x431.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.3 (-) 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.0 (/) To see this in action: $ cat file.txt hi $ emacs -Q C-x C-f /ssh:localhost:~/file.txt $ echo bye >> file.txt Back in Emacs, type anything into the buffer. It should ask, "file.txt changed on disk; really edit the buffer?" However, it doesn't. (It does still provide a warning you when you save though.) Note: this used to work in Emacs 27, and works again in Emacs 29, but Emacs 28 fails. Strangely, I updated Tramp from GNU ELPA and the bug went away, but only until I restarted Emacs; then it returned. I haven't had time to try and reliably reproduce this part though, so that might just be a coincidence. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 05 16:05:03 2022 Received: (at 55810) by debbugs.gnu.org; 5 Jun 2022 20:05:03 +0000 Received: from localhost ([127.0.0.1]:33578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxwUh-0007eW-Jj for submit@debbugs.gnu.org; Sun, 05 Jun 2022 16:05:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxwUe-0007du-Tt for 55810@debbugs.gnu.org; Sun, 05 Jun 2022 16:05:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mg3vGToKyo0X9cYplZRiORAcH2y5UZ69R3/UyleFQho=; b=KkuK7yRxligAscwJMyZYD8G2VX Bo8enU44SGHR/QWmqKQ1VVNKxiaLq6KEmCpArBNOL51nAjGtSMZn8JSsYfBBacYbwAKMqC4VF62lJ BDTqcpyKDGy95cTGyFkvLZSkslZ78em2vpPvzLg6si6KPbKubmOHiuENdku4T6cm07uE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nxwUW-0005wi-3S; Sun, 05 Jun 2022 22:04:54 +0200 From: Lars Ingebrigtsen To: Jim Porter Subject: Re: bug#55810: 28.1; No "really edit the buffer?" prompt when editing a changed file over Tramp References: X-Now-Playing: Porridge Radio's _Every Bad_: "Born Confused" Date: Sun, 05 Jun 2022 22:04:50 +0200 In-Reply-To: (Jim Porter's message of "Sun, 5 Jun 2022 11:43:44 -0700") Message-ID: <87pmjm27x9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Jim Porter writes: > To see this in action: > > $ cat file.txt > hi > > $ emacs -Q > C-x C-f /ssh:localhost:~/file.txt > > $ echo bye >> file.txt > > Back in Emacs, type anything into the buffer. It should ask, "file.tx [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55810 Cc: 55810@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 (---) Jim Porter writes: > To see this in action: > > $ cat file.txt > hi > > $ emacs -Q > C-x C-f /ssh:localhost:~/file.txt > > $ echo bye >> file.txt > > Back in Emacs, type anything into the buffer. It should ask, "file.txt > changed on disk; really edit the buffer?" However, it doesn't. (It > does still provide a warning you when you save though.) > > Note: this used to work in Emacs 27, and works again in Emacs 29, but > Emacs 28 fails. I can reproduce this in Emacs 28.1, but not on the emacs-28 branch (i.e., what will become Emacs 28.2). Would it be possible for you to test with that branch? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 05 16:05:06 2022 Received: (at control) by debbugs.gnu.org; 5 Jun 2022 20:05:06 +0000 Received: from localhost ([127.0.0.1]:33581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxwUj-0007ek-S2 for submit@debbugs.gnu.org; Sun, 05 Jun 2022 16:05:06 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxwUi-0007dz-H0 for control@debbugs.gnu.org; Sun, 05 Jun 2022 16:05:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yPW3BhXnrlF9oSDFI69yC2JlLXoGGyUcfRLnN1R3Xos=; b=B0W3R7R4Ydabj6jLWkKqM1avwv bYnHPI/q05XynAkFN7urUlbI+J8fWCWjHdoNU2WpPxU0q1ggmNaPS3wcqYJPrXbNGU4AfwrfOAnqQ eFj4Y08aJeeuONXh07BvldHtPs4gLbF81ElLZXkJAIdvbzez7d6tvTrVrEaZn+IP1bZk=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nxwUa-0005wv-HV for control@debbugs.gnu.org; Sun, 05 Jun 2022 22:04:58 +0200 Date: Sun, 05 Jun 2022 22:04:56 +0200 Message-Id: <87o7z627x3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55810 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 55810 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) tags 55810 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 05 16:25:28 2022 Received: (at 55810) by debbugs.gnu.org; 5 Jun 2022 20:25:28 +0000 Received: from localhost ([127.0.0.1]:33595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxwoS-0001rN-Ik for submit@debbugs.gnu.org; Sun, 05 Jun 2022 16:25:28 -0400 Received: from mail-pf1-f169.google.com ([209.85.210.169]:40574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxwoQ-0001r9-F3 for 55810@debbugs.gnu.org; Sun, 05 Jun 2022 16:25:27 -0400 Received: by mail-pf1-f169.google.com with SMTP id z17so11213762pff.7 for <55810@debbugs.gnu.org>; Sun, 05 Jun 2022 13:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=/r6XMnjPbBKWbtBjh0Q1+yTbSaWjXQgKFDZTv2wLuZI=; b=UumdlkmZPry/7MzjYPJ6W4MZIXw8oL8oQI81Kyuwv1e+J7Myv4MswsaswVmt7FISr0 mGIbMMo0uIPocefRXzRZv72UxSkLkhDN3COpVfFf7hg+Sng7QcLXF2RUvLBy7ppQb4dP GifYRDJJAT/xeB4SCSm1Wc/OAPmczOcmJmEYVj1ShU8I6YZcUDNuRhBVZINX1AlSyAqo kB8WHIuh2wjZJIsjwFeEOomeDqrT9rpqZ7SUKgcCYYnPVD0EmLCIkIPCNirkcgJ5CsAx Vo+3Kz0oKZ06hlNv7uh8l1I4dbmizshOW5DEeEP+tHYUBRMJP5eR9POM+fhymSjxT+HP hR2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/r6XMnjPbBKWbtBjh0Q1+yTbSaWjXQgKFDZTv2wLuZI=; b=YjDCgLbdOYUKYlcXxvtbhj4ezREUwL4n9UkJdh2NTYgnMe4df/VHKURH/ch1KnvrIE n9jlX8yMaxzxKueA9ebVBfda1+lzy9lhu1pkZZGl97Y5BtXiyx/FyKCSW9iWni4ez1Ia EgTvOcNwUEYOWwk3F8lg113AsnZhBQe7ecg4TjhFT30+CIDiRREEHxJKV3tIXp2bE+Ot hbgiglOV8w8qZsxAHp/zKRC2L916hBqMHBlxbGWoSgSOJAz9sk55ElS+fF73wHH/+scq nrWnfjQUef8yQMKgZeGKl7wHYXNh7A6eI5AP1YLXhkahRxXsqFgBjrbgrLL82DASf69Y DaVg== X-Gm-Message-State: AOAM532AXHiLYHg8t4YjpniaP/gvTOWy/X3cwde9zyeRJMszI+oAVyNJ IU51/z8Y2jdcTYogy7ZXp5U7W7QuvPo= X-Google-Smtp-Source: ABdhPJwSz1sJs6Wbsp1PS6H8F4Csbhk04I94k9BClIVr+FfE5J5zZ4sZZJr/+MjEVwyVyF7+bq5rBw== X-Received: by 2002:a05:6a00:c88:b0:51c:1001:65f9 with SMTP id a8-20020a056a000c8800b0051c100165f9mr3738720pfv.66.1654460719871; Sun, 05 Jun 2022 13:25:19 -0700 (PDT) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id h17-20020a62b411000000b004fa743ba3f9sm9162347pfn.2.2022.06.05.13.25.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Jun 2022 13:25:19 -0700 (PDT) Subject: Re: bug#55810: 28.1; No "really edit the buffer?" prompt when editing a changed file over Tramp To: Lars Ingebrigtsen References: <87pmjm27x9.fsf@gnus.org> From: Jim Porter Message-ID: <362c7432-b4ed-3ebf-7c20-109e11f4c8e8@gmail.com> Date: Sun, 5 Jun 2022 13:25:18 -0700 MIME-Version: 1.0 In-Reply-To: <87pmjm27x9.fsf@gnus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55810 Cc: 55810@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 (-) On 6/5/2022 1:04 PM, Lars Ingebrigtsen wrote: > I can reproduce this in Emacs 28.1, but not on the emacs-28 branch > (i.e., what will become Emacs 28.2). Would it be possible for you to > test with that branch? You're right, it looks like this is also fixed on the emacs-28 branch. I'll try to bisect this (if only so that I write some defadvice to fix it temporarily for 28.1) and report back if I find anything useful. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 05 17:32:07 2022 Received: (at 55810) by debbugs.gnu.org; 5 Jun 2022 21:32:07 +0000 Received: from localhost ([127.0.0.1]:33662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxxqx-0003W8-CE for submit@debbugs.gnu.org; Sun, 05 Jun 2022 17:32:07 -0400 Received: from mail-pf1-f181.google.com ([209.85.210.181]:39510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxxqs-0003V8-9A for 55810@debbugs.gnu.org; Sun, 05 Jun 2022 17:32:06 -0400 Received: by mail-pf1-f181.google.com with SMTP id y196so11291140pfb.6 for <55810@debbugs.gnu.org>; Sun, 05 Jun 2022 14:32:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:from:to:cc:references:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=/xCfEM4PE9QNGc3uWPQNQcanWVp6mka3LkRfkoAKqMg=; b=OgFqClDZSfs6BeOYigm/OB3TZ3GW+4GGrBaqPGP56bFl2nar8opBDXoE4ekl42WE3d FXF/jLzYOR8YkVzad+rSBBkpa3eegthkOBM4nptUVrRaZoksdSP4Ku0nwmxw58wRxMp8 ON8Om5bC6C/zYFTdn/Hhsymo2c9bhsd39YETTSukjCLYvV8A+R0C1iaQBATn9wqIAI8O dNq7WU4IkMLPx9KVf58j/3SqQxVFjYHafRbqhauUGO5mPYAz73pX4dDjihnO9bJyBg5c m++VWdO+5+sqld21HldacRON0/hjlMwlpY5WVGxxpx13QkXLNPD7VKAfH0UY6ZJhn9fo GmIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/xCfEM4PE9QNGc3uWPQNQcanWVp6mka3LkRfkoAKqMg=; b=ipeTCr9tKks4Aqcex1uwf0X/e/g1UQgboOC0/aH5cd2bBVa8sDbPrlRdcYP2L8452O YQYotL1Sa0JkA10KOS249gh+qwb6X4zNDU0MUlFolgH+YZpXSm2C5T+fGVabhpBqEbgh 5Znk2AUSHhn2mi8UqrNAOqdTVn8Tmd90A7L0KqP35E+wJAcRMjstCvVFzQAJSrAJZxce CksSe3UT2ZmPgKJOTGLLT/GfIE10wigUUvhoV9EKabhJ+mqMZDWEsgX7CKxv9NdO1Wmz MIKuNI9/69MmS3hUJVTk1pHV8Bvm3AWlDTCBHjJRhsyPjph+d6vpTOWPbpyeNNDj+ky0 VOlQ== X-Gm-Message-State: AOAM533Q1fVTPlc5SbxK/2wwW4SpmlSl72Wi2pXbV6hu3rejvWzAc7DE IVjIZbrtu10kjjp2Q/O/2kg= X-Google-Smtp-Source: ABdhPJyh+PHOx6jLFxAcCA0WoYO9gk+ffpaffFsqQfKhIQz7W4Am4nIMvJsReBjTdMt/uNx+NJUo1A== X-Received: by 2002:a62:798b:0:b0:51b:a8fd:a459 with SMTP id u133-20020a62798b000000b0051ba8fda459mr26635229pfc.37.1654464716426; Sun, 05 Jun 2022 14:31:56 -0700 (PDT) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id cj10-20020a056a00298a00b0051bd72bb2e6sm6124284pfb.197.2022.06.05.14.31.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Jun 2022 14:31:56 -0700 (PDT) Subject: Re: bug#55810: 28.1; No "really edit the buffer?" prompt when editing a changed file over Tramp From: Jim Porter To: Lars Ingebrigtsen References: <87pmjm27x9.fsf@gnus.org> <362c7432-b4ed-3ebf-7c20-109e11f4c8e8@gmail.com> Message-ID: <9ac561e4-2131-fa3a-7bcc-be329812ec9d@gmail.com> Date: Sun, 5 Jun 2022 14:31:55 -0700 MIME-Version: 1.0 In-Reply-To: <362c7432-b4ed-3ebf-7c20-109e11f4c8e8@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55810 Cc: michael.albinus@gmx.de, 55810@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 (-) On 6/5/2022 1:25 PM, Jim Porter wrote: > On 6/5/2022 1:04 PM, Lars Ingebrigtsen wrote: >> I can reproduce this in Emacs 28.1, but not on the emacs-28 branch >> (i.e., what will become Emacs 28.2).  Would it be possible for you to >> test with that branch? > > You're right, it looks like this is also fixed on the emacs-28 branch. > I'll try to bisect this (if only so that I write some defadvice to fix > it temporarily for 28.1) and report back if I find anything useful. Ok, the commit that fixed this is 93974198b62bea0350be503c8fc017e9d1a4542f, which is just a fixup commit after 009e88e002333b4090b021d24390c9137e5a2555. That commit updates Tramp to 2.5.3-pre, so I guess it was just a bug in the Tramp that shipped with 28.1. However, I came across an interesting wrinkle. This is actually fixed in the GNU ELPA version of Tramp (currently 2.5.2.5). Installing this in Emacs 28.1 doesn't work correctly though, since v2.5.2.5 is "less" than the built-in Tramp version (v2.5.2.28.1). That explains why updating Tramp from GNU ELPA fixed the issue for me until I restarted Emacs. It loaded the fixed code temporarily, but then after restart, it chose the unfixed code because package.el thinks the built-in version is newer. CC'ing Michael here. Maybe the easy solution is just to bump the GNU ELPA version of Tramp to 2.5.3 or something, and then package.el will recognize it as newer than what ships with 28.1. For now, I have a workaround at least: I can just override the `load-path' to point to the newer Tramp version. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 06 04:15:52 2022 Received: (at 55810) by debbugs.gnu.org; 6 Jun 2022 08:15:52 +0000 Received: from localhost ([127.0.0.1]:34322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ny7tw-0002pQ-GE for submit@debbugs.gnu.org; Mon, 06 Jun 2022 04:15:52 -0400 Received: from mout.gmx.net ([212.227.17.21]:53733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ny7ts-0002pB-7l for 55810@debbugs.gnu.org; Mon, 06 Jun 2022 04:15:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1654503341; bh=z3cy+y0OLMVtnw85Gb+uq8VxdyBX6ccV8EKI3PtEM2U=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=BiRY7TdgOBDNpWPa/O8m0qqIcSi75bzUE46J2qrILSX5lEYheQiyJ4SkrweYRn9mM aGNI0wmjRoauKLdsAjIqp0vrNVSAkJoFg0DBOjn0OEEPtTG0ewF596/Kzm28eJMd0/ MvEaQm9HBhsdXsY87w3za9Gx9NX8S3oavYi9tcsc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.156.59]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N4hzj-1noOIk2Zh1-011m2d; Mon, 06 Jun 2022 10:15:41 +0200 From: Michael Albinus To: Jim Porter Subject: Re: bug#55810: 28.1; No "really edit the buffer?" prompt when editing a changed file over Tramp References: <87pmjm27x9.fsf@gnus.org> <362c7432-b4ed-3ebf-7c20-109e11f4c8e8@gmail.com> <9ac561e4-2131-fa3a-7bcc-be329812ec9d@gmail.com> Date: Mon, 06 Jun 2022 10:15:40 +0200 In-Reply-To: <9ac561e4-2131-fa3a-7bcc-be329812ec9d@gmail.com> (Jim Porter's message of "Sun, 5 Jun 2022 14:31:55 -0700") Message-ID: <87czfmtdg3.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:CCP0W8LneBLJrx4BtgBL4iYREXTg4ppgRCkefeVcWDFnBpTJ7fg lfZVAq/c+DRRk6OblpCXoPt3rLTA2QG01P5T49jbpBajS5GSsESN0bIYOqzBfM3J+BDBN0p iF70sciT9mhg0DcxpmWddsKPGeC8SR4OPTOoUq5pDeKiziOE7Oyk6cDmhBrvfXrSExvgkls 7Ne+0vq/hK8Rz2BHPqkog== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:EnXBdDjagTU=:toFstpHUacKL5TLs72LEzs V3Fq+WXuy3XcS0wC0j/D7IX9ctkdCOJqCxloK0b+bRzq1y/SYT7UD24qmDX0TxokRW4BYA27w XhOUAsapfGHg+SBAalfc/bfvgnQ4t3TexkzKl4fJzFl9FfZVL9GVxvtbPIlhwwRMLgeQbS1yY neLw0fj06G0YOZ0Wos8+ionxW/zsizn+dZtSkounF9QDs6TLLvM7zecInuybau1gmGmULonqu xfMjDyrYanHKrCpNHXxFl+8qm1KbarTHCuA0cT0JUaueSUr/g3JbtSdCUuPVbtli5kuNenDMy ubtxEjH99kKqqeRhd7BXUpTubIp+vqLRCn5j2b66CW7jS0P2lLmJXAuKTLl7n85AWBcbCth4w WoCShGhyVR87VPPuYlqU5cj7Z8ADuojWk+0dw2eHaDt1lkONvW13q15/Vj1Ys8K60pbjIQSWQ uxRtKOxahc3Itx+1V0vf0ImJTxsmqgzFnF8TEdUd2rRt6aw3kRtMh2+GoQZCLDjhb+8le0kZU KFnaNSusokx5A7LDBtc8xcLuGGvqIf0LpaPslmoXJGgpdA9kUyunIbFK6zz5Q+9qbsgMBbA6A QwS7uk3J2QoZS0QPzCl2AsYRzkMTsTJMFY4sZhvvjMErdRg9ZDM2sU1fYf29cNl/4UU7Qit4U JZFq8s/m9QGZP5NbEBGHlnXHvBHXobwDBKp3NkRTWctU/gBK+/6yvKMQM/w05UL5+OWjtXo6y rkQ7PW4oZl/zParBFM+ebnBhcoIeeFNaAGmVmx6wTFAiCT6sxil3rB/Ld84k75VCbmmhgW9IH y8wB3Co3/ZZxDuPn0uSI1DASV+e7AbljOmHnOgYHSmbPaMwoDMDLVxWCugkGN+/KgScsg+EZt 2efeO8AwlON/956OsBhb/8ZaC9LuokiQtC3oAFBLAdnLvS302NO355XQbbDitlqPFDEVAT6YJ YuFB08nHQC6dNHiA9IyhblU2zTd2+p/Dfa96c5LrpOeLjwohM/8UaSWJ0wRxry1CcMnLb7aOr WRb+3fw8Kr74QfGI729BE3LYnVdB3GpcxdA36fZvpLKz2XA7hhBX9uA1Q3fO6JN8zziyK2Xev MMMwuCAFksZXbXE9gma5jZ51MUsN8psGOmg+AA0TxjTHCz0CpHtQOOQ2Q== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55810 Cc: Lars Ingebrigtsen , 55810@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.7 (-) Jim Porter writes: Hi Jim, > CC'ing Michael here. Maybe the easy solution is just to bump the GNU > ELPA version of Tramp to 2.5.3 or something, and then package.el will > recognize it as newer than what ships with 28.1. Tramp 2.5.3 is scheduled for release later this month. Whether it will go to GNU ELPA, or Tramp 2.6.0 (also to be released) is not decided yet. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 07 00:23:55 2022 Received: (at 55810-done) by debbugs.gnu.org; 7 Jun 2022 04:23:55 +0000 Received: from localhost ([127.0.0.1]:37279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyQl0-0000Nq-V8 for submit@debbugs.gnu.org; Tue, 07 Jun 2022 00:23:55 -0400 Received: from mail-pj1-f49.google.com ([209.85.216.49]:36854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyQkz-0000Nb-CN for 55810-done@debbugs.gnu.org; Tue, 07 Jun 2022 00:23:54 -0400 Received: by mail-pj1-f49.google.com with SMTP id u12-20020a17090a1d4c00b001df78c7c209so19723988pju.1 for <55810-done@debbugs.gnu.org>; Mon, 06 Jun 2022 21:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=6BAiHI9jwD7n7bkZXvL3ONahWLRUPekfdHx4dXACruQ=; b=nSB3tcvsr+QbggZpO3WXb6sZvLyyxhg1pnmiU32ZtOzDFhjkfyroyum8RsF6cdOCEX 2sglerrZYjFnnSo/imnsS5skvjTwDhDQeaVxgZ+Q2Gb0plXUlMWGk4zAKyGMnpwbz9X7 G23lc7muCTDbMj39NVBvxziPSLawc+K5edmL5QahWFqDGP/w5tFEF7I1x/4fFNQEXfae LpQQV0wkBUJ3vF8+XW2BvvHcQgGShQcdDhiPyJUwbc+RVmdOUInZmeb+9tM8k3TjbUug v3NYk3zwxflAj7UbFMU2S+1pZltZLOZDuIVCagOKYHbO4wAK23zas85RanEFwOGqYpLL g1sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=6BAiHI9jwD7n7bkZXvL3ONahWLRUPekfdHx4dXACruQ=; b=sfiK6ZGiWSPg7Ne/Pt702epodw/7cIW75Qtzr1hU2MyxinwzoBJwUB0pBuhyhOSsM/ WceeCaODLxQB+kYbWhWmnioCz1L64r0GLhi6NeVHAbxDBSRCtg1WDNFHMfXh/f7jdsd0 /lN2LoWK1M0UzDhL2hBIMcizT0/ddavtdwJCXzHlBAIUy6bjYEihZwYBtBxcj1GeqL2b DSJQjaXEIqAoztOEzV638NdYy/WVOIC3jgyU4gmQUpXOJsIu5ZyyUQ2wL44WY4uLNdHm NcF+HC7TUoPaNsc0n4ZDj+BD3W8WHimspIl4IsZzCueZ5yRGNaAWWMTFfD5VNoZVBCmC CR6Q== X-Gm-Message-State: AOAM532E6OnOfn7V8W+cLbGHg5+6I2O3jyvb3KU14/qoWmQCav6Nx8PQ XlDchjBPmCo0gbjLk2UiYFVJsiSbI88= X-Google-Smtp-Source: ABdhPJzvQ7kLYZyNonvHMlp5LscDceL4kkBk2EOmiDnkJtY3RhTXoRPey9wb3e5vSaOEbj83acYrLw== X-Received: by 2002:a17:902:74c3:b0:167:6811:40 with SMTP id f3-20020a17090274c300b0016768110040mr14368898plt.120.1654575827375; Mon, 06 Jun 2022 21:23:47 -0700 (PDT) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id gq20-20020a17090b105400b001e26da0d28csm10766703pjb.32.2022.06.06.21.23.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jun 2022 21:23:47 -0700 (PDT) Subject: Re: bug#55810: 28.1; No "really edit the buffer?" prompt when editing a changed file over Tramp To: Michael Albinus References: <87pmjm27x9.fsf@gnus.org> <362c7432-b4ed-3ebf-7c20-109e11f4c8e8@gmail.com> <9ac561e4-2131-fa3a-7bcc-be329812ec9d@gmail.com> <87czfmtdg3.fsf@gmx.de> From: Jim Porter Message-ID: <3085f3fd-7510-d07e-57a0-789eaf3eb81f@gmail.com> Date: Mon, 6 Jun 2022 21:23:46 -0700 MIME-Version: 1.0 In-Reply-To: <87czfmtdg3.fsf@gmx.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55810-done Cc: Lars Ingebrigtsen , 55810-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 (-) On 6/6/2022 1:15 AM, Michael Albinus wrote: >> CC'ing Michael here. Maybe the easy solution is just to bump the GNU >> ELPA version of Tramp to 2.5.3 or something, and then package.el will >> recognize it as newer than what ships with 28.1. > > Tramp 2.5.3 is scheduled for release later this month. Whether it will > go to GNU ELPA, or Tramp 2.6.0 (also to be released) is not decided yet. Sounds good. That should resolve this issue then. Closing. From unknown Fri Jun 20 07:12:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 05 Jul 2022 11:24:05 +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