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: Sun, 03 Feb 2008 11:18:30 -0500 Message-ID: References: <8e24944a0710161629r1ec1afadj60352dc92c264217@mail.gmail.com> <8e24944a0801281152w733c977akda93089a52701219@mail.gmail.com> <8e24944a0801281659sa5a9115rf4533184413a8b20@mail.gmail.com> <8e24944a0802011115h77423fd1p2eae15a1e46bca1a@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 1202055580 25167 80.91.229.12 (3 Feb 2008 16:19:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Feb 2008 16:19:40 +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 Sun Feb 03 17:20:01 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 1JLhZZ-0004K0-7M for ged-emacs-devel@m.gmane.org; Sun, 03 Feb 2008 17:20:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLhZ7-0002h4-7t for ged-emacs-devel@m.gmane.org; Sun, 03 Feb 2008 11:19:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLhY9-0001No-Hl for emacs-devel@gnu.org; Sun, 03 Feb 2008 11:18:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLhY7-0001KB-Aw for emacs-devel@gnu.org; Sun, 03 Feb 2008 11:18:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLhY7-0001Jc-3X for emacs-devel@gnu.org; Sun, 03 Feb 2008 11:18:31 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLhY7-0003Pn-5m for emacs-devel@gnu.org; Sun, 03 Feb 2008 11:18:31 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JLhY6-00071z-FQ; Sun, 03 Feb 2008 11:18:30 -0500 In-reply-to: <8e24944a0802011115h77423fd1p2eae15a1e46bca1a@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:88093 Archived-At: Attached patch introduces an interprogram-highlight-function and extends values of x-select-enable-clipboard / x-select-enable-primary in an (I think) useful manner*. The descriptions of the customizations may be overly verbose. Adding interprogram-highlight-function seems good to me Your proposed changes in x-win.el are very big; what is the purpose? Do they change the default behavior? Problem with select-active-regions is obvious: if you want it to work with both keyboard and mouse, it's not enough to reset the x11 selection when the mark is reset, it needs to be reset when the point is reset too, or the selection and active region will drift out of sync until the next mark reset. You have lost me already. Partly because you've skipped an important step -- you're talking about solving a problem without showing there is a problem. Why do you think there is a problem with select-active-regions? Can you present a test case and explain what behavior you think ought to be different? The hook post-point-motion would be very costly, so only a very powerful reason could convince me to install it. If you convince me there is a problem, I will look for other solutions; I certainly won't use this one.