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 +P7tH/dsYmcMTwEA62LTzQ:P1 (envelope-from ) for ; Wed, 18 Dec 2024 06:34:31 +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 +P7tH/dsYmcMTwEA62LTzQ (envelope-from ) for ; Wed, 18 Dec 2024 07:34:31 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=nZl6Bz86; 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=1734503671; 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=7KbOw9gZHwYBWXs4l7Vsjmsj0ZGg21O5eoBOazWFls0=; b=iOBC3H7HXXouWQJz+r7W0Gng3GRT+sPoP0rWPurc1JkPLuJ7c9uRkhR0OwwQla9ZB8Mwf+ GLDq8dnVnNd2SYht/j3dwp7znHZfaeoaRCXVlY3q2jsn2pTIfxGV8/8KDRSMSpUmHv4IUL 8wfRv5XfYox8nTBntevvWkUaCoDOFC/aJWyYATSuHIui0IQ7u8Tv5lSMkmcMlbxZuxAWcf udHHOsJBgDB3TfL0/rM1aC4xC7Q6HzpgYrdSiB3ZJ4T/OtDQ0D1KNCcH0CDyrTXbBLqnyD cl5DSnSmOua1kuL762FtTyuwZ1WEkLI8Usip74RXZESkaR70J6NsaHy8cd/GRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734503671; a=rsa-sha256; cv=none; b=r1uYO1U54VXBzJorHh3XsaGDnVNqYZbgLG6mbxKkWLRdjwZXDGeVUinucL6KAqpZ8FaAXV WP6EKe0wdTGC1zQeVa+ewSMfKnUWMCyajRyE8bPkYTMvalPR/qh31L3LdNqliJyFq6Kz6x J4CaXcBTA0v6sY8HC+wtWAY+Evhyn9Eyv72GqQntjImChLusOblPh++7N9DpDkCERhY9LT K7M15Sl5/U4o0UDz7VcIIcN4nHxuJ5vG5yJ6uDFqFHsQ1PtVDfsidGV2H0+aHzveEA5Obl jbE8O7BfO9yuRmhotyWmdmWrAfD50LXqRYvXjyasSnnRiebWp10ujqN7VfhVfg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=nZl6Bz86; 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" 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 60B449F155 for ; Wed, 18 Dec 2024 07:34:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNnci-00068v-97; Wed, 18 Dec 2024 01:33:32 -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 1tNncg-00068X-Ba for emacs-orgmode@gnu.org; Wed, 18 Dec 2024 01:33:30 -0500 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNnce-0000T0-Q8 for emacs-orgmode@gnu.org; Wed, 18 Dec 2024 01:33:30 -0500 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-7292a83264eso2694709b3a.0 for ; Tue, 17 Dec 2024 22:33:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734503607; x=1735108407; 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=7KbOw9gZHwYBWXs4l7Vsjmsj0ZGg21O5eoBOazWFls0=; b=nZl6Bz86vG4sYf4GcWgOFtbDe271APEquISh+xG/1rHuOr22TcrVHkZr7/sFg+VPtB QWASVTLfXBsp1ulSNQuk0zBRWutr0kJWH3D4Wb55+jMKyUyTz/dsDeybOn1EDAv93AQ7 nC/811nM5wd7Mai4IwcrN8MM4KH25z5WbJHdvQtNb8oXsF6vB7MCcogmqduOFNsm/wMH t7fVEKNegNwmZ7hemzYYJ6v3zbLEADd+HowYihyzPFSe0eR0m21VnfGCzNqb44dqUn7Z WyQ6gcLKum4mBezT/UcK2epRVHYs/LfBFhtZqMk0BeoDh5CzXAQnlpoFvAngP2d6p66m 1dCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734503607; x=1735108407; 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=7KbOw9gZHwYBWXs4l7Vsjmsj0ZGg21O5eoBOazWFls0=; b=NsXHHswXq4LBF1ih5TTqyZ6QLTvPplzgp/CSDjWHAbWjj0sZ25IROoOtXxYNtx7XXQ 3eX6i4UpWsVciqUh82wgUbjkHBCetes7m5u36F1VtUxvdCdwezgbuvty8+ke2oo63Y/Y YN6gvjW654v1g5bWdMUJmHa8iu414cK7ICotDuJNtyDsyrMjEqyxFzRO0JYxbPqSi3Lv xwKZCS+zAkDaAANt5hOJgSj352YObqtxwNf8ICfXCU4K7BareCvIEM7W9l9PWb4uPGhs phlYCyL6h6F3b/47N3TfJrpBytsXd2dS0VqMrOL80LI4ojKMsoUngYsUTxbAzk5ATWZm 3FdA== X-Forwarded-Encrypted: i=1; AJvYcCXFp4X4q8Uv+nidyG4Kxlg6vehnAyBtvEV+ICxQFsHtDd5hr1kz1UvZa5NSw6X8dkkisM2siETXGyuKZrXK@gnu.org X-Gm-Message-State: AOJu0YxFN6n66B8B1UFQ00CdygmFnG1Ddn7yy4cJ7S2GKkCQs/+/ESAN ENN4Yf/G6CnJiP359XtgkQXvvJNT2xVewqg33Lnrs9j3ZDptvKkk X-Gm-Gg: ASbGncvweJqcnG25SZ6VbTnGoWztRACD7uU+GAP5p7ieHHA7gjOUIqh7RxjCMMQZE2q hXWLeEc1gpj7FTHkO9ido83KEBwPBTO+JbNVmDCfKR2qvAOyRxEDuWEjzXZalrq+O9UMEjfKko0 yYzs4fpl7F/fAS1XcaVxCwxynwfZKRUlv8Y73rbVcMyRNKCHd124UdRYXnovp+JcH3qQ2FBJ+aJ XmY76lopmwLZgeg/gu8VLXWwwMTYN0Wv2Ozsbn9wVsKz0NSlChdW0nuDhGH0UdWbGNs X-Google-Smtp-Source: AGHT+IFDeeovUZe1uX8MfXeum5Z0HAiPl5xM3dS68ifiJSIMRzIsqMldiNFzfiEdvBEIx+YbdOCSOQ== X-Received: by 2002:a05:6a20:db0a:b0:1e0:df27:10b5 with SMTP id adf61e73a8af0-1e5b487eb30mr3224999637.29.1734503606639; Tue, 17 Dec 2024 22:33:26 -0800 (PST) Received: from localhost ([2600:8802:5726:2500:9538:4e0:7880:2d14]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-801d5c38011sm6658402a12.74.2024.12.17.22.33.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2024 22:33:25 -0800 (PST) From: Karthik Chikmagalur To: stardiviner Cc: Ihor Radchenko , =?utf-8?Q?Bj=C3=B6rn?= Bidar , emacs-orgmode@gnu.org Subject: Re: Link preview generation with new link preview property In-Reply-To: References: <6755f138.0c0a0220.40388.51fbSMTPIN_ADDED_BROKEN@mx.google.com> <874j382kue.fsf@gmail.com> <87pllug2y4.fsf@localhost> <87ldwfnff4.fsf@gmail.com> Date: Tue, 17 Dec 2024 22:33:24 -0800 Message-ID: <87o7198pqj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=karthikchikmagalur@gmail.com; helo=mail-pf1-x42c.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: mx10.migadu.com X-Migadu-Spam-Score: -9.46 X-Spam-Score: -9.46 X-Migadu-Queue-Id: 60B449F155 X-TUID: QKH6wpZFq/i0 > I don't think so, my package org-link-beautify ported to the new > :preview mechanism. The file preview not always image. Could be text, or > icon etc. So pass in image object is not a good idea. It will limit > preview functionality extensibility. The API will not be changed. Org will provide a new `org-link-preview-image' function that you can use to preview links using image data. You'll have to write the adapter to register this as the :preview handler for a link type yourself. Karthik