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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28668 in the body.
You can then email your comments to 28668 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#28668; Package emacs. (Mon, 02 Oct 2017 11:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 02 Oct 2017 11:38:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: comint-previous-input could put the cursor where it was
Date: Mon, 02 Oct 2017 18:33:52 +0800
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28668; Package emacs. (Mon, 15 Jul 2019 09:23:02 GMT) Full text and rfc822 format available.

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




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 15 Jul 2019 09:23:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 28668 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 15 Jul 2019 09:23:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#28668; Package emacs. (Mon, 15 Jul 2019 11:08:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Lars Ingebrigtsen <larsi <at> gnus.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 19:07:24 +0800
Yes, in .inputrc
set history-preserve-point on

Once you try it you'll never go back!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 12 Aug 2019 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 249 days ago.

Previous Next


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