From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aMTpGyExyWY5RwAAqHPOHw:P1 (envelope-from ) for ; Sat, 24 Aug 2024 01:02:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id aMTpGyExyWY5RwAAqHPOHw (envelope-from ) for ; Sat, 24 Aug 2024 03:02:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=fZ53JcE6; 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=1724461345; 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=rBC0Eco+8oGR7WOi8DHExE8g1mQGGA75byAwVIUsRLs=; b=RYJDrbBV7gSe92poH6dMywP0QcoVfVL9txc+aOtJcYFGOFMvqBlp2DCAt7ybweo4U6T8oY OgHAIVjUpq6DWzV3UJ5IVrTyfXisYn++Sj3OdyH/LQn4NYvgQJKYnjlZNSuwHATQIImk9i P+bIUqYoOtvDwhW5sA3umj7Z7crGtCse6Wjcg5adZCyg4ve8R2ApyTXT/3hS8Enb9rprIk jH2einU3JZWs4GQbVO6w2HXbmbrzoVbw3m/P7ZfpIGBXOZsocSogbIz7AX3sU77hyek8Af fu8V0w3b+zT7slEeB1ls90YME9v1iLdbFnL6glMk30eCRNblQFAXJBipc2v6dA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724461345; a=rsa-sha256; cv=none; b=YE7n0zo4daDR+ePLLiFv7q/ndIDSgCxw7wP0NQY0TWnd8M2hUQMoDsZOmFrwTNfHfIIY0J IDPRbzNYJFT+/r65Rs48KPMHjLzYPB1E/3Z7rKRXPLpX5wuxZuRMFutKVOBBnx35hpbPUt EhUuQ9nfpWhqr91XuZGsoF2TAfNA1NxJuVS75Rl4brknpt6A9GpUOi0reKW5Ck4yX1wbTn KRnadyQ3rSsZul978JVjFR5wAxQVGzaaAZcimDSKdYojYz/3B7Op+puFpHhtLpwqNqlG9+ wpKK8uoe6Vb8pNB1l7XzzAs7TDQEBmCGeIp88VQd4aI0PQ3KQXJ5YcKJz9C2uw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=fZ53JcE6; 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 0FE4412921 for ; Sat, 24 Aug 2024 03:02:25 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shf9L-0005HO-Lj; Fri, 23 Aug 2024 21:01:03 -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 1shf9I-0005H6-RA for emacs-orgmode@gnu.org; Fri, 23 Aug 2024 21:01:01 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1shf9H-0006oc-0B for emacs-orgmode@gnu.org; Fri, 23 Aug 2024 21:01:00 -0400 Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-2d3d662631aso1936366a91.1 for ; Fri, 23 Aug 2024 18:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724461257; x=1725066057; 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=rBC0Eco+8oGR7WOi8DHExE8g1mQGGA75byAwVIUsRLs=; b=fZ53JcE6h3rgOYEvGtapYGK8z9LGiz31Xzn9qTyj57W/oRf4bN3v6Wh/BMtb8bPFzw 9FL2KziovR6ampLD+X9oEikYPIQcKFqylFVIQwQ0d07HNroBVUS6MAD+tpbuM/z4EAZN McF9jhiuZUCH4yYS8Mc+GsEf02ZdEBZ8UaUtAGeX74gv/DpeMfrMaxlQozuSJIb91UX4 x5CdNlocezmzApxneaAY6o6O5k/oVXeTi31qsNI1iL4qC34CukoBO0NFMf7M2Q41z6Ex njaMV2hY4NL/tzUKR4hYBH6dbdDViRrgZnx+izh4e6hqGcTsgCAkhMPBTzE2VQ7YDn2X x34w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724461257; x=1725066057; 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=rBC0Eco+8oGR7WOi8DHExE8g1mQGGA75byAwVIUsRLs=; b=CrKU1LFuRH6no+hzUXs0zP/dYERY1tTGCE/tgDPhFXeRo6+VnUj2PAy/J4goCbCcnn wq1O7YNEJvCFz82sHHicY9nJShQ4HVKpZExq2GhsN81KM0loGrUHvqVCmrvV+okGln3x JA1vhRboUE5ZFL9y02VayV/CsTyCnf6pG2La5aEdkik+fDZPL1BNLT3MWQQdUIZdRzsZ WA0OIe5t/Z1y9IgkyVVASv5ZkkA5cLPI0zC3IjmwHF1hQCFG8avoggL2SR5Bpz+y22YO UVbY2pxVk74b8xa5W7E2TbbuBDlbOEAqAPKnAUuS82EjxZ70y6IlTnRKYMsItIwwaKYN vvKA== X-Forwarded-Encrypted: i=1; AJvYcCVDQs9KV7eo9mWTKs9toZ/OJgQ9iFeBNgNxk+WU1j2+PReAmFQCvSoUIZxHKSQiWCjDNOQVk5hYcfO70Itv@gnu.org X-Gm-Message-State: AOJu0YyhfbdUvB5Pa6Lfxgo8ITbAVpgqQhr7tCoqluwaLulhSFataacp wnR2/KzTJSf5z4peqv4OVoi1LHOvjYb5QEEDCy64tRTVYTmDMFbN X-Google-Smtp-Source: AGHT+IH/w2a5HUjC/pqoPJvS1Vunq+t9VMdHc1Rb5y+3gqS9Hecozk0VtH2nC1MHgzTrEPPVo5jnvA== X-Received: by 2002:a17:90a:6004:b0:2bd:d42a:e071 with SMTP id 98e67ed59e1d1-2d646d2ef6emr4266640a91.30.1724461256337; Fri, 23 Aug 2024 18:00:56 -0700 (PDT) Received: from localhost ([2600:8802:5726:2500:9a3e:926b:7d04:b4f6]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d5eb8d1186sm7243626a91.1.2024.08.23.18.00.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Aug 2024 18:00:55 -0700 (PDT) From: Karthik Chikmagalur To: Ihor Radchenko Cc: stardiviner , Org mode Subject: Re: [PATCH v1] Inline image display as part of a new org-link-preview system In-Reply-To: <875xrqg6cb.fsf@gmail.com> References: <6461a84b.a70a0220.b6d36.5d00@mx.google.com> <646379fc.620a0220.c0ae4.9fb2@mx.google.com> <87zg3l1rgb.fsf@localhost> <64c8a313.a70a0220.93ee0.14fb@mx.google.com> <87il9zgpdp.fsf@localhost> <64c905d7.170a0220.f434a.fddb@mx.google.com> <87o7jpoqfl.fsf@localhost> <64cc9b8a.170a0220.dfa99.2e18@mx.google.com> <87msz7kym0.fsf@localhost> <669882e5.050a0220.8ff6d.33c6@mx.google.com> <871q3logb9.fsf@localhost> <66a8b73b.170a0220.383476.996e@mx.google.com> <87o75yhwnu.fsf@localhost> <87v7zyyvm3.fsf@localhost> <87frr07xz8.fsf@gmail.com> <87cym38aj8.fsf@gmail.com> <87r0ajawgj.fsf@localhost> <87a5h77zb1.fsf@gmail.com> <87msl4wv8d.fsf@localhost> <875xrqg6cb.fsf@gmail.com> Date: Fri, 23 Aug 2024 18:00:54 -0700 Message-ID: <8734mug2ex.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=karthikchikmagalur@gmail.com; helo=mail-pj1-x102f.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-Queue-Id: 0FE4412921 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.79 X-Spam-Score: -9.79 X-TUID: UO0mAa5IUsxr > I'll send a short example of using org-link-preview to asynchronously > preview youtube links as thumbnails soon. Here is a prototype of asynchronous org-link-preview of Youtube links in Org mode: https://share.karthinks.com/ol-preview-web.el Essentially I defined an async fetcher `ol-preview-web-link', and registered it as a previewer for https links: (org-link-set-parameters "https" :preview #'ol-preview-web-link) Here's a demo of this in action, previewing image files and links together with M-x org-link-preview: https://share.karthinks.com/org-link-preview-demo.mp4 Karthik