From: Stephen Berman <Stephen.Berman@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: linum and AUCTeX: line number face
Date: Sun, 16 Sep 2007 23:11:44 +0200 [thread overview]
Message-ID: <87zlzm9uy7.fsf@escher.local.home> (raw)
In-Reply-To: fcj0oi$nru$1@sea.gmane.org
On Sun, 16 Sep 2007 12:30:46 +0200 Stephan Hennig <mailing_list@arcor.de> wrote:
> [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.
[...]
> Is there any way to configure linum to do what I want?
If you customize the linum face to default, then all line numbers have
the default face. It seems the default face does not "inherit" the
face properties of the string that the linum display property is on,
whereas, for example, the shadow face, used by default by linum.el
version 0.9n and later, does inherit at least some face properties or
attributes. You can also see the difference with parenthesis
highlighting, for example: if linum face is shadow, then highlighting
a parenthesis in column 0 also highlights the line number, but not if
linum face is default. I don't know just which other faces behave
like default and which like shadow (though the face (not just the
weight) bold seems to inherit even more attributes than shadow), nor
do I know why there is this difference. But I do know that this has
to do generally with display properties and display margins, not just
with linum.el.
Steve Berman
next prev parent reply other threads:[~2007-09-16 21:11 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 ` linum and AUCTeX: line number face Stephan Hennig
2007-09-16 21:11 ` Stephen Berman [this message]
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=87zlzm9uy7.fsf@escher.local.home \
--to=stephen.berman@gmx.net \
--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.