From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oAuZM3MPsWasDAEAe85BDQ:P1 (envelope-from ) for ; Mon, 05 Aug 2024 17:44:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oAuZM3MPsWasDAEAe85BDQ (envelope-from ) for ; Mon, 05 Aug 2024 19:44:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oawZrxm9; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722879859; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4kMId8rdCsh7eSsmELapc6nJToCT3p6W6vcSvhdutdw=; b=FIG0xTH8b47Luvyovz63wKOLXA+pE//7gfoNfAiYszDnAVFDHmXsjauGLc1RXrZ4jPdzRY hxitb/CY0/GfNKHZvHNKnK02IFc2Sqp+0WqAjWBgGTw/a6kswiFtCw9jyPcJ9ooQAyJxZG rMMgHmgNXru0SWxSz7nGPc66k2XkADKNbiMj2QgEIQqKvF/M8I+Z1zMvkDbVBPErvdKroK u0na5NyFBVrqwhi7vkMI60XaUDhUTHCmThY09dSI7sKZle4G42ftlgBUtRU5QvVShGrtK1 rpUlgTlYq4CPIlDJ9yuuWLoxQjOwdU5+YOxuMSS+9IsSQC324UFL4eNlraGWzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=oawZrxm9; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722879859; a=rsa-sha256; cv=none; b=SQC9qScw1896m213xpR2E/gc2yvY7ahK+daoRG69dFSz1kQE1z9GOI0KN0sKJTJ/UDmSRJ 6sW5INTM0A/ww7vwc+Ey8ciwrYFHmmfUndYz/SgaPclu7VnT/cz0tkN2THitwu3cwxX/36 W7GBNmpnppVpllvLiFW+t3kM5wfIDdnJvfBRy8JBo2jwL+KM45iJjyAsUrP0dMB/A395Ha s6UhrX9kyTbrKRQh34yWSDWgwiHPWP0Opa2MmZKksVxPRmb5AQScqZ3X1c2vEpx+sKui5k H5C51wXapN9TZgLoFGR7KvTnzXgMsdv0DIYswU3GkCfZJh3eIiD3Dn58ruRE6Q== 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 8C46C39B71 for ; Mon, 5 Aug 2024 19:44:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sb1kA-00016J-HT; Mon, 05 Aug 2024 13:43:38 -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 1sb1k8-0000se-0c for emacs-orgmode@gnu.org; Mon, 05 Aug 2024 13:43:36 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sb1k5-0003b0-Lw for emacs-orgmode@gnu.org; Mon, 05 Aug 2024 13:43:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2A97E240027 for ; Mon, 5 Aug 2024 19:43:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1722879809; bh=SCO9eLxPazqjL5uK35BRaVRfx9PTNOmSmUNAWLb08fA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=oawZrxm9KB+ubQ6ny/kgL2pDukVHjWucs3g2zy91uBrFGlYzZ5SUCNGQQDwD1fpX5 AdOjEWQG4E709+OeecXg3mko3R/1SO5BCBwSbwqXJJZaGWTBQ29FF09UsI+h27fcEa G4RyEE5XqOddJ1orcI0crAgDfSpKLMcGKsfYfi9eSkHC++dmJ4FyBNlFrjVKufe8U9 qWgKMH6egnnv0jNW/A3kREX9aOX8YLN4ZDKKqkwNIh/XqCbnndRgfLVfeg3vwTrUQA gEwgXjEOFrwopqYsgb+LpukwhVlPYluPRmxda45h6Hj77QizqgPwhOkDKQliNANziG +dG1wwi1KbR5w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Wd3h03stTz9rxK; Mon, 5 Aug 2024 19:43:28 +0200 (CEST) From: Ihor Radchenko To: Robert Pluim Cc: Visuwesh , =?utf-8?Q?S=C3=A9bastien?= Gendre , org-mode-email Subject: Re: Cannot yank media when image come from Gnome screenshot In-Reply-To: <871q33vvdb.fsf@gmail.com> References: <87ed7kttoa.fsf@k-7.ch> <877cdczb94.fsf@localhost> <87ikwws8wa.fsf@k-7.ch> <871q3kz9j9.fsf@localhost> <87v80sf1d6.fsf@localhost> <87y15ghj3u.fsf@gmail.com> <871q34dse3.fsf@localhost> <871q33vvdb.fsf@gmail.com> Date: Mon, 05 Aug 2024 17:44:43 +0000 Message-ID: <87ttfykgok.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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-Migadu-Queue-Id: 8C46C39B71 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.65 X-Spam-Score: -9.65 X-TUID: Z7UPaNa0aIEd Robert Pluim writes: >>>>>> On Sun, 04 Aug 2024 19:01:24 +0000, Ihor Radchenko said: > > Ihor> I am not sure if I like patching Emacs functions when loading O= rg mode. > Ihor> On the other hand, I do not see any obvious downside. > > I was hoping you=CA=BCd have a strong opinion =F0=9F=98=80 Generally speaking, defining global methods is a very bad practice. But I feel that it _might_ be justified in this particular case. > Ihor> Robert, what do you think about such idea?=20 > > It=CA=BCs a cl-defmethod that I assume you will hide behind a version > check, and the changed code itself should only run for a pgtk emacs, > so I don=CA=BCt see a great risk. And in the absolute worst case > `yank-media' doesn=CA=BCt work, which is the situation we already have. Yes, behind version check, pgtk build check, and, ideally, after checking that such method is not yet defined. May you create such a patch against Org mode repository? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at