From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#29672: 26.0.90 Can't move cursor above prompt in evil-mode Date: Thu, 21 Dec 2017 20:44:22 +0000 Message-ID: References: <87zi6oca4c.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1144d8b272eee60560dfc477" X-Trace: blaine.gmane.org 1513888999 29866 195.159.176.226 (21 Dec 2017 20:43:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 21 Dec 2017 20:43:19 +0000 (UTC) Cc: James Nguyen , 29672@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 21 21:43:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS7gP-0007Kq-V1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Dec 2017 21:43:14 +0100 Original-Received: from localhost ([::1]:40546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS7iO-0001U8-41 for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Dec 2017 15:45:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eS7iG-0001Tn-M8 for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2017 15:45:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eS7iA-0007xA-LQ for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2017 15:45:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37832) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eS7iA-0007wG-FH for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2017 15:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eS7iA-0004tP-3A for bug-gnu-emacs@gnu.org; Thu, 21 Dec 2017 15:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Dec 2017 20:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29672 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29672-submit@debbugs.gnu.org id=B29672.151388908118746 (code B ref 29672); Thu, 21 Dec 2017 20:45:02 +0000 Original-Received: (at 29672) by debbugs.gnu.org; 21 Dec 2017 20:44:41 +0000 Original-Received: from localhost ([127.0.0.1]:46513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS7hp-0004sI-CK for submit@debbugs.gnu.org; Thu, 21 Dec 2017 15:44:41 -0500 Original-Received: from mail-qk0-f178.google.com ([209.85.220.178]:42775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS7hm-0004s4-Rv for 29672@debbugs.gnu.org; Thu, 21 Dec 2017 15:44:39 -0500 Original-Received: by mail-qk0-f178.google.com with SMTP id d202so7943608qkc.9 for <29672@debbugs.gnu.org>; Thu, 21 Dec 2017 12:44:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=46UaaOgJdc+Kc1f8UE+djE0yLhkazaZ403uOlGIJdLQ=; b=Nz2scZ51eLlJtD8P8Q9ufekYkACdM8O+cJ5+aagbaK92yCzFLW/Dhie8lyfRvp4PWy lJlbTTz36Heqi3X+vGaln0RI+Vkil7z7g/MuUkzzj3W1DC5xKJFkgyeA4oO4k6P051/Q vWKIQZE3fIZFBZEIj2umEEY8splGg1jr2L85rNP8zu53pfJ8UULk++3/sQsrsw0Iecxb qXlUD9HcfoDjuOwNPBBJP069ONWaCPEepRdNyAHa8pM+zHSX7diZ/snVq7EqAIFumV/p /z10ITFPuHaEWTuohx9arqE67MN+hd3Ilxom61atyUK/QgzbQ0ka7iUWVnhSRP4F9H8t GV4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=46UaaOgJdc+Kc1f8UE+djE0yLhkazaZ403uOlGIJdLQ=; b=QNZeHUMQjJudlcn4e03rTZZbD85tI6EiaibBnCmE6IlPIQZSyXIQBzVE5+GQ4EPnWR FH/CnqwIDAO1T/GTeWNnQcFkJ3lXgHgOXqh3zUGDdAhxBqcZVfkDLCkv2spTwYyohBOn shnE/PsD1x38oegVUWtrj+siIavdcc6hKvKM8KNBZT1ACdE2w+i7ETcAVPiCwfrqsl50 AP4cFyRtIQ04r5URreP2mkFEkgZDJe4Vlw/nDAEEJUS0CYZcFVx6dVE+gtZnxzSOqpbz 7x/Y0GvIoKTtTpZl4AJrKt3qu7rQbNhV3RAODip13wA775u4WOBTycuEFCF/rbpsBwg+ ku9Q== X-Gm-Message-State: AKGB3mIt6s+EMbFjUfMMOjWFU9ieejvzxWW+HBlcXiNyB62smEijJUM1 8I5RP9IwQTDxSiYh1JCk2fI7k4oQmSVvgDZkjsE= X-Google-Smtp-Source: ACJfBovsgsuFYQ9NTSyrsm4jb6PRZzb39OyjU6frO1RkdTpvyvfTah9akogDNauZzVNlfL1w+20j4ShzkmXdHzZmGP4= X-Received: by 10.55.33.17 with SMTP id h17mr15030454qkh.143.1513889073392; Thu, 21 Dec 2017 12:44:33 -0800 (PST) In-Reply-To: <87zi6oca4c.fsf@users.sourceforge.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141353 Archived-At: --001a1144d8b272eee60560dfc477 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Noam Postavsky schrieb am Di., 12. Dez. 2017 um 15:08 Uhr: > James Nguyen writes: > > > This is in char-mode. > > > > It works in emacs 25. > > > > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94 > > 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 > > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94 > > > > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94 > > 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 > > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94 > > 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. --001a1144d8b272eee60560dfc477 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Noam P= ostavsky <npostavs@use= rs.sourceforge.net> schrieb am Di., 12. Dez. 2017 um 15:08=C2=A0Uhr:=
James Nguyen <jamesn@fastmail.com> writes:=

> This is in char-mode.
>
> It works in emacs 25.
>
> =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94
> emacs-major-version ;; 25
> (add-to-list 'load-path "/Users/james/.emacs.d/elpa/25/evil-2= 0171129.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<= br> > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94
>
> =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94
> emacs-major-version ;; 26
> (add-to-list 'load-path "/Users/james/.emacs.d/elpa/26/evil-2= 0171129.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 outs= ide of prompt
> =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94

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 workin= g as intended.
--001a1144d8b272eee60560dfc477--