From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Peter Stephenson <p.stephenson@samsung.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Cannot tell why POSTDISPLAY doesn't work
Date: Fri, 8 Jun 2018 17:23:24 +0200 [thread overview]
Message-ID: <CAKc7PVCOJ+mkTxvx=H=S7PMymQ2OBw_E0fpj5h=DtZnUE7OaUw@mail.gmail.com> (raw)
In-Reply-To: <20180608151052eucas1p14d1e9f07a274cf908b387a144da0d424~2N-XGwjGo2856728567eucas1p10@eucas1p1.samsung.com>
On 8 June 2018 at 17:10, Peter Stephenson <p.stephenson@samsung.com> wrote:
> "zle -M" *simply* prints a message. It doesn't interact with
> the normal editing buffer at all (which is the thing to which
> POSTDISPLAY is appended). So if you're seeing it it's because it's
> not overridden by the message.
>
> It's worth scanning the zshzle manual to see if you're doing something
> that might be better dealt with by Zle -R, which does a normal
> redisplay with an optional message --- this is commonly the case
> when within widgets.
I just realized it is zsh-users/zsh-autosuggestions is also using
POSTDISPLAY. When I enter weird command with "-" in the middle, then
zsh-autosuggestions doesn't have any string to suggest and doesn't
touch my POSTDISPLAY. Now how to dig out from this. I've tried zle -R
but it doesn't help.
--
Best regards,
Sebastian Gniazdowski
prev parent reply other threads:[~2018-06-08 15:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-05 14:50 Sebastian Gniazdowski
2018-06-08 14:38 ` Sebastian Gniazdowski
2018-06-08 15:10 ` Peter Stephenson
2018-06-08 15:23 ` Sebastian Gniazdowski [this message]
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='CAKc7PVCOJ+mkTxvx=H=S7PMymQ2OBw_E0fpj5h=DtZnUE7OaUw@mail.gmail.com' \
--to=sgniazdowski@gmail.com \
--cc=p.stephenson@samsung.com \
--cc=zsh-users@zsh.org \
/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.vuxu.org/mirror/zsh/
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 NNTP newsgroup(s).