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

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

[elpa] externals/ement b8356417ff 2/5: Revert "Fix: (ement-room--pp-thin


From: ELPA Syncer
Subject: [elpa] externals/ement b8356417ff 2/5: Revert "Fix: (ement-room--pp-thing) Timestamp with date headers"
Date: Thu, 25 May 2023 13:58:09 -0400 (EDT)

branch: externals/ement
commit b8356417ffce3c47cb5b1e2a338d42add17d5f29
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Revert "Fix: (ement-room--pp-thing) Timestamp with date headers"
    
    This reverts commit 94547e906d14b88064537b6a3f8c93c7432004bd.
    
    Inexplicably, while incrementing by 1 worked yesterday, today it needs
    3 again.  Something weird is going on here.
---
 README.org    | 1 -
 ement-room.el | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/README.org b/README.org
index 64db0d4630..b87ad8efbb 100644
--- a/README.org
+++ b/README.org
@@ -307,7 +307,6 @@ Note that, while ~matrix-client~ remains usable, and 
probably will for some time
 + Improve readme export settings.
 
 *Fixes*
-+ Minor adjustment to timestamp headers.
 + Extra indentation of some membership events.  (Thanks to 
[[https://github.com/Stebalien][Steven Allen]].)
 + Customization group for faces.
 + Don't reinitialize ~ement-room-list-mode~ when room list buffer is 
refreshed.  ([[https://github.com/alphapapa/ement.el/issues/146][#146]].  
Thanks to [[https://github.com/treed][Ted Reed]] for reporting.)
diff --git a/ement-room.el b/ement-room.el
index 723e9fa31b..3708734435 100644
--- a/ement-room.el
+++ b/ement-room.el
@@ -3163,7 +3163,7 @@ seconds."
                                ;; HACK: Rather than using another variable, 
compare the format strings to
                                ;; determine whether the date is changing: if 
so, add a newline before the header.
                                (progn
-                                 (cl-incf width 1)
+                                 (cl-incf width 3)
                                  "\n")
                              ""))
             (alignment-space (pcase ement-room-timestamp-header-align



reply via email to

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