GNU bug report logs - #28668
comint-previous-input could put the cursor where it was

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 2 Oct 2017 11:38:01 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 28668 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 28668 <at> debbugs.gnu.org
Subject: Re: bug#28668: comint-previous-input could put the cursor where it was
Date: Mon, 15 Jul 2019 11:22:34 +0200
積丹尼 Dan Jacobson <jidanni <at> 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




This bug report was last modified 6 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.