From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yilkal Argaw Newsgroups: gmane.emacs.bugs Subject: bug#56820: outline-minor-mode replacing the first character with an arrow Date: Sat, 30 Jul 2022 06:27:27 +0300 Message-ID: References: <87ilngmaei.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20835"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56820@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 30 05:28:11 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 1oHd99-0005Dp-D9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jul 2022 05:28:11 +0200 Original-Received: from localhost ([::1]:52028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHd98-00054L-0P for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Jul 2022 23:28:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHd90-000549-28 for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 23:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43979) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHd8z-0001Oe-Px for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 23:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oHd8z-0005pP-Ja for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 23:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yilkal Argaw Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Jul 2022 03:28:01 +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.165915166722384 (code B ref 56820); Sat, 30 Jul 2022 03:28:01 +0000 Original-Received: (at 56820) by debbugs.gnu.org; 30 Jul 2022 03:27:47 +0000 Original-Received: from localhost ([127.0.0.1]:33728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHd8l-0005oy-CQ for submit@debbugs.gnu.org; Fri, 29 Jul 2022 23:27:47 -0400 Original-Received: from mail-yw1-f176.google.com ([209.85.128.176]:40921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHd8i-0005oi-OE for 56820@debbugs.gnu.org; Fri, 29 Jul 2022 23:27:45 -0400 Original-Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-31d85f82f0bso67174047b3.7 for <56820@debbugs.gnu.org>; Fri, 29 Jul 2022 20:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Uf87bXDRqKbvlkzFsNjibFheVDEP9LuK776K+/G7x80=; b=ez5VtCR9AEMTHS8ZwtNZdGn4rE5lsl6jWgy4aHwZd441fS9R4HYxObs5OQU5aSJKJF Y8LoGGang8bZQAsovXqcvzx3JPoqt4Hr87iGiPZL1qF5yh0QUUCyc1Ijl+CNkfHdU1CD idxHOMCAAGDoNpPDOGKkoNUfi0OdxxIrEl98RCN/zPe5EnqEW/3zVfXf4/aBdtnwWsrA J6r9xxnYXAM76+malRPbwQ9xjaElxKZuJ2CyqSRE2vqrRPRXii+GEhb+zS6al6h13utY Tc6POIEW7fAyk19FIxuMeNyTCWCXG7iwPldYuRCSa+CV2dW+UADBmdq9V4gzG50V9fHi nwMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Uf87bXDRqKbvlkzFsNjibFheVDEP9LuK776K+/G7x80=; b=C9gdYLpnxWx9hAKeZXmkPkSBVI/C9fFlNXkwDoRn+bmeBUsoMfVSbnUjRDJ2EWMG+m ZL6pUA+tzjBrolb+2paG3LeSgsfxcGMNiyuyr/+/RO+fEqV0ZIz4AVjZXqNK7pOKFVzd tHpsnRhb8ic1zAHqIe7XQYAdduFfD8NqYOFZJ/gTQBOlhbIkOz9R9FBgG07T1Jawmosq wBbJd+ENL3VU2CDf+DBf1dUkh/veeldgjtErZwyz0nhMo00jbYq4Z3J040vz5l2Uy8eQ b9H7Cr0I4m52xDJX5ZLDdoOFJ7Ne/VwfbKVDgNtK7mj2MDoyfyRISOeIeugASfNA9hCb cWlA== X-Gm-Message-State: ACgBeo2beCAKV5CT1tyeVBBaON12RzZHAC0xqCu5vJLmaqflqMIGIvSn d0ZaR0b/VAiRqJAKiNOu42g2Am/elXyEZaXXPNI= X-Google-Smtp-Source: AA6agR5dwyURlLuVHm/NNk8diCthbrlGg4ebZXImFN+ruIEZFDKTlzf/MArs6/VZIWZT0PAa2WKym9RFR+R70V9OTTU= X-Received: by 2002:a81:6ed4:0:b0:31f:611d:92d1 with SMTP id j203-20020a816ed4000000b0031f611d92d1mr5648347ywc.36.1659151659001; Fri, 29 Jul 2022 20:27:39 -0700 (PDT) In-Reply-To: <87ilngmaei.fsf@gnus.org> 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:238230 Archived-At: > I've now fixed this in Emacs 29. Thanks that fixed the default behaviour but outline-minor-mode-use-buttons option still has a weird bug because when you use it with modes like python-mode and ruby-mode it replaces the first character of the outline-regep which for the aforementioned modes is strings like "module", "class", "def" etc... so when it replaces the first character it renders the buffer unreadable. So it might be better to insert the arrows in front of the first character instead of replacing the first character. There is also the issue of the arrows being displayed when outline-minor-mode is disabled after folding and unfolding. Sincerely and Gratefully Yilkal On Fri, Jul 29, 2022 at 2:22 PM Lars Ingebrigtsen wrote: > > Yilkal Argaw writes: > > > Today I compiled emacs from source and while using outline-minor-mode > > it started replacing the first character with an arrow whenever I fold > > the code. > > I've now fixed this in Emacs 29. >