all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 28668@debbugs.gnu.org
Subject: bug#28668: comint-previous-input could put the cursor where it was
Date: Mon, 15 Jul 2019 11:22:34 +0200	[thread overview]
Message-ID: <87o91vtzxh.fsf@mouse.gnus.org> (raw)
In-Reply-To: <87h8vhg7ov.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Mon, 02 Oct 2017 18:33:52 +0800")

積丹尼 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





  reply	other threads:[~2019-07-15  9:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2019-07-15 11:07   ` 積丹尼 Dan Jacobson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o91vtzxh.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=28668@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.