From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jimka Newsgroups: gmane.emacs.help Subject: Re: emacs shell cursor movement is broken in 22.1 Date: Sun, 16 Mar 2008 08:31:45 -0700 (PDT) Organization: http://groups.google.com Message-ID: <79d5945c-cfff-4029-a3ab-adc896c10d9e@m36g2000hse.googlegroups.com> References: <3c0dda17-2476-4d2b-b1f2-c101b4a0f576@s13g2000prd.googlegroups.com> <7eff3d6e-7425-418b-8c94-0cbc9b60a7fe@v3g2000hsc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205682040 5377 80.91.229.12 (16 Mar 2008 15:40:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Mar 2008 15:40:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 16 16:41:09 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jauyq-0004XJ-Ut for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Mar 2008 16:41:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JauyH-0007Db-FE for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Mar 2008 11:40:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m36g2000hse.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 83.236.2.86 Original-X-Trace: posting.google.com 1205681505 13974 127.0.0.1 (16 Mar 2008 15:31:45 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 16 Mar 2008 15:31:45 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m36g2000hse.googlegroups.com; posting-host=83.236.2.86; posting-account=hcE4OwoAAADycW4UgYxbAF_GOWiPYhXJ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.12) Gecko/20080203 SUSE/2.0.0.12-0.1 Firefox/2.0.0.12, gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:157073 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52444 Archived-At: > I have no idea why that change was made or whether there was a good > reason for it, but is there a reason why you use !!:p rather than M-p > to get the previous command? The latter puts the command at the > prompt, where commands are expected to be input. the !!:p example is just a simple example that is easy to explain in the posting. There is nothing really special about !!:p. Another example would be if i want to find the last command that contained a certain word. If i want to see the history, i type "history", If i want to see all the history which contained /tmp, i use "history | grep /tmp", and i expect emacs to be able to edit that result with its normal full screen editing. During that editing C-e and C-a should work as they do in any other full screen editing mode. About M-p, I think the reason people want the M-p and arrow keys to display history, is because shells don't normally enable full screen editing. One reason i started using the emacs shell in the 80s was because it did just that. I don't see M-p and C-up-arrow as very useful substitutes for full- screen capability. (i admit that i'm in the minority. most people do not want a powerful shell editing facility, but instead a very klunky one.)