From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#15109: 24.3.50; doc of `x-get-selection, `selection-converter-alist', `xselect-convert-to-*' Date: Sun, 9 Feb 2014 18:47:39 -0800 (PST) Message-ID: <4d178c6f-9c4d-4e41-88ad-41f719ff238e@default> References: <87r47e2nkm.fsf@building.gnus.org> <87a9dzy9hk.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1392000497 6675 80.91.229.3 (10 Feb 2014 02:48:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2014 02:48:17 +0000 (UTC) Cc: 15109@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 10 03:48:22 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WCguy-0008UG-LC for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 03:48:20 +0100 Original-Received: from localhost ([::1]:52988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCguy-00080B-8T for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Feb 2014 21:48:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCgum-000806-Uz for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 21:48:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCgug-0003Av-RE for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 21:48:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCgug-0003Ar-Nz for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 21:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCgug-0004Bv-A6 for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 21:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Feb 2014 02:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15109 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15109-submit@debbugs.gnu.org id=B15109.139200046816087 (code B ref 15109); Mon, 10 Feb 2014 02:48:02 +0000 Original-Received: (at 15109) by debbugs.gnu.org; 10 Feb 2014 02:47:48 +0000 Original-Received: from localhost ([127.0.0.1]:33057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCguR-0004BO-7W for submit@debbugs.gnu.org; Sun, 09 Feb 2014 21:47:47 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:24563) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCguP-0004BC-DB for 15109@debbugs.gnu.org; Sun, 09 Feb 2014 21:47:45 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1A2lhh6012782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 10 Feb 2014 02:47:44 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1A2lfgm010279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 10 Feb 2014 02:47:42 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1A2lfRK024778; Mon, 10 Feb 2014 02:47:41 GMT In-Reply-To: <87a9dzy9hk.fsf@building.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85140 Archived-At: > > By "this" you apparently mean `x-get-selection'. So yes, part > > 1 of this bug has been fixed. But part 2 has not been fixed. > > `selection-converter-alist' certainly does not have "a huge doc > > string now". Reopening. >=20 > It certainly has a huge doc string on the trunk; see below. >=20 > Windows issue? >=20 > selection-converter-alist is a variable defined in `xselect.c'. > Its value is shown below. >=20 > Documentation: > An alist associating X Windows selection-types with functions. > These functions are called to convert the selection, with three > args: > the name of the selection (typically `PRIMARY', `SECONDARY', or > `CLIPBOARD'); > a desired type to which the selection should be converted; > and the local selection value (whatever was given to `x-own- > selection'). >=20 > The function should return the value to send to the X server > (typically a string). A return value of nil > means that the conversion could not be done. > A return value which is the symbol `NULL' > means that a side-effect was executed, > and there is no meaningful selection value. >=20 > Value: ((TEXT . xselect-convert-to-string) > (COMPOUND_TEXT . xselect-convert-to-string) > (STRING . xselect-convert-to-string) > (UTF8_STRING . xselect-convert-to-string) > (TARGETS . xselect-convert-to-targets) > (LENGTH . xselect-convert-to-length) > (DELETE . xselect-convert-to-delete) > (FILE_NAME . xselect-convert-to-filename) > (CHARACTER_POSITION . xselect-convert-to-charpos) > (LINE_NUMBER . xselect-convert-to-lineno) > (COLUMN_NUMBER . xselect-convert-to-colno) > (OWNER_OS . xselect-convert-to-os) > (HOST_NAME . xselect-convert-to-host) > (USER . xselect-convert-to-user) > (CLASS . xselect-convert-to-class) > (NAME . xselect-convert-to-name) > (ATOM . xselect-convert-to-atom) > (INTEGER . xselect-convert-to-integer) > (SAVE_TARGETS . xselect-convert-to-save-targets) > (_EMACS_INTERNAL . xselect-convert-to-identity))