Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Tim Landscheidt <tim@tim-landscheidt.de>
To: info-gnus-english@gnu.org
Subject: Set gnus-simplify-subject-functions in group parameters?
Date: Wed, 22 Feb 2017 21:28:59 +0000	[thread overview]
Message-ID: <87h93lhq3o.fsf@passepartout.tim-landscheidt.de> (raw)

Hi,

I receive watchlist notifications from Wikipedia and sort
them into a group.  I want to thread them by page, i. e.:

|    [  35: Wikipedia              ] Wikipedia-Seite Diskussion:Lasithi-Hochebene wurde von Langläufer erstellt
|    [  41: Wikipedia              ] Wikipedia-Seite Lasithi-Hochebene wurde von Langläufer geändert
|    [  40: Wikipedia              ] Wikipedia-Seite Lasithi wurde von Langläufer geändert

should be displayed as:

|    [  35: Wikipedia              ] Wikipedia-Seite Diskussion:Lasithi-Hochebene wurde von Langläufer erstellt
|        <  41: Wikipedia              > Wikipedia-Seite Lasithi-Hochebene wurde von Langläufer geändert
|    [  40: Wikipedia              ] Wikipedia-Seite Lasithi wurde von Langläufer geändert

I read "Customizing Threading", thought
gnus-simplify-subject-functions would be a good idea,
created a function for testing and set the group parameters
to:

| ((auto-expire . t)
|  (gnus-simplify-subject-functions
|   (tl-watchlist-subject-munger)))

But when I enter the group, the function is not called.
edebug showed that gnus-gather-threads-by-subject is called,
but gnus-simplify-subject-functions's value there is (the
default) (gnus-simplify-subject-re
gnus-simplify-whitespace).

How can I set gnus-simplify-subject-functions for a group to
a different value?

TIA,
Tim



                 reply	other threads:[~2017-02-22 21:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87h93lhq3o.fsf@passepartout.tim-landscheidt.de \
    --to=tim@tim-landscheidt.de \
    --cc=info-gnus-english@gnu.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).