From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: user format functions
Date: Wed, 01 Sep 2010 22:15:29 +0200 [thread overview]
Message-ID: <m3lj7ljk4e.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <guoccipck2.fsf@news.eternal-september.org>
Richard Riley <rileyrg@googlemail.com> writes:
> The propertize doesnt work. Am I doing it correctly or does Gnus wipe
> the properties I try to apply to part of the returned string?
Yes, I think so.
Try the following patch and see whether that makes any difference.
diff --git a/lisp/gnus-spec.el b/lisp/gnus-spec.el
index 91a1784..5b3198a 100644
--- a/lisp/gnus-spec.el
+++ b/lisp/gnus-spec.el
@@ -658,7 +658,7 @@ are supported for %s."
(push el flist)))
(insert elem-type)
(push (car elem) flist))))
- (setq fstring (buffer-substring-no-properties (point-min) (point-max))))
+ (setq fstring (buffer-substring (point-min) (point-max))))
;; Do some postprocessing to increase efficiency.
(setq
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
prev parent reply other threads:[~2010-09-01 20:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 23:50 Richard Riley
2010-09-01 0:02 ` Richard Riley
2010-09-01 20:15 ` Lars Magne Ingebrigtsen [this message]
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=m3lj7ljk4e.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).