unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: disable that the face of a newline character extends to the right
Date: Thu, 21 May 2009 22:11:22 -0600	[thread overview]
Message-ID: <gv58l7$nsv$1@ger.gmane.org> (raw)
In-Reply-To: <6a97a501-948a-47ad-997b-3743998fda04@l32g2000vba.googlegroups.com>

Florian Kaufmann wrote:
> The face of a newline character seems to extend to the right to
> infinity.
> 
> I have set the background color of font-lock-comment-face, but I find
> it ugly if now all comment lines have a colored beam at the right
> side.

Exclude the newline from the comment text, by adjusting the regexp or
the syntax table that is responsible for matching comments.

> Is there a way to configure how the background color of a newline
> character should be rendered? E.g. not at all, or just the newline
> character itself.

-- 
Kevin Rodgers
Denver, Colorado, USA





  reply	other threads:[~2009-05-22  4:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-17 23:28 disable that the face of a newline character extends to the right Florian Kaufmann
2009-05-22  4:11 ` Kevin Rodgers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-22  8:00 martin rudalics

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gv58l7$nsv$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).