From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#27980: disabled-command-function should accept ^G Date: Sun, 06 Aug 2017 16:09:19 +0900 Message-ID: <87d189cgv4.fsf@calancha-pc> References: <87vam1fl7m.fsf@jidanni.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1502003417 30714 195.159.176.226 (6 Aug 2017 07:10:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Aug 2017 07:10:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27980@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 06 09:10:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deFhP-0007Nu-65 for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Aug 2017 09:10:07 +0200 Original-Received: from localhost ([::1]:60409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deFhT-0008UN-Pr for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Aug 2017 03:10:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deFhO-0008T0-34 for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 03:10:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1deFhK-00071k-Vd for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 03:10:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41388) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1deFhK-00071Z-SJ for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 03:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1deFhK-0003vv-9a for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 03:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Aug 2017 07:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27980 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27980-submit@debbugs.gnu.org id=B27980.150200337415070 (code B ref 27980); Sun, 06 Aug 2017 07:10:02 +0000 Original-Received: (at 27980) by debbugs.gnu.org; 6 Aug 2017 07:09:34 +0000 Original-Received: from localhost ([127.0.0.1]:44064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deFgs-0003v0-A5 for submit@debbugs.gnu.org; Sun, 06 Aug 2017 03:09:34 -0400 Original-Received: from mail-pg0-f41.google.com ([74.125.83.41]:33712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deFgq-0003uk-Gc for 27980@debbugs.gnu.org; Sun, 06 Aug 2017 03:09:32 -0400 Original-Received: by mail-pg0-f41.google.com with SMTP id u5so22683508pgn.0 for <27980@debbugs.gnu.org>; Sun, 06 Aug 2017 00:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=wD4iWNBHqxyUxfxiwTCmbH/guiFU68azcrcOLAFOTEU=; b=Vh2pwq3+VEeN56n9PiRf0p0W0WWE3gcS2YQU2v4nmNoxC9uvVbzFWCw32bepK1P+yp zWJN7hFcfIbHasfA6IyYA0EPZysSGRooEgoX94koLxkC5DKE0tFrxt0LGIES5rdsGdbP /b/1xaRfjJfuSAoAfUOh6G/y4LyYgeJH9MnDkxNUZQ7ca1BQviyLIBL3b248crVte8nM jFwWOboIGJBhHzWNtM7osc6E6LaXXqa+dGfUarspmOlv2up5AjUNAMbtR9k4H2LtopIE WaFbq6/o5ZbDfSqa7bXcyVCUGMpMlC/IHduN4FsLKYY38+tK7bhy6nTriHICVGocIT9V u/lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=wD4iWNBHqxyUxfxiwTCmbH/guiFU68azcrcOLAFOTEU=; b=IRF6M5lkuysjwzoIb7Ms7Vg0YlysBOfRf9+j5hmhnsaTuv9aqY3e+UGV4YeMvVy2zU v9/bXUUgAQRQiqKNYsmpoJegaWmXbdzgovm4eMgn1VvS8CSGsbW3U1k4XOdtT/HHmzbf rzsLB6Dl7Vptv9yLcj/+fz+czfO1VUGMZ27elyr5fspuV9n1u2C8LVVyTfjL+N8MVhT5 nIlu/6r18LMdlTawUDR02+uo3Kaj144/YJQp0C8rbttyj8l7IELTQ7M9xgkzEXVeqLye /bK7XkNCffu4ats+hhM9S17G7QTg3GQzfI94KRFRZeRe9CWbRvtExe/efhjSjctXWbqw 8zTg== X-Gm-Message-State: AIVw1125g89E8TeitV1mbY4d+QzRFKdGOAIq3y2JWS/qCfpvtPpLAlnf m7Ov4KPatxz4Hovf X-Received: by 10.98.212.27 with SMTP id a27mr7872310pfh.157.1502003366693; Sun, 06 Aug 2017 00:09:26 -0700 (PDT) Original-Received: from calancha-pc (170.224.128.101.dy.bbexcite.jp. [101.128.224.170]) by smtp.gmail.com with ESMTPSA id v9sm10799354pgo.39.2017.08.06.00.09.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 06 Aug 2017 00:09:26 -0700 (PDT) In-Reply-To: <87vam1fl7m.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Sun, 06 Aug 2017 11:07:09 +0800") 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: 208.118.235.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:135478 Archived-At: =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > disabled-command-function is an autoloaded compiled Lisp function in > =E2=80=98novice.el=E2=80=99. > > It prompts with > > (message "Type y, n, ! or SPC (the space bar): ") > > However in 99% of the cases, the user has triggered it by mistake, > and wishes to get out with ^G, and not be bothered to read the details. Reading those details i discovered several very useful disabled commands; i enable some of them in my init file at startup. > > However ^G is disabled here. > > Repeated hitting of it will not get one out and back to editing. > > I vote ^G be mapped to "n", and be listed in the message. For me C-g it works: emacs -Q ~ a ; `dired-find-alternate-file' (disabled by default) ;; Appear the message. C-g ; The message is gone; the command was canceled.