Juri Linkov wrote:

This bit me because I don't like having the H for hi-lock-mode
displayed in the mode line, so I added

(setf (second (assoc 'hi-lock-mode minor-mode-alist)) nil)

to my init file.  This just broke.

I don't like having the H displayed in the mode line for no reason too.
I have a local fix that displays Hi in the mode line only when the
list of regexps to highlight is not empty in the current buffer.
This means it is displayed only when hi-lock has something to highlight.

Do you think it would be useful to use this logic by default in hi-lock.el?

As a user, I would love that! There's no reason for hi-lock-mode to not be enabled, as all it does is add a menu entry to the already small edit menu. Only displaying the H when hi-lock mode is doing something would be perfect!

  -- MJF


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to