Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #94406

Re: [OT] Can I copy/paste Python code?

Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail
From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: [OT] Can I copy/paste Python code?
Date Wed, 22 Jul 2015 22:50:55 +0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Lines 54
Message-ID <mop6of$d5f$1@reader1.panix.com> (permalink)
References <0f0c6018-50e7-4e95-a798-313d767ce177@googlegroups.com> <mailman.796.1437447312.3674.python-list@python.org> <moldt9$tmm$1@dont-email.me> <CAPTjJmo-b0Cknw4z7H3XQqAxedByAERd3MJpQuZPJb5aSCrhZA@mail.gmail.com> <201507211725.t6LHPW1Y028074@fido.openend.se> <mailman.829.1437508728.3674.python-list@python.org> <moma9p$6dp$1@reader1.panix.com> <mailman.831.1437512625.3674.python-list@python.org> <momem6$elp$1@reader1.panix.com> <mailman.836.1437518147.3674.python-list@python.org> <momn0r$c24$1@reader1.panix.com> <mailman.873.1437583794.3674.python-list@python.org> <moorad$g1u$1@reader1.panix.com> <mailman.887.1437602737.3674.python-list@python.org>
NNTP-Posting-Host 67-130-15-94.dia.static.qwest.net
X-Trace reader1.panix.com 1437605455 13487 67.130.15.94 (22 Jul 2015 22:50:55 GMT)
X-Complaints-To abuse@panix.com
NNTP-Posting-Date Wed, 22 Jul 2015 22:50:55 +0000 (UTC)
User-Agent slrn/1.0.2 (Linux)
Xref csiph.com comp.lang.python:94406

Show key headers only | View raw


On 2015-07-22, Michael Torrie <torriem@gmail.com> wrote:
> On 07/22/2015 01:35 PM, Grant Edwards wrote:
>> That must be using something other than the standard X11 clipboard
>> copy/paste mechnism.  You shouldn't have to "right click copy", and
>> many of the apps I paste into don't even have a "right click paste".
>> 
>> It sounds like evince has abandoned the trie-and true X11 clipboard
>> functionality that people have been using for 30 years.

It turns out that select and middle-click _does_ work for evince, but
only if you are "middle clicking" on the same X11 display where evince
is.  I'm not quite sure how they managed to accomplish this, since every
other app I tried handles multiple displays just fine (and I'm pretty
sure they didn't all go to any extra work to do so).

> Sadly, yes.  Gnome has indeed pushed to abandon this.

They do seem to be trying pretty hard to alienate people outside the
Gnome project.

> And the wayland display server also abandons this, though it practice
> it do so by pushing the implementation of such neat shortcuts into
> the toolkit instead of the windowing system, and if the recent past
> is any indication, GTK devs are not going to go out of their way to
> implement middle click paste.  But perhaps someone will release
> patches to add it into the popular GUI toolkits.  The Putty app on
> Windows implements this style of pasting in the app, as an example.
>
> I could be wrong but I think highlight and middle-click paste is a happy
> accident that became a feature in X.

Could be, but it's a "feature" that's been there for 30 years.  In the
real world we call that a "standard".  :)

> And there could be some application security implications surrounding
> it, which is part of the hesitancy of gnome developers, and wayland
> developers, to carry this feature.

Personally, I think it's all rampant NIH syndrome.  They all think the
fancy new (and incompatible) scheme they cooked up over a few beers
last weekend is better than everything everybody else on the planet
has developed in the past 30 years.

> Though it seems to me Linux desktops are becoming more and more like
> Windows in the ways that drove me to really like X11 desktops.  For
> example, client-side decorations always bugged me in Windows
> especially when an app would freeze and I couldn't move it.

Yep.

-- 
Grant Edwards               grant.b.edwards        Yow! My face is new, my
                                  at               license is expired, and I'm
                              gmail.com            under a doctor's care!!!!

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Can I copy/paste Python code? ryguy7272 <ryanshuell@gmail.com> - 2015-07-20 19:49 -0700
  Re: Can I copy/paste Python code? Chris Angelico <rosuav@gmail.com> - 2015-07-21 12:55 +1000
    Re: Can I copy/paste Python code? Christian Gollwitzer <auriocus@gmx.de> - 2015-07-21 14:29 +0200
      Re: Can I copy/paste Python code? Chris Angelico <rosuav@gmail.com> - 2015-07-22 00:48 +1000
      Re: Can I copy/paste Python code? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2015-07-21 17:12 +0100
        Re: Can I copy/paste Python code? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-07-21 20:05 -0400
      Re: Can I copy/paste Python code? Laura Creighton <lac@openend.se> - 2015-07-21 19:25 +0200
        Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-21 18:55 +0000
        Re: Can I copy/paste Python code? Steven D'Aprano <steve@pearwood.info> - 2015-07-22 10:45 +1000
          Re: Can I copy/paste Python code? Laura Creighton <lac@openend.se> - 2015-07-22 09:01 +0200
            Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 13:54 +0000
              Re: Can I copy/paste Python code? Laura Creighton <lac@openend.se> - 2015-07-22 16:37 +0200
                Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 14:53 +0000
                Re: Can I copy/paste Python code? Laura Creighton <lac@openend.se> - 2015-07-22 18:53 +0200
                Re: Can I copy/paste Python code? Christian Gollwitzer <auriocus@gmx.de> - 2015-07-22 23:23 +0200
      Re: Can I copy/paste Python code? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-21 20:58 +0100
        Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-21 20:32 +0000
          Re: Can I copy/paste Python code? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-21 21:54 +0100
          Re: Can I copy/paste Python code? Emile van Sebille <emile@fenx.com> - 2015-07-21 14:03 -0700
            Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-21 21:47 +0000
              Re: Can I copy/paste Python code? Emile van Sebille <emile@fenx.com> - 2015-07-21 15:35 -0700
                Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 00:10 +0000
                Re: Can I copy/paste Python code? Emile van Sebille <emile@fenx.com> - 2015-07-22 09:49 -0700
                Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 19:35 +0000
                Re: Can I copy/paste Python code? Emile van Sebille <emile@fenx.com> - 2015-07-22 14:39 -0700
                Re: [OT] Can I copy/paste Python code? Michael Torrie <torriem@gmail.com> - 2015-07-22 15:56 -0600
                Re: [OT] Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 22:50 +0000
                Re: [OT] Can I copy/paste Python code? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-07-23 15:39 +1000
                Re: Can I copy/paste Python code? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-07-23 15:22 +1000
                Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 20:49 +0000
              Re: Can I copy/paste Python code? Michael Torrie <torriem@gmail.com> - 2015-07-21 16:36 -0600
                Re: Can I copy/paste Python code? Grant Edwards <invalid@invalid.invalid> - 2015-07-22 00:12 +0000
                Re: Can I copy/paste Python code? Michael Torrie <torriem@gmail.com> - 2015-07-21 19:03 -0600
                Re: Can I copy/paste Python code? Chris Angelico <rosuav@gmail.com> - 2015-07-22 11:12 +1000
              Re: Can I copy/paste Python code? Chris Angelico <rosuav@gmail.com> - 2015-07-22 10:04 +1000
                Re: Can I copy/paste Python code? Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2015-07-22 10:55 +0300
                Re: Can I copy/paste Python code? Chris Angelico <rosuav@gmail.com> - 2015-07-22 18:13 +1000
      Re: Can I copy/paste Python code? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-22 08:47 +0100
  Re: Can I copy/paste Python code? Laura Creighton <lac@openend.se> - 2015-07-21 10:24 +0200
  Re: Can I copy/paste Python code? "Peter Heitzer" <peter.heitzer@rz.uni-regensburg.de> - 2015-07-21 08:40 +0000
  Re: Can I copy/paste Python code? ryguy7272 <ryanshuell@gmail.com> - 2015-07-21 08:18 -0700
  Re: Can I copy/paste Python code? Gene Heskett <gheskett@wdtv.com> - 2015-07-21 13:41 -0400

csiph-web