GNU bug report logs - #56820
outline-minor-mode replacing the first character with an arrow

Previous Next

Package: emacs;

Reported by: Yilkal Argaw <yilkalargawworkneh <at> gmail.com>

Date: Fri, 29 Jul 2022 10:40:02 UTC

Severity: normal

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: larsi <at> gnus.org, yilkalargawworkneh <at> gmail.com, 56820 <at> debbugs.gnu.org
Subject: Re: bug#56820: outline-minor-mode replacing the first character with
 an arrow
Date: Sun, 04 Sep 2022 21:09:14 +0300
> Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 56820 <at> debbugs.gnu.org
> From: Juri Linkov <juri <at> linkov.net>
> Date: Sun, 04 Sep 2022 20:02:48 +0300
> 
> > This patch could help to alleviate the problem by keeping
> > the first character displayed on the outline button:
> 
> Pushed.

This doesn't work well:

  . moving the mouse pointer on and off the button causes horizontal
    movement of both the arrow and the following character, the one
    that was added to the overlay's 'display' string (I guess this
    depends on the font used for the arrow characters?);
  . one cannot put the cursor on the first character that's displayed
    on the outline button

I very much hope we can improve the visuals here, because otherwise
the feature looks unfinished at best.

Some related questions:

  . do we really need to hide the first character of the line by the
    overlay? doesn't before-string work?
  . wouldn't it be better if the arrow buttons were displayed in the
    window's margin, and would thus avoid indenting the characters on
    that line wrt the rest of the code?

Thanks.




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

Previous Next


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