[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linum and AUCTeX: line number face
From: |
Stephan Hennig |
Subject: |
Re: linum and AUCTeX: line number face |
Date: |
Sun, 16 Sep 2007 12:30:46 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0 Hamster/2.1.0.1501 |
[This question has formerly been sent to gnu.emacs.help. Resending now
to gmane.emacs.devel (with test case).]
Hi,
when linum-mode is activated in LaTeX-mode, line numbers are not set in
uniform face, but it seems their face is inherited from the current
line's face, at least with regard to font weight.
That is, if a line starts with copy printed in bold face the line number
is printed in bold face, too. I find this very distracting.
Steps to reproduce:
1. File .emacs contains these lines:
(progn (cd "~/elisp") (normal-top-level-add-subdirs-to-load-path))
(require 'linum)
2. Start Emacs by typing 'emacs'.
3. C-x C-f test.tex
(On my installation this switches to LaTeX-mode.)
4. Type 'text RET \bfseries text RET'.
5. M-x linum-mode
Symptoms:
Both line numbers have different font weight.
Expected behaviour:
Both line numbers are printed in medium weight. Is there any way to
configure linum to do what I want?
Best regards,
Stephan Hennig
System:
GNU Emacs 22.1.50.1 (i386-mingw-nt5.1.2600) of 2007-07-07 on NEUTRINO
AUCTeX 11.84
linum.el 0.9n