From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iERSLI++ZGckPwAA62LTzQ:P1 (envelope-from ) for ; Fri, 20 Dec 2024 00:47:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iERSLI++ZGckPwAA62LTzQ (envelope-from ) for ; Fri, 20 Dec 2024 01:47:11 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Dfkyq2A9; 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=1734655631; 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:dkim-signature; bh=GmgPHd9PQfehhUMuXocL7IuZvs9jN26AXTlmA0Hzibw=; b=Ya6qpc+FA+0I1rU2S/VA4SpEc/liy/Oj9qH1Vsk0b/HKC0GVlNdnkpDfqlYGFt0fJcUxvE VXf0Ixf7Pl9bsIvXjU+Qj7UGPhs6RtEo9DhUkPh9Vx2mK56s6XO0ezaAcwZzognf1DuFNr 4Fwqe473oFhMn8v5ULer3fnB9qmcEcnzQPgwX+owKlXXNyrNYXTyIeXPOYRQnFznW8x3To NkEHKwvUOXhQWq+cXF/Cp8gTzE75xAsxadusPWOtr4uVGsXYc4DYlsOpQIBGzoBSlD//te yfD6TYpKBHWWwm5RXWfEfJgco7R/kCV8+y2aDDsWHR9dqlkSEuCHQh59aIdhhQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734655631; a=rsa-sha256; cv=none; b=ox5Wz4I3UVaOg1zvVDjr/ZKujEw/0Vz8F8B6raKc3gQzHtyKS8PaISoI/KeM6gu9j9kG+A t+CvbLEAjCMFcL+iB/lzlOVLkantXefImyrFV0i4jhOEeBKzh9K6+5CSuo60xt+2pxMY88 ifkTTwhImbm+xmBS9vMx98vRnAUXof6Xy/MSQcJLy6qQKRyWGeHy/8jKsa++guwfNngY0U dDZW3LWMM0axD6A2v6VguYB9ozLWRaJZw75rWujtAHIB4q7yvYdJta/AohC9/kkk9ciJ5m FpAo5hXR78yBP5SbeuibeHFGYZR03lAWPwChdp8J2Zlqo9uTXU3ebu9oBvzIvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Dfkyq2A9; 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 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 9858440EF6 for ; Fri, 20 Dec 2024 01:47:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOR9d-0004x1-8h; Thu, 19 Dec 2024 19:46: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 1tOR9Z-0004wl-MZ for emacs-orgmode@gnu.org; Thu, 19 Dec 2024 19:46:06 -0500 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOR9Y-0008CN-3g for emacs-orgmode@gnu.org; Thu, 19 Dec 2024 19:46:05 -0500 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-2165cb60719so13595035ad.0 for ; Thu, 19 Dec 2024 16:45:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734655556; x=1735260356; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=GmgPHd9PQfehhUMuXocL7IuZvs9jN26AXTlmA0Hzibw=; b=Dfkyq2A95l6Ceknd2MHB5y1Qrh2YmZ+nT/zULxBE7ofFDIac+QhqgbjApBEzNOtKQB ggshL2GzuYmjCPLeyi3u+wSbXqkRuy3cx5Ggce+fEnDRAq2O3oOpERXhWQn9WJxPBrdH zbvdpn6n8oCAUNS59/jUYtpWFcB9dxWdxMPYtvUBsFsx7LXqm8wcz+V1NDk4DG3Lzkwq CTrUzPWSad2ehSSvCaS5Pwg5uFiRn8pFEJoFrlizx5WjufvV5rcrrb0ibF26LiW2fbhe hyHba3UYUJfgm/39hLrqvIXfT0ecyZ26sNFwXgA5dAfGqH9CLl3NWfocqiAl9Iv0tZik 2ogw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734655556; x=1735260356; h=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=GmgPHd9PQfehhUMuXocL7IuZvs9jN26AXTlmA0Hzibw=; b=HoEp9fH/BOzJ80K8CuxpV19+bWH1bV4sEuqXntSSevXDW/Kz1xH5qRgZbcAaxzmpD9 bc012c+KHbIvQUHcU7KR+1ISxkN0l8Kdiou8s5qIDjJry41h6mYBC0ObHzbUZm2cb5WD L9xkIAYfix3CSCg3gg3R2V1TV8gd5Srfw6Rv8CDFT3WJhVpZth1JP9+5YvSrusCL+rSd MtoNMP6/C1ao1EWswQgP6JIqukaIJmY2PLF+q/2aO9r9mVDZ9+n7Kka2BuIFw40q0Br4 84Ph2usIZzQxb+3xXPwyG8R78baaQ/b4GyJmx/QMGE2H4RtJsqbmcBwbK1sHqki7TNmn Z5Eg== X-Forwarded-Encrypted: i=1; AJvYcCX96gQxcA2s5WbU+gtNqDEp68ZBpNvh7NSupaZHMteXGsPPGBv/wJa8t6k9IbSu3cZXf1vnAvgjYo7OOJgp@gnu.org X-Gm-Message-State: AOJu0Yy7CkRL/MstEFFBxPxWU1dRloAu5Zw1AumTUk/3IpAqD2Lm/ugF YD836UNufYmk/5j1sb82JtN4oqiZit45JfaYeBLtuQAVkQgIowT8cvsDZjLL X-Gm-Gg: ASbGncuo/WyW6gdF+WFlZt4uXpC5WtqOXDz6l6iEdNWjcjvCUy61+xnkxeE8H4VBgdE 4ja1p1fy5o6MYN5GYNq0+ShIVKQxW6Ar8DcAeZu2BG1WQdWJCaqJBr0sPRn+IrmjWRuZQscH1IX xg/ID0y1NIupRSGP3CgyIrID4jEir79uYfHOUPDiyCrVpapHySDYFf1P7pkJIsuGEe/7L8GX5RC dE/6aOzMevvHXw7uFU0KN3hy0WOICpzHm47dB1Gdi8USCII4qgfCTJD4dAWC2UWJGtj X-Google-Smtp-Source: AGHT+IHmhf5pezY1KX4gbbQCCIo86ZTNBHvRZMo+gPZqWdebb1hv1qAMv9mx6cO0ADuvzni7nzl6JQ== X-Received: by 2002:a17:902:e746:b0:215:44fe:163e with SMTP id d9443c01a7336-219e6e85c04mr11235785ad.1.1734655556009; Thu, 19 Dec 2024 16:45:56 -0800 (PST) Received: from localhost ([2600:8802:5726:2500:5c4d:8016:3375:e89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc962c5esm18311345ad.12.2024.12.19.16.45.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 16:45:55 -0800 (PST) From: Karthik Chikmagalur To: Ihor Radchenko Cc: =?utf-8?Q?Bj=C3=B6rn?= Bidar , emacs-orgmode@gnu.org Subject: Re: Link preview generation with new link preview property In-Reply-To: <874j328aym.fsf@localhost> References: <6755f138.0c0a0220.40388.51fbSMTPIN_ADDED_BROKEN@mx.google.com> <874j382kue.fsf@gmail.com> <87pllug2y4.fsf@localhost> <87ldwfnff4.fsf@gmail.com> <874j328aym.fsf@localhost> Date: Thu, 19 Dec 2024 16:45:54 -0800 Message-ID: <87ed23w5a5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=karthikchikmagalur@gmail.com; helo=mail-pl1-x62d.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -9.48 X-Spam-Score: -9.48 X-Migadu-Queue-Id: 9858440EF6 X-TUID: /tr8M8FjoKc8 >> ... >> Considering this, it might be better to just split >> `org-link-preview-file' into two public functions, where the "inside" >> function accepts an image instead of a file. > > Agree. > Would you be interested to create a patch? Ihor, did you write a patch for this already? I thought I saw something from you but can't locate it now. If not, I can submit a patch but it will be a week or so before I can get to it. Karthik