bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recalling last command: please put cursor at end of line


From: Kevin Rodgers
Subject: Re: recalling last command: please put cursor at end of line
Date: Mon, 05 Feb 2001 20:43:36 GMT

address@hidden (Dan Jacobson) wrote:
> Fellows, issue some shell commands (ESC !), then do
> escape ! escape p
> Notice the cursor is sitting at the beginning of the line.
> Now suspend emacs and use bash, and do C-p
> Notice the cursor is sitting at the end of the line.
> Well, what's it going to be?  Beginning or end. Let's get unified
> here. One has got to be the better way, and by be posting to which bug
> group, you can tell my opinion.

"Emacs is the extensible, CUSTOMIZABLE, self-documenting real-time
display editor." [emphasis mine]

(defadvice previous-history-element (after end-of-line activate)
  "Move point to the end of the line."
  (end-of-line))

(defadvice next-history-element (after end-of-line activate)
  "Move point to the end of the line."
  (end-of-line))

--
Kevin Rodgers <address@hidden>          Lead Software Engineer
Information Handling Services           Electronic Systems Development
15 Inverness Way East, M/S A114         GO BUFFS!
Englewood CO 80112-5776 USA             1 303 397 2807[voice]


Sent via Deja.com
http://www.deja.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]