From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#56820: outline-minor-mode replacing the first character with an arrow Date: Fri, 29 Jul 2022 21:40:44 -0700 Message-ID: <6f08dc50-6771-c236-68ec-54f9e6952e99@gmail.com> References: <87ilngmaei.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26752"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56820@debbugs.gnu.org To: Yilkal Argaw , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 30 06:41: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 1oHeHm-0006r2-KC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jul 2022 06:41:10 +0200 Original-Received: from localhost ([::1]:45332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHeHl-00008Q-Go for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jul 2022 00:41:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHeHf-000085-4F for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2022 00:41:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHeHe-0005fm-PY for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2022 00:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oHeHe-0007iF-G4 for bug-gnu-emacs@gnu.org; Sat, 30 Jul 2022 00:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Jul 2022 04:41: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.165915605529624 (code B ref 56820); Sat, 30 Jul 2022 04:41:02 +0000 Original-Received: (at 56820) by debbugs.gnu.org; 30 Jul 2022 04:40:55 +0000 Original-Received: from localhost ([127.0.0.1]:33749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHeHX-0007hk-0r for submit@debbugs.gnu.org; Sat, 30 Jul 2022 00:40:55 -0400 Original-Received: from mail-pj1-f45.google.com ([209.85.216.45]:43847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHeHU-0007hV-0M for 56820@debbugs.gnu.org; Sat, 30 Jul 2022 00:40:53 -0400 Original-Received: by mail-pj1-f45.google.com with SMTP id o5-20020a17090a3d4500b001ef76490983so6985614pjf.2 for <56820@debbugs.gnu.org>; Fri, 29 Jul 2022 21:40:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:content-language:in-reply-to:mime-version :date:message-id:from:references:cc:to:subject:from:to:cc; bh=5q2O7p46CE8GlZkvt4qkivcZn/BJ4aGc8jkyywV2AYc=; b=Vg5zSqX2ZpnnfFa/nDeGkxEdS9Mwv0Hl53UX3VonDbitWhgSwRfdY3syN5g1q5nlFY MUz2wxck54EKdaTvGbh4gk5l1L24Bp/JKvRaN/swArsfRyYsrJPsxZlvbdS1WHgJYRix la2rty74WTGlD4zNChJUFzHjgY5Inwjgfx2UgpbnCQXsgOp3Tl1MhqEg17YRLPGVH2+1 PwG0ZiIBL0hhA2mzxG4CIWvDQE6fQrxPH8aw7+tHteiix2e6Y4c9QnpQTlIIv+Jl0xY7 sZXwQ4GyTfLFg0OfKIH0NtuJqWNtM7Srhozq4nkL/oYR6hwBO8eZBiBFv3s8rUN+YGLx MBhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-language:in-reply-to:mime-version :date:message-id:from:references:cc:to:subject:x-gm-message-state :from:to:cc; bh=5q2O7p46CE8GlZkvt4qkivcZn/BJ4aGc8jkyywV2AYc=; b=aobAhQGeVU3R92OzbWOsp95Tgz2Kbvb4tdmy0zybPi4hwJMZNQwj9OGMF0v2TcaJ9w dDhYWOgSDoj6zYIzmj3D0Vhmkvj0npS5EqTF3eMbOtf2sV+tMcwkb0R242Oko5m6MEYm 0a/NnxXQQy/XbAakr/eePBVVIXtw5K8KblehSVJOznYTrAyr2TQn8iasirn75DYTWCmk Pg6uBZTvBvqZOENBqsLBV7oJpkX/dfq7B1kb5nd4j8hS1o38qfxTInDK/5akNkokFEPm 1rubC2z2rYfMY305Gg0ArpMjUE9K97PgJ1vTl/5PKdP1V7Q8NGQ8kwF/HQ/+6z+UyOIG 665w== X-Gm-Message-State: ACgBeo3fUMNaO32c7/JMwO6ZcJeDqklnF8NExYiZftYRCmFb6s6NK3et b9c+uRr0MWRE6T6Zz346SEB8wWVCGFY= X-Google-Smtp-Source: AA6agR5F0wXp6fpOyzaH/1WA0iPxBCJglBzQyf61OshZcqjMokGZDMh6Cokx8TO7iV9j8zOAcfbZ+g== X-Received: by 2002:a17:903:1111:b0:16a:acf4:e951 with SMTP id n17-20020a170903111100b0016aacf4e951mr6842646plh.72.1659156046006; Fri, 29 Jul 2022 21:40:46 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id rj1-20020a17090b3e8100b001f21646d1a4sm14551066pjb.1.2022.07.29.21.40.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Jul 2022 21:40:45 -0700 (PDT) In-Reply-To: Content-Language: en-US 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:238231 Archived-At: 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...)