[xmonad] Issue 338 in xmonad: XMonad.Util.Paste.pasteString

codesite-noreply at google.com codesite-noreply at google.com
Sat Nov 14 18:04:45 EST 2009

Status: Started
Owner: vogt.adam
Labels: Type-Defect Priority-Medium Component-Contrib

New issue 338 by vogt.adam: XMonad.Util.Paste.pasteString

newfish in #xmonad had trouble pasting urls with pasteString. Note that the
difficulties with stringToKeysym are already noted in the module's

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 at 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  

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

More information about the xmonad mailing list