GNU bug report logs - #29672
26.0.90 term.el (char-mode) Can't move cursor above prompt in evil-mode

Previous Next

Package: emacs;

Reported by: James Nguyen <jamesn <at> fastmail.com>

Date: Tue, 12 Dec 2017 06:39:02 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 26.0.90

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: James Nguyen <jamesn <at> fastmail.com>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 29672 <at> debbugs.gnu.org, Noam Postavsky <npostavs <at> users.sourceforge.net>
Subject: Re: bug#29672: 26.0.90 Can't move cursor above prompt in evil-mode
Date: Thu, 21 Dec 2017 18:16:22 -0800
[Message part 1 (text/plain, inline)]
Thanks. That’s unfortunate but I’ll live. :)

> On Dec 21, 2017, at 12:44 PM, Philipp Stephani <p.stephani2 <at> gmail.com> wrote:
> 
> 
> 
> Noam Postavsky <npostavs <at> users.sourceforge.net <mailto:npostavs <at> users.sourceforge.net>> schrieb am Di., 12. Dez. 2017 um 15:08 Uhr:
> James Nguyen <jamesn <at> fastmail.com <mailto:jamesn <at> fastmail.com>> writes:
> 
> > This is in char-mode.
> >
> > It works in emacs 25.
> >
> > ——————————————————
> > emacs-major-version ;; 25
> > (add-to-list 'load-path "/Users/james/.emacs.d/elpa/25/evil-20171129.651")
> > (require 'evil)
> > (evil-mode)
> > M-x term
> > "/bin/zsh"
> > Press ESC to go into 'normal state'.
> > Press k to move cursor above prompt. --> cursor moves above prompt
> > ——————————————————
> >
> > ——————————————————
> > emacs-major-version ;; 26
> > (add-to-list 'load-path "/Users/james/.emacs.d/elpa/26/evil-20171129.651")
> > (require 'evil)
> > (evil-mode)
> > M-x term
> > "/bin/zsh"
> > Press ESC to go into 'normal state'.
> > Press k to move cursor above prompt. --> cursor won't move outside of prompt
> > ——————————————————
> 
> A similar recipe without evil:
> 
> M-x term
> "/bin/bash" ;; I happen not to have zsh installed at the moment
> Hit RET a few times so there is somewhere to move.
> C-c M-x eval-expression RET (previous-line) RET
> See cursort move up, and then move back to the prompt.
> 
> Seems to be on purpose, caused by this code, introduced in [1: 0d8e4f45d6]:
> 
> 
> Agreed, this is pretty much working as intended.

[Message part 2 (text/html, inline)]

This bug report was last modified 7 years and 151 days ago.

Previous Next


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