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 #19 received at 30073 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 30073 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#30073: 27.0.50;
 dired-do-delete ignores customization for short answers
Date: Thu, 11 Jan 2018 20:01:23 +0200
> From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, <30073 <at> debbugs.gnu.org>
> Date: Thu, 11 Jan 2018 17:34:21 +0000
> 
> > Indeed, this horse has been beaten to death already.  The current
> > solution is for you to set dired-deletion-confirmer to y-or-n-p.
> > Admittedly, that's not a very user-friendly customization method, but
> > then neither is fset.
> 
> FWIW, I find
> 
>   (advice-add 'yes-or-no-p :override #'y-or-n-p)
> 
> to be a slightly user-friendlier alternative to
> 
>   (fset 'yes-or-no-p 'y-or-n-p)
> 
> as the former is at least reported by the help system.

IMO, none of that is user-friendly as customization goes.  These are
semi-kludgey hacks, which are okay for personal use, but not as
advertised customization means.  YMMV, of course.




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.