From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yann Hodique Newsgroups: gmane.emacs.devel Subject: Re: Selection changes Date: Wed, 14 Jul 2010 21:25:00 +0200 Message-ID: <87hbk1yigj.fsf@siav.hodique.info> References: <87ocea2ax1.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279136119 23462 80.91.229.12 (14 Jul 2010 19:35:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Jul 2010 19:35:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 14 21:35:16 2010 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.69) (envelope-from ) id 1OZ7jf-00079v-GX for ged-emacs-devel@m.gmane.org; Wed, 14 Jul 2010 21:35:15 +0200 Original-Received: from localhost ([127.0.0.1]:54104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZ7je-00010S-Ua for ged-emacs-devel@m.gmane.org; Wed, 14 Jul 2010 15:35:14 -0400 Original-Received: from [140.186.70.92] (port=37193 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZ7jY-0000yk-6u for emacs-devel@gnu.org; Wed, 14 Jul 2010 15:35:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZ7jW-0002Kd-OF for emacs-devel@gnu.org; Wed, 14 Jul 2010 15:35:08 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:48343) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZ7jW-0002KP-EO for emacs-devel@gnu.org; Wed, 14 Jul 2010 15:35:06 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OZ7jT-00071q-PX for emacs-devel@gnu.org; Wed, 14 Jul 2010 21:35:03 +0200 Original-Received: from aannecy-552-1-199-108.w109-208.abo.wanadoo.fr ([109.208.87.108]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Jul 2010 21:35:03 +0200 Original-Received: from yann.hodique by aannecy-552-1-199-108.w109-208.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Jul 2010 21:35:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: aannecy-552-1-199-108.w109-208.abo.wanadoo.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAACpQTFRF HBgXPyYdPSkeMiwmRkJBYT4sik8zZF1XqWpMx2RDk42MzYRYtrGw09DVySZyaAAAAklJREFUOMuF 0z9v00AUAPCHr/kANgowOi6hjFbOCImp1CdF6kaUCwEmkBJSdYmUSBZRGRMsske1MlKIFKVr5XAr U1TPSFX6XXjvnKp2KOLG97v3x3dnuP7Hgv/B+vLyLlivZkGwSP6GlXABvHmyDese0GIn2zBzNYCX bEGagOswycG6ewMsyMEVVTJMiyQHv2lzuTOSNrDPWfhF8FSpuGXt5IB6s6bCNfLOt8FoEMT1JAv7 wFz25E7gtqFLqS856IJhl481/MyN27tnGe+wc1uprzn4fvS+MFYxwvDtLcyT1Y9oUhyri3ZHtTIg B7NP0WmDMo7VcJABKRvRtKNbq3hxC21ZKx2pMAWVgQt5H95MNSynKnMfZTzTQkSwjKLpPAN1H+CB zogmYaa5ED7eUzMeY+tw9HqRAcEBnoUhxYfFQZIBelRNhGjSKj6cb14kBH3hY5dCGI+XpzXTebzJ gY+CC47FHiGENQdXVfeBuvA55y5eYRgOnTJRdXC+6eFTiiHbHyplKVGoHGDQw1okzi5BCcUbXANn KL4WYAeyZJomJu0l4ALKZvlCvkrBOaG3dhOvdtlLjJt6AP2UN3DosoppOhr20v+Cwq4ncE8JwaLB gJpyPa/n0mQIJn0m0EExTHE5HgxUHAvnsjT41ARTnu8juAaUML5bSQHn8vkLBGYDUCkLS+tD577H qwjcpl8Le+BmIWgnHkrgws5BCvjTMbpaAsHPcK6+jXNhLfqGQND4XHhn4Ik5T8HCzKu+Bk98qwq+ 6AFOimPZ8Aem5xXrk2gG/wAAAABJRU5ErkJggg== Cancel-Lock: sha1:q3zCVYzzJ5ybHCktbvZ+B6IhNPQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:127315 Archived-At: >>>>> "Chong" == Chong Yidong writes: > I've changed the way Emacs interacts with the X clipboard and selection, > to bring it in line with how other X applications behave. For most > users, the main visible change is that `kill' and `yank' now interact > with the clipboard. One advantage of this change is that the > Cut/Copy/Paste menu bar items are just the usual C-w/M-w/C-y commands. > I believe that this change should be pretty much seamless, but let me > know if there is any problems. Hi, I'm a bit confused by those changes. I used to have --8<---------------cut here---------------start------------->8--- (setq mouse-drag-copy-region nil) (mouse-sel-mode 1) --8<---------------cut here---------------end--------------->8--- and was pretty happy with the behavior. Now it seems I cannot retrieve the same behavior as `mouse-sel-mode' is apparently broken ("mouse-sel-selection-overlay: No overlay corresponding to PRIMARY selection" whenever I try to select something). Which forces me to (setq mouse-drag-copy-region t) to be able to select with the mouse, but this in turn pollutes my kill-ring... What I'd like to have is: - mouse selection/middle click working as in any application (interacting with X primary selection), but *without* interacting with neither kill-ring, nor clipboard - kill-ring being totally independent of clipboard - (optionally) dedicated functions to yank/kill from/to clipboard/primary/secondary I don't mind changing my configuration to accommodate the new defaults, but can't find the relevant information. Any useful pointers to magic variables? Thanks a lot, Yann. -- It is your fate, forgetfulness. All of the old lessons of life, you lose and gain and lose and gain again. -- Leto II, the Voice of Dar-es-Balat