From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eI5ILtuMXGdjpwAA62LTzQ:P1 (envelope-from ) for ; Fri, 13 Dec 2024 19:36:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eI5ILtuMXGdjpwAA62LTzQ (envelope-from ) for ; Fri, 13 Dec 2024 20:36:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=qzN28Ti2; 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=1734118619; a=rsa-sha256; cv=none; b=Q0TClLSpJWmJcO2r8PiGNHalNNcbZKcwsc7G2DQw4ilabMQYV2Z8V9+uaKZWjKXJn486BG V8oloL4SUCTIiS7ES35oVKPvrr2t4Bh+gRgL++7zA7Nkh2Oj8bJBF77siX7lthw4fNHjvr hqkXVxm1fJYDi2icE72w2rOd0skh5ZfKhsv4QTPr0jqt5rNK8N8Cb9lq4x8S9SJZ31QWs3 DrSvg7RV6TrpLRN+2CwQcTktqj/uXU/FSXz0f3qktHjrJP8+6jujLqnst3pr6GSgcNBi/V bVwI3kh9POSih805SbfZDYk2IO4IsA+Oo2V06lKZPcqsBkysEUcGXSp6KJstAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=qzN28Ti2; 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=1734118619; 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=OZvHpzvZw4ay8KgLRSYM6TcjGftt+MoP5GwLN346dS0=; b=j8ZL2Jw1PFpUYrSNNqgUHl1hXiPa2VTo3/sCwEGF0OEqomw7htzTGrPzHy9uYInrp+oYzo XWdeoa8/kISLsI/XbwAgm+s43mQTw4tqhxb+XnpKKEsAChf1zjaF40COWLaL5HEWcUn5Lk HNXlpuKWtixKydpbA9/2uT/gppDYOjVwIcK4dEbDIOz5AQrn2LCZP0ScLgZbRmoYD7Qhvg RMx33gOY4sUGWHZm83RtVGi5wRfuU2LoSouC0p8wi4fygTIaKqz5JA/wA0ZHgZYMnr+eXF KJ0qkA6P9EbPdDHG9LFSoL/QM0yHKlXCatBaeASsCY4nbMKYysXv9oEKCBh0fQ== 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 4A9D75E510 for ; Fri, 13 Dec 2024 20:36:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMBRE-00054q-Qd; Fri, 13 Dec 2024 14:35:01 -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 1tMBR6-0004vu-4s for emacs-orgmode@gnu.org; Fri, 13 Dec 2024 14:34:53 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMBR4-0004kI-1y for emacs-orgmode@gnu.org; Fri, 13 Dec 2024 14:34:51 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 636F8240027 for ; Fri, 13 Dec 2024 20:34:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734118487; bh=Dw+vKB9Nws4spt3eSrLXOZP0l1cVWrMmPwV5EhlVCUA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=qzN28Ti2bkorMqjrmfnfGd5wzOv2GuD2c5hPqJDsvVzfwmOLrheTQWAsgRPF3JcJ7 4eq4M6bZsRkD78XN2Zj2v1TqqRqOiIadO2UySacfUHW9LpwtZ/IdBUVtqHED5cTKDN L+GM8NGxTlLe9qNkaSgDrj2obSxBjlU0JZ4rsz58kslRor4NGP7N3gJd45spI67Gig OEYfNRBjng+D6obbo4GGSX7aIE7DiuzlvztqSzcQ45AjO3ZyxGT4bz2BVsDVTG1Z1r yC+9oLCQXET80cDk1ZVY+y9LjQEasJbbUviIe5KJWUo4IFTTtGPVP7Ouc6WpJC0pDc azowGhmGOF8AQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Y900Q2nGFz6tvh; Fri, 13 Dec 2024 20:34:46 +0100 (CET) From: Ihor Radchenko To: Karthik Chikmagalur Cc: =?utf-8?Q?Bj=C3=B6rn?= Bidar , emacs-orgmode@gnu.org Subject: Re: [BUG] org-link-preview-file emits image not supported in daemon [9.8-pre (release_9.7.10-127-g07dd3b @ /home/bidar/.local/etc/emacs/lib/org/lisp/)] In-Reply-To: <871pyc2jbh.fsf@gmail.com> References: <87frn6ihk5.fsf@thaodan.de> <87zflc1gh3.fsf@gmail.com> <6755ee4b.050a0220.72360.6df4SMTPIN_ADDED_BROKEN@mx.google.com> <871pyc2jbh.fsf@gmail.com> Date: Fri, 13 Dec 2024 19:36:15 +0000 Message-ID: <87y10jfk9c.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 4A9D75E510 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.11 X-Spam-Score: -9.11 X-TUID: H/6snnAWACiw Karthik Chikmagalur writes: > Ihor, what would be the best way of handling this? We can add a > `display-graphic-p' test when running the inline-images part of > org-startup, but then link previews that are not images won't be applied > either. 1. As a minimum, we can remove that message and do nothing on non-graphical displays. It will be consistent with earlier behavior. 2. Maybe we can move the check about graphics to the specific preview functions. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at