From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [GUI emacs:term.el] Possible regression causes word wrapping to break term display in zsh Date: Sat, 26 Nov 2016 11:12:52 +0200 Message-ID: <8337ie38q3.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1480151595 14517 195.159.176.226 (26 Nov 2016 09:13:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 26 Nov 2016 09:13:15 +0000 (UTC) Cc: dann@ics.uci.edu, emacs-devel@gnu.org To: Nicholas Ochiel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 26 10:13:10 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cAZ2h-0002nv-Mz for ged-emacs-devel@m.gmane.org; Sat, 26 Nov 2016 10:13:07 +0100 Original-Received: from localhost ([::1]:49732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAZ2l-0004eR-D6 for ged-emacs-devel@m.gmane.org; Sat, 26 Nov 2016 04:13:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAZ2d-0004eB-UV for emacs-devel@gnu.org; Sat, 26 Nov 2016 04:13:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cAZ2a-0000CK-OT for emacs-devel@gnu.org; Sat, 26 Nov 2016 04:13:03 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cAZ2a-0000CG-L9; Sat, 26 Nov 2016 04:13:00 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3652 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1cAZ2Z-00029M-Rw; Sat, 26 Nov 2016 04:13:00 -0500 In-reply-to: (message from Nicholas Ochiel on Sat, 26 Nov 2016 02:04:56 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:209610 Archived-At: > From: Nicholas Ochiel > Date: Sat, 26 Nov 2016 02:04:56 +0300 > Cc: emacs-devel@gnu.org > > Steps: > 0. Open gui emacs in X. > 1. M-x term (char mode, /bin/zsh) Are zsh and a GUI frame necessary for reproducing this issue? > 2. Enter a long input that causes text to wrap at fringe. > 3. Notice that point jumps irregularly. Do you mean point jumps by itself, or do you mean it jumps when you try moving it with cursor motion keys? IOW, please describe what triggers these jumps. > 4. Move point and attempt to edit some portion of wrapped line in terminal. > 5. Notice that prompt or previous terminal output is overwritten in an > unpredictable manner. > 6. Further operations on text cause unpredictable editing behaviour. > 7. This occurs regardless of truncate-lines, visual-line-mode. Did you try to disable the fringes? Did it help? > > Reproduced with: > - Emacs 24.5.1, > - emacs-snapshot 26.0.50.2 > > This odd behaviour was also reported here: > 1. https://github.com/syl20bnr/spacemacs/issues/5520 The discussion there seems to say it has to do with something called oh-my-zsh and/or multi-term? Does the recipe you posted reproduce the problem in "emacs -Q"? Thanks.