From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ed Avis Newsgroups: gmane.emacs.bugs Subject: bug#16740: 24.2; Please allow C-p and C-n in minibuffer Date: Thu, 13 Feb 2014 11:04:12 +0000 Message-ID: <7E039918541B4C4183BFDB8F015C743065ACC6@WCL-EXCH02.wcl.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1392289512 2328 80.91.229.3 (13 Feb 2014 11:05:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2014 11:05:12 +0000 (UTC) To: 16740@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 13 12:05:20 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 1WDu6Y-0003wF-UE for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Feb 2014 12:05:19 +0100 Original-Received: from localhost ([::1]:45571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDu6Y-0006BP-GZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Feb 2014 06:05:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDu6O-00062n-Nx for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 06:05:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDu6J-00080n-2B for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 06:05:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDu6I-00080C-VL for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 06:05:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WDu6I-00074Z-HJ for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 06:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ed Avis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Feb 2014 11:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16740 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "'bug-gnu-emacs@gnu.org'" Original-Received: via spool by submit@debbugs.gnu.org id=B.139228948327156 (code B ref -1); Thu, 13 Feb 2014 11:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Feb 2014 11:04:43 +0000 Original-Received: from localhost ([127.0.0.1]:50030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDu5y-00073v-Dh for submit@debbugs.gnu.org; Thu, 13 Feb 2014 06:04:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56007) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WDu5w-00073i-75 for submit@debbugs.gnu.org; Thu, 13 Feb 2014 06:04:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDu5l-0007X2-9k for submit@debbugs.gnu.org; Thu, 13 Feb 2014 06:04:34 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDu5l-0007Wv-6D for submit@debbugs.gnu.org; Thu, 13 Feb 2014 06:04:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDu5f-0005kR-23 for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 06:04:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDu5X-0007U3-O0 for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 06:04:22 -0500 Original-Received: from mail1.bemta4.messagelabs.com ([85.158.143.249]:35434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDu5X-0007TP-FN for bug-gnu-emacs@gnu.org; Thu, 13 Feb 2014 06:04:15 -0500 Original-Received: from [85.158.143.35:55420] by server-2.bemta-4.messagelabs.com id 07/A4-10891-DA6ACF25; Thu, 13 Feb 2014 11:04:13 +0000 X-Env-Sender: eda@waniasset.com X-Msg-Ref: server-14.tower-21.messagelabs.com!1392289453!5383444!1 X-Originating-IP: [213.212.127.155] X-StarScan-Received: X-StarScan-Version: 6.9.16; banners=waniasset.com,-,- X-VirusChecked: Checked Original-Received: (qmail 14775 invoked from network); 13 Feb 2014 11:04:13 -0000 Original-Received: from unknown (HELO WCL-EXCHCAS03.wcl.local) (213.212.127.155) by server-14.tower-21.messagelabs.com with AES128-SHA encrypted SMTP; 13 Feb 2014 11:04:13 -0000 Original-Received: from WCL-EXCH02.wcl.local ([169.254.1.226]) by WCL-EXCHCAS03.wcl.local ([149.85.126.212]) with mapi id 14.03.0123.003; Thu, 13 Feb 2014 11:04:13 +0000 Thread-Topic: 24.2; Please allow C-p and C-n in minibuffer Thread-Index: Ac8oq0K8stCJPfMyRpqh6Ak+mZLbmw== Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [149.85.127.183] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:85461 Archived-At: This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Do C-x C-f f o o RET. This opens a file called foo. Now C-x k, to close that buffer. Now we attempt to open the file again: C-x C-f C-p. That doesn't work; C-p was intended to get the previous filename but gives 'beginning of buffer'. You need to type M-p instead. However, in GNU bash, the situation is reversed. To get the previous command line you have to hit C-p, and M-p just enters a control sequence. So there is a user interface inconsistency between bash and Emacs. I think the best=20way 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. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/24.2/etc/DEBUG. In GNU Emacs 24.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.6.4) of 2013-07-14 on buildvm-05.phx2.fedoraproject.org Configured using: `configure '--build=3Dx86_64-redhat-linux-gnu' '--host=3Dx86_64-redhat-linux-gnu' '--program-prefix=3D' '--disable-dependency-tracking' '--prefix=3D/usr' '--exec-prefix=3D/usr' '--bindir=3D/usr/bin' '--sbindir=3D/usr/sbin' '--sysconfdir=3D/etc' '--datadir=3D/usr/share' '--includedir=3D/usr/include' '--libdir=3D/usr/lib64' '--libexecdir=3D/usr/libexec' '--localstatedir=3D/var' '--sharedstatedir=3D/var/lib' '--mandir=3D/usr/share/man' '--infodir=3D/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=3Dgtk3' '--with-gpm=3Dno' '--with-wide-int' 'build_alias=3Dx86_64-redhat-linux-gnu' 'host_alias=3Dx86_64-redhat-linux-gnu' 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector --param=3Dssp-buffer-size=3D4 -m64 -mtune=3Dgeneric' 'LDFLAGS=3D-Wl,-z,re= lro '' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: en_GB.UTF-8 value of $LC_MESSAGES: en_GB.UTF-8 value of $LC_MONETARY: en_GB.UTF-8 value of $LC_NUMERIC: en_GB.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Perl Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: SPC t h e SPC q u e u e . C-c C-c C-x b W a c TAB C-g C-x o DEL C-d RET C-x C-f l i b / W a c TAB T TAB RET C-s s a m e _ C-a C-s w a r n _ s a m e _ C-s C-s C-s C-s C-s C-r C-r C-r C-a C-x 1 C-f C-f C-f C-f C-f C-f C-f C-s C-w C-w C-w C-s C-s C-s C-a C-r $ f i l l C-r C-r C-r C-r C-r C-r C-s C-s C-s C-a C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p RET RET C-p TAB @ SPC DEL DEL # SPC N B SPC DEL DEL DEL W e SPC u s e d SPC t o SPC m a k e SPC s u r e SPC t h a t SPC w a r n _ s a m _ e d a DEL DEL DEL DEL e _ d a y s SPC w a s SPC a t SPC l e a s t SPC f i l l + 1 . SPC SPC S o SPC i f SPC a SPC s e r i e s SPC i s RET TAB # SPC r e a l l y SPC f i=20l l e d SPC C-x k RET y e s RET C-x b RET q C-x C-f C-p C-x C-f ESC p RET ESC x r e p o r t SPC e m SPC b SPC RET Recent messages: Press C-c C-c when you are done editing. Enter a change comment. Type C-c C-c when done Mark saved where search started Mark set [2 times] Saving file /home/eda/svn_working/repos/scripts/send_deferred_emails... Wrote /home/eda/svn_working/repos/scripts/send_deferred_emails Checking in /home/eda/svn_working/repos/scripts/send_deferred_emails...don= e Quit Mark saved where search started [4 times] line-move-visual: Beginning of buffer Quit Load-path shadows: ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________