From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WL8MMa0noV/OUwAA0tVLHw (envelope-from ) for ; Tue, 03 Nov 2020 09:49:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2HHoLK0noV99YwAAbx9fmQ (envelope-from ) for ; Tue, 03 Nov 2020 09:49:33 +0000 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 208909401CD for ; Tue, 3 Nov 2020 09:49:33 +0000 (UTC) Received: from localhost ([::1]:59262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZswW-0005oN-1w for larch@yhetil.org; Tue, 03 Nov 2020 04:49:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZsvw-0005oA-KQ for emacs-orgmode@gnu.org; Tue, 03 Nov 2020 04:48:56 -0500 Received: from mout02.posteo.de ([185.67.36.66]:54209) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZsvu-0004L0-36 for emacs-orgmode@gnu.org; Tue, 03 Nov 2020 04:48:56 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 8F1182400FC for ; Tue, 3 Nov 2020 10:48:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1604396929; bh=l4tY28+NsBnVA1eUbyr3xPENOx1WYur/7HjX2zmC58g=; h=From:To:Subject:Date:From; b=Ydijk/6mLzES6zIzuljCMbOP7PHuJ+cbL0qitrjMa7nT+evyOy+7M8BR+2907DMlS YT47xhq46i4N45TAepQkUIcbsaUOQHmg5QGBVlzNPZUNC6JV4GLbWAF9lB2KzX+qs1 +Ij0a3lGTqsY2kZnr/rrK4lQ8uMdm47tqXGa8Vm2sr0wAwE/Vd9+LM04BTavCcerL+ FNjl1yWVH2OXVFzpaMXQ8fQT5hryZX+zxDun8Zr5RvNIfByK/yUsLsC4HhNRVH0fLG XGjK1Wa6oqQofS3ujxlnRcK6zmI4iNuE6ZYq+5pMrdswp7wEJtTqlFurej2t3irObY SBejcd+GxqU8w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CQQ350X6xz9rxS for ; Tue, 3 Nov 2020 10:48:48 +0100 (CET) User-agent: mu4e 1.5.5; emacs 28.0.50 From: Titus von der Malsburg To: emacs-orgmode@gnu.org Subject: [PATCH] lisp/org.el: Use `org-document-info' face for subtitles Date: Tue, 03 Nov 2020 10:48:48 +0100 Message-ID: <87lffi7ou7.fsf@posteo.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.66; envelope-from=malsburg@posteo.de; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/03 04:48:49 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=Ydijk/6m; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: q34Kyk9AN1Yo --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Org currently uses `org-meta-line' to display the value of the #+subtitle: = property. However, the subtitle isn=E2=80=99t meta information, but docume= nt information supposed to be displayed in the exported document like title= , author, date, e-mail. The attached patch uses the face `org-document-inf= o' to display subtitles, which is the same face as for title, author, date,= e-mail. Titus --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-lisp-org.el-Use-face-org-document-info-for-subtitle.patch >From ffb43ad434031ff0ae335711d7ac29c8a4973417 Mon Sep 17 00:00:00 2001 From: Titus von der Malsburg Date: Tue, 3 Nov 2020 10:32:57 +0100 Subject: [PATCH] lisp/org.el: Use face org-document-info for subtitle * lisp/org.el: The value for the #+subtitle: property is now displayed with face `org-document-info' instead of `org-meta-line'. Like the title, author, e-mail, date, the subtitle is information that is displayed in the exported document. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 03df139fb..27f09645b 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5307,7 +5307,7 @@ by a #." (min (point-max) end-of-endline)) '(face org-block-end-line))) t)) - ((member dc1 '("+title:" "+author:" "+email:" "+date:")) + ((member dc1 '("+title:" "+subtitle:" "+author:" "+email:" "+date:")) (org-remove-flyspell-overlays-in (match-beginning 0) (if (equal "+title:" dc1) (match-end 2) (match-end 0))) -- 2.25.1 --=-=-=--