From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 CEgdM1ctIWep/QAAqHPOHw:P1 (envelope-from ) for ; Tue, 29 Oct 2024 18:45:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CEgdM1ctIWep/QAAqHPOHw (envelope-from ) for ; Tue, 29 Oct 2024 19:45:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ya71VWh6; dmarc=pass (policy=none) header.from=posteo.net; 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=1730227543; a=rsa-sha256; cv=none; b=mA69C9fO4Df2wSayaqKQgbZa9bduNCH6rLUmJvZIuG26rKB2MNMqqaxsmykviDh/XDxeLk uNpKQdCaTPBj6lVCOdXKe8ownicaCd1M7VKgFpKKrRO1pp3KoJflTi+VWsfREajCB099lZ jCxAkXbSey8VynZqLHBVXk5sd35I+K0jSsMrdGDjb4JX4nrocA115sxp9b88a6h8Jf3f9V M8DKHLWdKbfm9OWPdGnU6diU/M/SmOt3YHajmBnXomUHOYtTwPEDBQ9Hbn3Dkzi2qGCQMk nbUf0sd2avGtnuNC3A4t5VTczMIAc7IboAP4C7Sbf+10NvJznu/pBzHO9pgDRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ya71VWh6; dmarc=pass (policy=none) header.from=posteo.net; 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=1730227543; 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=8O4FcE7e4DFVqda041cG2+UEsXmLdbrhyow/C6C8OM0=; b=fuNkydMhsjpYU5wUDNhAjYlaanvpsVGsgL9BiJGmL4KfX2HZFsVewyuRkCEcZffcdI2mkJ CQZF8gun57xs66wb3e2hY1d00SwJA1GjdFBxJuO4bFgKAFedqjWdFYl2qVsSAAq2OHAyJF 0SKHd4xR5aGH+k7vjA7pS//twNaT3V3LsKgfqYvEWYMXRLKdqOV5xoy1XW9oEC0IYNIO3F +IdS00zYAITkNd72+lt9xFg9BNMoWuM1Y0FhMJPq4B9/fq7hdwKjqY3NUbKo5a/c5qpYwX MPXcTB4HmBqsNAByxHZ/pOWhJ1nbK07j4fYOoftwILHRZuFk7Sp4HYW/dEpM/g== 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 031421CF28 for ; Tue, 29 Oct 2024 19:45:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t5rDC-0004Ae-ES; Tue, 29 Oct 2024 14:45:02 -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 1t5rD5-0004A7-Ud for emacs-orgmode@gnu.org; Tue, 29 Oct 2024 14:44:56 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t5rD2-0007lE-TB for emacs-orgmode@gnu.org; Tue, 29 Oct 2024 14:44:54 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 65F2F240101 for ; Tue, 29 Oct 2024 19:44:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1730227489; bh=6L+WLZLaG7lUf19Ki1pYlG3ewwG53hfR/+1eY9btAW4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Ya71VWh6WsZ8OsZib2G4U4cGcrs6GqdtKCHDDv+yE/n//Mpjikk7eKcrAT+WmaqwY FH1T3ATmj9ou8GBAJBkNsD8b1iYPMCdLbcsjEByd+uNo6SYj3rKRxnXPqxvGkGkHtr alzkcNVN20LPXb5MsI64ovC9hnziwWmn6jEs8K5cGsKc6xhPeD1lAs7AjBGy1iWQOR WzgPhSSx9N8Tp8V3SvLjsZZECaHt6UHPZGmQLW+bvvuYDlvJVdr+quq6x/D8pzZKwq ybEzxmxqEk1HxGkN0FUlxybg8Oe4u7NrQ4g2UJSnrursHiw1w6gn5MpfJon6xlT2Xg QWXOHK0qx5Rmw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XdK1X4CcRz6tw7; Tue, 29 Oct 2024 19:44:48 +0100 (CET) From: Ihor Radchenko To: Karthik Chikmagalur Cc: stardiviner , Org mode Subject: Re: [PATCH v9] Inline image display as part of a new org-link-preview system In-Reply-To: <87a5enevy5.fsf@gmail.com> References: <6461a84b.a70a0220.b6d36.5d00@mx.google.com> <87jzfwljkq.fsf@localhost> <87h6b09v4o.fsf@gmail.com> <878qwb8qw1.fsf@localhost> <878qw9ak6a.fsf@gmail.com> <87o74ypp3b.fsf@localhost> <87r09rxpjg.fsf@gmail.com> <87h6ah72ui.fsf@localhost> <8734m060ma.fsf@gmail.com> <87o74mjgcy.fsf@localhost> <8734lx4twk.fsf@gmail.com> <87bk0hs4dm.fsf@localhost> <87tte7wdpj.fsf@gmail.com> <87y135ce4g.fsf@localhost> <87cykbfodz.fsf@gmail.com> <87r08nkhfg.fsf@localhost> <874j5jfy8y.fsf@gmail.com> <875xpxu47h.fsf@localhost> <87h68weovw.fsf@gmail.com> <875xpcks8a.fsf@localhost> <87a5enevy5.fsf@gmail.com> Date: Tue, 29 Oct 2024 18:46:32 +0000 Message-ID: <877c9qeohj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.05 X-Spam-Score: -5.05 X-Migadu-Queue-Id: 031421CF28 X-Migadu-Scanner: mx10.migadu.com X-TUID: CuRcLyNESltw Karthik Chikmagalur writes: > None of the above have been obsoleted. Let me know if I should make > them all obsolete aliases instead. I think that an alias is fine. At least, it is the approach I am leaning to recently. >> Aside: I am wondering if we should also attach preview toggle to >> when ~org-cycle-inline-images-display~ is non-nil and there is a link at >> point. > > I haven't added this. I think it's better not to do this, since cycling > is expected to only involve hiding/showing buffer contents. Generating > a preview might cause new external processes to be started. I can add > it if you think we should. ~org-cycle-inline-images-display~ already invokes link previews. What I had in mind is extending it a tiny bit - I myself have this feature locally and find it useful. You do not have to implement it though. It is slightly out of scope of this particular patchset. > Subject: [PATCH 2/2] Org: Document preview API for arbitrary link types > ... > ... > + By default, only image links without a description are displayed. > + You can force displaying previews for all supported links using a > + numeric argument of ~1~ to toggle all previews in the active > + region, the link at point or the current section. A numeric prefix > + argument of ~11~ will toggle previews in the whole buffer. It is slightly inaccurate I think. Once new :preview handlers are added to non-image link types, the same rule about links with/without description will apply to non-image links. So, we may better explain C-1 and C-11 arguments in more generic terms: "image links without description" -> "previews for links without description" -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at