all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eduardo Ochs <eduardoochs@gmail.com>
To: ���ηÉ <orbitingflea@qq.com>
Cc: 50186 <50186@debbugs.gnu.org>, Juri Linkov <juri@linkov.net>
Subject: bug#50186: Shell in emacs very annoying using zsh
Date: Sat, 28 Aug 2021 13:28:00 -0300	[thread overview]
Message-ID: <CADs++6hZE74Zs629+=4fO1eFjauMu7Np91cnQ-yk-pheB=N_SQ@mail.gmail.com> (raw)
In-Reply-To: <tencent_D8029F5F81952F3934529C8CC83EDC68A10A@qq.com>

[-- Attachment #1: Type: text/plain, Size: 1415 bytes --]

Zsh is one of the programs that I need to run with
`comint-process-echoes' set to t in the comint buffer...

?ηÉ/orbitingflea, can you define these two functions,

  (defun det () (interactive) (setq comint-process-echoes t))
  (defun den () (interactive) (setq comint-process-echoes nil))

and then use Zsh a bit with comint-process-echoes set to true and a
bit with comint-process-echoes set to nil - use `M-x det' and `M-x
den' to change the value - to see if something changes?

  [[]],
    Eduardo Ochs
    http://angg.twu.net/#eev



On Sat, 28 Aug 2021 at 13:06, ���ηÉ via Bug reports for GNU Emacs, the
Swiss army knife of text editors <bug-gnu-emacs@gnu.org> wrote:

> Hello Juri,
>
> > Actually, I see no problems with multi-line prompts in Emacs.
> > I tried to use "\n" in PS1 in bash, and then run M-x shell.
> > No problems noticed :)
>
> Wow! That's surprising to me.
> Maybe I should show my zsh config file that generating this bug:
>
> export ZSH="/home/friend/.oh-my-zsh"
> ZSH_THEME="ys"
> plugins=(git)
> source $ZSH/oh-my-zsh.sh
> export DISPLAY=`cat /etc/resolv.conf | grep nameserver | awk '{print
> $2}'`:0.0
> export PATH="/home/friend/.local/bin:$PATH"
>
> Here I used "ys" theme of oh-my-zsh, and it has multi-line prompt.
> By the way, I tested bash with multi-line prompt, as you said. No problem.
> So the problem comes from zsh?
>

[-- Attachment #2: Type: text/html, Size: 2022 bytes --]

  reply	other threads:[~2021-08-28 16:28 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 ` bug#50186: More details about " ���η� via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-26 14:54   ` 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 [this message]
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='CADs++6hZE74Zs629+=4fO1eFjauMu7Np91cnQ-yk-pheB=N_SQ@mail.gmail.com' \
    --to=eduardoochs@gmail.com \
    --cc=50186@debbugs.gnu.org \
    --cc=juri@linkov.net \
    --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.