From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 09 20:58:40 2018 Received: (at submit) by debbugs.gnu.org; 10 Feb 2018 01:58:40 +0000 Received: from localhost ([127.0.0.1]:35900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekKR6-0001BS-3D for submit@debbugs.gnu.org; Fri, 09 Feb 2018 20:58:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekKR3-0001BE-Lw for submit@debbugs.gnu.org; Fri, 09 Feb 2018 20:58:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekKQx-0006nV-Kj for submit@debbugs.gnu.org; Fri, 09 Feb 2018 20:58:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_20,DATE_IN_PAST_03_06, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45514) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ekKQx-0006nR-HP for submit@debbugs.gnu.org; Fri, 09 Feb 2018 20:58:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekKQw-0005xq-Dc for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2018 20:58:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekKQs-0006ZO-HY for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2018 20:58:30 -0500 Received: from homie.mail.dreamhost.com ([208.97.132.208]:51583 helo=homiemail-a6.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ekKQs-0006Uv-94 for bug-gnu-emacs@gnu.org; Fri, 09 Feb 2018 20:58:26 -0500 Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id E5665598074 for ; Fri, 9 Feb 2018 17:58:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=xvwoa4Z8Cly87WyCf5kcpLidlvo=; b=KRkQS86bBTlJYKco LZQjcVLYiE+uum+/t0+LO04AeY2Yhx4cicN3jzUyBjV48DCLW1rxlYB5FEc0DELH SbUeDB7VKUcHXbk74xGqO6fpGTcHvbCRKuAj94QR6ROWiUPNKmhe2rQezibKCGhm wDvARaHThO/zvJ3AT3Stgxqujak= Received: from jidanni.org (1-170-85-90.dynamic-ip.hinet.net [1.170.85.90]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 5DBB259806B for ; Fri, 9 Feb 2018 17:58:23 -0800 (PST) From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: bug-gnu-emacs@gnu.org Subject: dired-diff ignores backup-directory-alist Date: Sat, 10 Feb 2018 06:53:47 +0800 Message-ID: <87d11dpyf8.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.9 (---) 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: -3.9 (---) dired-diff prompts with Diff p with (default !home!jidanni!org!debconf!p.~8~): ~/org/debconf/ #WRONG Diff p with (default ~/.backups/!home!jidanni!org!debconf!p.~8~): ~/org/debconf/ #Correct when in .emacs the user does (setq auto-save-list-file-prefix "~/.backups/.saves-";less clutter in $HOME backup-directory-alist '((".*" . "~/.backups/")) backup-by-copying-when-linked t ;don't destroy other hard links backup-by-copying-when-mismatch t) It correctly detects that we are already at version ~8~ in that faraway directory, but then it forgets to add the prefix to the default. It then prompts with a non-existent wrong file doomed to fail if the user hits RET. Also using M-n, M-p do not make the default that it shows available to the user to edit. In fact the total correct prompt should probably look like one of Diff p with (default ~/.backups/!home!jidanni!org!debconf!p.~8~): ~/.backups/ Diff p with (default ~/.backups/!home!jidanni!org!debconf!p.~8~): ~/.backups/!home!jidanni!org!debconf!p.~8~ Diff p with: ~/.backups/!home!jidanni!org!debconf!p.~8~ The idea being that the user can easily change Diff p with: ~/.backups/!home!jidanni!org!debconf!p.~8~ to Diff p with: ~/.backups/!home!jidanni!org!debconf!p.~7~ etc. emacs-version "25.2.2" and I do recall I reported something similar years ago... From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 10 04:52:55 2018 Received: (at 30407) by debbugs.gnu.org; 10 Feb 2018 09:52:55 +0000 Received: from localhost ([127.0.0.1]:36058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekRq3-0001ng-Hm for submit@debbugs.gnu.org; Sat, 10 Feb 2018 04:52:55 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekRq1-0001nR-Ug for 30407@debbugs.gnu.org; Sat, 10 Feb 2018 04:52:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekRpr-0004bi-QE for 30407@debbugs.gnu.org; Sat, 10 Feb 2018 04:52:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.2 required=5.0 tests=BAYES_50, MIME_CHARSET_FARAWAY, T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekRpr-0004be-O2; Sat, 10 Feb 2018 04:52:43 -0500 Received: from [176.228.60.248] (port=3411 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ekRpq-00026W-R8; Sat, 10 Feb 2018 04:52:43 -0500 Date: Sat, 10 Feb 2018 11:52:25 +0200 Message-Id: <83o9kx2mue.fsf@gnu.org> From: Eli Zaretskii To: =?shift_jis?B?kM+ST5Py?= Dan Jacobson In-reply-to: <87d11dpyf8.fsf@jidanni.org> Subject: Re: bug#30407: dired-diff ignores backup-directory-alist References: <87d11dpyf8.fsf@jidanni.org> MIME-version: 1.0 Content-type: text/plain; charset=shift_jis Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30407 Cc: 30407@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: ϒO Dan Jacobson > > Date: Sat, 10 Feb 2018 06:53:47 +0800 > > dired-diff prompts with > Diff p with (default !home!jidanni!org!debconf!p.~8~): ~/org/debconf/ #WRONG > Diff p with (default ~/.backups/!home!jidanni!org!debconf!p.~8~): ~/org/debconf/ #Correct > when in .emacs the user does > (setq > auto-save-list-file-prefix "~/.backups/.saves-";less clutter in $HOME > backup-directory-alist '((".*" . "~/.backups/")) > backup-by-copying-when-linked t ;don't destroy other hard links > backup-by-copying-when-mismatch t) > > It correctly detects that we are already at version ~8~ in that faraway > directory, but then it forgets to add the prefix to the default. > > It then prompts with a non-existent wrong file doomed to fail if the > user hits RET. I believe this bug is already fixed in Emacs 26, please try the latest pretest. > Also using M-n, M-p do not make the default that it shows available to > the user to edit. Because M-n and M-p show possible directories where that other file could live, not only possible backup file names. Dired-diff is not necessarily for comparison with the backup file, it's more general. > emacs-version "25.2.2" and I do recall I reported something similar > years ago... If you are willing to make such remarks, please always make a point of trying the latest codebase first. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 10 14:30:38 2018 Received: (at control) by debbugs.gnu.org; 10 Feb 2018 19:30:38 +0000 Received: from localhost ([127.0.0.1]:37250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekar8-0008Hx-6j for submit@debbugs.gnu.org; Sat, 10 Feb 2018 14:30:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekar7-0008Hl-40 for control@debbugs.gnu.org; Sat, 10 Feb 2018 14:30:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekar1-0008JI-Ca for control@debbugs.gnu.org; Sat, 10 Feb 2018 14:30:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekar1-0008JE-9E for control@debbugs.gnu.org; Sat, 10 Feb 2018 14:30:31 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ekar0-0000gE-Tl for control@debbugs.gnu.org; Sat, 10 Feb 2018 14:30:31 -0500 Subject: control message for bug 24474 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sat, 10 Feb 2018 14:30:30 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) merge 30407 24474 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 10 14:32:23 2018 Received: (at control) by debbugs.gnu.org; 10 Feb 2018 19:32:23 +0000 Received: from localhost ([127.0.0.1]:37257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekaso-0008LP-GH for submit@debbugs.gnu.org; Sat, 10 Feb 2018 14:32:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekasn-0008LB-2D for control@debbugs.gnu.org; Sat, 10 Feb 2018 14:32:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekash-00020U-BR for control@debbugs.gnu.org; Sat, 10 Feb 2018 14:32:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekash-000208-48 for control@debbugs.gnu.org; Sat, 10 Feb 2018 14:32:15 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ekasg-0003IQ-To for control@debbugs.gnu.org; Sat, 10 Feb 2018 14:32:15 -0500 Subject: control message for bug 24089 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sat, 10 Feb 2018 14:32:14 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) unmerge 24089 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 10 14:33:53 2018 Received: (at control) by debbugs.gnu.org; 10 Feb 2018 19:33:53 +0000 Received: from localhost ([127.0.0.1]:37263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekauG-0008O9-PI for submit@debbugs.gnu.org; Sat, 10 Feb 2018 14:33:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekauD-0008Ns-Ho for control@debbugs.gnu.org; Sat, 10 Feb 2018 14:33:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekau7-0004Hd-TG for control@debbugs.gnu.org; Sat, 10 Feb 2018 14:33:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekau7-0004HN-QQ for control@debbugs.gnu.org; Sat, 10 Feb 2018 14:33:43 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ekau7-0005Tt-Kc for control@debbugs.gnu.org; Sat, 10 Feb 2018 14:33:43 -0500 Subject: control message for bug 30407 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sat, 10 Feb 2018 14:33:43 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) close 30407 26.1 From unknown Sat Aug 16 21:59:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 11 Mar 2018 11:24:04 +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