GNU bug report logs - #76494
[PATCH] Highlight fill-column-indicator when current line is longer than `fill-column'

Previous Next

Package: emacs;

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

Date: Sun, 23 Feb 2025 04:22:02 UTC

Severity: wishlist

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Elijah Gabe Pérez <eg642616 <at> gmail.com>
Cc: 76494 <at> debbugs.gnu.org
Subject: Re: bug#76494: [PATCH] Highlight fill-column-indicator when current
 line is longer than `fill-column'
Date: Mon, 24 Feb 2025 14:31:39 +0200
> From: Elijah Gabe Pérez <eg642616 <at> gmail.com>
> Cc: 76494 <at> debbugs.gnu.org
> Date: Sun, 23 Feb 2025 19:15:07 -0600
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > The character is the same for all the screen lines, so if you change
> > it, that affects all the lines.
> 
> Not if you use setq-local which prevents this problem,
> such as this code:

There might be some misunderstanding: using setq-local makes the
character local to a buffer, whereas I thought you wanted to use a
special character only for the lines that exceed the fill-column?
When I use your code, then whenever I'm on a line that is too long,
_all_ the fill-column indicators in the window change into the U+2503
character shown in red, not just the indicator of that single line.

Did I misunderstand what you are trying to accomplish?




This bug report was last modified 75 days ago.

Previous Next


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