From: Thomas Schwinge <schwinge-lists-gnus.org-ding@nic-nac-project.de>
Subject: Re: nnmaildir
Date: Thu, 12 Feb 2004 23:45:40 +0100 [thread overview]
Message-ID: <20040212224540.GA13843@server.schwinge.homeip.net> (raw)
In-Reply-To: <m3ptckdzl1.fsf@multivac.cwru.edu>
On Thu, Feb 12, 2004 at 11:35:58AM -0500, Paul Jarc wrote:
> 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.
I'm quite sure:
#v+
thomas@speedy:~ > strace -f -e open emacs -f gnus 2>&1 | grep '/package.*gnus' | cut -d \" -f 2
/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus
/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/info
/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share
/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share/emacs
/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share/emacs/etc
/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share/emacs/site-lisp
/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share/emacs/etc/gnus
/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share/emacs/etc/smilies
/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share/emacs/site-lisp/gnus.elc
[...]
/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share/emacs/site-lisp/nnmaildir.elc
[...]
thomas@speedy:~ > readlink -f /package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus
/fs/packages/mount/package/misc/spf/gnus-2004-02-12-13:01:23-1
thomas@speedy:~ > readlink -f /package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share/emacs/site-lisp/nnmaildir.elc
/fs/packages/mount/package/misc/spf/gnus-2004-02-12-13:01:23-1/share/emacs/site-lisp/nnmaildir.elc
thomas@speedy:~ > stat /package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share/emacs/site-lisp/nnmaildir.el*
File: `/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share/emacs/site-lisp/nnmaildir.el'
Size: 63235 Blocks: 136 IO Block: 4096 regular file
Device: fe05h/65029d Inode: 135956 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2004-02-12 14:18:22.000000000 +0100
Modify: 2004-02-12 14:17:19.000000000 +0100
Change: 2004-02-12 14:18:33.000000000 +0100
File: `/package/misc/spf/emacs-21.3-1/share/emacs/site-lisp/gnus/share/emacs/site-lisp/nnmaildir.elc'
Size: 101500 Blocks: 208 IO Block: 4096 regular file
Device: fe05h/65029d Inode: 135862 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2004-02-12 22:56:42.000000000 +0100
Modify: 2004-02-12 14:17:18.000000000 +0100
Change: 2004-02-12 14:18:33.000000000 +0100
#v-
So in fact the .elc file is 1 second newer than the .el file.
Strange.
I've been installing it via sp-foreign <http://multivac.cwru.edu./spf/>.
Now I reinstalled it:
#v+
thomas@speedy:~ > stat /fs/packages/mount/package/misc/spf/gnus-2004-02-12-13:01:23-2/share/emacs/site-lisp/nnmaildir.el*
File: /fs/packages/mount/package/misc/spf/gnus-2004-02-12-13:01:23-2/share/emacs/site-lisp/nnmaildir.el'
Size: 63235 Blocks: 136 IO Block: 4096 regular file
Device: fe05h/65029d Inode: 134768 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 500/ thomas) Gid: ( 100/ users)
Access: 2004-02-12 23:08:15.000000000 +0100
Modify: 2004-02-12 23:08:15.000000000 +0100
Change: 2004-02-12 23:08:15.000000000 +0100
File: /fs/packages/mount/package/misc/spf/gnus-2004-02-12-13:01:23-2/share/emacs/site-lisp/nnmaildir.elc'
Size: 101468 Blocks: 208 IO Block: 4096 regular file
Device: fe05h/65029d Inode: 135556 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 500/ thomas) Gid: ( 100/ users)
Access: 2004-02-12 23:08:16.000000000 +0100
Modify: 2004-02-12 23:08:16.000000000 +0100
Change: 2004-02-12 23:08:16.000000000 +0100
#v-
Restarting Gnus, the warnings did not show up again.
> > 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.
The folder is displayed the wrong way in the group buffer:
#v+
*: nnmaildir+nic-nac-project:lists.gnus.org.ding
#v-
whereas it should be
#v+
*: nnmaildir+nic-nac-project:lists.gnus\.org.ding
#v-
So it's quite obvious that Gnus will print the following:
#v+
Debugger entered--Lisp error: (error "Couldn't activate group nnmaildir+nic-nac-project:lists.gnus.org.ding: No such group: lists.gnus.org.ding")
signal(error ("Couldn't activate group nnmaildir+nic-nac-project:lists.gnus.org.ding: No such group: lists.gnus.org.ding"))
error("Couldn't activate group %s: %s" "nnmaildir+nic-nac-project:lists.gnus.org.ding" "No such group: lists.gnus.org.ding")
gnus-select-newsgroup("nnmaildir+nic-nac-project:lists.gnus.org.ding" nil nil)
gnus-summary-read-group-1("nnmaildir+nic-nac-project:lists.gnus.org.ding" nil t nil nil nil)
gnus-summary-read-group("nnmaildir+nic-nac-project:lists.gnus.org.ding" nil t nil nil nil nil)
gnus-group-read-group(nil t)
gnus-group-select-group(nil)
gnus-topic-select-group(nil)
call-interactively(gnus-topic-select-group)
#v-
So the error is likely be somewhere in the code that recognises new
folders and adds them to the group buffer.
> > 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. :)
So it wouldn't be a great loss if 'save would not be reflected in the
maildir?
> > 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.
Additionally nnmaildir will set 'F'.
So, the message has 'F' in maildir and 'dormant in Gnus.
The message it flagged in mutt and dormant in Gnus.
Now I unflag it in mutt: 'F' is removed.
I start Gnus, nnmaildir sees 'dormant set but not 'F' and thus removes
dormant - recognized as being old / invalid.
The message is unflagged in mutt and neither ticked nor dormant in Gnus.
Later - using mutt - I decide that the message actually _is_ important:
I flag it, 'F' is set.
Starting Gnus, nnmaildir sees 'F' but neither 'tick nor 'dormant - they
were deleted in the older session - so the message is recognized as
being newly flagged: 'tick is set.
The message is flagged in mutt and ticked in Gnus.
Now I decide the the message is not actually _that_ important, but I'd
be interested in follow-ups, so I set it to 'dormant.
'tick is removed, 'dormant is set, 'F' is preserved.
The message is flagged in mutt and dormant in Gnus.
Wouldn't that work?
Regards,
Thomas
next prev parent reply other threads:[~2004-02-12 22:45 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 ` nnmaildir Paul Jarc
2004-02-12 22:45 ` Thomas Schwinge [this message]
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=20040212224540.GA13843@server.schwinge.homeip.net \
--to=schwinge-lists-gnus.org-ding@nic-nac-project.de \
/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).