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#34939: Some minibuffer behaviour is annoying Date: Sun, 31 Mar 2019 22:49:51 +0300 Organization: LINKOV.NET Message-ID: <87a7hasuz4.fsf@mail.linkov.net> References: <1879851553195601@myt3-2475c4d2af83.qloud-c.yandex.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="122037"; 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: 34939@debbugs.gnu.org To: pinkanon pinkanon Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 31 22:17: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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hAgtq-000VdI-4i for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Mar 2019 22:17:50 +0200 Original-Received: from localhost ([127.0.0.1]:49885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAgtp-0008FJ-14 for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Mar 2019 16:17:49 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAgt9-0007zE-Ie for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 16:17:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hAgt7-0004eB-Gf for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 16:17:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53196) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hAgt4-0004dc-AP for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 16:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hAgt4-0003PA-0V for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 16:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Mar 2019 20:17: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.155406336312973 (code B ref 34939); Sun, 31 Mar 2019 20:17:01 +0000 Original-Received: (at 34939) by debbugs.gnu.org; 31 Mar 2019 20:16:03 +0000 Original-Received: from localhost ([127.0.0.1]:38501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAgs6-0003N5-MT for submit@debbugs.gnu.org; Sun, 31 Mar 2019 16:16:02 -0400 Original-Received: from insect.birch.relay.mailchannels.net ([23.83.209.93]:46018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAgs4-0003MT-9l for 34939@debbugs.gnu.org; Sun, 31 Mar 2019 16:16:01 -0400 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 963405C4B96; Sun, 31 Mar 2019 20:15:58 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a74.g.dreamhost.com (unknown [100.96.20.50]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 4E7CD5C4B30; Sun, 31 Mar 2019 20:15:58 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a74.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Sun, 31 Mar 2019 20:15:58 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Average-Desert: 58d1cff4233a1b61_1554063358444_3092895436 X-MC-Loop-Signature: 1554063358444:4156647308 X-MC-Ingress-Time: 1554063358444 Original-Received: from pdx1-sub0-mail-a74.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a74.g.dreamhost.com (Postfix) with ESMTP id ED4CD82D1A; Sun, 31 Mar 2019 13:15:57 -0700 (PDT) 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; s=linkov.net; bh=3FbfayEX34dPzCyae0MiWLBlH9M=; b= D4+4TQxGL+3huX1H7y11IuuPneYnI/0GXEz9BiZ91SVCwhyoIQERhOUEYp9bH8Aw Ep6tAJB6EQXhYFicLpsrcPlR4QOxKx3sLNDecJdPnpOjlQO0odry4w0WkS/MPcE+ 8+mN4Tl4pvAp8OjVrN+aF2dA769T0sL0jQZsB3pT3E8= Original-Received: from mail.jurta.org (m91-129-99-202.cust.tele2.ee [91.129.99.202]) (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-a74.g.dreamhost.com (Postfix) with ESMTPSA id 407F982D2A; Sun, 31 Mar 2019 13:15:55 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a74 In-Reply-To: <1879851553195601@myt3-2475c4d2af83.qloud-c.yandex.net> (pinkanon pinkanon's message of "Thu, 21 Mar 2019 21:13:21 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrledvgddugeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrdelledrvddtvdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdelledrvddtvddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehpihhnkhgrnhhonhdrphhinhhkrghnohhnseihrghnuggvgidrrhhunecuvehluhhsthgvrhfuihiivgeptd 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:156986 Archived-At: > (1) when I press backspace and the prompt is empty, minibuffer tells me > "Text is read-only". You. Don't. Say. Messages in the echo area should not conceal the minibuffer. Period. There is a special function minibuffer-message for this purpose: (add-hook 'minibuffer-setup-hook (lambda () (setq-local command-error-function (lambda (error context _command) (minibuffer-message (concat context (get (car error) 'error-message))))))) > (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. To avoid all such problems, just bind keyboard-escape-quit globally when not on a tty where an ESC prefix still might be needed: (when window-system (define-key global-map [escape] 'keyboard-escape-quit))