From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Cecilio Pardo Newsgroups: gmane.emacs.bugs Subject: bug#71909: 30.0.60; Date: Sat, 5 Oct 2024 23:24:09 +0200 Message-ID: <0056b65b-5cdc-4271-b717-0acc75661c17@imayhem.com> References: <865xtnhyn6.fsf@foxmail.com> <868qv2wwyk.fsf@gnu.org> <865xq6wwkc.fsf@gnu.org> <86wmimuz18.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11501"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: 71909@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 05 23:25:21 2024 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 1sxCHB-0002p5-GE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Oct 2024 23:25:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sxCGr-0001X1-ML; Sat, 05 Oct 2024 17:25:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sxCGp-0001Ws-1b for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2024 17:24:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sxCGn-0001G8-A9 for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2024 17:24:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:References:From:MIME-Version:Date:To:Subject; bh=H5Xlo6G2Q6cC60/xrEqrhVJHiSZ8aJG0jB8uZa6WuOM=; b=ty0fpGBy9cbs/vwRgig5V4m6i41jJBtybPY0CGYfmswcHluH+tvZHeRhdMlpUf7216x6rfwPfabWK69H/DtueMiBvgA5vdUPU2vUMPAeYQWALdK/dHNjbT/HnzgHaBWPq+tod8o4FuZnm8cmDuPJ/AwHs9XoQloes7KHARAgGH23kuqiw5WlWbDJp1NVUo1HCJ1KCT7fQxSaSCnWrFHVlsa1zfn27rDXrRkjKkgzIwoYXIxRu/TMJqcSxivw5Watqi7YDR2tr4L3b/B0UTbkb5kGDBH8uO/LbYBBfrgjx9wZfUZnOmKp/NIbSJC8lbw2mqTdDnhqj8iv13WGvm9J8Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sxCGs-0008KZ-08 for bug-gnu-emacs@gnu.org; Sat, 05 Oct 2024 17:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Cecilio Pardo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Oct 2024 21:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71909 X-GNU-PR-Package: emacs Original-Received: via spool by 71909-submit@debbugs.gnu.org id=B71909.172816346331959 (code B ref 71909); Sat, 05 Oct 2024 21:25:01 +0000 Original-Received: (at 71909) by debbugs.gnu.org; 5 Oct 2024 21:24:23 +0000 Original-Received: from localhost ([127.0.0.1]:39686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxCGF-0008JO-4Y for submit@debbugs.gnu.org; Sat, 05 Oct 2024 17:24:23 -0400 Original-Received: from mail.imayhem.com ([82.223.54.191]:59493 helo=zealous-pike.82-223-54-191.plesk.page) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sxCGD-0008J9-3W for 71909@debbugs.gnu.org; Sat, 05 Oct 2024 17:24:21 -0400 Original-Received: from [192.168.68.104] (111.red-88-21-7.staticip.rima-tde.net [88.21.7.111]) by zealous-pike.82-223-54-191.plesk.page (Postfix) with ESMTPSA id 3E80B8016B; Sat, 5 Oct 2024 21:24:10 +0000 (UTC) Authentication-Results: zealous-pike.82-223-54-191.plesk.page; spf=pass (sender IP is 88.21.7.111) smtp.mailfrom=cpardo@imayhem.com smtp.helo=[192.168.68.104] Received-SPF: pass (zealous-pike.82-223-54-191.plesk.page: connection is authenticated) Content-Language: es-ES In-Reply-To: <86wmimuz18.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293055 Archived-At: On 05/10/2024 21:31, Eli Zaretskii wrote: > If you invoke "M-: (gui-get-selection 'CLIPBOARD 'TARGETS) RET" after > copying something to the clipboard, you will see some very weird > format names there. For the standard formats, we convert them to > something similar to what X Window system produces (see > w32-selection-targets), but the rest are returned as-is. For example, > after copying an image from Firefox, I get this as the return value of > the above evaluation: > > [DataObject text/html HTML\ Format text/_moz_htmlinfo text/_moz_htmlcontext application/x-moz-file-promise-url application/x-moz-file-promise-dest-filename FILE_NAMES Preferred\ DropEffect application/x-moz-nativeimage DIB Ole\ Private\ Data BITMAP nil] > > There's no image/* here, only DIB and BITMAP (which correspond to > CF_DIB and CF_BITMAP clipboard formats). There are also a lot of > text/* formats, but they are all non-standard, except, perhaps, > text/html. Do you have ideas how to select the proper format and how > to yank the data? > What do the x/special-* formats correspond to on Windows? We would convert the BITMAP format to image/png, and FILE_NAMES to x-special/gnome-copied-files, to be compatible with what org-mode does now. The offer to yank-media would then be text/html, image/png, and x-special/gnome-copied-files, ignoring the rest of formats.