From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: ESC p is history in *shell*, in bash, C-p Date: 08 Jun 2002 02:23:19 +0800 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: Reply-To: kindly_remove_this_part_first_jidanni@ms46.hinet.net NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1023479483 724 127.0.0.1 (7 Jun 2002 19:51:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 7 Jun 2002 19:51:23 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17GPlb-0000BZ-00 for ; Fri, 07 Jun 2002 21:51:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17GPlL-0003Cm-00; Fri, 07 Jun 2002 15:51:07 -0400 Original-Received: from sjc3-1.relay.mail.uu.net ([199.171.54.122]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17GPjv-00037g-00 for ; Fri, 07 Jun 2002 15:49:40 -0400 Original-Received: from mail.fu-berlin.de by sjc3sosrv11.alter.net with ESMTP (peer crosschecked as: mail.fu-berlin.de [160.45.11.165]) id QQmsgl06454 for ; Fri, 7 Jun 2002 19:49:37 GMT Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Fri, 7 Jun 2002 21:49:30 +0200 (MEST) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Fri, 7 Jun 2002 21:49:30 +0200 (MEST) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 61-227-47-126.hinet-ip.hinet.NET!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 31 X-Orig-NNTP-Posting-Host: 61-227-47-126.hinet-ip.hinet.net (61.227.47.126) X-Orig-X-Trace: fu-berlin.de 1023479369 1791986 61.227.47.126 (16 [99749]) X-Orig-Path: localhost.localdomain!nobody User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:1861 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:1861 Do you find, after using a *shell* window for half an hour, and then going back to a usual non-emacs bash session, you carry over the ESC p history recall habit, for a few accidental commands, even though you wonder why you don't know better, and should be hitting C-p, being that you only use a emacs *shell* window 2% of the time. Does this "indicate" (as they say in medicine) that in non-emacs bash one should bind ESC p and ESC n to do the same as C-p and C-n? But wait, why should I let this little punk ESC p dominate the C-p I've used for years? The answer must lie in correcting the brain splitting design flaw that has existed for ~20 years; we must make C-p somehow behave in *shell* ... hmm, perhaps a vi-like mode switching, "now I want to be on the command line", "now I want full editing over the buffer contents". Throughout this it doesn't seem to make sense to allow the user to alter the output of previous commands... oh, that is besides the point. Anyway, an undeniable brain splitter. One of my goals in using free software was that never again would I be "forced" to have my brain split... > then rebind the keys, silly. it's not that simple. (Yes emacs also has a terminal emulator with C-p for history... but then I wouldn't have started that window in emacs in the first place... mainly for easy copying of output...) -- http://jidanni.org/ Taiwan(04)25854780