Gnus development mailing list
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Subject: Re: nnmaildir
Date: Thu, 12 Feb 2004 11:36:20 -0500	[thread overview]
Message-ID: <m3ptckdzl1.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <20040212143556.GA1397@server.schwinge.homeip.net> (Thomas Schwinge's message of "Thu, 12 Feb 2004 15:35:56 +0100")

Thomas Schwinge <schwinge-lists-gnus.org-ding@nic-nac-project.de> wrote:
> Now I'm running that latest CVS checkout of Gnus.
> Starting it gives some (harmless I presume) warnings:
> #v+
> [...]
> Loading easymenu...done
> Loading gnus-start...done
> Source file `/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share/emacs/site-lisp/nntp.el' newer than byte-compiled file

Hm... I wonder if you're really running the version you think you're
running.  Make sure your .emacs adds the CVS Gnus to your load-path
before you load any Gnus components.  This may require starting emacs
with --no-site-file, since site-start.el is loaded before ~/.emacs,
and site-start.el might load some Gnus components.  (You can have your
.emacs load site-start.el after your load-path changes.)  If Gnus is
properly installed and properly loaded, I don't think these warnings
should appear.

> Shall I post the strace of Gnus (emacs) when entering such a maildir?

No, but a backtrace would be helpful.  Before triggering the error, do
M-x set-variable RET debug-on-error RET t RET.

> I don't quite get what I would do with the information that an
> article I'll be reading again later has been saved - since saving is
> just copying the article to another folger

Someone thought it was useful once, so now Gnus has it.  Such is the
way of Gnus. :)

> But how should 'dormant and 'save then be reflected?

I don't think there is any way to make them visible to other MUAs.
They will have to stay as they are now.

> In what way would my solution be ambiguous?

Suppose a message has the 'tick mark, and the user changes it to
'dormant.  Gnus tells nnmaildir to remove 'tick and add 'dormant.  You
say that nnmaildir should modify its own marks, but leave "F" in
place.  So now, according to the standard maildir flags, the message
is "F"lagged, but according to nnmaildir's separate marks, the message
is not 'tick-ed.

But there is another way we can arrive at this same situation: suppose
a message initially has neither 'tick or 'dormant, and the user adds
'dormant.  Later, another MUA adds "F".  So now, again, the message
has "F" and 'dormant but not 'tick.

So how do we interpret this state of stored information the next time
Gnus starts?  In the first case, we should presumably say that the
message still does not have 'tick.  In the second case, we would like
to say that the message now has 'tick - the "F" mark was added by
another MUA, and we want to pick up that change in Gnus too.  But
since the stored information is the same in these two cases, we can't
distinguish them, and so we can't get them both right.

>>> I had not tried that before - I thought that MUAs would leave the flags
>>> alone the didn't understand.
>>
>> Yes, but they also wouldn't be able to interpret them.
>
> So it should leave them alone.

I agree.

> But I was quite surprised when I saw mutt just weed out the flags it
> didn't understand.

Yes, that is surprising, and seems buggy.


paul



  reply	other threads:[~2004-02-12 16:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-11 17:00 nnmaildir Thomas Schwinge
2004-02-11 17:42 ` nnmaildir Paul Jarc
2004-02-11 22:05   ` nnmaildir Thomas Schwinge
2004-02-11 23:23     ` nnmaildir Paul Jarc
2004-02-12 14:35       ` nnmaildir Thomas Schwinge
2004-02-12 16:36         ` Paul Jarc [this message]
2004-02-12 22:45           ` nnmaildir Thomas Schwinge
2004-02-12 22:57             ` nnmaildir Paul Jarc
2004-02-13 14:02               ` nnmaildir Thomas Schwinge
2004-02-14  3:34                 ` nnmaildir Paul Jarc
2004-02-14 18:26 ` nnmaildir Kai Grossjohann
2004-02-14 18:38   ` #v+, #v- (was: nnmaildir) lawrence mitchell
2004-02-14 22:18     ` #v+, #v- Kai Grossjohann
2004-02-15  3:33       ` Karl Pflästerer
  -- strict thread matches above, loose matches on Subject: below --
2002-01-22 23:33 db-backed mail back end Lars Magne Ingebrigtsen
2002-01-23  0:23 ` Daniel Pittman
2002-01-23  0:36   ` Lars Magne Ingebrigtsen
2002-01-24  0:50     ` Russ Allbery
2002-01-24  1:24       ` Lars Magne Ingebrigtsen
2002-01-24 17:11         ` Paul Jarc
2002-01-24 17:58           ` nnmaildir (was: db-backed mail back end) Josh Huber
2002-01-24 18:14             ` Harry Putnam
2002-01-24 18:43               ` Paul Jarc
2002-01-24 22:05                 ` Harry Putnam
2002-01-24 22:51                   ` nnmaildir Paul Jarc
2002-01-24 18:39             ` nnmaildir Paul Jarc

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=m3ptckdzl1.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    /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).