all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephan Hennig <mailing_list@arcor.de>
To: emacs-devel@gnu.org
Subject: Re: linum and AUCTeX: line number face
Date: Sun, 16 Sep 2007 12:30:46 +0200	[thread overview]
Message-ID: <fcj0oi$nru$1@sea.gmane.org> (raw)
In-Reply-To: <46ea83d1$0$16117$9b4e6d93@newsspool1.arcor-online.net>

[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

       reply	other threads:[~2007-09-16 10:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <46ea83d1$0$16117$9b4e6d93@newsspool1.arcor-online.net>
2007-09-16 10:30 ` Stephan Hennig [this message]
2007-09-16 21:11   ` linum and AUCTeX: line number face Stephen Berman
2007-09-17 13:57     ` Stephan Hennig
2007-09-17 15:02       ` David Kastrup
2007-09-17 16:20         ` Stefan Monnier
2007-09-17 22:54           ` Stephen Berman
2007-10-11 16:30             ` Stephan Hennig
2007-09-17 17:38         ` Stephan Hennig
2007-09-17 22:54           ` Stephen Berman
2007-09-18  9:51             ` Stephan Hennig
2007-09-17 22:54       ` Stephen Berman

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='fcj0oi$nru$1@sea.gmane.org' \
    --to=mailing_list@arcor.de \
    --cc=emacs-devel@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.