all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Thorpe <rt@robertthorpeconsulting.com>
To: Bob Proulx <bob@proulx.com>, cplum984@gmail.com
Cc: help-gnu-emacs@gnu.org, cplum984@gmail.com
Subject: Re: Need help with emacs clipboard.
Date: Sun, 25 Jan 2015 22:53:56 +0000	[thread overview]
Message-ID: <877fwah3p7.fsf@robertthorpeconsulting.com> (raw)
In-Reply-To: <20150113212722522787447@bob.proulx.com> (message from Bob Proulx on Tue, 13 Jan 2015 21:46:51 -0700)

Bob Proulx <bob@proulx.com> writes:
...
> I see exactly the opposite behavior.  Emacs by default uses the
> clipboard for cut-and-paste.  But on my system nothing else uses the
> clipboard as Firefox and Chromium both use the X primary selection.

I think you're misunderstanding how things have changed.  The idea of
introducing the clipboard into X was to make things more like Windows.
The old x-selection behaviour is still supported though.

This is how things work on my system (Xubuntu).  If I mark something
with the mouse in Firefox, Thunderbird or Libreoffice then it enters the
x-selection.  If I then press the middle mouse button in Emacs it's
pasted into the Emacs buffer.  That's the old x-selection behaviour in
action.

If I mark something *and then "copy" or "cut" it*, then it enters the
clipboard.  So, if I mark something and then press Ctrl-C in Libreoffice
it enters the clipboard.  Then I can press C-y in Emacs and it will yank.
So, when you do the Ctrl-C in the other app the x-selection and the
clipboard contain the same information.

If I mark something different then the x-selection changes but the
clipboard doesn't.  This is actually useful because it means you can
carry two independent bits of text from another app into Emacs without
having to visit the app twice.

Apparently Chromium's behaviour is buggy though, see:
https://code.google.com/p/chromium/issues/detail?id=68886

BR,
Robert Thorpe



  parent reply	other threads:[~2015-01-25 22:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13  2:47 Need help with emacs clipboard cplum984
2015-01-14  4:46 ` Bob Proulx
2015-01-14 16:36   ` Harry Putnam
2015-01-14 20:46     ` Bob Proulx
2015-01-15 20:50       ` Harry Putnam
     [not found]       ` <mailman.17973.1421355042.1147.help-gnu-emacs@gnu.org>
2015-01-15 21:05         ` Joost Kremers
2015-01-25 22:53   ` Robert Thorpe [this message]
2015-01-31  3:18     ` Bob Proulx
2015-01-31 19:02       ` Robert Thorpe
2015-02-01  4:45         ` Bob Proulx
2015-02-01 13:53           ` Robert Thorpe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fwah3p7.fsf@robertthorpeconsulting.com \
    --to=rt@robertthorpeconsulting.com \
    --cc=bob@proulx.com \
    --cc=cplum984@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.