From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 WEcINdjMk2cxBwAAqHPOHw:P1 (envelope-from ) for ; Fri, 24 Jan 2025 17:24:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WEcINdjMk2cxBwAAqHPOHw (envelope-from ) for ; Fri, 24 Jan 2025 18:24:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ENmQTIMi; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1737739480; a=rsa-sha256; cv=none; b=FbeTJ7LRJ4UP52XNuf1IyltdqEmqCUrantJaTaj7k2hAc8pq6DHNtKUxwpyg0+FH/6R1ac qAm+KhlDknnr+OmSrBZlktjAOtqH59oG7XIB5qX1uJo2dvJcM4zBUIgRujoHlWpkd6pmtV 6s4rjkfBQar7R8+N1OR77gkNrbBCldPbTyQOeGaHK95O13LxhvisCNdp3GN/7fGepqVzhr 4d3rwnocG4e69GWf4Tz+mW7EGYCxDNbb8u2amJexVin0Wc2UW4U+B0GJPvNEVbakF1Zzw7 mjQwcp22I7AqrZwnXjQ/FHkeNxS6FH0vFefOTwZk0fvqVMuwmmYkeqSOLFcWLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ENmQTIMi; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1737739480; 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=xoOHxkgtDyLa2a6Mp6yYtxvP3hEdGaAoAtMKrmktaA4=; b=tEiX2kTquu9ZiYQMnFcEZrv7hlxeM+sxbf3ZKVSvPA7yK3QVP6T10FnfC128LX2LxcuZ0Q PycwF7Ib3lp44vWKzG2XwXXW96ydIaTX1uej1+9EmWcS4omN8ZPhOfSr9UrGi+QJP5Ll1A Vv3j6RGt53TjFxliH6cUhV8rYddkPvFayLMtrYEBh1rlWsf6Isf3A8r9BDRNvOuHGzL2uL JjTKHgl1vy8aUoivRzmjNN/c3MW1b7OAJ8/3GkLzyuXqjbMPvaP5nbp7ayMB755jnQlcSx XLUs1vyLS7qmCNbEPRJGD16otX/SvkpUfrZ8ksys/DdR3SIU5sCRCHf2UNoyvw== 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 8EA2478AC9 for ; Fri, 24 Jan 2025 18:24:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tbMth-0007mU-KB; Fri, 24 Jan 2025 11:51:09 -0500 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 1tbMtI-0007Vg-Ph for emacs-orgmode@gnu.org; Fri, 24 Jan 2025 11:50:55 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tbMtH-0001uL-4z for emacs-orgmode@gnu.org; Fri, 24 Jan 2025 11:50:44 -0500 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4361e89b6daso15147055e9.3 for ; Fri, 24 Jan 2025 08:50:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737737441; x=1738342241; 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=xoOHxkgtDyLa2a6Mp6yYtxvP3hEdGaAoAtMKrmktaA4=; b=ENmQTIMiEL2+KuJ8OMnBgmGryqkYvZSo+BEbIwgCo+rRgcy4UWaRPvfDUBk6EEGVSn 2xCJUqvX7Q6oRLuDDTEkAXcVdDoxfDIEhrwENkjHa2KmKOyUVyKeWtnaIWGI50mhXwil Q+5+hEYSvwFf2gFCVmpdoD4pCjzGEp6OLbgOO3JnT/UjyHtJ94/jcEg/3nngxgGXJ9hX hDzeXISbh2UcPhTLwJv+Lxof0796y/1pPwgPOYivanhx9zGwdTRiHM4UMMpzqNJnvaoA GthVNU+nT+0BA3hiIt34IwROAjYQxNkz8/NZ5V0JcnQC7BDImidkn1aZuV4kIUuPOX3p 2itA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737737441; x=1738342241; 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=xoOHxkgtDyLa2a6Mp6yYtxvP3hEdGaAoAtMKrmktaA4=; b=K4dhwOrtnGLmwluEQzaDY22Z+perpEbLRexEFKUtrLk6z0qVlPRzmigJwiSWPX+YHa l13Sq0rCx1sO4eMUTsW51o8BBbwViQjZnTscA+g7ZVEldduBYkCBrDzHjrNSvmBiDE65 SGiIT8wSt/TFUBryyAMuvz5ARC57bBCtNaregwdA8QTAwM8igW4Rsj8JPclKuCkEcIHS YJkzZrmh1KFN0HdRQDpJiN7L5hCnNUeRpiv/ECzpaTNVezwtMy+VwzxkoYBn6NoeM2k7 hRbFrC0NFpwNsW2wQUim/i0WLmj+1CbkJXS8P6lGg14EtYPZEqHztn6SRpdYBCXN6eya mfdQ== X-Forwarded-Encrypted: i=1; AJvYcCV71QTjZHgh7rlIPOq9NpOPMxceEPe2UbAYog17yP+i/+Ge98HRZAflQfvzICB1gh9jgGmZdRvPE6D4ZlxW@gnu.org X-Gm-Message-State: AOJu0Yw/QAp4+wO4sU2fHskzK6aiVazhfo2uT+SyEvGq1C6X4HTLDo4+ +Io7zyS7XPiw60s+FzUxJIB/bhsfAHqDOTSNAwqnC76e8cZHvW9AxXSPvg== X-Gm-Gg: ASbGncuZ/8Y0A/Y4DSUW3MBCTrpNNZ+nDlhVPMmITquUiQOgz6gw7rNBtJZDtYbaV8L erdninSlc9wWcHB3BBOUmG3sknEjHPNNPSSsEydzMzhccNAJw03hGpiVzXDStuRF6/XoRJ62ZuX GdLOmIbyNjBsMUPClzuqMmufhGFC0McsQZsZTYIdn7Fuphwb9As0L4a4SL7kg5EVGrc29J1HlXz TPrRW5sbOjklEz76hrZ144GIs83jvVAfaFxl59MjsCoUB9BA/96CbyOVNHVNPU3QCQ3 X-Google-Smtp-Source: AGHT+IGYfaruXVO/eWvHI1IMwf2T5TRrOEoNmuBi35MR5x+ByjqN284aSuC7a3rN3ka5f1evX4t1Wg== X-Received: by 2002:a05:6000:2ce:b0:385:e2c4:1f8d with SMTP id ffacd0b85a97d-38bf565f06bmr26926049f8f.19.1737737441295; Fri, 24 Jan 2025 08:50:41 -0800 (PST) Received: from rltb ([2a01:e0a:3f3:fb51:357e:3c8a:2625:501d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38c2a1766d8sm3321320f8f.14.2025.01.24.08.50.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jan 2025 08:50:40 -0800 (PST) From: Robert Pluim To: Visuwesh Cc: Ihor Radchenko , =?utf-8?Q?S=C3=A9bastien?= Gendre , org-mode-email Subject: Re: Cannot yank media when image come from Gnome screenshot In-Reply-To: <878qr0pdxo.fsf@gmail.com> (Visuwesh's message of "Fri, 24 Jan 2025 18:27:23 +0530") 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> <87wmkuvlkf.fsf@gmail.com> <87cymmkctu.fsf@localhost> <87o701qpmk.fsf@localhost> <87o6zwpzwl.fsf@gmail.com> <87jzakpzom.fsf@gmail.com> <87cygc7aek.fsf@gmail.com> <878qr0pdxo.fsf@gmail.com> Date: Fri, 24 Jan 2025 17:50:40 +0100 Message-ID: <877c6k5f6n.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::335; envelope-from=rpluim@gmail.com; helo=mail-wm1-x335.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, T_SCC_BODY_TEXT_LINE=-0.01 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.50 X-Spam-Score: -1.50 X-Migadu-Queue-Id: 8EA2478AC9 X-Migadu-Scanner: mx13.migadu.com X-TUID: acZ81QgcsesR >>>>> On Fri, 24 Jan 2025 18:27:23 +0530, Visuwesh sa= id: Visuwesh> [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0= =AE=9C=E0=AE=A9=E0=AE=B5=E0=AE=B0=E0=AE=BF 24, 2025] Robert Pluim wrote: >>>>>>> On Fri, 24 Jan 2025 10:37:37 +0530, Visuwesh said: >>=20 Visuwesh> * lisp/org-compat.el: Add workaround proposed by Robert Pluim Visuwesh> to make yank-media work under GNOME reliab= ly for Visuwesh> Emacs 29. >>=20 >> Did I propose it? I don=CA=BCt remember =F0=9F=98=80 Visuwesh> You did, indeed. See https://yhetil.org/87wmlb8djy.fsf@gmail= .com. I know, I was (feebly) attempting a joke. >> I thought Ihor wanted this to check for a pgtk build? Personally I >> think the check for the window system in the cl-defmethod is enough, >> but I=CA=BCm not Ihor. Visuwesh> I think so too but let's hear from Ihor first. >> One way to check for pgtk is checking the result of >> (window-system). Or checking whether `pgtk-backend-display-class' is >> `fboundp'. And checking (window-system) duplicates the `cl-defmethod' check. Visuwesh> I don't think we should use (window-system) since the return = value is Visuwesh> FRAME dependent: if Someone=E2=84=A2 opens a terminal frame f= irst and loads Org Visuwesh> while it is focused, they won't get this fix even if their bu= ild is a Visuwesh> pgtk build. C: Visuwesh> [ I think this will definitely break for daemon processes. ] People who use the daemon are making a rod for their own back, but we should still cater to them, I suppose. Visuwesh> We could rely on (fboundp 'pgtk-backend-display-class) but I = somehow Visuwesh> don't like it as compared to just leaving this extra check ou= t. Right. Robert --=20