From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EJXrNxxV8GXxYAAA62LTzQ:P1 (envelope-from ) for ; Tue, 12 Mar 2024 14:14:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id EJXrNxxV8GXxYAAA62LTzQ (envelope-from ) for ; Tue, 12 Mar 2024 14:14:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=p7MJa2Bt; 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=1710249229; a=rsa-sha256; cv=none; b=Ltr55/j5WKJKDKBKSSu9g65wUMJFrR288Db3DpfYBHUTpu2mUFN9HA7ng/Fa+DioCRjhoI vGLUfZdvP+7nH/njdUedwh35A62nUncYu5tjBYpe5gGhsMWY+Q0/FYv2y/qF+asFzftbB+ 1SA/6VwViCkDwXTHp4pjl0HR+giiiorzuX5mxiGZZmcS/2QprLPBSXsWLu7l8saVUtPrFW V+hJQdDkE/ZupjuSqSjXWklo32hieqW4rT9i2uPUorEv7vBJ2ys0gMVxxt0jRNAg7jZosY FKUBKkr+4lrunNo28ZB1S3bm6ue98ijSWBeOUIf6f+6FyNoA6xR8LeNMRygJ3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=p7MJa2Bt; 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=1710249229; 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=W0G0qRT0Xlxrucitjv/lzd0/oC15Uz2fKlcvOL0VlPk=; b=mCeCUtbZqc+JR7bjs/YxsxKOR8MfIpZifGet07d3Od5yNK3H65diR7x4XLWkWn7YlHeoyo k/F5BTgJCsLCUgx9+W7q+QlLKm+FLQFB+aZxlKVQ36xOw1limqHWrOkt4b0RZT5+7GOcrO hzIiI11zeHIiuR+vGSeL2p9gjtRRyciovjJCazZiwLUlHOh4sGmYhtnOiVSh19LC4ekbvU V/L94aZ72qtA3h3AN6/135eEhhmK7JVz9yeHMEmnQMSX8+97Lcl0VFqJsO6GVZtP/KmUkF HEM0afoyqZsYj/I31gLZSB35PE5TegW2NLRe/o87+HDNE2zmTh3qNNBboeryTA== 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 273722383F for ; Tue, 12 Mar 2024 14:13:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rk1vr-00066j-2A; Tue, 12 Mar 2024 09:12:39 -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 1rk1vm-00065D-2s for emacs-orgmode@gnu.org; Tue, 12 Mar 2024 09:12:34 -0400 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 1rk1vh-0006Ro-SF for emacs-orgmode@gnu.org; Tue, 12 Mar 2024 09:12:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1137E240029 for ; Tue, 12 Mar 2024 14:12:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710249147; bh=9ddRCspvJyFRLzQ6iwvVbazvs+6ilKe2tgzXNcExbQs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=p7MJa2BtwMWSfqMtWzIPJLH4VLDyjp2yPuO7lDugmDprG+4qnnGFWVE5AFQXDymsc otv+C7A8RgAOl/aAbkSmGF0+Dh3IK+Gx3ZONXzmZBoM7BoQIoMKqwWUeeNXaP4rT3k Ls1h3stlIHBMKXmlK6jxfzn4Oy2oNdQtuyuR2w39JkO28NzvUylFVv5jxCZ//AYOF5 Wk8bC+J4i9mPS0ON80oyqdPhGqFUxCEkJZjLF3MEnR3MQPh3ZHQ8g+iu0QsKT98esA I76VLlPEhzhpUCZj524Q0JOjhcuBHbrgd8p2eaoPb9Wsw//deHhIULBL4jf6Eo8Pl1 SY6WBnfYu+Qvg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TvDZf0Ry9z6tvd; Tue, 12 Mar 2024 14:12:25 +0100 (CET) From: Ihor Radchenko To: Damien Cassou Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] [PATCH] Use new face org-caption for #+caption lines [9.6.21 ( @ /home/cassou/.emacs.d/lib/org/lisp/)] In-Reply-To: <87le6q5ip9.fsf@cassou.me> References: <87le6q5ip9.fsf@cassou.me> Date: Tue, 12 Mar 2024 13:16:38 +0000 Message-ID: <87plvzd1zd.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, 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-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.52 X-Spam-Score: -6.52 X-Migadu-Queue-Id: 273722383F X-TUID: IEM1RLQkddTl Damien Cassou writes: > Currently, the caption of a picture (here the text "Description of the > piture") has the face `org-block': > > #+CAPTION: Description of the picture. > #+RESULTS: > [[file:./picture.png]] > > I don't see any reason for the caption to use the same face as code > inside blocks as captions are expected to be human-readable text. > > Attached patch introduces a new `org-caption' face applied on captions. > For conservative reasons, the new face inherits from `org-block' but I > can change that if you want. Thanks! Ideally, we should fontify caption text as normal Org text and maybe apply some face on top (but not necessarily). Postponed after fontification rewrite (https://orgmode.org/list/87ee7c9quk.fsf@localhost). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at