From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#35564: [PATCH v5] Tweak dired warning about "wildcard" characters Date: Tue, 22 Oct 2019 23:43:58 +0300 Organization: LINKOV.NET Message-ID: <87d0eoseax.fsf@mail.linkov.net> 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> 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="267513"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: Michael Heerdegen , 35564@debbugs.gnu.org, Noam Postavsky , Stefan Monnier To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 22 22:46:25 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 1iN12u-0017Mn-Ih for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Oct 2019 22:46:24 +0200 Original-Received: from localhost ([::1]:44386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iN12t-0000VM-AC for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Oct 2019 16:46:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47843) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iN12a-0000UV-NC for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2019 16:46:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iN12Z-0005rc-Hm for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2019 16:46:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51714) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iN12Z-0005rW-EU for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2019 16:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iN12Z-0005dr-8R for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2019 16:46:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Oct 2019 20:46:03 +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.157177712721612 (code B ref 35564); Tue, 22 Oct 2019 20:46:03 +0000 Original-Received: (at 35564) by debbugs.gnu.org; 22 Oct 2019 20:45:27 +0000 Original-Received: from localhost ([127.0.0.1]:60531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iN11z-0005cW-GC for submit@debbugs.gnu.org; Tue, 22 Oct 2019 16:45:27 -0400 Original-Received: from pdx1-sub0-mail-fallback-a1.dreamhost.com ([64.90.62.138]:47448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iN11x-0005cI-D3 for 35564@debbugs.gnu.org; Tue, 22 Oct 2019 16:45:26 -0400 Original-Received: from pdx1-sub0-mail-a90.g.dreamhost.com (unknown [10.35.43.115]) by pdx1-sub0-mail-fallback-a1.dreamhost.com (Postfix) with ESMTP id 265AE275670; Tue, 22 Oct 2019 13:45:19 -0700 (PDT) Original-Received: from mail.jurta.org (m91-129-98-153.cust.tele2.ee [91.129.98.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a90.g.dreamhost.com (Postfix) with ESMTPSA id 6CA0882420; Tue, 22 Oct 2019 13:45:12 -0700 (PDT) In-Reply-To: <87v9sgrf29.fsf@gmail.com> ("=?UTF-8?Q?K=C3=A9vin?= Le Gouguec"'s message of "Tue, 22 Oct 2019 17:10:54 +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: 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:170009 Archived-At: > I realize that everyone has their plate full right now (Emacs has tabs! > Face extension beyond EOL is customizable! What a time to be alive!), > so I am not expecting this to get any immediate attention. Sorry for leaving your new mail unanswered for so long (although I marked your mail with the "read-later" tag :) > New prompt based on read-multiple-choice: > >> Warning: 1 occurrence of =E2=80=98?=E2=80=99 will not be substituted. = Proceed? >> ([Y]es, [N]o, toggle [D]etails, [?]): > > Hitting 'd' pops a buffer showing more information[1]. The commands > then become: > >> ([Y]es, [N]o, toggle [D]etails, toggle [M]arkers, [?]) > > Hitting 'm' shows/hides '^' markers below the occurrences; 'd' quits th= e > details window. Finally we have the best solution where the prompt is concise and fits into one line, still allowing to show more information on demand, thanks for that. Some minor details that I still don't understand: 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. 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.