From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56820: outline-minor-mode replacing the first character with an arrow Date: Sun, 04 Sep 2022 21:09:14 +0300 Message-ID: <83ilm3ko51.fsf@gnu.org> References: <87ilngmaei.fsf@gnus.org> <86wnaojst4.fsf@mail.linkov.net> <86mtbfdqdj.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12264"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, yilkalargawworkneh@gmail.com, 56820@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 04 20:10:29 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 1oUu4j-00033A-98 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Sep 2022 20:10:29 +0200 Original-Received: from localhost ([::1]:35236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUu4h-0002XJ-FX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Sep 2022 14:10:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUu4K-0002XB-1O for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 14:10:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUu4I-0001eT-6y for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 14:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUu4I-0001zj-2i for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 14:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Sep 2022 18:10: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.16623149887638 (code B ref 56820); Sun, 04 Sep 2022 18:10:02 +0000 Original-Received: (at 56820) by debbugs.gnu.org; 4 Sep 2022 18:09:48 +0000 Original-Received: from localhost ([127.0.0.1]:45676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUu43-0001z7-LO for submit@debbugs.gnu.org; Sun, 04 Sep 2022 14:09:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUu3z-0001yt-Js for 56820@debbugs.gnu.org; Sun, 04 Sep 2022 14:09:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUu3t-0001cX-Ts; Sun, 04 Sep 2022 14:09:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=84pamVh0GUsX8OF2U0lqXM8xJ4swA9opakE9KMET2Mo=; b=bHnyCm40kXOY wsljqMYk+v/ob97vUqx+gnCbOZ8vWq6y+SabyRWtNqAh/Sq6ewclHg7dmeBRpRQbmTXLftq40ENu/ VPPyhf3YGK5MZ+v4/WCeMoa3cxNMYYm2v2JpKrN4nq7gZUIosSHZQkWxqgzl1iy+ESRxcLFsJkfIr UmYtrYME6BkI/FuML9P47tJf9S8P2XzWKqOtFVHyzmoY/DzAEdnrf7Hnn8jwj3VyB0f/4lPw6hhYU AE7FVhE1409/BXo61ZMiOH5XmEs4189/GEEauSsYiORMAVj2lIZM+ZFbkfi+XnR+brV7iiGnpvPzU /avwt3Rf2H/AIrwntzZB5A==; Original-Received: from [87.69.77.57] (port=2834 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUu3t-0003T3-CA; Sun, 04 Sep 2022 14:09:37 -0400 In-Reply-To: <86mtbfdqdj.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 04 Sep 2022 20:02:48 +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:241517 Archived-At: > Cc: Lars Ingebrigtsen , 56820@debbugs.gnu.org > From: Juri Linkov > 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.