[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 17:52:45 +0200 |
> From: "Basil L. Contovounesios" <contovob@tcd.ie>
> Date: Thu, 11 Jan 2018 03:00:38 +0000
> Cc: 30073@debbugs.gnu.org
>
> Juri Linkov <juri@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
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.
- bug#30073: 27.0.50; dired-do-delete ignores customization for short answers, Juri Linkov, 2018/01/10
- bug#30073: 27.0.50; dired-do-delete ignores customization for short answers, Basil L. Contovounesios, 2018/01/10
- bug#30073: 27.0.50; dired-do-delete ignores customization for short answers,
Eli Zaretskii <=
- bug#30073: 27.0.50; dired-do-delete ignores customization for short answers, Juri Linkov, 2018/01/11
- bug#30073: 27.0.50; dired-do-delete ignores customization for short answers, Eli Zaretskii, 2018/01/12
- bug#30073: 27.0.50; dired-do-delete ignores customization for short answers, Juri Linkov, 2018/01/13
- bug#30073: 27.0.50; dired-do-delete ignores customization for short answers, Tino Calancha, 2018/01/14
- bug#30073: 27.0.50; dired-do-delete ignores customization for short answers, Juri Linkov, 2018/01/14
- bug#30073: 27.0.50; dired-do-delete ignores customization for short answers, Eli Zaretskii, 2018/01/15