From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#56820: outline-minor-mode replacing the first character with an arrow Date: Tue, 06 Sep 2022 19:05:52 +0300 Organization: LINKOV.NET Message-ID: <86edwotx6n.fsf@mail.linkov.net> References: <87ilngmaei.fsf@gnus.org> <86wnaojst4.fsf@mail.linkov.net> <86mtbfdqdj.fsf@mail.linkov.net> <83ilm3ko51.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7899"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: larsi@gnus.org, yilkalargawworkneh@gmail.com, 56820@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 06 18:19:42 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVbIb-0001pT-Q1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Sep 2022 18:19:41 +0200 Original-Received: from localhost ([::1]:55830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVbIa-00031E-9d for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Sep 2022 12:19:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVbIL-0002yp-RX for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 12:19:26 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVbHz-0006SJ-1D for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 12:19:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVbHy-0008NL-Sg for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 12:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Sep 2022 16:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56820 X-GNU-PR-Package: emacs Original-Received: via spool by 56820-submit@debbugs.gnu.org id=B56820.166248112332137 (code B ref 56820); Tue, 06 Sep 2022 16:19:02 +0000 Original-Received: (at 56820) by debbugs.gnu.org; 6 Sep 2022 16:18:43 +0000 Original-Received: from localhost ([127.0.0.1]:52469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVbHf-0008MH-Hh for submit@debbugs.gnu.org; Tue, 06 Sep 2022 12:18:43 -0400 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:35861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVbHe-0008Lz-Bx for 56820@debbugs.gnu.org; Tue, 06 Sep 2022 12:18:43 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 2F9491C0003; Tue, 6 Sep 2022 16:18:34 +0000 (UTC) In-Reply-To: <83ilm3ko51.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 04 Sep 2022 21:09:14 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:241689 Archived-At: > 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? Does using before-string allows moving the cursor into the button displayed with before-string? > . 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? Same problem: the cursor can't be moved into the fringe indicator to be able to type RET on it. > . the buttons have a dark gray background that doesn't look good. The buttons that I see by default are much worse - their background is glaring orange.