From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#15109: 24.3.50; doc of `x-get-selection, `selection-converter-alist', `xselect-convert-to-*' Date: Sun, 09 Feb 2014 18:41:59 -0800 Message-ID: <87a9dzy9hk.fsf@building.gnus.org> References: <87r47e2nkm.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392000249 4266 80.91.229.3 (10 Feb 2014 02:44:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2014 02:44:09 +0000 (UTC) Cc: 15109@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 10 03:44:16 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 1WCgr2-0007La-8f for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 03:44:16 +0100 Original-Received: from localhost ([::1]:52978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCgr1-0007M9-Tb for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Feb 2014 21:44:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCgqt-0007Lq-2O for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 21:44:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCgqo-00020R-46 for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 21:44:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCgqo-00020N-0r for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 21:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCgqn-0002vH-Ps for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 21:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Feb 2014 02:44:01 +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.139200021011170 (code B ref 15109); Mon, 10 Feb 2014 02:44:01 +0000 Original-Received: (at 15109) by debbugs.gnu.org; 10 Feb 2014 02:43:30 +0000 Original-Received: from localhost ([127.0.0.1]:33045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCgqH-0002u6-FX for submit@debbugs.gnu.org; Sun, 09 Feb 2014 21:43:29 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:35905) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCgqF-0002tu-On for 15109@debbugs.gnu.org; Sun, 09 Feb 2014 21:43:28 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WCgq1-0004VI-6g; Mon, 10 Feb 2014 03:43:13 +0100 In-Reply-To: (Drew Adams's message of "Sun, 9 Feb 2014 16:27:47 -0800 (PST)") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WCgq1-0004VI-6g MailScanner-NULL-Check: 1392604994.05425@41J1C2Hx6IMVJQAkV2fyow 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:85137 Archived-At: Drew Adams writes: > 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. It certainly has a huge doc string on the trunk; see below. Windows issue? selection-converter-alist is a variable defined in `xselect.c'. Its value is shown below. 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'). 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. 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)) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/