* [PATCH] Emphasis in headers
@ 2001-12-10 15:44 Daiki Ueno
2001-12-29 1:07 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Daiki Ueno @ 2001-12-10 15:44 UTC (permalink / 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Emphasis in headers
2001-12-10 15:44 [PATCH] Emphasis in headers Daiki Ueno
@ 2001-12-29 1:07 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2001-12-29 1:07 UTC (permalink / raw)
Daiki Ueno <ueno@unixuser.org> writes:
> 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.
I've now done something similar to your patch in CVS Gnus.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-29 1:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-10 15:44 [PATCH] Emphasis in headers Daiki Ueno
2001-12-29 1:07 ` Lars Magne Ingebrigtsen
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).