emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hi-lock-buffer-mode and hi-lock-mode do not follow normal convention


From: M Jared Finder
Subject: Re: hi-lock-buffer-mode and hi-lock-mode do not follow normal convention
Date: Mon, 05 Dec 2005 20:50:26 -0800
User-agent: Debian Thunderbird 1.0.7 (X11/20051017)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]