GNU bug report logs - #30073
27.0.50; dired-do-delete ignores customization for short answers

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Wed, 10 Jan 2018 21:45:02 UTC

Severity: normal

Tags: patch

Merged with 28525

Found in versions 26.0.60, 27.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 30073 <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Juri Linkov <juri <at> linkov.net>
Cc: 30073 <at> debbugs.gnu.org
Subject: Re: bug#30073: 27.0.50;
 dired-do-delete ignores customization for short answers
Date: Thu, 11 Jan 2018 03:00:38 +0000
Juri Linkov <juri <at> linkov.net> writes:

> I customized ‘yes-or-no-p’ in ~/.emacs to short answers:
>
>   (fset 'yes-or-no-p 'y-or-n-p)
>
> but now ‘dired-do-delete’ ignores this customization, and always requires
> typing a full answer “yes” with RET when deleting recursively all subdirs,
> instead of accepting just a single letter ‘y’ as before the recent change.
>
> I think in this case better is to accept ‘y’ for “yes”, and ‘!’ for “all”
> like in ‘query-replace-map’.

Just linking bug#27940, where the move away from using yes-or-no-p in
function dired-delete-file was discussed:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27940

-- 
Basil




This bug report was last modified 7 years and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.