From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#16740: 24.2; Please allow C-p and C-n in minibuffer Date: Thu, 13 Feb 2014 12:22:21 +0100 Message-ID: References: <7E039918541B4C4183BFDB8F015C743065ACC6@WCL-EXCH02.wcl.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392290592 16022 80.91.229.3 (13 Feb 2014 11:23:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2014 11:23:12 +0000 (UTC) Cc: 16740@debbugs.gnu.org To: Ed Avis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 13 12:23:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WDuNw-00029H-Cw for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Feb 2014 12:23:16 +0100 Original-Received: from localhost ([::1]:45637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDuNv-000107-Oa for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Feb 2014 06:23:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDuNo-0000zm-EI for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 06:23:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDuNi-0005Gb-Tl for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 06:23:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDuNi-0005GV-Qt for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 06:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WDuNi-0007Y8-Kw for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 06:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2014 11:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16740 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16740-submit@debbugs.gnu.org id=B16740.139229054828964 (code B ref 16740); Thu, 13 Feb 2014 11:23:02 +0000 Original-Received: (at 16740) by debbugs.gnu.org; 13 Feb 2014 11:22:28 +0000 Original-Received: from localhost ([127.0.0.1]:50040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDuN9-0007X5-Gw for submit@debbugs.gnu.org; Thu, 13 Feb 2014 06:22:27 -0500 Original-Received: from cantor2.suse.de ([195.135.220.15]:49096 helo=mx2.suse.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDuN5-0007Wr-GD for 16740@debbugs.gnu.org; Thu, 13 Feb 2014 06:22:24 -0500 Original-Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 69A3EABC3; Thu, 13 Feb 2014 11:22:22 +0000 (UTC) X-Yow: I'm also pre-POURED pre-MEDITATED and pre-RAPHAELITE!! In-Reply-To: <7E039918541B4C4183BFDB8F015C743065ACC6@WCL-EXCH02.wcl.local> (Ed Avis's message of "Thu, 13 Feb 2014 11:04:12 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:85462 Archived-At: Ed Avis writes: > I think the best way to resolve it is to make C-p and C-n work in > the Emacs minibuffer to get the previous and next lines from the > history, just as M-p and M-n do. Since the minibuffer is almost > always a single line of text, the bindings to previous-line and > next-line aren't helpful in the minibuffer. IMHO it should be rather the other way round, and bash/readline should be changed. When editing a multiline minibuffer then C-n/C-p should just navigate within it. In readline there doesn't seem to be a way to go to the previous line of a multiline buffer except by horizonal movement over the newline, which is annoying. Note that in Emacs the cursor keys already work like M-n/M-p. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."