Subject: bug#29672: 26.0.90 Can't move cursor above prompt in evil-mode

From: James Nguyen <[email-masked]>
Date: Mon, 11 Dec 2017 22:38:25 -0800

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
——————————————————

In GNU Emacs 26.0.90 (build 1, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G29))
 of 2017-12-09 built on jamesretina.local
Repository revision: e9ea2065a82c46b3524633e4638834fc70ae3e6e
Windowing system distributor 'Apple', version 10.3.1504
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
26 (#o32, #x1a, ?\C-z)
Mark set
("/Users/james/.emacs.d/elpa/26/evil-20171129.651" "/Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp" "/Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/vc" "/Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/url" "/Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/textmodes" "/Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/progmodes" "/Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/play" "/Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org" "/Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/nxml" "/Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/net" "/Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/mh-e" "/Users/james/Code/emacs/nextstep/Emacs.app/Contents/Resources/lisp/mail" ...)
Quit [2 times]
evil
t
Configured using:
 'configure --with-modules'

Configured features:
JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES

Important settings:
  value of $LC_ALL: C
  value of $LC_COLLATE: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  shell-dirtrack-mode: t
  evil-mode: t
  evil-local-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml
mml-sec password-cache epa derived epg epg-config gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils term disp-table easymenu ehelp evil
evil-integration evil-maps evil-commands flyspell ispell evil-jumps
evil-command-window evil-types evil-search evil-ex shell pcomplete
comint ansi-color evil-macros evil-repeat evil-states evil-core advice
evil-common windmove thingatpt rect evil-digraphs evil-vars ring edmacro
kmacro cl-loaddefs cl-lib elec-pair time-date tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote kqueue cocoa ns multi-tty make-network-process emacs)

Memory information:
((conses 16 244772 13155)
 (symbols 48 23991 1)
 (miscs 40 58 184)
 (strings 32 38538 1421)
 (string-bytes 1 1074324)
 (vectors 16 40740)
 (vector-slots 8 767765 11060)
 (floats 8 56 166)
 (intervals 56 297 0)
 (buffers 992 12))