* bug#28668: comint-previous-input could put the cursor where it was
@ 2017-10-02 10:33 積丹尼 Dan Jacobson
2019-07-15 9:22 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: 積丹尼 Dan Jacobson @ 2017-10-02 10:33 UTC (permalink / raw)
To: 28668
In bash, ^P puts the cursor at the same spot where it was (when we hit
RET) last command. In emacs shell mode, M-p (comint-previous-input)
always puts the cursor at the end of the line, no matter what. Perhaps
it could be made to be like bash... at least for the latest previous
command.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#28668: comint-previous-input could put the cursor where it was
2017-10-02 10:33 bug#28668: comint-previous-input could put the cursor where it was 積丹尼 Dan Jacobson
@ 2019-07-15 9:22 ` Lars Ingebrigtsen
2019-07-15 11:07 ` 積丹尼 Dan Jacobson
0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-15 9:22 UTC (permalink / raw)
To: 積丹尼 Dan Jacobson; +Cc: 28668
積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
> In bash, ^P puts the cursor at the same spot where it was (when we hit
> RET) last command.
I tried this on Debian Stale now, and C-p didn't do that. Perhaps you
have a special setting?
> In emacs shell mode, M-p (comint-previous-input)
> always puts the cursor at the end of the line, no matter what. Perhaps
> it could be made to be like bash... at least for the latest previous
> command.
I think that sounds like a slightly confusing feature, so I'm closing
this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-07-15 11:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-02 10:33 bug#28668: comint-previous-input could put the cursor where it was 積丹尼 Dan Jacobson
2019-07-15 9:22 ` Lars Ingebrigtsen
2019-07-15 11:07 ` 積丹尼 Dan Jacobson
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.