From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp0.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 IGylN0TxVWcUJAEAqHPOHw:P1
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 08 Dec 2024 19:19:33 +0000
Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0.migadu.com with LMTPS
	id IGylN0TxVWcUJAEAqHPOHw
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 08 Dec 2024 20:19:33 +0100
X-Envelope-To: larch@yhetil.org
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=thaodan.de header.s=mail header.b=0roThPuV;
	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=quarantine) header.from=thaodan.de
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1733685572;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:list-id:list-help:
	list-unsubscribe:list-subscribe:list-post:dkim-signature:autocrypt:autocrypt;
	bh=C3LhfMoqygfA8kBIyCEmtfGoeCCph94zjyIwM4M3/tY=;
	b=ncT1qVERfaSchTs2DqxKRuGYTYqXZynuseKbHElnf0Xb+uloIqg1G+gwcSqkQ1nhVQmf3y
	ERWMrAhmdAk2MbKlNAv7wQdJ97p53TUHQAVr/htNcdmlR/ZeWB7bur+a4YvlDCA7Ir02/y
	vnzPv2EfRb/Bo6ViC0dFx0CYQ22PNk2y96mguprh3QPpllgMfq8ofve2EyvmRnUYQv9zp6
	TBOIdde2VeGLC3EA4ZIaxPADiU0ysfGP5qKHRS40eQj7IUdGUojpAezNGkFApImMQXZDzU
	3FtMvGyDtL9MUGYpCPNCh2paR8N3MxmC0kysrNS1p1ZJDW5v12myMQffiSGs0A==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=thaodan.de header.s=mail header.b=0roThPuV;
	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=quarantine) header.from=thaodan.de
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733685572; a=rsa-sha256; cv=none;
	b=rr0i5D+JBXmqQwvTuTv2OWnoZf8WvkCcvtTWyM1jkvmAI2kXfImKJQzG9COwEMqbGsdfcm
	4AZMz1pcYXsHRNS+p10/pvVCpY9ijtD+joTrpgnoc5ySO+3RbqROaxP2/ng2i4TwfMPWwN
	zKIOUmRGagPdH8JLs7OfoWrABsBPLTccdHqIS9zo3Kvz5tQ+IAGjHWHSLafLFKiVvR0B3k
	u+apHofyiZ/05Kg1NzxI7s8PAe7swHbBi6A8BtbJlQouChmHNRYyc90sLtWtcrisCXzERF
	4+tJiTUwsaw97cHcWOaVMfdIxRNTO7hOL1uJidNWim703Kd53M47OJD5/w9jnQ==
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 C8FD683654
	for <larch@yhetil.org>; Sun, 08 Dec 2024 20:19:32 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces@gnu.org>)
	id 1tKMnv-0006oV-NG; Sun, 08 Dec 2024 14:18:55 -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 <bjorn.bidar@thaodan.de>)
 id 1tKMns-0006YT-OD
 for emacs-orgmode@gnu.org; Sun, 08 Dec 2024 14:18:53 -0500
Received: from thaodan.de ([2a03:4000:4f:f15::1])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <bjorn.bidar@thaodan.de>)
 id 1tKMnq-0001bS-M4
 for emacs-orgmode@gnu.org; Sun, 08 Dec 2024 14:18:52 -0500
Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49])
 by thaodan.de (Postfix) with ESMTPSA id E80D5D0008F
 for <emacs-orgmode@gnu.org>; Sun,  8 Dec 2024 21:18:46 +0200 (EET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail;
 t=1733685527; bh=pbqjf1hg1Wa7wQNMeu1mhZ/Ra/IMT6uB5/QcC6m6jW4=;
 h=From:To:Subject:Date;
 b=0roThPuVmRK36O9wfvWxzJ9RvlfgMM0+osjQC2tRlaZcUpOcXQPE9NktwseCvYJ5Y
 HhXYBEuqctDZxkKxTJFtcnCNS8c4kOxxt3KN1pmXs8uJ8c24QWzGONKVDlhQReqo6k
 g1gEqcQI1GwItcFZkHB+HYbmjgyvKBtSQdsgMmDaYM6erc86WBg5V74oz/4PeoyyU9
 1HgFiQeOI9rzBH4sSvvvWHBngEJI82xiSbjScwne4/0z0p70WK5i/JEltWTrz3u4CS
 aAFLZrcEUnDJgsIy1wEDSHgN3+UF/+/bqvaHMBY1/hyN+G7L5ufxRL0bjI8lMG9qic
 6dBeIiu9Oo/24nqDXEuv1MNVh7znCsPJsPUX3mSuVIVO7HykHE9exuOGaxfSIRm1MG
 /z+zWvgBJsApdF7AxVl4jcBlhLEfxpC83wne0VIPKKIKEfHzb4HLloHLBFxfWMAzCd
 fI0GJaw+HOc3L2MJr0iBOHwN0/6tkWE1Zk1VVIBkqma3vJ3i3Ws+tRmozBbmRoXrE6
 Ox5oroj2hYKjw9jctHMsaTXVp0bdwj32JdWVuXcwOIq/P1UBh7pnhuEfSk7fdrPPaY
 sducIo0QEQhpccMmrJG8XWFNPdXudOSfEtGo+0jxBDSn06VYYa5pJc3DSlC+/24VJX
 buuBQUdh/YfpKQWK+xk32V7U=
From: =?utf-8?Q?Bj=C3=B6rn?= Bidar <bjorn.bidar@thaodan.de>
To: emacs-orgmode@gnu.org
Subject: Link preview generation with new link preview property
Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata=
 mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq
 w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV
 CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl
 HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8
 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF
 CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h
 K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2
 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBw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Dec 2024 21:18:46 +0200
Message-ID: <87seqy2dbd.fsf@>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a03:4000:4f:f15::1;
 envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de
X-Spam_score_int: -14
X-Spam_score: -1.5
X-Spam_bar: -
X-Spam_report: (-1.5 / 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, INVALID_MSGID=0.568,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=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-Scanner: mx11.migadu.com
X-Migadu-Spam-Score: 1.21
X-Spam-Score: 1.21
X-Migadu-Queue-Id: C8FD683654
X-TUID: sBDvDhNIFh/4


Hello,

I have a few question regarding the new link preview handler property
added recently. I ported the org-remoteimg package to it which was quite
easy, much cleaner with the new property.

The PR do port the package to this new handler property:
https://github.com/gaoDean/org-remoteimg/pull/4

However it left me with a few questions:
- Who is supposed to take care of the scaling/width of the preview
  image, the handler or the caller of the handler?
- When calling the link preview function for a description with prefix
  argument 1 I noticed that it doesn't get the contents of the
  description.
  Why is that? In this instance the link looked like this:
  [[https://stable.melpa.org/#/rpm-spec-mode][file:https://stable.melpa.org=
/packages/rpm-spec-mode-badge.svg]]

Thanks have a great day,

Bj=C3=B6rn