[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycl
From: |
Philip Kaludercic |
Subject: |
bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line |
Date: |
Sun, 19 Sep 2021 20:40:05 +0000 |
Juri Linkov <juri@linkov.net> writes:
>> Replacing the (outline-on-heading-p) check with
>>
>> (looking-at outline-regexp)
>>
>> or
>>
>> (and (bolp) (looking-at outline-regexp))
>>
>> improves the experience for me, but I am not sure if
>> this is a general improvement. Could it make sense to have this as a
>> configurable option, or check the value of tab-always-indent and DWIM?
>
> So you propose to cycle only at the beginning of the line?
> But when tab-always-indent is set to 't', sometimes typing TAB
> at the beginning of the line is expected to indent the line
> instead of cycling outlines.
I didn't necessarily propose anything, it might only be able to solve
this using a option like
(defcustom outline-minor-mode-cycle-predicate ...)
as to allow for users to configure cycling as they see fit. Of course if
some consistent behaviour could be found that respects other options and
modes, then something automatic could also be used.
--
Philip Kaludercic
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line, Philip Kaludercic, 2021/09/19
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line, Juri Linkov, 2021/09/19
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line,
Philip Kaludercic <=
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line, Juri Linkov, 2021/09/20
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line, Juri Linkov, 2021/09/20
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line, Philip Kaludercic, 2021/09/20
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line, Augusto Stoffel, 2021/09/20
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line, Philip Kaludercic, 2021/09/21
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line, Augusto Stoffel, 2021/09/21
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line, Philip Kaludercic, 2021/09/21
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line, Augusto Stoffel, 2021/09/21
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line, Juri Linkov, 2021/09/21
- bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line, Augusto Stoffel, 2021/09/21