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: Mon, 01 Apr 2019 23:25:08 +0300 Organization: LINKOV.NET Message-ID: <87r2alcyuj.fsf@mail.linkov.net> References: <1879851553195601@myt3-2475c4d2af83.qloud-c.yandex.net> <87a7hasuz4.fsf@mail.linkov.net> <26451261554113450@myt6-add70abb4f02.qloud-c.yandex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="27464"; 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" <34939@debbugs.gnu.org> To: pinkanon pinkanon Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 01 22:48:10 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 1hB3qk-00071I-0Q for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Apr 2019 22:48:10 +0200 Original-Received: from localhost ([127.0.0.1]:33294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hB3qj-0005YU-15 for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Apr 2019 16:48:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hB3pg-0004eR-B7 for bug-gnu-emacs@gnu.org; Mon, 01 Apr 2019 16:47:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hB3pf-0003gW-Cx for bug-gnu-emacs@gnu.org; Mon, 01 Apr 2019 16:47:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54651) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hB3pe-0003g8-WF for bug-gnu-emacs@gnu.org; Mon, 01 Apr 2019 16:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hB3pe-0003ZN-Py for bug-gnu-emacs@gnu.org; Mon, 01 Apr 2019 16:47: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: Mon, 01 Apr 2019 20:47:02 +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.155415157713619 (code B ref 34939); Mon, 01 Apr 2019 20:47:02 +0000 Original-Received: (at 34939) by debbugs.gnu.org; 1 Apr 2019 20:46:17 +0000 Original-Received: from localhost ([127.0.0.1]:39953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hB3ov-0003Xb-1G for submit@debbugs.gnu.org; Mon, 01 Apr 2019 16:46:17 -0400 Original-Received: from bonobo.maple.relay.mailchannels.net ([23.83.214.22]:11114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hB3ot-0003XL-5h for 34939@debbugs.gnu.org; Mon, 01 Apr 2019 16:46:15 -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 E63CE5C5DF2; Mon, 1 Apr 2019 20:46:13 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a35.g.dreamhost.com (unknown [100.96.11.48]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 7C0AE5C5C94; Mon, 1 Apr 2019 20:46:13 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a35.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); Mon, 01 Apr 2019 20:46:13 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Unite-Blushing: 686b2ecb221e2c97_1554151573706_1350158999 X-MC-Loop-Signature: 1554151573705:748539313 X-MC-Ingress-Time: 1554151573704 Original-Received: from pdx1-sub0-mail-a35.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a35.g.dreamhost.com (Postfix) with ESMTP id 1222E7F601; Mon, 1 Apr 2019 13:46:13 -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:content-transfer-encoding; s=linkov.net; bh=ov+9tX LXaIqpU3YPATU+Awq/wGM=; b=HHBHXnnB+rww10M7WROPC1vMLR1OcvzxFMxYQd n32jqgwggi32qDTokotMq6dVXS/hKOaUHbujP3Hk5RX+jfncon54Q7z4HXpDvWWz IMKVrZE+a1MKNvohVLwCv25x9+eKOB59FCiVqtVIdAbVqujsUZ41hJ7CJpVfeV4m aZf3Y= 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-a35.g.dreamhost.com (Postfix) with ESMTPSA id 68A7F7F0DB; Mon, 1 Apr 2019 13:46:10 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a35 In-Reply-To: <26451261554113450@myt6-add70abb4f02.qloud-c.yandex.net> (pinkanon pinkanon's message of "Mon, 01 Apr 2019 13:10:50 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrleeggdduhedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtredunecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleelrddvtddvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleelrddvtddvpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepphhinhhkrghnohhnrdhpihhnkhgrnhhonheshigrnhguvgigrdhruhenucevlhhushhtvghrufhiiigvpedt 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:157044 Archived-At: >>> =A0(2) When I try to quit and some buffer is unchanged, I get the usu= al >>> =A0deal asking me what I want. The problem I have here [in addition t= o >>> =A0the problem discussed in (1), adapted to this case: "Type C-h for >>> =A0help."] 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: >> >> =A0=A0(when window-system >> =A0=A0=A0=A0(define-key global-map [escape] 'keyboard-escape-quit)) > > I have no luck w/ this one, though. Emacs 26.1 build 1, Arch Linux. > steps: emacs -Q somefile -> Eval the code -> type something -> > C-x C-c -> "Save file...? ..." -> Escape -> "Type C-h for help" Thanks for detailed test case, I misunderstood your original description, but now it's clear. `C-x C-c' (save-buffers-kill-terminal) is a special case that requires a special customization: (define-key query-replace-map [escape] 'quit)