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

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

bug#28525: 26.0.60; dired-delete-file: Accept y/n if yes-or-no-p is alia


From: Eli Zaretskii
Subject: bug#28525: 26.0.60; dired-delete-file: Accept y/n if yes-or-no-p is aliased to y-or-n-p
Date: Mon, 02 Oct 2017 20:41:15 +0300

> From: Tino Calancha <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Sun, 01 Oct 2017 13:06:32 +0900
> 
> Tino Calancha <address@hidden> writes:
> 
> > In my previous patch i checked if `yes-or-no-p' is aliased to
> > `y-or-n-p'.
> > A more general way is to add new functions `yes-or-no-or-else-p',
> > `y-or-n-or-else-p': they ask the question and
> > accept additional answers according with an optional argument.
> Indeed, we don't need new functions just add an optional argument makes
> the thing (see below patch).
> In some cases it might be useful to allow more answers than just 'yes'
> or 'no'.

On second thought, maybe we should simply ignore this issue, and let
users who want to override these functions write their own variants
for them?  Especially since packages do exist out there to do
something like that already.  We don't need to solve every single
problem with exotic customizations in the core.

WDYT?





reply via email to

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