From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aGUHKyKFn2bXeAEAe85BDQ:P1 (envelope-from ) for ; Tue, 23 Jul 2024 10:25:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aGUHKyKFn2bXeAEAe85BDQ (envelope-from ) for ; Tue, 23 Jul 2024 12:25:38 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721730338; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Na1m3ZsNygrUNgQtrqR0xgcspeDnS4yNC2qy/4rO3p4=; b=JA4fptQuIG246WpnBxM0rkgDTphZFnCMt4EksZ73s8YX6fC5mX842ZpPSOpegEkK8X0Plp XMX8UOn7wa+6ld3IJir3sRHD5n83U4n14CKbYGV1bNKrEWoSQ2wfVmYvw+cBPSMlL3P9WN v24Uv23BsCeNTM3dCWGygIMCZ6PCecbWqvBJWcL586q3bC7qN6TGeyzsCJumh3ns2RK6gA yhfCXIiMp7Oe56OC5VYAhYJN0f53b4LFGBHDHq6kUb3ZHAvzMFL5tXZ47jEV2/cvHxJYeK YRCfNaK78n9tEQXb2lfc/VJb1XIk5l7nJ9CWL05ajEDKnIvWQzKWf/bx3VDh0g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721730338; a=rsa-sha256; cv=none; b=CaYysPmtHaSrj/41V9Y7IGjt2tubyqikypPaCWmC6aTuHAh1tS/D/pqcpIqs5kjehxxIrT tDat7cb/5OnAdi+uIVPtcS+Uh0ri7X1r3+olZ+dGTkh/Nwm2iMCR7iTFMmfO+kJsWoPSaI twzkxYMpdkhKHlXICrypwSb8oWhd8dLtbTkH/nBnIGz8ee4JF/ztR3gISKP1/v/Ugm4ZEd sosMgDwCsnO0H1rz4oJPzR62+uO3N96EKUZN3cSLvGe9DYXmmuRfjEPzXwG9cPumSojGqJ acGCnVi2I06BL4t8ymvbdnETXMN20SITemIylDydyT8lS4hNKW3xxVKDFW5nog== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 52F4CE56E for ; Tue, 23 Jul 2024 12:25:38 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWChg-0001yr-RS; Tue, 23 Jul 2024 06:25:11 -0400 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 1sWChZ-0001dI-76 for emacs-orgmode@gnu.org; Tue, 23 Jul 2024 06:25:01 -0400 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWChW-0002lm-B1 for emacs-orgmode@gnu.org; Tue, 23 Jul 2024 06:25:00 -0400 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id F1871E810D; Tue, 23 Jul 2024 12:24:54 +0200 (CEST) From: =?utf-8?Q?S=C3=A9bastien_Gendre?= To: Ihor Radchenko Cc: org-mode-email Subject: Re: Cannot yank media when image come from Gnome screenshot In-Reply-To: <877cdczb94.fsf@localhost> (Ihor Radchenko's message of "Tue, 23 Jul 2024 09:52:07 +0000") References: <87ed7kttoa.fsf@k-7.ch> <877cdczb94.fsf@localhost> User-Agent: mu4e 1.12.1; emacs 29.4 Date: Tue, 23 Jul 2024 12:24:53 +0200 Message-ID: <87ikwws8wa.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -7.01 X-Migadu-Queue-Id: 52F4CE56E X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -7.01 X-TUID: kBGtzW+IFNF9 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Here is the full backtrace: Debugger entered--Lisp error: (wrong-type-argument sequencep image/png) mapc(#f(compiled-function (elt) #) image/png) seq-do(#f(compiled-function (elt) #) image/p= ng) #f(compiled-function #'sequence #)(#f(compil= ed-function (elt) #) image/png) apply(#f(compiled-function #'sequence #) #f(= compiled-function (elt) #) image/png nil) seq-map(#f(compiled-function (elt) #) image/p= ng) seq-filter(#f(compiled-function (type) #) im= age/png) yank-media--find-matching-media("x/special-\\(?:gnome|KDE|mate\\)-files") yank-media() funcall-interactively(yank-media) command-execute(yank-media record) execute-extended-command(nil "yank-media" "yank") funcall-interactively(execute-extended-command nil "yank-media" "yank") command-execute(execute-extended-command) Ihor Radchenko writes: > S=C3=A9bastien Gendre writes: > >> I got a bug when I try to yank a screenshot made with Gnome-shell. >> I don't know yet if it's a bug with Org-mode handling the media, or the >> yank-media function or the Gnome-shell screenshot feature. > > Thanks for reporting! > >> What I get: >> >> * In the mini-buffer, I get the error message: >> "Wrong type argument: sequencep, image/png" >> >> * If I go into the "*Messages*" buffer, the full error message is: >> "seq-do: Wrong type argument: sequencep, image/png" > > May you please enable debug-on-error (M-x toggle-debug-on-error) and > share the full backtrace displayed when you trigger the error? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQI/BAEBCAApFiEEaA9vw9ypVj1kP0tAtYb3x3I54p4FAmafhPULHHNlYkBrLTcu Y2gACgkQtYb3x3I54p6HMA/8DFw5YLAMn3DNjuh4g4ELdG0lcMgw7p9Sm1u78qVA ZHcm5HWt32jFIEErfmYwuz/2+qfdyI+2uZBDVNG2esGYtBwTL3NNsVa760g7qsiR Tke4M9t9M9HiXGGceB9E74AtnmHg6OPdIInjCsOhnBqCfaUXZUvVJBxZ46NLW454 cQYt575ABL+AIFYCSS/OPSWajDyuzUI1PCmwt4g9L/be6LW7Ivm91vue/YF34gqv EKU8X0pvm+j5eBecl+GbmRFlxH+UYOrUPA3Duzu7bqldJNT54vC2KsXuMJorQ0ln yKzf6XnfNQywT9eUZnFGNUEbzFQKtBD7eiUjGPtiLJ3Hzv2O9SrlfR4nMpuAdEzF KGyZgtszzIf/RpKd7RQLRkwZ//7DIkiPodiMiOO0kD8Kw+TnOURZN74qyOv+/qGX w3wA9oDom9G6ZBezNq5KcrumqKay76klTPpAzXrITFlYsC/R4Lc3G1h4NG9kKO43 Lwu00vXNMn0toScKQJT9HroTZp5sOwfAv66iGHqv26Of3fU1Gz3JKYPNdUMKw6Ew 3XHD1LU38nfR4xRQO8JAAwKyJL3WgwMcCnGYdvLaQI+Qy0Asnmtotc5mXHC0hXYy Sjz2L4rW7pB9gZRjBFWgOds3ladId4ZY95IsWdBO3SyzHqB5RPtDf3uXk+kTgHjO rRA= =sMYf -----END PGP SIGNATURE----- --=-=-=--