GNU bug report logs -
#30407
dired-diff ignores backup-directory-alist
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Sat, 10 Feb 2018 01:59:01 UTC
Severity: minor
Merged with 24474
Found in version 25.1
Fixed in version 26.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30407 in the body.
You can then email your comments to 30407 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#30407
; Package
emacs
.
(Sat, 10 Feb 2018 01:59:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 10 Feb 2018 01:59:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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...
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#30407
; Package
emacs
.
(Sat, 10 Feb 2018 09:53:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 30407 <at> debbugs.gnu.org (full text, mbox):
> From: 積丹尼 Dan Jacobson
> <jidanni <at> jidanni.org>
> 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.
Disconnected #24089 from all other report(s).
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 10 Feb 2018 19:33:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 26.1, send any further explanations to
30407 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 10 Feb 2018 19:34:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 11 Mar 2018 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 104 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.