From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Selection changes Date: Fri, 27 May 2011 12:25:23 -0400 Message-ID: <87aae8kt58.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1306513534 14029 80.91.229.12 (27 May 2011 16:25:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 May 2011 16:25:34 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 27 18:25:29 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QPzqq-0001G2-Jf for ged-emacs-devel@m.gmane.org; Fri, 27 May 2011 18:25:28 +0200 Original-Received: from localhost ([::1]:60067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPzqq-0004dp-6b for ged-emacs-devel@m.gmane.org; Fri, 27 May 2011 12:25:28 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPzqo-0004dk-9z for emacs-devel@gnu.org; Fri, 27 May 2011 12:25:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPzqn-0001cb-FM for emacs-devel@gnu.org; Fri, 27 May 2011 12:25:26 -0400 Original-Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]:35050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPzqn-0001cW-Df for emacs-devel@gnu.org; Fri, 27 May 2011 12:25:25 -0400 Original-Received: from furball (dhcp128036014181.central.yale.edu [128.36.14.181]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p4RGPOqW027766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 27 May 2011 12:25:24 -0400 Original-Received: by furball (Postfix, from userid 1000) id 2CE421605B7; Fri, 27 May 2011 12:25:24 -0400 (EDT) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.144 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139768 Archived-At: I've updated the X selection code to provide support for clipboard managers (plus some standards compliance bits like the MULTIPLE target). It seems to work well with Gnome's minimalist clipboard manager; the clipboard is no longer lost when deleting a frame or exiting Emacs. Help with testing on other environments would be much appreciated, and let me know if you experience any funky behavior. Saving is done by the function x-clipboard-manager-save, run from delete-frame-functions and kill-emacs-hook (though I'm considering making this internal instead of using hooks). The other ports should be unaffected by these changes.