rlopez1j / xmonad

Automatically exported from code.google.com/p/xmonad
0 stars 0 forks source link

XMonad.Util.Paste.pasteString #338

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
newfish in #xmonad had trouble pasting urls with pasteString. Note that the
difficulties with stringToKeysym are already noted in the module's
documentation.

What steps will reproduce the problem?
1. Add a binding for
>  ,  ( "M-S-b",    pasteString "http://code.google.com" )

What is the expected output? What do you see instead?
It pastes  httpcodegooglecom

I've pushed a patch that changes the paste to "http;//code.google.com",
which is still wrong with the ';' vs ':'. I believe that other :
Sat Nov 14 17:37:26 EST 2009  Adam Vogt <vogt.adam@gmail.com>
  * Bypass more of stringToKeysym in U.Paste

But there doesn't seem to be a simple way to detect whether a symbolic key
must be sent using shiftMask.

    ,("M-d",  pasteString "?><://\\{}[]" )
  gives:                   /.,;//\[][]

Is there a proper way to recognize when a symbol should be sent with shiftMask?

Original issue reported on code.google.com by vogt.a...@gmail.com on 14 Nov 2009 at 11:03

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Seems to be working for me?

Original comment by abimel...@gmail.com on 29 Jun 2015 at 3:29