Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: info-gnus-english@gnu.org
Subject: Re: per group value of gnus-summary-thread-gathering-function?
Date: Thu, 24 Jul 2008 22:25:47 +0300	[thread overview]
Message-ID: <874p6fkrt0.fsf@kobe.laptop> (raw)
In-Reply-To: <86y73r9m9a.fsf@lifelogs.com>

On Thu, 24 Jul 2008 13:21:05 -0500, Ted Zlatanov <tzz@lifelogs.com> wrote:
> On Thu, 24 Jul 2008 19:37:49 +0300 Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
> GK> Then with `gnus-summary-exit-hook' I can restore the thread
> GK> gathering function to a `default' value.  I think I'll give this a
> GK> try.  If it seems to work nicely, I will post what I wrote here
> GK> when I've tested it a bit.
>
> I think what you and others want is to modify gnus-posting-styles so it
> allows a symbol instead of just a static definition.  In other words,
> instead of
>
> ((".*"
>   (signature-file "~/.signature")
>   (name "Ted Zlatanov")
>   (organization "Теодор Златанов @ Cienfuegos")))
>
> it could be
>
> ((".*"
>   ('gnus-summary-thread-gathering-function 'gnus-gather-threads-by-references)
>   (signature-file "~/.signature")
>   (name "Ted Zlatanov")
>   (organization "Теодор Златанов @ Cienfuegos")))
>
> Am I understanding you correctly?  I don't know how hard this change
> is, if it's the right thing.

That could probably work too :)

I am not sure if it's the Right Thing, so I'll keep using the custom
thread-gathering function for now, unless some more experienced Gnus
user or developer wants to chime in with a more appropriate way of
achieving the same.

It was pretty easy to write the custom thread-gathering function.  I am
not sure I know enough about the internals of Gnus to modify the posting
style parsing code though :(

      reply	other threads:[~2008-07-24 19:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-22 14:48 Giorgos Keramidas
2008-07-23 12:52 ` Ted Zlatanov
2008-07-24 16:37   ` Giorgos Keramidas
2008-07-24 17:53     ` Giorgos Keramidas
2008-07-28 14:54       ` Johan Bockgård
2008-07-29  2:34         ` Giorgos Keramidas
2008-07-29  3:41           ` Giorgos Keramidas
2008-07-24 18:21     ` Ted Zlatanov
2008-07-24 19:25       ` Giorgos Keramidas [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=874p6fkrt0.fsf@kobe.laptop \
    --to=keramida@ceid.upatras.gr \
    --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).