From: Dan Jacobson <jidanni@deadspam.com>
Subject: ESC p is history in *shell*, in bash, C-p
Date: 08 Jun 2002 02:23:19 +0800 [thread overview]
Message-ID: <m2bsangd7s.fsf@jidanni.org> (raw)
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
next reply other threads:[~2002-06-07 18:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-07 18:23 Dan Jacobson [this message]
2002-06-07 21:04 ` ESC p is history in *shell*, in bash, C-p Kai Großjohann
2002-06-07 21:20 ` Andreas Schwab
2002-06-08 11:09 ` Kai Großjohann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2bsangd7s.fsf@jidanni.org \
--to=jidanni@deadspam.com \
--cc=kindly_remove_this_part_first_jidanni@ms46.hinet.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.