Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: small highlight problem with shr.el
Date: Thu, 21 Oct 2010 03:32:16 +0200	[thread overview]
Message-ID: <m3sk0072lb.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <b4mzku8wduz.fsf@jpl.org>

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> I often see it in the customization buffer for string (or function,
> etc.) options.  But it seems troublesome to make ELisp code exclude
> newlines while highlighting text.  How about asking Emacs team to
> introduce a new user option?  It defaults to t and newlines will
> never be highlighted.

That would be generally useful, but I'm not sure it would help in shr.
If you have indented text like this:

    Text that is
    underlined over two lines

Then you don't want the indentation to have the underline, and you don't
want to the newline to have it, either.  So I think the shr highlighting
code has to insert split font properties anyway...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




  reply	other threads:[~2010-10-21  1:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-20 19:28 Ted Zlatanov
2010-10-21  1:09 ` Katsumi Yamaoka
2010-10-21  1:32   ` Lars Magne Ingebrigtsen [this message]
2010-10-21  1:41     ` Katsumi Yamaoka
2010-10-21  1:45       ` Lars Magne Ingebrigtsen
2010-10-21  1:44 ` Lars Magne Ingebrigtsen
2010-10-21 18:22   ` Ted Zlatanov
2010-10-26 14:14     ` Ted Zlatanov
2010-10-29 23:03       ` Lars Magne Ingebrigtsen
2010-10-30  4:41         ` Lars Magne Ingebrigtsen

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=m3sk0072lb.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.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 NNTP newsgroup(s).