From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 UHiGC0wisWZ3KwEA62LTzQ:P1 (envelope-from ) for ; Mon, 05 Aug 2024 19:04:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UHiGC0wisWZ3KwEA62LTzQ (envelope-from ) for ; Mon, 05 Aug 2024 21:04:44 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=kkctg+8z; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722884684; 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=XCV438FR2mVTTCs+xzw48Gflc4GfskJCMBDLf13er/4=; b=iOthPnFi3u2Pf+ZFwDlor07NITqki0cFgFORBq5o4yhasVpz0NPZ6Duo8AVaCVKfJrFeOP /5dR9ki8edkPx0YX95KTa66H1F49DxvvjyPIkoICuVvFioKMhWOx5sLQnJgJWpyJm2dFmV Gq17Zk0wPF4o+7kfASrLu7E2KvdSlbjKpeMdHxLCDHCSvBSZs8PwioDRfHtf5y6D6kISTq hUarvj+dAQhPPUy0kE10Mq1apr/POjjzLELNgxLChGUAVN4xfdkmvwCIghxc98kCmPohUG 06FsoUgaTdXwLHZS/9lZ535XgcfKWZUw3A8pou2XcwWZv/sSyIzuiqUCB5YFog== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=kkctg+8z; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722884684; a=rsa-sha256; cv=none; b=aT+0/Ws33Z2wjgweu0Muic0CE0ilFkGEAnwjmzyfLdSF4K85ssmrn0Ig8I8RhdzHoOv733 iFMoOSnlbY52aN5/EeXgBeUpfhwFmA9bL6sDVSwUfj+0CruatPcoY1XaXUOnQkoyyUYHCm 7ADX3s6DydiKJnSXI0zY3JciPTnpRFIbyd3gh5OUtE3NIMsiEAOv9FRlYtzDJGu1H8DzLD /SPzLNLeCKonMBqck5f2dWjDIZOd+BvBy7uKUUKDA5iXr4923AnR3cda6sLUcSbkdu6nOs gJdpo1WGp+F3IbG6ZXfB2m6lu+oCcEnmTN0vSGr+D5aK1L8dCMxYrPy7KkasxQ== 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 054F22406B for ; Mon, 5 Aug 2024 21:04:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sb2zo-00039Q-6r; Mon, 05 Aug 2024 15:03:52 -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 1sb2zl-00038m-MQ for emacs-orgmode@gnu.org; Mon, 05 Aug 2024 15:03:49 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sb2zk-00068k-1X for emacs-orgmode@gnu.org; Mon, 05 Aug 2024 15:03:49 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-36bd70f6522so1153094f8f.1 for ; Mon, 05 Aug 2024 12:03:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722884626; x=1723489426; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=XCV438FR2mVTTCs+xzw48Gflc4GfskJCMBDLf13er/4=; b=kkctg+8zkhxtq8bRkXtJiIyfiwGNIQGFiD/jJiPCqQsQ8YSN+srd2u7I0h8sviHg4r sVmBV3CiwMlABjnt8pj9YzeIT4ArdfwgEqW5kalTnMYswvguiA0JdP3D41pSARf82gv4 uCKU5IRvS0Vo/UoaaSpWfaV+580Is+rfx27bSIsbPF4Ics9ufHDkDeX+2HxqRShuqCQd ICOz8U2hENxT874ajW0IyefyYQem9108U06CG94ZD12hh4Sc8aDKeKtZMunUCnRmLIQG crenC7ySvtextQnaUNyn90V8QtQx4ImYIn8m3mxr+3Dsd6+MliSRbnC5zY5HI4uu/vwt ACeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722884626; x=1723489426; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XCV438FR2mVTTCs+xzw48Gflc4GfskJCMBDLf13er/4=; b=pXHsM1vqmnYiMqKSZ/oGsnDzayw3QVqmMbKKauZvT2lEr+hxzLJUbwBLAVcgGnFe7I lY/l4nz0DvGGbi8yvFZ3slEP8Tnj95X2h1r8iFE1EVOBU1QtXBwb3NQPmT3l81VUc9fv 5+1S0x/DMcJ+1Fx3h3WEaqHQg9/NdYSEBq3/+Yv2gczyisNvP6jsBAbfqkmyCChxAg3D +HVCLqMm9SCqItE8MaWg1P0TkXJPoMLYB53LEBUl5yBBFrccH+ZGVIN5eqdJ1kTP2SnD kvOlt58F4A5qv/FU0FlfoSzF05vnPzQFSgpga+lotNkKU5uam1Km2WSBLxSm3FT5tuWk tyDg== X-Forwarded-Encrypted: i=1; AJvYcCVCQvdq/hFv1ARTNsaE7StIMzh9mRXTUDJErYhsEPHazfEhXOYg9v+XLpSt5N4FS3RjWEuvJoMRXOqP135LAO0XznrvxJw= X-Gm-Message-State: AOJu0YzWjWqGwtz3sSFjwxQXK3CeKASB5nfjJjtZXassKbItOuNYRfSj O+i46WV2lm0rYHbXOBrTssVclw3UEnQuA4XZDGlOeObaMCTXQKMhir9Lmg== X-Google-Smtp-Source: AGHT+IEGTtQT1UEXbqW1c1luJlPve9AjLGO7TQJxUgXVbUAePkvLsFBAhPu5buYN/Z2Xljfit/NMkQ== X-Received: by 2002:a5d:6b09:0:b0:36b:8f4c:71d4 with SMTP id ffacd0b85a97d-36bbc0e6360mr8622718f8f.28.1722884625664; Mon, 05 Aug 2024 12:03:45 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb51:96a8:cab8:216a:eb78]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbd02b15csm10883168f8f.65.2024.08.05.12.03.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 12:03:45 -0700 (PDT) From: Robert Pluim To: Ihor Radchenko 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: <87ttfykgok.fsf@localhost> (Ihor Radchenko's message of "Mon, 05 Aug 2024 17:44:43 +0000") 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> <87ttfykgok.fsf@localhost> Date: Mon, 05 Aug 2024 21:03:44 +0200 Message-ID: <87wmkuvlkf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=rpluim@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Spam-Score: -9.77 X-Migadu-Queue-Id: 054F22406B X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.77 X-TUID: 5ExiQjGStFcu >>>>> On Mon, 05 Aug 2024 17:44:43 +0000, Ihor Radchenko said: Ihor> Robert Pluim writes: >>>>>>> On Sun, 04 Aug 2024 19:01:24 +0000, Ihor Radchenko said: >>=20 Ihor> I am not sure if I like patching Emacs functions when loading Org= mode. Ihor> On the other hand, I do not see any obvious downside. >>=20 >> I was hoping you=CA=BCd have a strong opinion =F0=9F=98=80 Ihor> Generally speaking, defining global methods is a very bad practic= e. Ihor> But I feel that it _might_ be justified in this particular case. It=CA=BCs a specialised global method, so it=CA=BCs not too bad Ihor> Robert, what do you think about such idea?=20 >>=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 ha= ve. Ihor> Yes, behind version check, pgtk build check, and, ideally, after Ihor> checking that such method is not yet defined. The cl-defmethod itself checks it=CA=BCs being run in a pgtk emacs, so not sure we need more than that. Ihor> May you create such a patch against Org mode repository? This week I am a bit busy, so not before middle of next week at the earliest. Robert --=20