all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ESC p is history in *shell*, in bash, C-p
@ 2002-06-07 18:23 Dan Jacobson
  2002-06-07 21:04 ` Kai Großjohann
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Jacobson @ 2002-06-07 18:23 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-06-08 11:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-07 18:23 ESC p is history in *shell*, in bash, C-p Dan Jacobson
2002-06-07 21:04 ` Kai Großjohann
2002-06-07 21:20   ` Andreas Schwab
2002-06-08 11:09     ` Kai Großjohann

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.