emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ef-themes 6448a76fc2: Rewrite and simplify DIY note abo


From: ELPA Syncer
Subject: [elpa] externals/ef-themes 6448a76fc2: Rewrite and simplify DIY note about org-modern
Date: Thu, 22 Sep 2022 07:57:35 -0400 (EDT)

branch: externals/ef-themes
commit 6448a76fc225877672ce207b838b84f45ea7ac92
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Rewrite and simplify DIY note about org-modern
    
    Thanks to Daniel Mendler (the org-modern developer) for explaining the
    technicalities and correcting errors I made in the previous version of
    this entry: 
<https://github.com/protesilaos/ef-themes/commit/79bb1436f2fd8ab07e850c247c5616490f619f52>.
---
 README.org | 38 +++++++++++++++-----------------------
 1 file changed, 15 insertions(+), 23 deletions(-)

diff --git a/README.org b/README.org
index aab22ec6b0..0bfa4a0766 100644
--- a/README.org
+++ b/README.org
@@ -534,7 +534,7 @@ code that uses ~ef-themes-with-colors~.
 This section documents how the user can further tweak the Ef themes to
 their liking.
 
-** Style font of =org-modern= elements
+** Tweak =org-modern= timestamps
 :PROPERTIES:
 :CUSTOM_ID: h:32e3b7b2-3b53-4ec2-bd4e-fa24235e447d
 :END:
@@ -543,38 +543,30 @@ their liking.
 
 The =org-modern= package uses faces and text properties to make Org
 buffers more aesthetically pleasing.  It affects tables, timestamps,
-lists, headings, and more.  To achieve a uniform look, the package
-defines a face that applies to all of those restyled elements.  The face
-is ~org-modern-label~.
+lists, headings, and more.
 
-Depending on the user's font configurations, some elements may not line
-up properly.  The Ef themes used to prevent that phenomenon by expressly
-disabling all attributes of the ~org-modern-label~.  However, that only
-works for users who do not tinker with their packages, as it has the
-adverse effect of impacting the user option ~org-modern-label-border~.
+In previous versions of the Ef themes, we mistakenly affected one of its
+faces: the ~org-modern-label~.  It changed the intended looks and
+prevented the user option ~org-modern-label-border~ from having its
+desired effect.  As such, we no longer override that face.
 
-As such, the Ef themes no longer touch the ~org-modern-label~.  Users
-who want the old behaviour, are advised to include the following snipet
-in their init file.  They can add it, for example, after the call to
-load their theme of choice ([[#h:75d74aea-d17f-497f-a3b8-f0bf4c372de0][Loading 
a theme]]).
+Users who were used to the previous design and who generally do not
+configure the user options of =org-modern= may thus notice a change in
+how clocktables (or generally tables with timestamps) are aligned.  The
+simplest solution is to instruct the mode to not prettify timestamps, by
+setting the user option ~org-modern-timestamp~ to nil.  For example, by
+adding this to the init file:
 
 #+begin_src emacs-lisp
-;; Revert to previous style of ef-themes version 0.5.0.  This makes,
-;; e.g., timestamps align in tables since they have the same typographic
-;; attributes as the default typeface.
-(set-face-attribute 'org-modern-label nil
-                    :inherit 'unspecified
-                    :height 'unspecified
-                    :weight 'unspecified
-                    :width 'unspecified
-                    :underline 'unspecified
-                    :box 'unspecified)
+(setq org-modern-timestamp nil)
 #+end_src
 
 Alignment in tables will also depend on the use of proportionately
 spaced fonts.  Enable the relevant option to work with those without any
 further trouble ([[#h:621d3bb9-5967-4f97-b253-7470bba9168c][Enable mixed 
fonts]]).
 
+For any further issues, you are welcome to ask for help.
+
 ** The general approach to advanced DIY changes
 :PROPERTIES:
 :CUSTOM_ID: h:ec0adf54-c037-4c53-81b8-7eab2303794d



reply via email to

[Prev in Thread] Current Thread [Next in Thread]