Sebastien Delafond writes:

> I have the following in my ~/.Xdefaults:
> 
>   URxvt.cutchars: `"'()*,;<>[]{|}
>   URxvt.font: xft:Bitstream Vera Sans Mono:pixelsize=13
> 
> While the font resource is honored, the cutchars one is not:
> double-clicking on "foo&bar" only selects half of the string.

The problem here, for the & case at least, is that the perl selection
extension has several other built-in patterns, one of which is:

  # shell-like argument quoting, basically always matches
  qr{\G [\ \t|&;<>()]* (
     (?:
        [^\\"'\ \t|&;<>()]+
        | \\.
        | " (?: [^\\"]+ | \\. )* "
        | ' [^']* '
     )+
  )}x

These are added to the list derived from cutchars and so your & always
gets caught.

I think what you want in this instance is to disable the perl extension.
You can do this with:

  URxvt.perl-ext-common:default,-selection

If you want some of the other features, like URL selection, but not the
offending one, I'm afraid the only option right now is to make a custom
version of the extension and cut out the shell-quoting bit. If disabling
it works well enough for you feel free to close this bug.

-- 
things change.
[EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to