GNU bug report logs - #4635
23.1.50; term-previous-input and split windows

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Sun, 4 Oct 2009 22:15:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 4635 <at> debbugs.gnu.org
Subject: bug#4635: 23.1.50; term-previous-input and split windows
Date: Sun, 17 Jun 2012 16:26:31 +0800
Stephen Berman <stephen.berman <at> 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.




This bug report was last modified 13 years and 60 days ago.

Previous Next


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