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: Tue, 29 Jan 2008 00:59:29 +0000 Message-ID: <8e24944a0801281659sa5a9115rf4533184413a8b20@mail.gmail.com> References: <8e24944a0710161629r1ec1afadj60352dc92c264217@mail.gmail.com> <8e24944a0801281152w733c977akda93089a52701219@mail.gmail.com> 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 1201568385 18995 80.91.229.12 (29 Jan 2008 00:59:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jan 2008 00:59:45 +0000 (UTC) To: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 29 02:00:05 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 1JJepY-0002Tw-Gr for ged-emacs-devel@m.gmane.org; Tue, 29 Jan 2008 02:00:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJep7-00016c-Lb for ged-emacs-devel@m.gmane.org; Mon, 28 Jan 2008 19:59:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJep3-00013f-Kf for emacs-devel@gnu.org; Mon, 28 Jan 2008 19:59:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJep1-00010w-TZ for emacs-devel@gnu.org; Mon, 28 Jan 2008 19:59:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJep1-00010g-MX for emacs-devel@gnu.org; Mon, 28 Jan 2008 19:59:31 -0500 Original-Received: from hs-out-0708.google.com ([64.233.178.245] helo=hs-out-2122.google.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJep1-0004hn-Bt for emacs-devel@gnu.org; Mon, 28 Jan 2008 19:59:31 -0500 Original-Received: by hs-out-2122.google.com with SMTP id 55so1857524hsc.10 for ; Mon, 28 Jan 2008 16:59:30 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Dfx37pBQ/uxh26m9eiDBQ1FuIeczlq2edjoYk9u7+Xo=; b=pXVhD8Im6MFn4e7VFEP9W0qFrV/HUAeTNpDy9rFij/VK0WW85c/8M109zeMroWrM8hGk0YZD+ha2LZyroj/+c5L7wPc9j6DqvuIHlvOEIB62f5GqEqsRMbOUvA+wa6ADA+WFzaUMazykx5+liMaVQBbR0USUV1otp27om2t/v+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Coub1LzrOYhlkh+vpNCn8IIWocQSd7uldtLtbjqzpANCQ2t4SJXmz6VYSuWvb1rDBLMwpvAkL3IspJCfYRxgaa18kpb+IS8aSrt7IQLEEpmz7Vzf4q9YHBu0zkwZcP1yknVB0HjAUHn75ECklAbCwAl8eLM4xTBBp5kn2IkCsGU= Original-Received: by 10.143.5.21 with SMTP id h21mr2866502wfi.80.1201568369725; Mon, 28 Jan 2008 16:59:29 -0800 (PST) Original-Received: by 10.142.111.4 with HTTP; Mon, 28 Jan 2008 16:59:29 -0800 (PST) In-Reply-To: <8e24944a0801281152w733c977akda93089a52701219@mail.gmail.com> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 (Google crawlbot) 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:87738 Archived-At: On 28/01/2008, David De La Harpe Golden wrote: > > I would not be entirely happy with that, because I would rather have > > some way to interact with the primary selection from the keyboard. > > *** Well, indeed. In part 3 of the hack, where I used > activate-mark-hook (used in transient-mark-mode), by the description > of activate-mark-hook, I was expecting activate-mark-hook to be called > and therefore primary to be set whenever the mouse IOR the keyboard > was used to set or adjust the active region and transient-mark-mode > was on, Okay, more nearly on same page now, see the "select-active-regions" you introduced equivalent to the hook*. So I'll stop calling it the hook now. Anyway, it's not happening in some circumstances. * Maybe might want an interprogram-highlight-function to indirect through like interprogram-[cut|paste]-function, rather than embedding a direct call to x-set-selection, which I presume doesn't work on non-X11 ? Though of course, on platforms other that X11, users probably don't expect highlight-middlebutton copy/paste to work interprogram like it does on X11 in the first place...