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 12:24:05 +0300 Message-ID: References: <87ilngmaei.fsf@gnus.org> <6f08dc50-6771-c236-68ec-54f9e6952e99@gmail.com> 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="23444"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 56820@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 30 11:25:12 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 1oHiid-00060q-Us for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jul 2022 11:25:11 +0200 Original-Received: from localhost ([::1]:35636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHiic-00071K-FB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jul 2022 05:25:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHiiU-00070f-C0 for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2022 05:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHiiU-0000io-1r for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2022 05:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oHiiT-0000w9-V5 for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2022 05:25: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 09:25: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.16591730633541 (code B ref 56820); Sat, 30 Jul 2022 09:25:01 +0000 Original-Received: (at 56820) by debbugs.gnu.org; 30 Jul 2022 09:24:23 +0000 Original-Received: from localhost ([127.0.0.1]:34046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHihr-0000v3-Ay for submit@debbugs.gnu.org; Sat, 30 Jul 2022 05:24:23 -0400 Original-Received: from mail-yb1-f180.google.com ([209.85.219.180]:39455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHihp-0000up-Sb for 56820@debbugs.gnu.org; Sat, 30 Jul 2022 05:24:22 -0400 Original-Received: by mail-yb1-f180.google.com with SMTP id r3so11760151ybr.6 for <56820@debbugs.gnu.org>; Sat, 30 Jul 2022 02:24:21 -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=nC5zxASH6itZRjYD1PaPGXHByl2rvQxEnOqk6R35CUU=; b=FyqJ6qob9xvwJFpKm3Wwu7EjaEGfr73gk0nMk9gzycmdfHGjmb2RxvRV/OmTc4OpLy z/ixO6SLl6U9VOMYO6PS68BQwvRySCoNc65o3hxtIeDWUfl75d6pzfecKVUlQ+2XIVhm 8ANGvYCtlEIG2AI9ssB9CIAEVYtMQ5GTEGZ2dPmwylxl7fv/ih0txokwmDjTFh3byDwq WRKuGSwsLBXNOHAIDMBqtu7qiS8DDu2DYQ11vAF4sUV/bLI0irv07mzE6ofFutfAHGQJ kZXe1gCLGPi5UGIxweqRMFv/2Un3HlcxH7aw7qayoghcAgVoiT9pKDFI23EoCl3wWxlX V0cQ== 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=nC5zxASH6itZRjYD1PaPGXHByl2rvQxEnOqk6R35CUU=; b=6ZA3d0DjsvwETRNqYeGojZWDDIXGu5HsjCs9++Vtn2/vdS0LtrXhv1hpY8NSJMKhIu eVQDr9OZ6naXumNMmNicYZkVkvhuWvWXsCfAH3nRzPc08JnNMgikp/v7wIvVi4C3Y3t2 Fj34mReIc8Snj1VFio91EjkngsotlxIHLteB4qpMxuqdr30W0Gkq+X2xQqWQrT0IPgDo k9zFE/3x9FdQf8zKUESZsIFQuWNE8G/bW8Ob//Ieh9ynNwtvCfu8aPPekqPx3s5LbE64 UBY6o4rzz2JPsC6VovjbDAySAD70UZFTy1sUiyYwQrCAJ35+Nk61wWkrrtvvtT3hJuIB YziQ== X-Gm-Message-State: ACgBeo0fpvihjBQxz8+zqJjW0htmFN20xiu5wQB2B+CLcSHrBgIBxkt6 qReddINofRViOCo8Q0fd1eEl0Vxr4euk/FrmX70= X-Google-Smtp-Source: AA6agR56VpBMGhG57BsUD3ISOhqvn1hJpID9NqFgLHL+Ixzz4Ymf+TixNV/SOm7tQri1SjMJ3Q99knI7o50KoTcMHMY= X-Received: by 2002:a25:ae14:0:b0:671:7d91:16f with SMTP id a20-20020a25ae14000000b006717d91016fmr5183283ybj.120.1659173056364; Sat, 30 Jul 2022 02:24:16 -0700 (PDT) In-Reply-To: <6f08dc50-6771-c236-68ec-54f9e6952e99@gmail.com> 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:238246 Archived-At: I think that would be a better approach. The fringe might be to narrow and might be over crowded if there is another app using it but it would not affect buffer content On Sat, Jul 30, 2022 at 7:40 AM Jim Porter wrote: > > On 7/29/2022 8:27 PM, Yilkal Argaw wrote: > > 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. > > Would it make sense to put the buttons on the fringe? I suppose other > indicators might compete with the outline-minor-mode buttons then, but > at least it wouldn't disrupt the buffer contents. > > (Maybe some modes like help-mode would still want in-buffer buttons > though...)