Re: wild X internals selection question



On Feb 8, 3:02 pm, Tom Horsley <tomhors...@xxxxxxxxxxx> wrote:
Just a hypothetical question for a reactionary stick-in-the-mud
X11 user who wishes no one had ever thought of inventing
CLIPBOARD in addition to PRIMARY:

Would it be possible to invent a mechanism (possibly an X server
extension?) to effectively alias the two selections? Any app
that set PRIMARY would simultaneously set CLIPBOARD and vice-versa.

Maybe assign the interned CLIPBOARD and PRIMARY names the
same atom value? :-).

Is there already a way and I just don't know about it?

Just curious... (not interested in a debate or flame war about
the value of two selections - just assume my brain is broken,
and pity me, OK? :-).

Ok, I'll pity you.

Why would anyone want what you propose? How would I do this:
I highlight a word or phrase that I want to use as replacement text,
then place that in the clipboard (vie CtrlC, for example). Then
I go to the text I want to replace, highlight that, then copy from
the clipboard (via CtrlV, for example).

Using your scenario, this happens:
I highlight the replacement text (it becomes the PRIMARY).
I go to the text that I want to replace and highlight it.
OOPS - that now becomes the PRIMARY, and I can't
perform the replacement, since the replacement text
has just been lost!

--
Fred Kleinschmdit
.



Relevant Pages

  • Re: Users can copy text shown on the popup/dialog
    ... box form, for one reason or another, must now go back and incorporate a ... Ctrl+C intercept to copy the title, message, and button text to the ... clipboard, in order to maintain the status of being a complete replacement ...
    (microsoft.public.vb.general.discussion)
  • Re: replace manual page breaks
    ... Perhaps I should have been more explicit. ... ^c uses the contents of the clipboard for the ... replacement. ... Take a look at StyleRef Fields for this ...
    (microsoft.public.word.vba.general)
  • Re: Find a replace all images
    ... That depends on what you want to replace the images with. ... The difficulty with the macro is in getting the replacement graphic, ... properly adjusted, onto the clipboard. ...
    (microsoft.public.word.vba.beginners)
  • Re: Replacement / Fields
    ... tot he clipboard and specify ^c as the replacement text. ... > Can't I use the replacement object to insert a field code instead of text ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Write your own academic nonsense
    ... press control-A to highlight all text then press ... control-C to copy it all to the "clipboard" (a ... where your cursor is positioned. ... Why not just left mouse, highlight the desired text, right click to copy, ...
    (soc.retirement)