all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 4635@debbugs.gnu.org
Subject: bug#4635: 23.1.50; term-previous-input and split windows
Date: Sun, 17 Jun 2012 16:26:31 +0800	[thread overview]
Message-ID: <87zk82xs20.fsf@gnu.org> (raw)
In-Reply-To: <87eicgveq2.fsf@escher.home> (Stephen Berman's message of "Sun, 26 Sep 2010 15:03:49 +0200")

Stephen Berman <stephen.berman@gmx.net> writes:

>>>> 1. emacs -Q
>>>> 2. M-x term RET
>>>> 3. C-c 2
>>>> 4. RET
>>>> => Cursor jumps from the term prompt to the beginning of the buffer
>
> Thanks for tracking that down.  So, if I comment out the sexp (term-goto
> 0 0) in the last line term-set-scroll-region, the jump still happens,
> but only to (line-beginning-position) and then the cursor immediately
> returns to the first character after the prompt.  This looks strange but
> is at any rate much less disconcerting than jumping to the beginning of
> the buffer.  The only other place term-set-scroll-region is called is at
> the end of term-handle-ansi-escape; I don't know how to test if this
> change causes problems here.  BTW, the jump only happens in character
> mode (the default), not in line mode.

I committed a similar fix, in term-emulate-terminal, to trunk.  Thanks.





      reply	other threads:[~2012-06-17  8:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-04 22:07 bug#4635: 23.1.50; term-previous-input and split windows Stephen Berman
2009-11-19 21:55 ` Stephen Berman
2010-02-19 14:25   ` Stephen Berman
2010-09-25 16:07     ` Johan Bockgård
2010-09-26 13:03       ` Stephen Berman
2012-06-17  8:26         ` Chong Yidong [this message]

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=87zk82xs20.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=4635@debbugs.gnu.org \
    --cc=stephen.berman@gmx.net \
    /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.