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: On cut, copy, paste etc... Date: Fri, 01 Aug 2008 21:30:50 +0100 Message-ID: <4893727A.7060600@harpegolden.net> References: <4892D6AC.6000308@alice.it> <4892E5EA.9070200@alice.it> <4893007E.1020502@alice.it> <87myjw7qcy.fsf@gmx.de> <87vdykravs.fsf@gmx.de> <48935D99.9030901@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217622686 3717 80.91.229.12 (1 Aug 2008 20:31:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2008 20:31:26 +0000 (UTC) Cc: angelo.graziosi@alice.it, svenjoac@gmx.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 01 22:32:16 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 1KP1IF-0003XV-N2 for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2008 22:32:07 +0200 Original-Received: from localhost ([127.0.0.1]:41599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KP1HK-0003Bg-Us for ged-emacs-devel@m.gmane.org; Fri, 01 Aug 2008 16:31:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KP1HF-0003Bb-ND for emacs-devel@gnu.org; Fri, 01 Aug 2008 16:31:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KP1HA-0003BP-76 for emacs-devel@gnu.org; Fri, 01 Aug 2008 16:31:04 -0400 Original-Received: from [199.232.76.173] (port=52887 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KP1HA-0003BM-25 for emacs-devel@gnu.org; Fri, 01 Aug 2008 16:31:00 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:39147) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KP1H5-0002rn-S4; Fri, 01 Aug 2008 16:30:56 -0400 Original-Received: from golden1.harpegolden.net (unknown [86.45.2.245]) (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 ESMTP id A55DE82C9; Fri, 1 Aug 2008 20:30:53 +0000 (UTC) User-Agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: X-Enigmail-Version: 0.95.0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:101924 Archived-At: Eli Zaretskii wrote: > Okay, but what does all this have to do with the original issue? How C-w and menu-bar->edit->cut differ : one sets the primary selection, and the other the clipboard.... (well, actually depends on x-select-enable-primary/clipboard customisation too) > You are asking for a different behavior of C-w; In my own opinion, menu-bar cut should ultimately do the same as C-w, but not before other changes are introduced so that people can still separately set primary and clipboard _somewhow_. > I'm saying that no matter > how it behaves wrt the X selection and the clipboard, we could modify > kill-region in small ways so that clipboard-kill-region would be > unnecessary, and we then could bind kill-region to menu-bar>Edit>Cut. BUT there are people who apparently prefer C-w setting PRIMARY (see last thread...). They may then _like_ the menu being different, for when they _do_ want to set CLIPBOARD. (similar for C-y and paste getting). My patch allowed, for active region, keyboard, menu+toolbar and mouse operations, separate configuration of which x selections were got/set (and whether the kill-ring was involved sometimes). Certainly, if there was a decision to have menu-bar cut always do the same thing as C-w, that patch would have been a bit simpler, but it would be noticeably incompatible with current X11 emacs, which at least allows _some_ way of separately affecting primary and clipboard, even if it is weird.