GNU bug report logs -
#57813
Icon images are non-functional
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Wed, 14 Sep 2022 19:43:02 UTC
Severity: normal
Fixed in version 29.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #86 received at 57813 <at> debbugs.gnu.org (full text, mbox):
I wonder why outline-minor-mode-use-buttons is defcustom with a list of
modes. Usually outline-minor-mode is parameterized by buffer-local
variables set before calling outline-minor-mode, for example:
(setq-local outline-minor-mode-cycle t
outline-minor-mode-highlight t
outline-minor-mode-insert-buttons t)
(outline-minor-mode)
and
(setq-local outline-minor-mode-cycle t
outline-minor-mode-highlight 'append
outline-minor-mode-use-margins t)
(outline-minor-mode)
So shouldn't outline-minor-mode-use-buttons be just a buffer-local
variable like all other variables that affect outline-minor-mode?
Then it could be set in mode hooks like other variables:
(add-hook 'ruby-mode-hook
(lambda ()
(setq-local outline-default-state 2
outline-minor-mode-use-buttons t)
(outline-minor-mode)))
Also outline-minor-mode-use-buttons could be set in dir/file-local
variables that has no problem with early init as in major modes.
This bug report was last modified 2 years and 270 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.