bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30073: 27.0.50; dired-do-delete ignores customization for short answ


From: Eli Zaretskii
Subject: 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@tcd.ie>
> Cc: Eli Zaretskii <eliz@gnu.org>, <30073@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]