Juri Linkov writes: >> @@ -353,7 +353,9 @@ outline-mode >> + (add-hook 'change-major-mode-hook #'outline-show-all nil t) >> + (add-hook 'hack-local-variables-hook >> + #'outline-apply-default-state)) >> >> @@ -436,7 +438,9 @@ outline-minor-mode >> + (add-hook 'hack-local-variables-hook >> + #'outline-apply-default-state)) > > Are you sure about modifying the global value of hack-local-variables-hook > instead of the buffer-local hook with `nil t' at the end? Ah, ah, my bad. Many thanks! > (...) When this feature will be used a lot, even variable names will > affect usability - with longer names usability deteriorates, and 40 > characters of 'outline-default-state-subtree-visibility' takes half of > the standard window width. Would it be possible to find a shorter > name? Good point. > Since it defines the rules, how about 'outline-default-rules'? LGTM. > (...) Also outline-long-line-threshold and > outline-line-count-threshold could share the same prefix, maybe: > > # outline-default-long-line: 200 > # outline-default-line-count: 100 Adopted!