From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Improving X selection? Date: Fri, 08 Feb 2008 09:41:47 -0500 Message-ID: References: <47A80B57.3050402@swipnet.se> <8e24944a0802061957re4baf7cr9560fa3496be56b4@mail.gmail.com> <8e24944a0802070815n18dea273j5c3962235d91ca8e@mail.gmail.com> <87bq6sir34.fsf@uwakimon.sk.tsukuba.ac.jp> <8e24944a0802071022i2b259c5fka14f191a3c519157@mail.gmail.com> <8e24944a0802071239r1cdc8affq7875fea0b9876560@mail.gmail.com> <8e24944a0802071850o2920041cw9de2f27c59f90148@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202481733 5626 80.91.229.12 (8 Feb 2008 14:42:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2008 14:42:13 +0000 (UTC) Cc: "Horsley, Tom" , "Stephen J. Turnbull" , "Jan D." , rms@gnu.org, emacs-devel@gnu.org To: "David De La Harpe Golden" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 08 15:42:31 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 1JNUQt-0003iD-9r for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2008 15:42:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNUQQ-0005Mw-Kp for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2008 09:41:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNUQN-0005Mo-Ok for emacs-devel@gnu.org; Fri, 08 Feb 2008 09:41:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNUQN-0005MW-5S for emacs-devel@gnu.org; Fri, 08 Feb 2008 09:41:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNUQN-0005MT-0F for emacs-devel@gnu.org; Fri, 08 Feb 2008 09:41:55 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNUQJ-0004nt-9B; Fri, 08 Feb 2008 09:41:51 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAEP5q0dMCpsg/2dsb2JhbACsRns X-IronPort-AV: E=Sophos;i="4.25,322,1199682000"; d="scan'208";a="13888626" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 08 Feb 2008 09:41:50 -0500 Original-Received: from pastel.home ([76.10.155.32]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id OQX95348; Fri, 08 Feb 2008 09:41:48 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 512DB8019; Fri, 8 Feb 2008 09:41:47 -0500 (EST) In-Reply-To: <8e24944a0802071850o2920041cw9de2f27c59f90148@mail.gmail.com> (David De La Harpe Golden's message of "Fri, 8 Feb 2008 02:50:44 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:88519 Archived-At: > Do you mean as a customization telling select-active-regions not to > use kill-ring-save but rather its own call to > interprogram-cut-function with the locally rebound > x-select-enable-clipboard*? Or telling kill-ring-save to not use the > kill ring (heh)? Not sure how I'd use it, I'd have to look more carefully at the code. But maybe it would be a simple var used for let-binding, and not a defcustom. > I still think an interprogram-select/insert-function is simpler. > Selection and insertion are plain different interprogram operations to > cut/copy and paste after all. In fact, outside X11, they're not even > interprogram operations. I don't think you understand that interprogram-*-function are low-level variables used to dispatch to the appropriate backend (mac/X/w32/...). Stefan