From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Improving X selection? Date: Mon, 25 Aug 2008 18:34:31 +0300 Organization: JURTA Message-ID: <87vdxqnllk.fsf@jurta.org> References: <20071012105022.6c8b174a@tweety> <874pgtfw1y.fsf@jbms.ath.cx> <4713067D.2060504@swipnet.se> <87fy0cdvr6.fsf@jbms.ath.cx> <471467FF.5070005@swipnet.se> <87vdxy2kwo.fsf@localhorst.mine.nu> <48AC9DB4.9020603@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219679661 12230 80.91.229.12 (25 Aug 2008 15:54:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2008 15:54:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 25 17:55:14 2008 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 1KXePO-0002TX-8o for ged-emacs-devel@m.gmane.org; Mon, 25 Aug 2008 17:55:10 +0200 Original-Received: from localhost ([127.0.0.1]:54787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXeOP-0005T5-FW for ged-emacs-devel@m.gmane.org; Mon, 25 Aug 2008 11:54:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXeOJ-0005Sv-Qx for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:54:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXeOI-0005SH-QC for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:54:02 -0400 Original-Received: from [199.232.76.173] (port=56916 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXeOI-0005SE-KH for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:54:02 -0400 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]:61895) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KXeOI-0008UQ-96 for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:54:02 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1KXeOE-0000Cw-8o; Mon, 25 Aug 2008 18:53:58 +0300 In-Reply-To: <48AC9DB4.9020603@harpegolden.net> (David De La Harpe Golden's message of "Wed, 20 Aug 2008 23:41:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 6f32a619495bd298c8ed4cb100af0918 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 4896 [Aug 24 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (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:102952 Archived-At: >>>> Please ignore this if it's already been hammered to death, but what about >>>> using C-Insert/Shift-Insert for the clipboard? >>> That would make a lot of sense to me, >> >> Shift-Insert is kind of quasi standard to paste the *selection* on X11. >> This would make emacs behavior even more "non standard". I don't care >> much, just wanted to note that. > > Might be nicer the other way around i.e. C-w/M-w/C-y (and C-x/C-c/C-v in > cua mode) to use CLIPBOARD and S-Delete/C-Insert/S-Insert to use PRIMARY.... > > In the end, like everything else in this area, probably need to be > configurable to keep everyone happy, of course. ho hum. I often need to run Emacs without a .emacs file, and the first thing I have to do every time after running Emacs is to type the long sequence `M-x set-variable RET x-select-enable-clipboard RET t RET'. This is the only default setting that makes Emacs unusable for me without customization. I'm already tired of this problem and would be happy if Emacs provided one set of keys (either C-w/M-w/C-y or S-Delete/C-Insert/S-Insert) for the clipboard selection. The standard behavior of S-Delete/C-Insert/S-Insert in most other programs is to work with the clipboard, so it seems more reasonable to bind them to the clipboard operations in Emacs. Another problem is using `M-0 w' in Dired - it doesn't put the file name to the clipboard. We could bind C-Insert to a new Dired command that will do the same as `M-0 w' but using the clipboard. -- Juri Linkov http://www.jurta.org/emacs/