GNU bug report logs - #57876
[PATCH] pulse-momentary-highlight-one-line: Act on visual line

Previous Next

Package: emacs;

Reported by: Augusto Stoffel <arstoffel <at> gmail.com>

Date: Sat, 17 Sep 2022 08:24:01 UTC

Severity: normal

Tags: patch

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Augusto Stoffel <arstoffel <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: public <at> protesilaos.com, 57876 <at> debbugs.gnu.org
Subject: Re: bug#57876: [PATCH] pulse-momentary-highlight-one-line: Act on
 visual line
Date: Sat, 17 Sep 2022 13:31:55 +0200
On Sat, 17 Sep 2022 at 14:20, Eli Zaretskii wrote:

>> From: Augusto Stoffel <arstoffel <at> gmail.com>
>> Cc: 57876 <at> debbugs.gnu.org,  public <at> protesilaos.com
>> Date: Sat, 17 Sep 2022 12:56:44 +0200
>> 
>> > Why don't you use beginning/end-of-visual-line?
>> 
>> Because it obeys fields, so if you try to highlight a prompt line in a
>> comint buffer, only part of the line would be highlighted.
>
> It should be possible to disable fields temporarily by binding
> inhibit-point-motion-hooks, right?  I prefer doing that to reinventing
> the wheel of moving to the edges of the visible line.

This variable is allegedly obsolete since Emacs 25.  In any case, the
patch is really trivial, so how would this be making the code simpler or
more robust?




This bug report was last modified 2 years and 242 days ago.

Previous Next


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