[Top][All Lists]

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

[GNU ELPA] Logos version 0.4.0

From: ELPA update
Subject: [GNU ELPA] Logos version 0.4.0
Date: Thu, 02 Jun 2022 17:02:57 -0400

Version 0.4.0 of package Logos has just been released in GNU ELPA.
You can now find it in M-x package-list RET.

Logos describes itself as:
  Simple focus mode and extras

More at

Recent NEWS:

                          CHANGE LOG OF LOGOS

The newest release is at the top.  For further details, please consult
the manual: <>.

Version 0.4.0 on 2022-06-02

  ⁃ The Git repo is now hosted on SourceHut.  Mirrors are available on
    GitHub and GitLab—users can open issues there if they find it
    difficult to use the official mailing list.  The sources:

    ⁃ Official manual: <>
    ⁃ Change log: <>
    ⁃ Git repo on SourceHut: <>
      • Mirrors:
        ⁃ GitHub: <>
        ⁃ GitLab: <>
    ⁃ Mailing list: <>

  ⁃ The new user option `logos-hide-fringe' conceals the fringe by
    applying the same background as the default face.  It does not
    interfere with `fringe-mode', such as by adjusting its size.  This
    option complements `logos-olivetti' and is only relevant if the
    `fringe' face has a distinct background.

  ⁃ The new `logos-focus-mode-extra-functions' is an ordinary hook that
    unlocks the potential of `logos-focus-mode' by allowing the user to
    trigger any effect when the mode is toggled.  Its doc string
    references functions from `logos.el' that can be adapted at the user
    level to pursue varied ends, while the manual furnishes a
    ready-to-use sample for `org-indent-mode'.  This feature was
    inspired by the inquiry of Ypot in issue 1 over at the GitHub
    mirror: <>.

  ⁃ The default value of the user option `logos-outline-regexp-alist'
    now includes an entry for `markdown-mode' to determine what
    constitutes a heading there.  This helps with motions such as
    `logos-forward-page-dwim' while it makes Markdown equally useful for
    a focused reading or presentation (with `logos-focus-mode').

  ⁃ The manual includes a link to a publication of mine where I explain
    what the "devel" version of GNU ELPA is and how to make use of it:

Version 0.3.0 on 2022-03-30

  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

  Thanks to Omar Antolín Camarena for commit …  …

reply via email to

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