unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: orbitingflea@qq.com, 50186@debbugs.gnu.org
Subject: bug#50186: Shell in emacs very annoying using zsh
Date: Fri, 27 Aug 2021 19:57:58 +0300	[thread overview]
Message-ID: <874kbahlk9.fsf@mail.linkov.net> (raw)
In-Reply-To: <874kbbf92s.fsf@web.de> (Michael Heerdegen's message of "Fri, 27 Aug 2021 12:58:19 +0200")

>> This is called "prompt", and you can change such multi-line prompt in zsh
>>
>>   PROMPT=$'%~\n%# '
>>
>> simply by removing \n.  Then the prompt will stay on one line.
>
> And is it a known limitation of shell that multi-line prompts cause
> problems?

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 :)





  parent reply	other threads:[~2021-08-27 16:57 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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=874kbahlk9.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=50186@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).