From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#30073: 27.0.50; dired-do-delete ignores customization for short answers Date: Thu, 11 Jan 2018 17:34:21 +0000 Message-ID: <87k1woti3m.fsf@gmail.com> References: <87bmi1cryh.fsf@mail.linkov.net> <87o9m1nlpl.fsf@gmail.com> <83po6g4cky.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1515692007 26326 195.159.176.226 (11 Jan 2018 17:33:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Jan 2018 17:33:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 30073@debbugs.gnu.org To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 11 18:33:22 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZgj4-000620-Lh for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jan 2018 18:33:14 +0100 Original-Received: from localhost ([::1]:57989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZgl4-00063K-8X for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jan 2018 12:35:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZgkt-00062h-0L for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 12:35:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZgko-0008RL-65 for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 12:35:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44528) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZgko-0008Q0-2D for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 12:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eZgkn-0003hr-Ki for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2018 12:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jan 2018 17:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30073 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 30073-submit@debbugs.gnu.org id=B30073.151569207014205 (code B ref 30073); Thu, 11 Jan 2018 17:35:01 +0000 Original-Received: (at 30073) by debbugs.gnu.org; 11 Jan 2018 17:34:30 +0000 Original-Received: from localhost ([127.0.0.1]:52425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZgkI-0003h2-7M for submit@debbugs.gnu.org; Thu, 11 Jan 2018 12:34:30 -0500 Original-Received: from mail-wm0-f47.google.com ([74.125.82.47]:37814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZgkH-0003gq-4h for 30073@debbugs.gnu.org; Thu, 11 Jan 2018 12:34:29 -0500 Original-Received: by mail-wm0-f47.google.com with SMTP id f140so6906850wmd.2 for <30073@debbugs.gnu.org>; Thu, 11 Jan 2018 09:34:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=splVvNsT6io9iCq9hPJ84dFpI+moBndoLE1mfCrBOg4=; b=BJyEXq+c4zkVPDJmjXEfbdO13OBvOzxds5vcPjsT5/uDI8LRAlHt3AhiKaq8wbdOS0 cFmT+sg2p7rCJZkJ/2uw3T0Y++YXtTYsdIz3DOBEBoWzEE+qmV1KEk/HO/FaPNEWuQi+ DErbuTj75PRs1RMagxZDZXUtqqcUAVOD6aApF8NBXCC6+52LEHAnQxuidFygTS1vI3ih BPQNghKx5Kw2Bi0acvHwwRpkT3ViSxrhYmmNlWkBN/0fRJgncEGL962bdtYRLwTVRBAy 1A4Yu8GLJXz5iD29JudqUupzgGmnTbiogJvEph6t0lJbeFjFu+7gKt+RHJeALyUOOHkk 1+tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=splVvNsT6io9iCq9hPJ84dFpI+moBndoLE1mfCrBOg4=; b=BbOWgEgbptrbn4hrvFXYG0M5Do8Qnk9nDJcGFodCkz1wU4kUFyotBOgjUdigFjCwBm pxFiqb9M7t8aIyOV3Hes7Uf2nDBFEsSrwrRLfVovsuToi6HvaE6wRIwbT/p5KSbRP/wQ zwvi0kwbdpfEW/BnMlJLtqtvJXyeasrGCiW3Y+UXRMqgNZvj2ua/JIh9k6XXi7kjUW0T pPhHqk2AT57WP/TW7YF9VS4Ub3sNDIYHYpjnbzwAG1VdznYEG18xQamdK04rfmFp7760 YSC6j0nBagTZj+NeqC3Yb4iiGCnBcccVG7yhEDohqYxcnQloFk5VkXHSqW9uE21Hum2o Y3uw== X-Gm-Message-State: AKwxytcdJEeh+6kvFjRU38EsYIjA9U3VYNBeCw8oAaHSpx6ZoKoumuSl 4wT740lP6XEPOysUiTwmFUAmSA== X-Google-Smtp-Source: ACJfBov7qWPLnTwAEYVteLhrPogMjmHXRWdZ7jn8kEXfKnoUb7iY7KwyDTjzJnzT8hZBp8glf8ITow== X-Received: by 10.80.181.130 with SMTP id a2mr9584118ede.287.1515692063087; Thu, 11 Jan 2018 09:34:23 -0800 (PST) Original-Received: from localhost ([213.233.148.18]) by smtp.gmail.com with ESMTPSA id p93sm11065147edp.14.2018.01.11.09.34.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Jan 2018 09:34:22 -0800 (PST) In-Reply-To: <83po6g4cky.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Jan 2018 17:52:45 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142042 Archived-At: Eli Zaretskii writes: >> Juri Linkov writes: >>=20 >> > I customized =E2=80=98yes-or-no-p=E2=80=99 in ~/.emacs to short answer= s: >> > >> > (fset 'yes-or-no-p 'y-or-n-p) >> > >> > [...] > > [...] > > 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. --=20 Basil