From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#31782: 26.1; dired-recursive-deletes broken Date: Fri, 15 Jun 2018 07:24:53 -0400 Message-ID: <87wov0uwai.fsf@gmail.com> References: <834li9qlu3.fsf@gnu.org> <87po0vy8ja.fsf@gmail.com> <83in6n4drr.fsf@gnu.org> <87efh9wmaf.fsf@gmail.com> 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 1529062413 16928 195.159.176.226 (15 Jun 2018 11:33:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2018 11:33:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 31782@debbugs.gnu.org, Juri Linkov To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 15 13:33:29 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 1fTmyv-0004Fw-5b for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2018 13:33:29 +0200 Original-Received: from localhost ([::1]:46017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTn10-00086A-EU for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Jun 2018 07:35:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTmrl-0000AQ-IW for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2018 07:26:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTmri-00017t-DC for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2018 07:26:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41099) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTmri-00017n-7t for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2018 07:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fTmrh-0000Aj-Ue for bug-gnu-emacs@gnu.org; Fri, 15 Jun 2018 07:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jun 2018 11:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31782 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31782-submit@debbugs.gnu.org id=B31782.1529061903590 (code B ref 31782); Fri, 15 Jun 2018 11:26:01 +0000 Original-Received: (at 31782) by debbugs.gnu.org; 15 Jun 2018 11:25:03 +0000 Original-Received: from localhost ([127.0.0.1]:48995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTmql-00009S-K8 for submit@debbugs.gnu.org; Fri, 15 Jun 2018 07:25:03 -0400 Original-Received: from mail-io0-f169.google.com ([209.85.223.169]:39336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTmqj-00008o-Go for 31782@debbugs.gnu.org; Fri, 15 Jun 2018 07:25:01 -0400 Original-Received: by mail-io0-f169.google.com with SMTP id f1-v6so10396035ioh.6 for <31782@debbugs.gnu.org>; Fri, 15 Jun 2018 04:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=A9owOLMFSHkWGr3+S5oIZ2tJMzrguddmI7sxZ8lv4js=; b=faUZW+wEpYyYSEsOLLa8zCDxrvfsceVGEwgaM0b0CRsCWwU0thYjDFRywSsHo+ayJ8 0HWTa8tEOCoIQxFyszGUVJ8sjrpnYMl/9AIRSc2ZjsKOf991/iReVLwEqDMsQWNcRaH9 2HAgnN5XHASHiSTjTegReDPJ2ya5r8WP1eMBojgxeDG6f7JhkrLAnShATLSAFUnapbUA b637oh2nzynIPyK5zC0Z5kxiXqXBkvKk47Ss0co/Qpnotr9d/aNQ4fHBlAkF/02ZXH7v L2+QRPZO0IwgsYdvkoP2RKaaJaGwNr5b7/MnpJHoBJhLp8cuZs0074LWcmbjK+pre579 SsPw== 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=A9owOLMFSHkWGr3+S5oIZ2tJMzrguddmI7sxZ8lv4js=; b=JF4MbhNW1JXElYxnNryv99maENFgGcVO7/c7QfIdDxVfPUc96hJh1vy4Px0kpcOuqs ekE/lFv7lAPhwNg/LOykXLQBFWjSjzJplRukA0Rew0yhMQuqDUd/KRmwm8qg2Rl9fEHq 26VTg7WjK8kUa9rRcMRaHWIb/rd7O3sHIyL/Dc4ZSrM+y9VkWsb4ui2h926/kNyvlszO MjRPXhWhiRK5Jqsu18rSFw65Ju6Sn09BYeOZZaVMiImdV2mjHfI2idlocrf5ukQp7B+d LayCwniv1ozTafizCTUtEiMgdtqkp5J6lIh03tZNJQI8u+EWNEX6z9C5SSXmAOCN9SdH ZP0g== X-Gm-Message-State: APt69E2Tnz+0k3fyW7waXFpz3NC5QJ6mdu0MBUDh7WyjHf/T07JO3iDi zIlbIbOBDy/XT54G1bHSiFU= X-Google-Smtp-Source: ADUXVKLkkkPYwvL/ARgwBlX1jjVwGvpePt0zNvLlDA1DrJ1NW+uOCxNB+iOFjUzOnnl137NkDf3pig== X-Received: by 2002:a6b:8dd8:: with SMTP id p207-v6mr1125847iod.303.1529061895964; Fri, 15 Jun 2018 04:24:55 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id j3-v6sm2699847iog.87.2018.06.15.04.24.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 04:24:54 -0700 (PDT) In-Reply-To: (Leo Liu's message of "Thu, 14 Jun 2018 21:26:56 +0800") 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:147452 Archived-At: Leo Liu writes: > On 2018-06-14 09:05 -0400, Noam Postavsky wrote: >>> (setq dired-recursive-deletes 'aways) still get > > I got an unfortunate typo here. Oh, hah, I missed that too. So, looking at the Bug#30073 fix, the new (currently being introduced in Emacs 27) read-answer function looks pretty similar to read-multiple-choice. Perhaps some sharing is in order? Another thing is that the defcustom default value trick doesn't work as intended (as far as I understand the intention, at least). ;; For backward compatibility check if short y/n answers are preferred. (defcustom read-answer-short (eq (symbol-function 'yes-or-no-p) 'y-or-n= -p) "If non-nil, accept short answers to the question." For a user with .emacs consisting of (fset 'yes-or-no-p 'y-or-n-p) v read-answer-short RET gives: read-answer-short is a variable defined in =E2=80=98map-ynp.el=E2=80=99. Its value is nil Original value was t I think we'd want some `auto' setting which would tell read-answer to look at the yes-or-no-p function value at run time.