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: Wed, 9 Oct 2024 14:52:57 +0200 Message-ID: <1b239275-068f-40b4-814e-dbaf9229e99f@imayhem.com> References: <865xtnhyn6.fsf@foxmail.com> <868qv2wwyk.fsf@gnu.org> <865xq6wwkc.fsf@gnu.org> <86wmimuz18.fsf@gnu.org> <0056b65b-5cdc-4271-b717-0acc75661c17@imayhem.com> <86o73xvkj8.fsf@gnu.org> <86o73wt997.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="25784"; 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 Wed Oct 09 14:54:07 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 1syWCb-0006Xl-Oo for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Oct 2024 14:54:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1syWCR-0008Ce-Jc; Wed, 09 Oct 2024 08:53:55 -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 1syWCP-0008CT-IU for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2024 08:53:53 -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 1syWCO-0007SW-AU for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2024 08:53:53 -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:From:References:MIME-Version:Date:To:Subject; bh=PADopb6lyXXsNJfcDkD1VfVQRPzoF5FbMKE6EDbl2Kc=; b=pCMJNycVBZgJ7GwBJ28ecUzWN7MWiWUFfrdtOhXTwvhZMnqo0p0iHNHwVPWAx6FBKrDYNWCn+uKB3/Kk6v2GPsr+EK9Hnkak4F+7u/XzQ7p6ypO9uTPJcNxOhmKdo5q6YvLuMk0Y0IdFdXQ/5QhcxknQVmONzKf/LYQ/3MdJBu3gapptHku0XvmMfrlgyfet6Uzo0x2eQ3v0YUFMmwcnYxgjmhGXHjZ68e2Yb5qCn+e9+9xV5N3jULHBPkaHOufsufYIcNuwtgmRW17aoGoyP2W90PxxOIDdntlbmlmKy6xkFWZNNV0D9aUwIy11+N3gjoFI6TiYBrqJ85rr25jqEg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1syWCX-0005eK-Sk for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2024 08:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Cecilio Pardo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2024 12:54: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.172847839621653 (code B ref 71909); Wed, 09 Oct 2024 12:54:01 +0000 Original-Received: (at 71909) by debbugs.gnu.org; 9 Oct 2024 12:53:16 +0000 Original-Received: from localhost ([127.0.0.1]:55966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syWBo-0005dA-I9 for submit@debbugs.gnu.org; Wed, 09 Oct 2024 08:53:16 -0400 Original-Received: from mail.imayhem.com ([82.223.54.191]:60925 helo=zealous-pike.82-223-54-191.plesk.page) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syWBm-0005cx-NL for 71909@debbugs.gnu.org; Wed, 09 Oct 2024 08:53:15 -0400 Original-Received: from [192.168.68.105] (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 C45B480166; Wed, 9 Oct 2024 12:52:57 +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.105] Received-SPF: pass (zealous-pike.82-223-54-191.plesk.page: connection is authenticated) Content-Language: es-ES In-Reply-To: <86o73wt997.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:293205 Archived-At: On 07/10/2024 13:58, Eli Zaretskii wrote: > Isn't CF_BITMAP format indicate the data to which we convert images on > Windows in the w32-specific portions of image.c? Or maybe it's a BMP > data (which we can already display, see w32image.c)? If so, then > yanking images into an Emacs buffer could simply use the data instead > of converting to PNG, then back to bitmap. But how would lisp programs register for receiving that? yank-media-handler asks for mime types. >> I didn't expect the PNG, image/png formats. I suppose they are the same >> image as the DIB/BITMAP. > > I'd rather expect them to be in PNG format. Yes, the same pixels, but in PNG format. >>> What about other kinds of media, like audio and video data? Is that >>> supported, and if so, can we include that in some way? >> >> In standard formats there is CF_RIFF and CF_WAVE. Also programas may >> insert a file format (as they do with PNGS), but I haven't found any >> example yet. In any case, we can do the same as with images. > > If CF_WAVE are the same data as in *.wav files, then we should be able > to invoke play-sound in some way. But again, lisp programas need to register for a mime type, and then act on the data as they require.