all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "���η� via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 50186@debbugs.gnu.org
Subject: bug#50186: More details about bug#50186: Shell in emacs very annoying using zsh
Date: Thu, 26 Aug 2021 16:47:57 +0800	[thread overview]
Message-ID: <tencent_943EBC6B4902775CA597FB380051C88C100A@qq.com> (raw)
In-Reply-To: <tencent_DE0EED146C23130F4C5ABEC0B057C5E50B08@qq.com>


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: Type: text/plain; charset="gb18030", Size: 1133 bytes --]

When use zsh instead of bash, shell become very annoying. Even if I do not edit the shell buffer, but changing its size, there will be extra lines generated in the buffer, which is not expected.



Here is a recipe to reproduce the bug. See attached for screenshots.


(1) Starting from emacs -Q.


&nbsp; [1.png in attached]


(2) M-x shell. Here my default shell is zsh, and I also have oh-my-zsh installed.


&nbsp; [2.png in attached]


You can see there are multi-line "leading info" (sorry for my poor English, I mean the characters on the left of the cursor before you enter a command in the shell, showing the username and the current directory; I don't know what it is called in English), but in bash there is only one line instead. I guess this is the key of the problem.


By the way, maybe there are different "schemes" or "styles" for zsh, for some of them there will be multi-line leading info.


(3) Repeat C-x 1, C-x 2, C-x 1, C-x 2, ...


&nbsp; [3.png &amp; 4.png in attached]


There will be more and more lines in the shell, which is unexpected, because you did not edit the buffer.

[-- Attachment #1.2: Type: text/html, Size: 3221 bytes --]

[-- Attachment #2: bug-zsh-emacs-screenshots.zip --]
[-- Type: application/octet-stream, Size: 281888 bytes --]

  parent reply	other threads:[~2021-08-26  8:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-24  2:28 bug#50186: Shell in emacs very annoying using zsh ���η� via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-25 11:49 ` Lars Ingebrigtsen
2021-08-26  8:47 ` ���η� via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-08-26 14:54   ` bug#50186: More details about " Michael Heerdegen
2021-08-27  6:10   ` Juri Linkov
2021-08-27 10:58     ` Michael Heerdegen
     [not found]       ` <tencent_3B44F9B2833A45DF08C3C394D62CB0C29506@qq.com>
2021-08-27 14:54         ` Michael Heerdegen
2021-08-27 16:57       ` Juri Linkov
2021-08-28  9:26         ` ���η� via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-28 16:28           ` Eduardo Ochs
2021-08-29  2:16             ` 周任飞 via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-27  7:01 ` bug#50186: Multi-line prompt is the reason ���η� via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=tencent_943EBC6B4902775CA597FB380051C88C100A@qq.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=50186@debbugs.gnu.org \
    --cc=orbitingflea@qq.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.