Gnus development mailing list
 help / color / mirror / Atom feed
From: Uwe Brauer <>
Subject: Re: githubs notifications (different authors) and the froms in the summary buffer are a bit confusing
Date: Fri, 03 Dec 2021 10:58:02 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

[-- Attachment #1: Type: text/plain, Size: 801 bytes --]

>>> "JAOR" == Jose A Ortega Ruiz <> writes:

> On Thu, Dec 02 2021, Uwe Brauer wrote:
> [...]

>> So it seems that %U is the culprit here. That however seems difficult to
>> Any idea how to do that?

> A way is to define your own format function.  For instance, i have this
> function to display the from address with anything matching the regexp
> jao-gnus--news-rx removed:

>       (defun gnus-user-format-function-f (headers)
>         (let* ((from (gnus-header-from headers))
>                (from (gnus-summary-extract-address-component from)))
>           (replace-regexp-in-string jao-gnus--news-rx "" from)))

> the `-f' at the end or the name matters, it's the code to use in the
> line format:  "... %uf ..."  stands for "user-defined function f"

Thanks  I will give it a try.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

      reply	other threads:[~2021-12-03  9:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-02  7:40 Uwe Brauer
2021-12-02 16:05 ` Jose A. Ortega Ruiz
2021-12-03  9:58   ` Uwe Brauer [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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: githubs notifications (different authors) and the froms in the summary buffer are a bit confusing' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).