From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#35564: [PATCH v5] Tweak dired warning about "wildcard" characters Date: Tue, 22 Oct 2019 23:11:08 +0200 Message-ID: <87mudstrir.fsf@gmail.com> References: <87zho2cd4f.fsf@gmail.com> <87wohvf22u.fsf@gmail.com> <87h88cvpkj.fsf_-_@gmail.com> <87imsinbmr.fsf_-_@gmail.com> <87o8yoign9.fsf_-_@gmail.com> <87v9sgrf29.fsf@gmail.com> <87d0eoseax.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="110140"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Michael Heerdegen , 35564@debbugs.gnu.org, Noam Postavsky , Stefan Monnier To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 22 23:12:50 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iN1ST-000SWM-JW for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Oct 2019 23:12:49 +0200 Original-Received: from localhost ([::1]:45186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iN1SR-0004YD-SQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Oct 2019 17:12:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50480) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iN1S2-0004Sz-HX for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2019 17:12:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iN1Ri-0006wO-AA for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2019 17:12:22 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51726) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iN1Ri-0006wE-2Z for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2019 17:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iN1Rh-0006GU-To for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2019 17:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Oct 2019 21:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35564 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 35564-submit@debbugs.gnu.org id=B35564.157177868124027 (code B ref 35564); Tue, 22 Oct 2019 21:12:01 +0000 Original-Received: (at 35564) by debbugs.gnu.org; 22 Oct 2019 21:11:21 +0000 Original-Received: from localhost ([127.0.0.1]:60547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iN1R2-0006FT-RV for submit@debbugs.gnu.org; Tue, 22 Oct 2019 17:11:21 -0400 Original-Received: from mail-wm1-f49.google.com ([209.85.128.49]:53149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iN1R0-0006FE-Uw for 35564@debbugs.gnu.org; Tue, 22 Oct 2019 17:11:19 -0400 Original-Received: by mail-wm1-f49.google.com with SMTP id r19so18887321wmh.2 for <35564@debbugs.gnu.org>; Tue, 22 Oct 2019 14:11:18 -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=rSxuxi9syfs7e3KeKuQj0CF2vu68NrRIBV0QmV/qYSw=; b=QVHHiL87QtiHzWXwlXI/vDYzlPSAKzBwnmMTzA+WPfqI1iWe7bw9wcuMYDb8VPMfjM eIXUicetfq2JFmTeMecTTqdHjJ7r5IX78bKUoWhLAEFmalVhrn3vbnA/5TCE/SA41Nb9 shMNIdwiVvE20OOPVzpGuTnAPT+OtDtE67dDeePHmJT4Ngp0zWJq2KffgMdPkm9SPU4m W/Q2lv5po6aNjG1xShCJC2zXPwlxgWyVKcuAzJ1Srm23oMqKORWgCmXNFXzQW9uV/LXq NjV/kYsjfc3ocwbwuKdiL/8xqs1tlYvtM6uz6DOQGn3tFEqv23YpRriXKFi4rFx2mU+Y 0Ulw== 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=rSxuxi9syfs7e3KeKuQj0CF2vu68NrRIBV0QmV/qYSw=; b=K/hDVxoL+GTn7S30Lx9TZWjlXu1zdi9nNq3JwgWMB3pUZzt+nEhVBldJ9jnZqSjqS/ Bq1Yrz6DB24MJ3FqsKbMrXlLAlS5obDIX/HkdeiIfisYzL6L4ozYLlexrKyg3S7xWyVX 2wF7Xqgx6wdhImRExMId8VOCoZ8LRu5DjuWXwZW1xGWJvDhVcTsQ004YLNLdfj67z51t TdCjgfxnuTy2dYnzDowfRXG0O5SxvZ1b0huS+OEWCfLQy+JGD0qriLUy4P7ayZnOz0jo PslQe3Cb4uXet9y6T9YxPwfgX7AikuLoHdAbRO/OhMgfvIQpxVupt6K1XF061IHkDuYC QZyg== X-Gm-Message-State: APjAAAWWd+9YsFGnkFnUvV6omsNrBKe4BlBapIurGgAgwG1RDZ4FMtkk QHHg4kbfAEzqWGgzmP1IczI= X-Google-Smtp-Source: APXvYqzq3OpDRA/DsY/MQzS4sNJrecPtQaGIfakshOffzvTawJMJLL84lXiu0v6jhHkeOGDymqZ2zQ== X-Received: by 2002:a1c:a556:: with SMTP id o83mr5030464wme.0.1571778673157; Tue, 22 Oct 2019 14:11:13 -0700 (PDT) Original-Received: from little-buster ([92.184.101.100]) by smtp.gmail.com with ESMTPSA id q25sm3123141wra.3.2019.10.22.14.11.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 14:11:12 -0700 (PDT) In-Reply-To: <87d0eoseax.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 22 Oct 2019 23:43:58 +0300") 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: 209.51.188.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:170010 Archived-At: Juri Linkov writes: > 1. Why there is the verbose option =E2=80=9Ctoggle [D]etails=E2=80=9D > while just =E2=80=9C[?]=E2=80=9D should be enough. For example, like > in query-replace typing =E2=80=98?=E2=80=99 displays the Help window, > just typing =E2=80=98?=E2=80=99 here could display the Dired Help. '?' is an automatic option added by read-multiple-choice. It pops-up an autogenerated buffer repeating the prompt and showing longer descriptions for each option. I would have liked '?' to show what I ended up putting in the "details" buffer; ideally read-multiple-choice would have an optional HELP-MESSAGE argument that could be squeezed between the prompt and the key description when showing the help buffer. Since that's not how things work, I went for the additional option ('d'). > 2. Would it be possible to customize the prompt to accept > short answers =E2=80=9Cy, n=E2=80=9D instead of long answers =E2=80=9C= Yes, No=E2=80=9D? > When =E2=80=98read-answer-short=E2=80=99 is =E2=80=98auto=E2=80=99 by = default, > the behaviour of =E2=80=98read-answer=E2=80=99 depends on whether > `yes-or-no-p' is set to `y-or-n-p'. In this case > =E2=80=98read-answer=E2=80=99 accepts short single-key answers. I didn't know about read-answer, that was an interesting discovery. read-multiple-choice only accepts single-key answers, you cannot answer with long options if I'm not mistaken. You cannot choose what the prompt looks like either; you simply provide a list of (KEY NAME [DESCRIPTION]) tuples; NAMEs will be shown in the prompt, DESCRIPTIONs will be shown in the auto-generated help buffer. (Let me know if that does not answer your question; I might have misunderstood.)