Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Cc: ding@gnus.org
Subject: Re: new backend?
Date: Fri, 06 Dec 2002 14:21:08 -0500	[thread overview]
Message-ID: <4nlm339cnv.fsf@brainy.bwh.harvard.edu> (raw)
In-Reply-To: <m2smxcvyzo.fsf@tnuctip.rychter.com> (Jan Rychter's message of "Fri, 06 Dec 2002 00:15:39 +0100")

On Fri, 06 Dec 2002, jan@rychter.com wrote:
> Let's say I'd like to look at my mail differently -- I'd like to
> look at it as bundles of messages. A bundle would be several threads
> combined together, possibly from several groups.
[example snipped]

OK, so essentially you want to explicitly attach an article to a
thread.  Kai's example showed how to do it, I think.

Information such as the last activity date about a thread can be
deduced from the contents of the thread.  If you need more parameters
than can be deduced from the thread contents, you may need to use a
new group per "bundle" with the current Gnus, or somehow store the
thread meta-data in the group parameters.

> It's not really a replacement for mail groups, it's just another way
> of looking at your mail. Think for example "trouble ticketing
> systems". I've described a simple use above, but there are many
> others.
> 
> Does that explain it? If yes, what's the best way to go about
> implementing it?

I don't know the best way, but perhaps I can help you figure out if a
new backend is the answer.

Backends deal with article storage and retrieval.  I don't think you
want a new backend.  It's a lot of work, and may not be necessary.

Ideally, your functionality should work with any backend that allows
threading and group parameters.  I think you want to hook into the
thread generation code (gnus-sum.el is a good starting point, I
think).  Given a thread, perhaps you want to add your thread meta-data
to it, and make it visible through summary line formats.

I can imagine a thread about "ticket 985" the way you describe.  A
useful functionality for you, if I understand your needs, is to
move/copy an article from any group to the tickets_group:bundle_985
thread in one shot.  So perhaps the key thread meta-data you want is
a thread name, for article copy/move operations?  Then you can
associate almost any data with that thread name.

I hope that helps...

Ted



  parent reply	other threads:[~2002-12-06 19:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m28yz4xu8u.fsf@tnuctip.rychter.com>
2002-12-05 18:55 ` Ted Zlatanov
     [not found]   ` <m2smxcvyzo.fsf@tnuctip.rychter.com>
2002-12-06 13:33     ` Kai Großjohann
2002-12-06 19:21     ` Ted Zlatanov [this message]
2002-12-06 19:55       ` Kai Großjohann
2002-12-06 20:21         ` Ted Zlatanov

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=4nlm339cnv.fsf@brainy.bwh.harvard.edu \
    --to=tzz@lifelogs.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).