[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs shell cursor movement is broken in 22.1
From: |
jimka |
Subject: |
Re: emacs shell cursor movement is broken in 22.1 |
Date: |
Sun, 16 Mar 2008 08:31:45 -0700 (PDT) |
User-agent: |
G2/1.0 |
> 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.)