From: Lute Kamstra <Lute.Kamstra@cwi.nl>
Cc: bug-gnu-emacs@gnu.org, Dave Love <fx@gnu.org>
Subject: Re: hl-line-mode is buffer-local in spite of its documentation
Date: Mon, 08 Sep 2003 17:07:41 +0200 [thread overview]
Message-ID: <sgdwucjgvya.fsf@occarina.pna.cwi.nl> (raw)
In-Reply-To: <mailman.359.1063031908.18171.bug-gnu-emacs@gnu.org> (Peter S. Galbraith's message of "Mon, 8 Sep 2003 10:21:32 -0400 (EDT)")
Peter S Galbraith <psg.debian.org@mixing.qc.dfo.ca> writes:
> hl-line.el says that `hl-line-mode' is a global mode and that:
>
> ;; You could make variable `hl-line-mode' buffer-local to avoid
> ;; highlighting specific buffers.
>
> but somehow hl-line-mode is always a buffer-local variable after
> invoking `emacs21 -q --no-site-file'. The side-effect is that it
> doesn't work as expected. If you turn it on, it is enabled in only
> that buffer and not globally. If you turn it on in a second buffer,
> it works in both buffers now, but if you turn it off in one of those
> buffers then it doesn't work in either since the hooks are removed
> globally.
Thanks for you report. You are right. It is already fixed in CVS.
In fact, line highlighting has changed somewhat. You can check it out
at:
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/emacs/emacs/lisp/hl-line.el?rev=HEAD&content-type=text/plain
Regards,
Lute Kamstra.
next parent reply other threads:[~2003-09-08 15:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.359.1063031908.18171.bug-gnu-emacs@gnu.org>
2003-09-08 15:07 ` Lute Kamstra [this message]
2003-09-08 16:05 ` hl-line-mode is buffer-local in spite of its documentation Kevin Rodgers
2003-09-08 14:21 Peter S Galbraith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sgdwucjgvya.fsf@occarina.pna.cwi.nl \
--to=lute.kamstra@cwi.nl \
--cc=bug-gnu-emacs@gnu.org \
--cc=fx@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.