GNU bug report logs - #77544
(WIP) [PATCH] Prettify page separators.

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Sat, 5 Apr 2025 05:02:02 UTC

Severity: normal

Tags: patch

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: (WIP) [PATCH] Prettify page separators.
Date: Fri, 04 Apr 2025 23:01:02 -0600
[Message part 1 (text/plain, inline)]
Tags: patch


This feature prettify the page separator character (^L) with
a horizontal line (to end of buffer) only if the character
is at beginning of line.

Unlike popular packages like page-break-lines and form-feed(-st), this
one is written in C and does not present performance problems (I hope).

This package tries to be close to page-break-lines and be an alternative
to make-separator-line.

This partially works, however there are a few bugs that I can't find a
solution for:

- It won't display the characters inserted in front.
  I want to make it similar to display-fill-column, that only
  insert the horizontal line character if the row is empty.
- For some reason it inserts newlines after inserting the character.
- The highlighting stops when inserting or deleting newlines from
  previous or next line.

I would like to hear your suggestions.

Thanks.

[0001-Prettify-page-separators.-bug.patch (text/patch, attachment)]
[Message part 3 (text/plain, inline)]
-- 
                                          - E.G via GNU Emacs and Org.

This bug report was last modified today.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.