From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#34939: Some minibuffer behaviour is annoying Date: Fri, 22 Mar 2019 18:57:12 +0200 Message-ID: <0b53220d-e11f-f0a7-5ed0-33ebc0c251b6@yandex.ru> References: <1879851553195601@myt3-2475c4d2af83.qloud-c.yandex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="232249"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 To: pinkanon pinkanon , 34939@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 22 18:14:07 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7Nk6-000yIF-Im for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Mar 2019 18:14:06 +0100 Original-Received: from localhost ([127.0.0.1]:60436 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7Nk5-0001kC-HL for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Mar 2019 13:14:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7NUa-0004ex-Md for bug-gnu-emacs@gnu.org; Fri, 22 Mar 2019 12:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7NUY-0002ok-Os for bug-gnu-emacs@gnu.org; Fri, 22 Mar 2019 12:58:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41081) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h7NUY-0002nV-6h for bug-gnu-emacs@gnu.org; Fri, 22 Mar 2019 12:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h7NUX-0000pF-To for bug-gnu-emacs@gnu.org; Fri, 22 Mar 2019 12:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Mar 2019 16:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34939 X-GNU-PR-Package: emacs Original-Received: via spool by 34939-submit@debbugs.gnu.org id=B34939.15532738433126 (code B ref 34939); Fri, 22 Mar 2019 16:58:01 +0000 Original-Received: (at 34939) by debbugs.gnu.org; 22 Mar 2019 16:57:23 +0000 Original-Received: from localhost ([127.0.0.1]:54625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h7NTv-0000oL-4m for submit@debbugs.gnu.org; Fri, 22 Mar 2019 12:57:23 -0400 Original-Received: from mail-wr1-f48.google.com ([209.85.221.48]:37462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h7NTt-0000o4-0W for 34939@debbugs.gnu.org; Fri, 22 Mar 2019 12:57:21 -0400 Original-Received: by mail-wr1-f48.google.com with SMTP id w10so3138938wrm.4 for <34939@debbugs.gnu.org>; Fri, 22 Mar 2019 09:57:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=evIUbRT+ZwGUooKIjBvtcsASwxtvjzK2ckeKsjm5OKI=; b=fZDqfJuUZ8wko+bnN8WMFJ+JQBLdEr6fTBv5lvh9GN2Fp7qLM1htgopaMH3EJIfHkY 75ehUiGSluPcod5i1vbaFAN9cHCihv5apzVf2kpxpsogGvsF/PXrYZDGYRRAT+LQ96FW PE49F/oJMAenAjsO57OGwKCb7Gigb/DYof0mCA5aY3iNqAsx86VuWgCAPzXFxZnDwQas Ujv0/2QVwKGLcRXww7Zy/C/rM3YdDw3hl2l3s+pzTZpw5K653fA5A8g6T/4afx9RGSEC +DVs5qQOGvJigcXtRw8iCgWuLQDPujrrhmKLIpOFTiaxPtwi5H2h+/wfHWkohG+OnvMe bd0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=evIUbRT+ZwGUooKIjBvtcsASwxtvjzK2ckeKsjm5OKI=; b=k36l/agBPkIiyjeIiVNtxVTxAxBTtW7ENHN/xfbEQHSebnZsAbOb1WwDowV7TfMxA0 2o6N0iCPh/E9rVIq2cEJEES9UWSeHoz7Qvi4z6A9JMT/X2nEbajof2Nmqk+q6I9kFQbc GVkt0ydcFTxJ2abzF2Kfl78eotVRP6mcbfx3UxwCe27NYZKw1C/cEYbYXdJZJFew1hG7 pK8BrH2q5w0cndoK3wydm4SSDt8jxmCGhvv5QnMUAEISJknVwJccw9PCts7/PcHdDIFY pHyN/SAs7bn1QJ00UjOTP3pLH9aCo87P+L7rflC48jxR2eLefpCJV/ag0+UQXV1Z44qB V41A== X-Gm-Message-State: APjAAAU7L3NFGqqSlDKZOxpkuaBAOqb9vyEYTR2ZNNdpn5G/tgkfyudY vAL2WxccIyhA/JhRlbxbshacaIQe X-Google-Smtp-Source: APXvYqzbgP5kXVjmJBsTZht0LNyoD7PyKfmyWo4YkH501bYgxCcESJm+Taf8sBjyqk5RIAA6z45+Dw== X-Received: by 2002:a5d:6b05:: with SMTP id v5mr1296355wrw.314.1553273834866; Fri, 22 Mar 2019 09:57:14 -0700 (PDT) Original-Received: from [192.168.0.195] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id b3sm10411040wmj.15.2019.03.22.09.57.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Mar 2019 09:57:14 -0700 (PDT) In-Reply-To: <1879851553195601@myt3-2475c4d2af83.qloud-c.yandex.net> Content-Language: en-US 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:156623 Archived-At: On 21.03.2019 21:13, pinkanon pinkanon wrote: > Hi! I have two issues regarding minibuffer usage: > > (1) when I press backspace and the prompt is empty, minibuffer tells me > "Text is read-only". You. Don't. Say. Agreed. > Proposed solution: while it can be argued that this is an OK default, > it would be great to have an option to show nothing instead. As a "solution", patch would be better. Off the top of my head, I don't see a simple fix while the prompt is still implemented using the read-only text property. > (2) When I try to quit and some buffer is unchanged, I get the usual > deal asking me what I want. The problem I have here [in addition to > the problem discussed in (1), adapted to this case: "Type C-h for > help."] is that I must use C-g, but not good old escape. > > Proposed solution: make [an option to be able to] ESC any minibuffer > prompt. In this particular case, maybe ESC could be added to one of > the possible response options, but that's an implementation detail as > far as I am concerned, a regular user. > > Here are some other people trying to solve this problem with no luck. > https://superuser.com/questions/795763/how-to-make-emacs-quit-the-minibuffer-with-one-press-of-esc Probably no simple way to make ESC work that way. The answer gives a hint why. But you could go the ergoemacs way, I guess.