From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Improving X selection? Date: Tue, 25 Dec 2007 16:13:25 -0500 Message-ID: References: <8e24944a0710161629r1ec1afadj60352dc92c264217@mail.gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1198617227 14710 80.91.229.12 (25 Dec 2007 21:13:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Dec 2007 21:13:47 +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 Tue Dec 25 22:13:56 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 1J7H62-0006nX-9x for ged-emacs-devel@m.gmane.org; Tue, 25 Dec 2007 22:13:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7H5h-0005xm-GS for ged-emacs-devel@m.gmane.org; Tue, 25 Dec 2007 16:13:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J7H5d-0005xP-2F for emacs-devel@gnu.org; Tue, 25 Dec 2007 16:13:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J7H5a-0005x7-KN for emacs-devel@gnu.org; Tue, 25 Dec 2007 16:13:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7H5a-0005x4-Da for emacs-devel@gnu.org; Tue, 25 Dec 2007 16:13:26 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J7H5a-0005RF-GW for emacs-devel@gnu.org; Tue, 25 Dec 2007 16:13:26 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1J7H5Z-0007bR-VG; Tue, 25 Dec 2007 16:13:25 -0500 In-reply-to: <8e24944a0710161629r1ec1afadj60352dc92c264217@mail.gmail.com> (david.delaharpe.golden@gmail.com) 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:85456 Archived-At: Please forgive the delay in this response. It was not easy for me to read and understand your message, and I was rather rushed when it arrived, so I put it off. Now I have more time. If I understand right, your scheme is that mouse clicks should set and access the primary selection, but not the kill ring or the clipboard; meanwhile, the kill ring keystroke commands should access the clipboard in parallel with the kill ring. Did I understand correctly? I would not be entirely happy with that, because I would rather have some way to interact with the primary selection from the keyboard. However, I don't use selections very much in Emacs anyway, so this might not be very important. In any case, it can't hurt to add the new option x-select-enable-primary, and your other changes, as options disabled by default. I've done that in the trunk. Thank you. The big question is the proposal to change the default. I'm interested in hearing other people's opinions about this. If you've done the stuff in my previous mail, another IMHO useful change (that I use but I didn't include in the previous mail because it is a little more confusing if you don't expect it) is to make current-kill propagate its return back out via interprogram-cut-function if N > zero, and do-not-move is nil, and interprogram-cut-function is set. That added idea sounds good. I installed that in the trunk, under the control of another option.