all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Nicholas Ochiel <nochiel@gmail.com>
Cc: dann@ics.uci.edu, emacs-devel@gnu.org
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	[thread overview]
Message-ID: <8337ie38q3.fsf@gnu.org> (raw)
In-Reply-To: <CACO-rL=EoyaRYJpDyLGVyaQUUZg_6ZvsZW+JEwn=JoAHJcER7g@mail.gmail.com> (message from Nicholas Ochiel on Sat, 26 Nov 2016 02:04:56 +0300)

> From: Nicholas Ochiel <nochiel@gmail.com>
> 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.



  reply	other threads:[~2016-11-26  9:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-25 23:04 [GUI emacs:term.el] Possible regression causes word wrapping to break term display in zsh Nicholas Ochiel
2016-11-26  9:12 ` Eli Zaretskii [this message]
2016-11-26 10:29   ` Nicholas Ochiel
2016-11-26 12:52     ` Eli Zaretskii
2016-11-27  6:41       ` Nicholas Ochiel
2016-11-27 15:40         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8337ie38q3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=nochiel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.