From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47032: 26.3; doc of `interprogram-paste-function' Date: Mon, 20 Jun 2022 18:03:42 +0800 Message-ID: <871qvjps75.fsf@yahoo.com> References: <83blbrp3rq.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31912"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 47032@debbugs.gnu.org, Drew Adams To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 20 12:05:58 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3EI7-00083d-Mv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 12:05:55 +0200 Original-Received: from localhost ([::1]:60944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3EI5-0006MM-Jv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jun 2022 06:05:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3EGI-0004Gi-SO for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 06:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3EGI-0004xr-JL for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 06:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o3EGI-0003MD-77 for bug-gnu-emacs@gnu.org; Mon, 20 Jun 2022 06:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jun 2022 10:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47032 X-GNU-PR-Package: emacs Original-Received: via spool by 47032-submit@debbugs.gnu.org id=B47032.165571943712894 (code B ref 47032); Mon, 20 Jun 2022 10:04:02 +0000 Original-Received: (at 47032) by debbugs.gnu.org; 20 Jun 2022 10:03:57 +0000 Original-Received: from localhost ([127.0.0.1]:54413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3EGD-0003Lu-DF for submit@debbugs.gnu.org; Mon, 20 Jun 2022 06:03:57 -0400 Original-Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]:46287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o3EGC-0003Lg-8O for 47032@debbugs.gnu.org; Mon, 20 Jun 2022 06:03:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1655719430; bh=ILdEsg37WamEU5WxKCylHUhjiXrptlZhf4gEQTP5myw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=qenTJPg6gcvJ040YRplq/tkhPkChB+haB+u4YGR4Fjz0DCjUboo8LqDf/yE+pFFau9RxWAS48jLFG7QBCMKoIRXv7RB1tqQnkR54rv1pJ/9BKb1gfDoDhkzgMBIpa3VSUFa4FBSUbgDONKfl1Gs45s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WN fU_gj9gh4RUDO2F8kjUG7D4TmdrpTFVy1AhmQBoc_MICjggIF4tcck_iVBAEtdXhelbeFkrVeEap 4T.cTPIaoZrW8EDzVb2WFaAQSuecOYipuvLgjcp1goAzTIlhABR2oE9cVtmTZIbsb8wTTa5.Uzll QVI.tnkXaGMeHrAnF1r8qWYepEC0YCc_Xq5rAE2f3c5wXDs4ajEcaFy5aiZsJxVTDRSNhkCvyMdS xqNyzWuzSJYgLkair4FPtVhrry1OjiRdPJsIzddC.24DAv7CSlujaAIGLGC2sD9EFQKiLUeUDdkW lK1GbSJqQNfjmcl5zw8reoe8BBQ.RVCRXrV5abvhpcFJvWLULMdJ25bgOLUfzEQXGpA.eQAasv1g QOvYW5NthKgTJAQDe4t_O.FAPaIzykDY71QuiUcy9a_vmNDYhK14MNFe.gx6dH5mVe4t.mzEIBeK oxWIgvtJNY72LKr6m9smg7QZ0y3b40Ga26K6liWvj3 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Mon, 20 Jun 2022 10:03:50 +0000 Original-Received: by hermes--canary-production-sg3-559fcd5995-l2nq9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 19c5d704562d057b45c8fd33517fba49; Mon, 20 Jun 2022 10:03:46 +0000 (UTC) In-Reply-To: <83blbrp3rq.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 Mar 2021 14:55:05 +0200") X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234859 Archived-At: Eli Zaretskii writes: > It's hard to clarify what the manual says because this is not > implemented yet in Emacs, see xselect.c (search for QMULTIPLE). > > In a nutshell, this is something we hope will be implemented some day, > and if so, probably only for X selections. The MULTIPLE target is unrelated to the question at hand, as it only provides a more efficient way for clients to request multiple targets of the same selection at once. Emacs also implements the MULTIPLE target, but only for requests from other clients. The ICCCM doesn't define a specific "list" format, but it does define separators for several data types. If you want to respond to a selection request with a list of file names, then add a selection converter to `selection-converter-alist' that returns a cons of `C_STRING' and the encoded file names in a single unibyte string, separated by NULL bytes.