GNU bug report logs - #51809
29.0.50; [PATCH] Support for outline default state in Diff buffers

Previous Next

Package: emacs;

Reported by: Matthias Meulien <orontee <at> gmail.com>

Date: Sat, 13 Nov 2021 13:10:02 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 51809 <at> debbugs.gnu.org, Matthias Meulien <orontee <at> gmail.com>
Subject: bug#51809: 29.0.50; [PATCH] Support for outline default state in Diff buffers
Date: Sat, 05 Feb 2022 23:00:05 +0100
Juri Linkov <juri <at> linkov.net> writes:

>> I see one problem: Once one has some default state configured for Diff
>> mode, it applies to patch embedded in Gnus Article buffers, but there
>> the outline-minor-mode keymap isn't active and there's no way to toggle
>> headings visibility... No idea how to improve this situation...
>
> Oh, I see now it's a real problem.  Some patches are not displayed
> because their hunks are hidden.  Fro example, a patch from bug#53770
> attached below, becomes hidden with these settings:
>
>   (add-hook 'diff-mode-hook
>             (lambda ()
>               (setq-local outline-default-state 2)
>               (outline-minor-mode 1)))

Hm, that's not good...  Perhaps we could just disable outline on the
Gnus level when displaying parts?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 91 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.