Gnus development mailing list
 help / color / mirror / Atom feed
From: Leo <sdl.web@gmail.com>
To: ding@gnus.org
Subject: Re: How to propertize &user-date
Date: Fri, 03 Sep 2010 23:35:32 +0100	[thread overview]
Message-ID: <m1mxry78wb.fsf@cam.ac.uk> (raw)
In-Reply-To: <s48w3i1om4.fsf@news.eternal-september.org>

On 2010-09-03 22:52 +0100, Richard Riley wrote:
> Normally I can define gnus user defined format functions for things
> like gnus-summary-line-format and call propertize to apply my own faces
> to line sections.
>
> But how can I apply my own face to the &user-date  output? I realise I
> could create my own user format function to display the date and
> propertize that but then I lose the functionality already available via
> gnus-user-date-format-alist.
>
> Thanks for any help.

If you put the format spec inside say %5{} it will uses the value of
gnus-face-5 ie if gnus-face-5 is 'bold, it will use bold.

Leo




      reply	other threads:[~2010-09-03 22:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-03 21:52 Richard Riley
2010-09-03 22:35 ` Leo [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=m1mxry78wb.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --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).