Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: info-gnus-english@gnu.org
Subject: Re: Automatically authenticating at local imap server
Date: Tue, 05 Feb 2008 09:32:13 +0100	[thread overview]
Message-ID: <87tzknkdma.fsf@member.fsf.org> (raw)
In-Reply-To: <87r6fs9xap.fsf@arcor.de>

David <de_bb@arcor.de> writes:

Hi David,

> That's on the TODO list -

Good to hear.

> I always wanted a function that jumps to the original message in the
> original group, but it's not trivial to do. My idea was to call mairix
> with "m:<MID>", where MID is the message-id of the article. Using the
> "-r" option, we get the full path of the mail file and it should be
> possible to uniquely identify the group from the path

Sounds promising.

> (the problem here is that the user might index several different mail
> back ends with one mairix installation).

Well, those could split their indexing stuff in a per-backend basis
using several mairixrcs and databases.  Then they probably need some
wrappers around the nnmairix interface functions so that they use the
correct mairixrc/database for the current backend.

> Jumping to the original message in this group is another problem since
> we only know the message-id but not the article number. nnmaildir and
> nnml support fetching articles by message-id, but AFAIK nnimap does
> not.

It does, but only on a per-group basis.  But because we already know the
group from the path mairix gives us, we can enter the group and use

,----[ C-h f gnus-summary-refer-article RET ]
| gnus-summary-refer-article is an interactive compiled Lisp function in `gnus-sum.el'.
| (gnus-summary-refer-article message-id)
| 
| Fetch an article specified by message-id.
`----

,----[ (info "(gnus)Finding the Parent") ]
|    Most of the mail back ends support fetching by `Message-ID', but do
| not do a particularly excellent job at it.  That is, `nnmbox',
| `nnbabyl', `nnmaildir', `nnml', are able to locate articles from any
| groups, while `nnfolder', and `nnimap' are only able to locate articles
| that have been posted to the current group.  (Anything else would be
| too time consuming.)  `nnmh' does not support this at all.
`----

> Maybe it is somehow possible to apply the correct posting style even
> when replying from the nnmairix group, then we wouldn't have to get
> the original article in the first place.

Maybe.  But how about group parameters?  I use a lot gcc-self and stuff,
so jumping to the original group seems to be the better approach.  And
of course there's the case where the user himself doesn't know the
original group from memory.

Bye,
Tassilo

  reply	other threads:[~2008-02-05  8:32 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6898.1202031751.18990.info-gnus-english@gnu.org>
2008-02-03 20:29 ` Gour
2008-02-04  8:39   ` Tassilo Horn
2008-02-04 14:33     ` David
2008-02-04 19:40       ` Tassilo Horn
2008-02-04 22:22         ` David
2008-02-05  8:32           ` Tassilo Horn [this message]
2008-02-05 10:53             ` David
2008-02-05 12:16               ` Tassilo Horn
     [not found]         ` <mailman.6972.1202163783.18990.info-gnus-english@gnu.org>
2008-02-05 17:00           ` Ted Zlatanov
2008-02-05 21:58             ` David
2008-02-06  9:17               ` Tassilo Horn
2008-02-06 11:56                 ` David
2008-02-06 23:03                   ` new version of nnmairix.el (was: Automatically authenticating at local imap server) David
     [not found]             ` <mailman.7011.1202248745.18990.info-gnus-english@gnu.org>
2008-02-06 15:24               ` Automatically authenticating at local imap server Ted Zlatanov
2008-02-06 20:07                 ` David
     [not found]                 ` <mailman.7050.1202328476.18990.info-gnus-english@gnu.org>
2008-02-15 22:35                   ` Ted Zlatanov
2008-02-23 17:55                     ` Registry not registering duplicate articles (was: Automatically authenticating at local imap server) David
     [not found]                     ` <mailman.7831.1203789258.18990.info-gnus-english@gnu.org>
2008-02-26 16:54                       ` Registry not registering duplicate articles Ted Zlatanov
2008-02-26 18:20                         ` Ted Zlatanov
2008-02-03  9:42 Automatically authenticating at local imap server Tassilo Horn
2008-02-03 11:00 ` Reiner Steib
2008-02-04  9:06   ` Tassilo Horn
2008-02-06 20:17     ` Reiner Steib
2008-02-07  9:57       ` Tassilo Horn

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=87tzknkdma.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --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).