From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8948: 24.0.50; y-or-n-p doesn't support scroll-o-w like yes-or-no-p Date: Mon, 04 Jul 2011 15:46:15 -0400 Message-ID: References: <874o3a1s7g.fsf@gmail.com> <8739irxt7f.fsf@gmail.com> <4E0CCED0.20604@dogan.se> <4E0D926F.1070109@dogan.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309808846 29675 80.91.229.12 (4 Jul 2011 19:47:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 19:47:26 +0000 (UTC) Cc: 8948@debbugs.gnu.org To: Deniz Dogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 04 21:47:22 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qdp74-0001dC-HQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jul 2011 21:47:22 +0200 Original-Received: from localhost ([::1]:44503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdp73-0005Ev-PK for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jul 2011 15:47:21 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdp6l-0005EO-TM for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2011 15:47:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qdp6k-0000cT-Mk for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2011 15:47:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdp6k-0000cP-Dp for bug-gnu-emacs@gnu.org; Mon, 04 Jul 2011 15:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qdp6j-00057d-Of; Mon, 04 Jul 2011 15:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jul 2011 19:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8948 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8948-submit@debbugs.gnu.org id=B8948.130980878419638 (code B ref 8948); Mon, 04 Jul 2011 19:47:01 +0000 Original-Received: (at 8948) by debbugs.gnu.org; 4 Jul 2011 19:46:24 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qdp67-00056h-Pd for submit@debbugs.gnu.org; Mon, 04 Jul 2011 15:46:23 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qdp65-00056U-SL for 8948@debbugs.gnu.org; Mon, 04 Jul 2011 15:46:22 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAKAXEk5FxIxr/2dsb2JhbABTp3t4iHrBK4Y2BJ5chCw X-IronPort-AV: E=Sophos;i="4.65,474,1304308800"; d="scan'208";a="120412028" Original-Received: from 69-196-140-107.dsl.teksavvy.com (HELO pastel.home) ([69.196.140.107]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 04 Jul 2011 15:46:15 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 6183558DBA; Mon, 4 Jul 2011 15:46:15 -0400 (EDT) In-Reply-To: <4E0D926F.1070109@dogan.se> (Deniz Dogan's message of "Fri, 01 Jul 2011 11:25:03 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 04 Jul 2011 15:47:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47987 Archived-At: >> I'm not so sure that's a suitable solution. What if someone wants yet >> another command to work in `y-or-n-p'? > Here is an alternative solution which utilizes the current global map if the > answer is not found in query-replace-map. > I'm not sure this is suitable either since there is no telling what kind of > interactive commands that can mess things up for the user. Maybe a simpler option is to use a read-from-minibuffer and then set overriding-terminal-local-map to a keymap that just holds a few bindings? That might also be a good approach for query-replace, BTW. Stefan