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: Sun, 10 Nov 2019 22:18:27 +0200 Organization: LINKOV.NET Message-ID: <87imnr3bhw.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> <878sou7yks.fsf@mail.linkov.net> <87o8xnnxft.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="141630"; 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 Sun Nov 10 21:56:13 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 1iTuFn-000adk-S5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Nov 2019 21:56:12 +0100 Original-Received: from localhost ([::1]:45816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTuFm-0000xG-Em for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Nov 2019 15:56:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48967) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTuFe-0000vS-Ul for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2019 15:56:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTuFd-00020q-UE for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2019 15:56:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43774) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTuFd-00020Y-Or for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2019 15:56:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iTuFd-0003L6-Lr for bug-gnu-emacs@gnu.org; Sun, 10 Nov 2019 15:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Nov 2019 20:56: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.157341935512825 (code B ref 35564); Sun, 10 Nov 2019 20:56:01 +0000 Original-Received: (at 35564) by debbugs.gnu.org; 10 Nov 2019 20:55:55 +0000 Original-Received: from localhost ([127.0.0.1]:52595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTuFX-0003Km-2J for submit@debbugs.gnu.org; Sun, 10 Nov 2019 15:55:55 -0500 Original-Received: from egyptian.birch.relay.mailchannels.net ([23.83.209.56]:14159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTuFW-0003Kd-5B for 35564@debbugs.gnu.org; Sun, 10 Nov 2019 15:55:54 -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 C9B2458036A; Sun, 10 Nov 2019 20:55:52 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a14.g.dreamhost.com (100-96-92-150.trex.outbound.svc.cluster.local [100.96.92.150]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5906958079D; Sun, 10 Nov 2019 20:55:52 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a14.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); Sun, 10 Nov 2019 20:55:52 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Desert-Macabre: 357b65ca3a246734_1573419352614_1102132485 X-MC-Loop-Signature: 1573419352614:761303241 X-MC-Ingress-Time: 1573419352614 Original-Received: from pdx1-sub0-mail-a14.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a14.g.dreamhost.com (Postfix) with ESMTP id ECB139633F; Sun, 10 Nov 2019 12:55:46 -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=mKYkbm lCbbqse8DYJGbq/AV6eJ0=; b=ahs2uiIpXFI3CuKuX1VvKiq6T85RIVw42jnr46 W1ZXS5G7zXyyMSW4lR5JWBRMXBVIKtR5omlDGHGbZrKTBmyBPiq7S7F6YnEqD6D/ Y46kF7GPWrRpQSN0bMDAnXErbVYYydukoESQdsEsqWqh37P2TDWISE+C1W+G4h9E vd3yI= Original-Received: from mail.jurta.org (m91-129-102-1.cust.tele2.ee [91.129.102.1]) (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-a14.g.dreamhost.com (Postfix) with ESMTPSA id 9DAF49872B; Sun, 10 Nov 2019 12:55:43 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a14 In-Reply-To: <87o8xnnxft.fsf@mail.linkov.net> (Juri Linkov's message of "Fri, 08 Nov 2019 00:17:27 +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:171388 Archived-At: > A patch in bug#38076 replaces read-char-choice with > read-char-from-minibuffer, and in one place in the patch > it uses read-char-from-minibuffer in files--ask-user-about-large-file > simply as > > (read-char-from-minibuffer > (concat prompt " (y)es or (n)o or (l)iterally ") > '(?y ?Y ?n ?N ?l ?L)) > > Maybe it would be much simpler to use something like > > (read-char-from-minibuffer > (concat "1 occurrence of =E2=80=98?=E2=80=99 will not be substituted.= Proceed? (y)es or (n)o or (h)elp ") > '(?y ?Y ?n ?N ?h ?H)) A better example is ask-user-about-supersession-threat in userlock.el that using read-char-from-minibuffer displays such prompt: file changed on disk; really edit the buffer? (y, n, r or C-h)=20 Please use a similarly short prompt: 1 occurrence of =E2=80=98?=E2=80=99 will not be substituted. Proceed? = (y, n or ?)=20 where '?' will show the Dired help window. This will simplify the user interface to make it less confusing (no more choice for two separate help texts).