zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Peter Stephenson <p.stephenson@samsung.com>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: region_highlight and zle_highlight[paste]
Date: Tue, 8 Sep 2015 12:27:13 +0200	[thread overview]
Message-ID: <CAHYJk3TuUxjTMzXec8Y1gyg8WqOZ=ff1bbqtqy-rukr4s262xA@mail.gmail.com> (raw)
In-Reply-To: <20150908092746.5d25ad58@pwslap01u.europe.root.pri>

On Tue, Sep 8, 2015 at 10:27 AM, Peter Stephenson
<p.stephenson@samsung.com> wrote:
> On Mon, 7 Sep 2015 21:22:11 +0000
> Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
>> Since region_highlight overrides zle_highlight[paste], as a widget
>> writer I'd like to know what part of $BUFFER is being paste-highlighted,
>> in order to avoid setting region_highlight entries for it.
>>
>> Does this seem reasonable?
>
> It's not much code, so if this is useful in practice, I'd say yes.

I noticed that a specification for fg=red overrides a bg=blue
specification to no background. Would it be easy to merge these
instead? (for example bold + bg=blue works already).

-- 
Mikael Magnusson


  reply	other threads:[~2015-09-08 10:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-07 21:22 Daniel Shahaf
2015-09-08  8:27 ` Peter Stephenson
2015-09-08 10:27   ` Mikael Magnusson [this message]
2015-09-08 10:41     ` Peter Stephenson
2015-09-10 19:12   ` 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='CAHYJk3TuUxjTMzXec8Y1gyg8WqOZ=ff1bbqtqy-rukr4s262xA@mail.gmail.com' \
    --to=mikachu@gmail.com \
    --cc=p.stephenson@samsung.com \
    --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).