From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: Emacs learning curve Date: Sun, 11 Jul 2010 18:59:57 +0100 Message-ID: <4C3A069D.2000804@harpegolden.net> References: <10954D02-E217-49F3-8824-757DA34074AB@gmail.com> <83zkxzakr0.fsf@gnu.org> <83pqyva8ms.fsf@gnu.org> <87630n6odf.fsf@lola.goethe.zz> <874og670l0.fsf@gmx.de> <87k4p257ho.fsf@mail.jurta.org> <87fwzqyn4j.fsf@catnip.gol.com> <878w5igcto.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1278871222 9112 80.91.229.12 (11 Jul 2010 18:00:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Jul 2010 18:00:22 +0000 (UTC) Cc: Juri Linkov , Sebastian Rose , emacs-devel@gnu.org, Tom , Miles Bader To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 11 20:00:19 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 1OY0p8-0004YD-OY for ged-emacs-devel@m.gmane.org; Sun, 11 Jul 2010 20:00:19 +0200 Original-Received: from localhost ([127.0.0.1]:50376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY0p7-0006Ul-Df for ged-emacs-devel@m.gmane.org; Sun, 11 Jul 2010 14:00:17 -0400 Original-Received: from [140.186.70.92] (port=60809 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY0ot-0006RN-Or for emacs-devel@gnu.org; Sun, 11 Jul 2010 14:00:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OY0or-0005JQ-MX for emacs-devel@gnu.org; Sun, 11 Jul 2010 14:00:02 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:33209) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY0or-0005JF-I1; Sun, 11 Jul 2010 14:00:01 -0400 Original-Received: from [87.198.55.108] (87-198-55-108.ptr.magnet.ie [87.198.55.108]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 7A067683A6; Sun, 11 Jul 2010 18:59:57 +0100 (IST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5 In-Reply-To: <878w5igcto.fsf@stupidchicken.com> 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:127060 Archived-At: On 11/07/10 18:14, Chong Yidong wrote: > Miles Bader writes: > >> But other than that, why not just tell them to set >> x-select-enable-clipboard ? > > Thanks for reminding me: is there any reason x-select-enable-clipboard > isn't t by default? > Because it will do an incredibly annoying thing unless you also reconfigure certain other settings: If you want emacs cut and paste to act like other recent X11 apps: (setq mouse-drag-copy-region nil) (setq x-select-enable-primary nil (setq x-select-enable-clipboard to t) (setq select-active-regions to t) (global-set-key [mouse-2] 'mouse-yank-primary) Then C-w/M-w/C-y act very similarly to C-x/C-c/C-v in other apps - if then you also want the keybindings to be similar, turn on cua-mode. [Aside: I think select-active-regions has bitrotted slightly on trunk as it's occasionally messing up (apart from the known issue with mousewheel scrolling), though I haven't managed a repeatable test case yet.]