From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Improving X selection? Date: Mon, 15 Oct 2007 10:21:43 -0400 Message-ID: References: <20071012105022.6c8b174a@tweety> <874pgtfw1y.fsf@jbms.ath.cx> <4713067D.2060504@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192459669 25341 80.91.229.12 (15 Oct 2007 14:47:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2007 14:47:49 +0000 (UTC) Cc: Tom Horsley , rms@gnu.org, Jeremy Maitin-Shepard , emacs-devel@gnu.org To: Jan =?iso-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 15 16:47:39 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IhQvZ-00036k-44 for ged-emacs-devel@m.gmane.org; Mon, 15 Oct 2007 16:28:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhQvS-0002Xs-91 for ged-emacs-devel@m.gmane.org; Mon, 15 Oct 2007 10:28:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhQvN-0002We-CB for emacs-devel@gnu.org; Mon, 15 Oct 2007 10:28:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhQvI-0002V7-P6 for emacs-devel@gnu.org; Mon, 15 Oct 2007 10:28:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhQvI-0002V3-Gk for emacs-devel@gnu.org; Mon, 15 Oct 2007 10:28:00 -0400 Original-Received: from bc.sympatico.ca ([209.226.175.184] helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IhQvF-00078I-EY; Mon, 15 Oct 2007 10:27:57 -0400 Original-Received: from pastel.home ([70.53.192.75]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071015142756.EWIN18413.tomts22-srv.bellnexxia.net@pastel.home>; Mon, 15 Oct 2007 10:27:56 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0A9EB7FEC; Mon, 15 Oct 2007 10:21:42 -0400 (EDT) In-Reply-To: <4713067D.2060504@swipnet.se> ("Jan =?iso-8859-1?Q?Dj=E4rv=22?= =?iso-8859-1?Q?'s?= message of "Mon\, 15 Oct 2007 08\:19\:41 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:80927 Archived-At: > AFAIK, Emacs conforms to this model. However, C-y and M-w does not. C-y > pastes PRIMARY, and M-w puts text in PRIMARY. I guess this is historical. > The change, if any, I'd like is that C-y and M-w operates on CLIPBOARD, and > that PRIMARY is left to mouse operations. I'd rather add new keybindings than change the behavior of the old one. I never use the CLIPBOARD. This said, maybe adding an option `fetch-selections-eagerly' which would cause C-y to fetch "all" selections (and place them in the kill-ring), like Tom's original proposal, sounds like a good plan. We could use the same config var to control the other feature I suggested here a few months ago which is to fetch selections upon M-w as well. This way, I could get my "seamless" behavior in the usual case where the X connections are fast (and all involved applications are responsive), and I could set this variable back to nil in the rare cases where it's a problem. Stefan