From: Daiki Ueno <ueno@unixuser.org>
Subject: [PATCH] Emphasis in headers
Date: Tue, 11 Dec 2001 00:44:06 +0900 [thread overview]
Message-ID: <13ffa140-4a95-49ee-94d2-60f92af660ff@deisui.bug.org> (raw)
Hi,
I tried to emphasize an article which has an X-Now-Playing header by
setting gnus-treat-emphasize to 'head. The album name ("Thrak" in this
mail), however, is not underlined even then I hit `t' to show all
headers.
Here is a small patch to gnus-article-emphasize.
Index: gnus-art.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-art.el,v
retrieving revision 6.122
diff -u -F^( -r6.122 gnus-art.el
--- gnus-art.el 2001/12/07 15:13:32 6.122
+++ gnus-art.el 2001/12/10 15:14:01
@@ -2510,8 +2510,9 @@ (defun article-emphasize (&optional arg)
(match-beginning invisible) (match-end invisible) props)
(gnus-article-unhide-text-type
(match-beginning visible) (match-end visible) 'emphasis)
- (gnus-put-text-property-excluding-newlines
- (match-beginning visible) (match-end visible) 'face face)
+ (gnus-overlay-put (gnus-make-overlay (match-beginning visible)
+ (match-end visible))
+ 'face face)
(push 'emphasis gnus-article-wash-types)
(goto-char (match-end invisible)))))))))
Regards,
--
Daiki Ueno
next reply other threads:[~2001-12-10 15:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-10 15:44 Daiki Ueno [this message]
2001-12-29 1:07 ` 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=13ffa140-4a95-49ee-94d2-60f92af660ff@deisui.bug.org \
--to=ueno@unixuser.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).