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: Wed, 06 Nov 2019 00:22:43 +0200 Organization: LINKOV.NET Message-ID: <878sou7yks.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> <87d0eoseax.fsf@mail.linkov.net> <87mudstrir.fsf@gmail.com> <87a79l7vk4.fsf@mail.linkov.net> <8736f9ao8n.fsf@mail.linkov.net> <87bltscflm.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="41090"; 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 Nov 05 23:59:15 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 1iS7n6-000AVz-1E for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Nov 2019 23:59:12 +0100 Original-Received: from localhost ([::1]:51312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS7n4-00079t-R9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Nov 2019 17:59:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33508) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS7my-00079N-7J for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 17:59:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iS7mx-0002LG-6k for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 17:59:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58601) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iS7mx-0002LA-3X for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 17:59:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iS7mx-0004y9-1B for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2019 17:59:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Nov 2019 22:59:02 +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.157299471519019 (code B ref 35564); Tue, 05 Nov 2019 22:59:02 +0000 Original-Received: (at 35564) by debbugs.gnu.org; 5 Nov 2019 22:58:35 +0000 Original-Received: from localhost ([127.0.0.1]:39182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iS7mU-0004wg-V8 for submit@debbugs.gnu.org; Tue, 05 Nov 2019 17:58:35 -0500 Original-Received: from anteater.elm.relay.mailchannels.net ([23.83.212.3]:17375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iS7mT-0004wX-NW for 35564@debbugs.gnu.org; Tue, 05 Nov 2019 17:58:34 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 85F2C3C0F11; Tue, 5 Nov 2019 22:58:32 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a64.g.dreamhost.com (100-96-169-194.trex.outbound.svc.cluster.local [100.96.169.194]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 0682F3C0FFD; Tue, 5 Nov 2019 22:58:32 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a64.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Tue, 05 Nov 2019 22:58:32 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Left-Bottle: 54d8832a4d86fe73_1572994712276_2868942717 X-MC-Loop-Signature: 1572994712276:3709595052 X-MC-Ingress-Time: 1572994712275 Original-Received: from pdx1-sub0-mail-a64.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a64.g.dreamhost.com (Postfix) with ESMTP id 343357F514; Tue, 5 Nov 2019 14:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=uUArbc 41Uaivr+vhVCDlPQUgCa8=; b=b/7i5lMaATld3FZKj9fA3IUV/Xj5wauJ0htdUA WNjDo37eZusKBhP9UvumB0/CDnmpeaB6aBXy8AmmjeOGH2c/fcJuOUoO0Qo3F3Ug VTp6rszhR0jjRDSxNm2F1Z9qFGfw0eXllkFexviWgBYVd6hTE6wbi81WhMOHh/FJ lmEcA= Original-Received: from mail.jurta.org (m91-129-101-77.cust.tele2.ee [91.129.101.77]) (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-a64.g.dreamhost.com (Postfix) with ESMTPSA id A510A7F51D; Tue, 5 Nov 2019 14:58:23 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a64 In-Reply-To: <87bltscflm.fsf@gmail.com> ("=?UTF-8?Q?K=C3=A9vin?= Le Gouguec"'s message of "Mon, 04 Nov 2019 07:36:53 +0100") 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:170990 Archived-At: > I'd like to keep read-multiple-choice's built-in help action available > though, I find it quite ergonomic. Plus, the fact that it is bound to = ? > and C-h makes it consistent with help-for-help, another command whose > purpose is to describe prompt bindings in more details. > > Here are the ways forward I can see: > > 1. keep 'd' for "details" (a la nsm.el), > > 2. use 'h' for "help": more intuitive for "what the ftok is going on" > reactions, though perhaps confusing when shown alongside '?', Indeed, providing several help keys is confusing. It should be less confusing to provide only '?' and to teach read-multiple-choice to use our help text where we could describe each supported key (y/n/etc.) and their effect explicitly. > 3. teach read-multiple-choice to let go of '?', and=E2=80=A6 > > 3.1. that's it; give up on the bindings-explaining help buffer, > > 3.2. move the code generating this buffer to an external function, > which callers could re-use to fill in their own help buffer, It seems this read-multiple-choice needs to be rewritten anyway to use the minibuffer instead of read-event. So the ability to override '?' could be added at the same time as well.