~rjarry/aerc-devel

aerc: pager: show basic stats by default v1 NEEDS REVISION

: 1
 pager: show basic stats by default

 1 files changed, 1 insertions(+), 1 deletions(-)
#782014 alpine-edge.yml success
#782015 debian-stable.yml success
#782016 fedora-latest.yml success
#782017 openbsd.yml success
Hmm, the man page says these options are related to search highlighting. With + you are disabling them but since they are already disabled by default, I don't know what this does.

By the way, I tried adding only -M and I get both line numbers and percentage displayed in the footer.

Do you have something defined in the LESS env var?
Robin Jarry, Jun 22, 2022 at 08:51:
Next
Moritz Poldrack, Jun 22, 2022 at 11:12:
Next
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~rjarry/aerc-devel/patches/33063/mbox | git am -3
Learn more about email & git

[PATCH aerc] pager: show basic stats by default Export this patch

From: Jaskaran Veer Singh <mail@jaskaran.org>

In pager, show current displayed line numbers, and the length of message
(in percentage) currently visible to the user. Should help in reading
long messages.
Signed-off-by: Jaskaran Veer Singh <mail@jaskaran.org>
---
 config/aerc.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/aerc.conf b/config/aerc.conf
index 8043412..920fcb4 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
@@ -179,7 +179,7 @@ render-format=[%a] %S %>%T
# pager which supports ANSI codes.
#
# Default: less -R
pager=less -R
pager=less -R -M +Gg
#
# If an email offers several versions (multipart), you can configure which
--
2.30.1 (Apple Git-130)
aerc/patches: SUCCESS in 6m28s

[pager: show basic stats by default][0] from [][1]

[0]: https://lists.sr.ht/~rjarry/aerc-devel/patches/33063
[1]: mailto:mail@jaskaran.org

✓ #782015 SUCCESS aerc/patches/debian-stable.yml https://builds.sr.ht/~rjarry/job/782015
✓ #782017 SUCCESS aerc/patches/openbsd.yml       https://builds.sr.ht/~rjarry/job/782017
✓ #782014 SUCCESS aerc/patches/alpine-edge.yml   https://builds.sr.ht/~rjarry/job/782014
✓ #782016 SUCCESS aerc/patches/fedora-latest.yml https://builds.sr.ht/~rjarry/job/782016
Hi there,

, Jun 17, 2022 at 00:09: