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: Improving X selection? Date: Thu, 7 Feb 2008 21:41:50 +0000 Message-ID: <8e24944a0802071341t61901a5ucfee5ab9857c3a8b@mail.gmail.com> 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> <871w7oihml.fsf@uwakimon.sk.tsukuba.ac.jp> 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 1202420528 29435 80.91.229.12 (7 Feb 2008 21:42:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Feb 2008 21:42:08 +0000 (UTC) Cc: "Horsley, Tom" , "Jan D." , emacs-devel@gnu.org, Stefan Monnier , rms@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 07 22:42:28 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 1JNEVl-0003W8-FQ for ged-emacs-devel@m.gmane.org; Thu, 07 Feb 2008 22:42:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNEVI-00029x-UE for ged-emacs-devel@m.gmane.org; Thu, 07 Feb 2008 16:41:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNEVF-000281-91 for emacs-devel@gnu.org; Thu, 07 Feb 2008 16:41:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNEVE-00027J-Qa for emacs-devel@gnu.org; Thu, 07 Feb 2008 16:41:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNEVE-00027D-MU for emacs-devel@gnu.org; Thu, 07 Feb 2008 16:41:52 -0500 Original-Received: from qb-out-0506.google.com ([72.14.204.235]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNEVE-0003sh-AT for emacs-devel@gnu.org; Thu, 07 Feb 2008 16:41:52 -0500 Original-Received: by qb-out-0506.google.com with SMTP id e6so6136989qbe.2 for ; Thu, 07 Feb 2008 13:41:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=gIDM2RFAZSP1DJeh4/Us9Fl3K0QOYqqQ4CTd/0kVnYw=; b=fSMSQnYTySse5QFBY1sbooCBbULayzzi7iBlAeLyVAPR6GyoveeRiKYPX/GTZoXtu1V0qHfhkJKkkysjLwgh1/XI2kx0FAgzsloHaRhpdgzhLi9ZdHJv+OwPRZDdeHhDvWom4gZJwR0DGutZglRAsxe3V6ZdYKKhHJ28wf63n+c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CNtFmHElA4PegUKplP4UgW6hIYKkSwpooH1j5DiIFJSvm/RTtTA25ycv3zcQ/NueNdKc61fdtMygzwdwNt1x39hxtdDTiyCs/Ab88B9DSLJePgUn9hS2sqCViAnZkHkxDZtgyBVl4zFcxgn+UgmhIiWoRSWxBYQjRw/k0mE+zog= Original-Received: by 10.142.99.21 with SMTP id w21mr6625523wfb.108.1202420510567; Thu, 07 Feb 2008 13:41:50 -0800 (PST) Original-Received: by 10.142.111.4 with HTTP; Thu, 7 Feb 2008 13:41:50 -0800 (PST) In-Reply-To: <871w7oihml.fsf@uwakimon.sk.tsukuba.ac.jp> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:88465 Archived-At: On 07/02/2008, Stephen J. Turnbull wrote: > David De La Harpe Golden writes: > > > I thought of that, but wanted to avoid "select" because of its X11 > > usage: that which is cut is also a selection in X11 terms. > > Well, yes, you can't cut without selection, but I've never heard > "select" used to mean "cut". A selection is just a region of a > window, which can be deleted, cut, copied (with or without > translation) or replaced as a single unit. > > +1 for "select" rather than "highlight", and for "insert" as opposed > to "lightins". > Okay, but then you have to be very careful about what x-select-enable-clipboard (or even a "select-enable-clipboard") actually denotes IMO: By that reading, a logical interpretation of a boolean var called select-enable-clipboard might be that when t, when text is merely selected, the clipboard is to be affected, and not the current meaning (that is: whether the X11 CLIPBOARD selection should be affected or consulted in various kill/yank/select operations!). Thus, this patch's x-select-enable-clipboard if named for clarity rather than backward-compatibility would be called something like "enable-clipboard-for", taking a list of one or more of :cut, :paste, :select and :insert. (or kill, yank, select and insert)