From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gImiF2U4uWOPSQAAbAwnHQ (envelope-from ) for ; Sat, 07 Jan 2023 10:16:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YCLBFmU4uWM+iwAAG6o9tA (envelope-from ) for ; Sat, 07 Jan 2023 10:16:21 +0100 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 1635F10A2A for ; Sat, 7 Jan 2023 10:16:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pE5Is-00076D-E9; Sat, 07 Jan 2023 04:15:50 -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 1pE5Iq-000750-20 for emacs-orgmode@gnu.org; Sat, 07 Jan 2023 04:15:48 -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 1pE5Il-0000wX-GT for emacs-orgmode@gnu.org; Sat, 07 Jan 2023 04:15:45 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id ED4572401AA for ; Sat, 7 Jan 2023 10:15:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1673082941; bh=R1UcYZaEJuwQyll8CBG6Vig699W3k2wWBcsyWR2geno=; h=From:To:Cc:Subject:Date:From; b=PfhlbsLZclpzKaYzs2cVzw9P24dcc7zuv44BO0wxPyhc36JN5HHBhPYR08wCuVhjw iFaRWwakzmpo/Q4W1yZYK9sBtAwxywMA1Arg8Zz62nGTFtaGdd+xnGsCRbUy8VzMaE Wg40MLm1i3d1Cb4XUtY3mNRs5550N3YHYPywENIvd7NYub67GswLgQ5e04+xuVrnX+ G2yGk0z0RsQF3XglfLkYe2UKzpLmBnNXmvyqt70H7nJd4iU6dwUwTR/XvXTQfE7xHu Xw3t5gkGqkeSjF8+niiAghXX2SLgzPkzRtqCIPUhZ+GJ3HJMqsrwRRbFVeFvQQZAtO N7HsIqPQdQCwg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Npvgw0nt1z9rxK; Sat, 7 Jan 2023 10:15:39 +0100 (CET) From: Ihor Radchenko To: William Denton Cc: emacs-orgmode@gnu.org Subject: Re: How to make change the appearance of org-date inside a drawer? In-Reply-To: References: Date: Sat, 07 Jan 2023 09:16:13 +0000 Message-ID: <87ilhig0wy.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, 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673082981; 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=rUlAtJqb753yMloOcWW3Fp8kb2KJDmiFQiybFdIOhUk=; b=OnrkUANHAPrOLjaYtmi9R6lzgO+YzDwq5fSd1I3UcSP9bqtrkLrpONzXqi7m7506ZvlOx6 tfw9urkajfGj3j0XtCEqmBTDBBKOGMuAnZdOqzKMfXaDYHsxwb9ddXiUP2JljNgY1/NRJB U26FkbFeUwDWsXb74iwQInzuiYDS6nghlPmsbQjroy6fzD8C7WlIh5Ma7JRE+CBkh+q+7k JioaNes33X6pdevsn3a9gtKk2bnWIFXIiy1Z+4Xc8rMsF5I/PN1xqR2W9n0XS+BE8MQ55Q rPnl33sTKl52bw1KNh3d2pKil7qWLzniGuLCiqvS7ZmD2CX8CCldFfvBo5JVEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PfhlbsLZ; 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=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673082981; a=rsa-sha256; cv=none; b=brmrErCUrydX05Z4bmc8CtH74AeI6aLVn+mqOG47tZzUoJl8dpItASrMtp38mu/sDRTcrz EcDnqAMzOtqa2av0pRrE2ollPmN9HIQNo1+OBH6SfcAJqfKTzze2rLXH1hD+8HaqYfjxaG 9HtQYhhgz2BzVxEdr4Cti/r8vKZJpnJG1xaQPySHItpBpkiBXk2LiTtYeVLNV4lYbcuT3m HYDqOcyyFzhaGfZUQmZjPyqdEoPHMXRQDvRzrYD6E+5mEfhZX0E2n70dXAAQ4oVI7XMjtG ZAiZW2NCSKg9n4phPjBMXLdmGuyFSMO/U6I724EZ4W9IijJ0KxGUn6gUS5s3+Q== X-Spam-Score: -3.50 X-Migadu-Queue-Id: 1635F10A2A Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PfhlbsLZ; 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=posteo.net X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.50 X-TUID: P8hyvgCr7I1N William Denton writes: > describe-char there tells me the timestamp has the face org-date. Is there a > way to make org-date smaller when it's in a drawer? I don't want to make a > global setting for it, because I often use dates in headings. Not yet. For now, you can use `org-font-lock-set-keywords-hook' to add a custom font-lock keyword that will check if point is in drawer and apply alternative timestamp face. See `font-lock-keywords' docstring. It is long and not very easy to understand, but the options are flexible enough to achieve anything you want. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at