GNU bug report logs - #50679
28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line

Previous Next

Package: emacs;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Sun, 19 Sep 2021 16:25:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 28.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: Juri Linkov <juri <at> linkov.net>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: 50679 <at> debbugs.gnu.org
Subject: bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line
Date: Tue, 21 Sep 2021 20:53:44 +0300
>> Then you can customize it to 'bolp'.
>
> I just tried it out, and it looks good. The only thing I wonder is if
> this should apply to both outline-minor-mode and outline-mode?

You are right, this problem exists only for outline-minor-mode,
so it should be rather:

    :filter ,(lambda (cmd)
               (when (and (outline-on-heading-p)
                          (or (not outline-minor-mode)
                              (not (functionp outline-minor-mode-cycle-filter))
                              (funcall outline-minor-mode-cycle-filter)))
                 cmd))




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

Previous Next


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