Re: [Sawfish] Paste selection to window from lisp

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


Hi Brett,

On Sun, 7 Sep 2014 12:16:01 -0400 Brett Viren <brett.viren@xxxxxxxxx> wrote:

> On Tue, Sep 2, 2014 at 8:57 AM, Mario Domenech Goulart <mario.goulart@xxxxxxxxx> wrote:
>
>> I use something similar in
>> http://parenteses.org/mario/utils/sawfish-extra-menus#selection-menu
>
> This is great.  And, it seems it only needs the external "xclip"
> program to do the selection swapping.  The actual paste is done with
> synthetic events.  I had originally looked at how to use this approach
> but came up befuddled.  My LISP skills are pretty low.

I'm glad you find it useful.

> I did maybe find a typo in the quoting of "clip" in the
> selection-menu.  I also made a new menu to shortcut the action
> selection and instead just directly paste. My small mods are here:
>
> https://github.com/brettviren/dot-sawfish/commit/541fc57ccf0178a7038699c966fb2854f0d2b1a

I get a 404 code for that URL.  Maybe you mean
https://github.com/brettviren/dot-sawfish/commit/541fc57ccf0178a7038699c966fb2854fc0d2b1a#diff-8efe177d01cae6df61bfefce063d3f72L72
?

> I pasted that line via your code! :)
>
> Thanks for sharing this,

Cool.  You're welcome. :-)

Best wishes.
Mario
-- 
http://parenteses.org/mario

-- 
Sawfish ML


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/