zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: "Yuri D'Elia" <wavexx@thregr.org>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: zle_highlight and yank
Date: Tue, 8 Dec 2015 22:28:49 +0100	[thread overview]
Message-ID: <CAHYJk3SAyzVHV79iJHtS4926A7sSn5MZHFbXA+ErwKJwdLtprA@mail.gmail.com> (raw)
In-Reply-To: <n47fmi$2v1$1@ger.gmane.org>

On Tue, Dec 8, 2015 at 9:48 PM, Yuri D'Elia <wavexx@thregr.org> wrote:
> Yanking text seems to ignore any setting in zle_highlight. This is
> confirmed by setting zle_highlight=(none) and seeing that yank still
> highlights the text in standout.
>
> I would have expected it to respect the paste: style.
>
> Or maybe it's a good idea that it doesn't, to differentiate between a
> terminal paste and a regular one. But then again, I'd like a yank: style
> in there.

I guess it's a bug that (none) doesn't disable the paste: style, but
you can explicitly put in paste: to disable it if you want, eg
zle_highlight=(none paste:)

-- 
Mikael Magnusson


  reply	other threads:[~2015-12-08 21:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08 20:48 Yuri D'Elia
2015-12-08 21:28 ` Mikael Magnusson [this message]
2015-12-08 21:37   ` Yuri D'Elia
2015-12-12  8:55     ` Daniel Shahaf

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=CAHYJk3SAyzVHV79iJHtS4926A7sSn5MZHFbXA+ErwKJwdLtprA@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=wavexx@thregr.org \
    --cc=zsh-workers@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).