unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: John Mastro <john.b.mastro@gmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Cc: Andrew Pennebaker <andrew.pennebaker@gmail.com>,
	Robert Thorpe <rt@robertthorpeconsulting.com>
Subject: Re: Automatically move cursor to end of shell-mode buffer on M-p / M-n
Date: Tue, 24 Feb 2015 19:04:56 -0800	[thread overview]
Message-ID: <CAOj2CQQHxApoCup06SEAKoijd61RMNNtycJa=FymWa_trjMabw@mail.gmail.com> (raw)
In-Reply-To: <87y4nmn5gb.fsf@robertthorpeconsulting.com>

>> As a shell user, I want shell-mode M-p / M-n to automatically move my
>> cursor to the shell prompt, so that shell-mode behaves more intuitively.
>
> Doesn't C-a do that?  It does for me.

I believe Andrew is thinking of the situation where you're on a
different (i.e. previous) line.

This sometimes happens to me too, typically after I've done an isearch
to look at some earlier output. I'm trying out Andrew's idea and so far
I like it.

-- 
john



  reply	other threads:[~2015-02-25  3:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24 15:50 Automatically move cursor to end of shell-mode buffer on M-p / M-n Andrew Pennebaker
2015-02-25  1:30 ` Robert Thorpe
2015-02-25  3:04   ` John Mastro [this message]
2015-02-25 13:51 ` J. David Boyd
2015-02-25 15:15   ` Andrew Pennebaker

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAOj2CQQHxApoCup06SEAKoijd61RMNNtycJa=FymWa_trjMabw@mail.gmail.com' \
    --to=john.b.mastro@gmail.com \
    --cc=andrew.pennebaker@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rt@robertthorpeconsulting.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).