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:54:38 +0300 Message-ID: <83h71nkm1d.fsf@gnu.org> References: <87ilngmaei.fsf@gnus.org> <86wnaojst4.fsf@mail.linkov.net> <86mtbfdqdj.fsf@mail.linkov.net> <83ilm3ko51.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22299"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yilkalargawworkneh@gmail.com, 56820@debbugs.gnu.org To: juri@linkov.net, larsi@gnus.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 04 20:56:14 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 1oUumz-0005cd-SB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Sep 2022 20:56:14 +0200 Original-Received: from localhost ([::1]:39536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUumy-0005X9-Jk for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Sep 2022 14:56:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUump-0005Wx-3P for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 14:56:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUumo-00088I-KN for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 14:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUumo-0003BG-7u for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 14:56: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:56: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.166231771212161 (code B ref 56820); Sun, 04 Sep 2022 18:56:02 +0000 Original-Received: (at 56820) by debbugs.gnu.org; 4 Sep 2022 18:55:12 +0000 Original-Received: from localhost ([127.0.0.1]:45711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUum0-0003A5-7l for submit@debbugs.gnu.org; Sun, 04 Sep 2022 14:55:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUuly-00039s-7X for 56820@debbugs.gnu.org; Sun, 04 Sep 2022 14:55:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUuls-0007ty-FC; Sun, 04 Sep 2022 14:55:04 -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=HEbfwRIxBSqrrwEguXETtuwk+iU2W87diznDCsp8yVo=; b=WASlT2q6NZdn woxp1xFte+0yHg0unk3KZDNpyfTBztk1CI82lZow84Yx80Xo0ytjgbuYe6yaqFOCQBn6TwUjt+69v axV+0GxlWlGPv30bOb6uCRBsO9xCfTYgNKR1GCo/Hm5Bh78fJy6jbuU3d1KoCy6ckW/3OxwDQNgEy hOTdcB1NGz5fOxqhZT73dpVzdiJZESZqtZAcXcNoN3sz6X5tzOxcE0Cm4E8KvvUosa+XdgWgdMzj+ d4pNznVKYkhKIuin64D9wROWx0TyXIEL0EkKjYvwZinNblmpZshYal/pDZYDzIfL1sXXCOL57SMBF kiBDMZZlOJWaLCgbv//E2w==; Original-Received: from [87.69.77.57] (port=1661 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 1oUulr-0004gO-2q; Sun, 04 Sep 2022 14:55:04 -0400 In-Reply-To: <83ilm3ko51.fsf@gnu.org> (message from Eli Zaretskii on 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:241519 Archived-At: > Cc: larsi@gnus.org, yilkalargawworkneh@gmail.com, 56820@debbugs.gnu.org > Date: Sun, 04 Sep 2022 21:09:14 +0300 > From: Eli Zaretskii > > 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 Some more problems: . how does one turn the buttons on and off? changing the value of outline-minor-mode-use-buttons seems to work only in one direction -- to turn them on, and even for that, I need to click "Show All" first? I cannot seem to be able to turn the buttons off afterwards: even turning off outline-minor-mode doesn't remove them from display . it seems to be impossible to force Emacs to use emoji for buttons if the U+1F7E0 character doesn't have a font -- this is okay as the default, but if the user insists on using emoji and only emoji, why not let them? (I wanted to try emoji because outline-minor-mode doesn't define the image alternative, and I don't like the way the symbol alternative looks on display) . the buttons have a dark gray background that doesn't look good. what's worse, they have a darker (black?) 2-pixel margins on left and right, which disappear when the mouse pointer hovers above the button and the button is shown in mouse-face. the fact that these "margins" disappear explains why the arrow symbol moves horizontally when mouse pointer is moved across the button