From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 gPO5LPSmbWeRcAEAqHPOHw:P1 (envelope-from ) for ; Thu, 26 Dec 2024 18:56:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id gPO5LPSmbWeRcAEAqHPOHw (envelope-from ) for ; Thu, 26 Dec 2024 19:56:52 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=LLHoTZxm; 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=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735239412; 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=Wwbk7kW0x2jiiU1PBgwVMGTXQPa0feRcUAeDI/nzYG4=; b=oLCxXNShTt8Y9rDz1gEojcyJ83SoZ2hznLvY5PrqPjyp6INCYNLxQqHU/++MTC6Qd1ryGV oSqOnePmys40WpCGRcjtWModwYGGIKdtop1JZYFnD+nCX/SNf+kRH61Ix2Olhp/6NdqpgQ oS3zgk+JHFH4D+DJcLU+qyvab+OY2u9zMS76Kr28CRlqLn/oV8i3CCsQkM6UChun1r7cem wCHFa7k0mFPYrrUD0s23vutQ2gRlOX5abQDQ4i8US+Lh1klBup/Ah3Ve+ck6A9mJtKJLQs V2UplHZl8v2s9z3HOHzzTgpJunje8ZlMYUDgQH3na/Ce6AIOE9FaStKYvaPbrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=LLHoTZxm; 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=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735239412; a=rsa-sha256; cv=none; b=JLKYr+VMYxLALA7JVmF9M7LXbcCSFJeHIxBvH5j7ZD66yAZgU07DhY+oxXqmmRsB6YGolp vqVuPxIBo+1+bjRQ0oopXn2bTl2TLQ3J4SaD5IP4yLbxxrND6cMYokabYL3i+Hvd8+Lebt /rEnR3H08EC2YerAMR1ExCE3iaRkTsvVEhlQkOO7C1RlwgX6Wv6mFOHXRY6M+LyWZLCaL8 QsqQLC74xZwd6Ugs1/VGi5T9A9nlobABHnOf8JCDcwWaJG7ZrynAdNXbbDTr5bDasYl2UG ViXpXV+MaxW5F+0/ODcikI2nOeRTZC5M1zygM7RAGiPIWVVSXmVafDVybrqrZQ== 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 7C11E7F85F for ; Thu, 26 Dec 2024 19:56:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQt1Z-0007yi-VQ; Thu, 26 Dec 2024 13:55:57 -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 1tQt1Y-0007yX-5S for emacs-orgmode@gnu.org; Thu, 26 Dec 2024 13:55:56 -0500 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tQt1W-0003pm-QB for emacs-orgmode@gnu.org; Thu, 26 Dec 2024 13:55:55 -0500 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-216281bc30fso91151135ad.0 for ; Thu, 26 Dec 2024 10:55:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735239353; x=1735844153; 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=Wwbk7kW0x2jiiU1PBgwVMGTXQPa0feRcUAeDI/nzYG4=; b=LLHoTZxmzPzaS0YjfyZoZmbnytopbiJ6Oud3NnGKydzxBgrlRbsm8tdzkdzE3rQUfQ RXYTPcjHGFv4LFFygzhowl0uthKM6M0jojo4pfqh/d7T+E/fX0yycKOEGetyqv4W8q+D lroq85m6Gjo4UK9RkPem5GSg27vbeGa55pSmzu0XRQ8lsfMF/dh373HuFQB6WUt9EELd vy6ozDxkJQ73bJUnprxw0YYCopVR7Vw6jgtOQM/xPKEHatzQUdoOcTU2fMnz45uLcn/6 UKi9+kTKu++UYyfevm+iKeTTJSnylldr9YP+I3bPLdv8fEu4sjAHsdqxfhqYF4plPM8h QlXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735239353; x=1735844153; 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=Wwbk7kW0x2jiiU1PBgwVMGTXQPa0feRcUAeDI/nzYG4=; b=frKqqH7i1y4OFoennJYVm0+Y9Y7u+DffqMRtH5psM1C+FLvSYxUpMXafBZKFkTdBTy hZjpoKAQAjNiz1H1B/DKSgHt7efaBtyNFyU8s1pZRJ8THFUYI7ifTSdIWjqb4GokgICd x0mCiOM9E/LiHCxxaVjIWkxQfqCkTY8oU1Qz/WcYGBNjtpvE9BvUss0C0PrwJFs6MS4g 65S9ZhMNTPg0FF/4ZnG/3ELFln91OHEnlM8aqFDe6N//BApY8Ka6BNySecm33llfuADb A7G7Rik0vftUCEi3LwHXiiQBTyzOxtF+43kJEXRGXjZXSFM/y2faE0gWiU8/Q/6+eaWO H9Vw== X-Forwarded-Encrypted: i=1; AJvYcCUpM4uVv5jTXGVVdGeIRDyrxfpoixYduGzKT6T8okWAojz3zjVUaBx8T57B9yTQG/gc8bD2fiv7A5eTPfHY@gnu.org X-Gm-Message-State: AOJu0Yy+2OhQOic3s7OigMNE0/4R0MzEFfP/GRPvrwljOfpNkrjXEaD8 jDeqMHjfbipQyhrhcVrsTHRLVN5X1cuFZPI6YN3C26woU6JQ2J/F X-Gm-Gg: ASbGncuWkzgp3l/2bmdbI7YYx6pQhWK4mBaBrhxqJQRwp+TvoZRH1zdLM1VuPmbJOXu HOqC5tpcnTFtDDWeKwd/4YxyT7y20O1I5y1Vxyu9XZTxOn3FmCghICvUfk2B/jCR4/TqOyGVsv3 DbXpBDnMi+oVGUVaNYZzYjPTYDmSBuN8nGCDMt/GvMwL+Ietnxd6N75ZHnUZxyId6DqqZ1jsiLp HJOqvr/5cEkBEBRjV6uMt70pNaGZP/0wL3LDUWictaq8vm5kOvBlw7DEX4gElXoXZd9+w== X-Google-Smtp-Source: AGHT+IFHr5BOKFqMc+ClYcBFlUrzhmMr4lbRyJrvZkkfw5w6wnD2c0m9W64kLtIdureLQO6/JSLyag== X-Received: by 2002:a17:902:ec86:b0:216:7ee9:222c with SMTP id d9443c01a7336-219e6e8c980mr204760485ad.7.1735239353381; Thu, 26 Dec 2024 10:55:53 -0800 (PST) Received: from localhost ([2600:8802:5726:2500:b0ad:16dc:5de1:fa47]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc962940sm122735305ad.34.2024.12.26.10.55.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Dec 2024 10:55:52 -0800 (PST) From: Karthik Chikmagalur To: Ihor Radchenko 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: <87y10jfk9c.fsf@localhost> References: <87frn6ihk5.fsf@thaodan.de> <87zflc1gh3.fsf@gmail.com> <6755ee4b.050a0220.72360.6df4SMTPIN_ADDED_BROKEN@mx.google.com> <871pyc2jbh.fsf@gmail.com> <87y10jfk9c.fsf@localhost> Date: Thu, 26 Dec 2024 10:55:52 -0800 Message-ID: <87v7v6mfyf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=karthikchikmagalur@gmail.com; helo=mail-pl1-x632.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 7C11E7F85F X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.39 X-Spam-Score: -4.39 X-TUID: 9D2GsCTUG7h5 >> 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. I will remove that message from org-link-preview-file. > 2. Maybe we can move the check about graphics to the specific preview > functions. What do you mean by 2? The check about graphics is already a part of org-link-preview-file, which is a specific preview function. Karthik