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

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

[elpa] externals/logos de6959ceef: Upgrade to version 0.3.0


From: ELPA Syncer
Subject: [elpa] externals/logos de6959ceef: Upgrade to version 0.3.0
Date: Wed, 30 Mar 2022 02:57:36 -0400 (EDT)

branch: externals/logos
commit de6959ceef59d818aa5ec2b1700932f5b78bcb78
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Upgrade to version 0.3.0
---
 CHANGELOG.org | 40 ++++++++++++++++++++++++++++++++++++++++
 README.org    |  6 +++---
 logos.el      |  2 +-
 3 files changed, 44 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.org b/CHANGELOG.org
index d659af2bf2..908bab67c5 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -10,6 +10,46 @@ tagged commit on the project's main git repository:
 The newest release is at the top.  For further details, please consult
 the manual: <https://protesilaos.com/emacs/logos>.
 
+* Version 0.3.0 on 2022-03-30
+:PROPERTIES:
+:CUSTOM_ID: h:1c2f2cf0-7617-4bb6-9525-eafa1269d06f
+:END:
+
+This release basically contains one major refinement about how buffer
+narrowing is handled.  In detail:
+
+1. If ~logos-outlines-are-pages~ is non-nil, it now includes the match
+   of the ~page-delimiter~ regexp in the narrowed region and leaves
+   point right after the ~page-delimiter~---so in Org mode, after the
+   stars.  (It is better to leave point there than at the very beginning
+   of the narrowed buffer to match the behavior of
+   ~logos-forward-page-dwim~ when the buffer is not narrowed.)  The
+   inclusion of the delimiter helps retain any folding functionality
+   associated with that line (e.g. Org headings).
+
+2. To avoid skipping pages in the narrowed case when point is at their
+   outer boundaries, =logos= checks if you are right at the start of a
+   ~page-delimiter~ and if so moves past the delimiter in the opposite
+   direction of the given motion: so if you are moving back, it puts you
+   after the delimiter, and if you are moving forward it puts you before
+   the delimiter.  (The bug was that if the point was at ~point-max~
+   while narrowed and moving forward, it would skip past a page and the
+   same in the opposite direction with ~point-min~.)
+
+3. Changed ~logos-narrow-dwim~ to call ~logos--narrow-to-page~ instead
+   of ~narrow-to-page~, so that it too includes the ~page-delimiter~
+   match in the page.
+
+4. The ~logos--page-p~ now always checks for the right delimiter, which
+   may be that of the outline if ~logos-outlines-are-pages~ is non-nil.
+   Whereas before it was hard-coded to the generic ~page-delimiter~.
+
+Thanks to Omar AntolĂ­n Camarena for commit
+=8c2e85033db982ef13a5e041012dc45d86d9de32= which covers the first three
+of the aforementioned points.  The contribution was sent as a patch via
+email.  Omar has already assigned copyright to the Free Software
+Foundation.
+
 * Version 0.2.0 on 2022-03-17
 :PROPERTIES:
 :CUSTOM_ID: h:c7f4f53d-0397-4586-8b21-e9b26dddf6e9
diff --git a/README.org b/README.org
index c1a342d564..3aa9cac382 100644
--- a/README.org
+++ b/README.org
@@ -5,9 +5,9 @@
 #+options: ':t toc:nil author:t email:t num:t
 #+startup: content
 
-#+macro: stable-version 0.2.0
-#+macro: release-date 2022-03-17
-#+macro: development-version 0.3.0-dev
+#+macro: stable-version 0.3.0
+#+macro: release-date 2022-03-30
+#+macro: development-version 0.4.0-dev
 #+macro: file @@texinfo:@file{@@$1@@texinfo:}@@
 #+macro: space @@texinfo:@: @@
 #+macro: kbd @@texinfo:@kbd{@@$1@@texinfo:}@@
diff --git a/logos.el b/logos.el
index b90176a313..16720fe0a1 100644
--- a/logos.el
+++ b/logos.el
@@ -4,7 +4,7 @@
 
 ;; Author: Protesilaos Stavrou <info@protesilaos.com>
 ;; URL: https://gitlab.com/protesilaos/logos
-;; Version: 0.2.0
+;; Version: 0.3.0
 ;; Package-Requires: ((emacs "27.1"))
 ;; Keywords: convenience, focus, writing, presentation, narrowing
 



reply via email to

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