From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William F Hammond Newsgroups: gmane.emacs.bugs Subject: bug#1693: nndoc confuses types mbox and mime-parts Date: Wed, 24 Dec 2008 17:56:23 +0100 (MET) Organization: Gnus News User Services Message-ID: Reply-To: "William F. Hammond" , 1693@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1230154678 30854 80.91.229.12 (24 Dec 2008 21:37:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Dec 2008 21:37:58 +0000 (UTC) To: undisclosed-recipients:; Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 24 22:39:01 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LFbRT-0006gM-C9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Dec 2008 22:38:59 +0100 Original-Received: from localhost ([127.0.0.1]:43483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LFbQD-0005Ti-Ep for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Dec 2008 16:37:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LFXS8-00057w-Mf for bug-gnu-emacs@gnu.org; Wed, 24 Dec 2008 12:23:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LFXS7-00057k-6N for bug-gnu-emacs@gnu.org; Wed, 24 Dec 2008 12:23:23 -0500 Original-Received: from [199.232.76.173] (port=34094 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LFXS7-00057h-0J for bug-gnu-emacs@gnu.org; Wed, 24 Dec 2008 12:23:23 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56553) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LFXS6-0004nU-CS for bug-gnu-emacs@gnu.org; Wed, 24 Dec 2008 12:23:22 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBOHNKdo013686; Wed, 24 Dec 2008 09:23:20 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBOH54YP008944; Wed, 24 Dec 2008 09:05:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: William F Hammond Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 24 Dec 2008 17:05:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 1693 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12301377916757 (code B ref -1); Wed, 24 Dec 2008 17:05:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 24 Dec 2008 16:56:31 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.uni-ulm.de (mail.uni-ulm.de [134.60.1.11]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBOGuPs6006751 for ; Wed, 24 Dec 2008 08:56:27 -0800 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id mBOGuN5b029440 for ; Wed, 24 Dec 2008 17:56:24 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id AD04813540 for ; Wed, 24 Dec 2008 17:56:23 +0100 (CET) Resent-To: submit@emacsbugs.donarmstrong.com Resent-From: Reiner Steib Resent-Date: Wed, 24 Dec 2008 12:53:37 +0100 Resent-Message-ID: <87k59plrge.fsf@marauder.physik.uni-ulm.de> Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnus.gnus-bug Original-NNTP-Posting-Host: quimby.gnus.org Original-X-Trace: quimby.gnus.org 1228618073 13176 80.91.231.51 (7 Dec 2008 02:47:53 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sun, 7 Dec 2008 02:47:53 +0000 (UTC) Original-Received: from mail-mx2.its.albany.edu ([169.226.1.164]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1L99gX-0003QP-00 for ; Sun, 07 Dec 2008 03:47:53 +0100 Original-Received: from hilbert.math.albany.edu (hilbert.math.albany.edu [169.226.140.28]) by mail-mx2.its.albany.edu (8.14.3/8.14.3) with ESMTP id mB72lcwc015923 for ; Sat, 6 Dec 2008 21:47:39 -0500 (EST) Original-Received: (from hammond@localhost) by hilbert.math.albany.edu (8.13.8/8.13.8/Submit) id mB72lcWX011395; Sat, 6 Dec 2008 21:47:38 -0500 (EST) Original-To: bugs@gnus.org (The Gnus Bugfixing Girls + Boys) X-Scanned-By: MIMEDefang 2.65 on 169.226.1.164 X-DCC-INFN-TO-Metrics: poseidon 1233; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 24 Dec 2008 16:37:38 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23479 Archived-At: --=-=-= Gnus v5.10.6 GNU Emacs 21.4.1 (sparc-sun-solaris2.9, X toolkit) of 2005-05-12 on hilbert.math.albany.edu 200 News.GigaNews.Com --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Description: User settings ------------------ Environment follows ------------------ (setq gnus-default-directory "~/News/") (setq gnus-default-nntp-server "") (setq gnus-secondary-select-methods '((nnmbox "gnus"))) (setq gnus-novice-user nil) (setq gnus-summary-mode-hook '(gnus-agent-mode (lambda nil (define-key gnus-summary-mode-map "z" 'gnus-summary-delete-article) (if (string-match "nnmbox.*obox" gnus-newsgroup-name) (setq gnus-summary-line-format "%U%R%z%I%(%[%4L %-17,17f%]%) %s\n")) (if (string-match "nnmbox.*misc" gnus-newsgroup-name) (setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-40,40F%]%) %s\n"))))) (setq gnus-group-prepare-hook '(#[nil "\010<\205\201\000\306 \210\306 \210\307\310\311\"\210\312\313!\210\307\310\314\"\210\312\313!\210\307\310\315\"\210\212\316 \031 \203D\000 \211A\021@\032\010\033\317\320\215\211\034\203@\000\321\n\322\f#\210+\202&\000*\015\036\027\016\027\203|\000\016\027\211A\026\027@\211\036\030<\203x\000\016\030\211\036\031AA)@\211\036\031A@)\323=\203x\000\324\305\016\030\"\210\325\026\027)\202H\000)\307\310\326\"\207" [gnus-agent-expire-days groups group days day gnus-group-prepare-hook beep gnus-message 1 "WARNING: gnus-agent-expire-days no longer supports being set to a list." sleep-for 3 "Change your configuration to set it to an integer." "I am now setting group parameters on each group to match the configuration that the list offered." gnus-group-listed-groups found (byte-code "\010\203$\000\303\010\211\031@@)\n\"\304=\203\035\000\305\306\010\211\031@A)@\"\210\010A\211\020\204\004\000\307\207" [days x group string-match 0 throw found nil] 4) gnus-group-set-parameter agent-days-until-old gnus-agent-do-once remove-hook nil "I have finished setting group parameters on each group. You may now customize your groups and/or topics to control the agent." h func x] 5])) (setq gnus-exit-gnus-hook '(mm-destroy-postponed-undisplay-list)) (setq gnus-inhibit-mime-unbuttonizing t) (setq gnus-setup-news-hook '(gnus-agent-queue-setup gnus-fixup-nnimap-unread-after-getting-new-news)) (setq gnus-group-mode-hook '(gnus-agent-mode)) ;; (makeunbound 'gnus-topic-mode) ;; (makeunbound 'gnus-topic-mode-hook) ;; (makeunbound 'gnus-topic-line-format) ;; (makeunbound 'gnus-topic-indent-level) ;; (makeunbound 'gnus-topic-display-empty-topics) (setq gnus-server-mode-hook '(gnus-agent-mode)) (setq mm-coding-system-priorities '(latin-1 utf-8)) (setq message-from-style 'angles) (setq message-mode-hook '(#[nil "\301\010!\207" [gnus-setup-message-group gnus-configure-posting-styles] 2])) (setq message-header-setup-hook '(gnus-inews-insert-archive-gcc gnus-inews-insert-gcc)) (setq message-signature '(lambda nil (goto-char (point-max)) (insert "\n\n -- Bill\n\n"))) (setq message-default-headers "From: William F Hammond \nReply-To: William F. Hammond \nFcc: ~/obox\n") --=-=-= On February 13 2005 Reiner Steib wrote in gnu.emacs.gnus: > On Sat, Feb 12 2005, Pedro Kroger wrote: > > I started tracking the problem down and it seems that the culprit is > > multipart email sent by Microsoft Outlook Express 6.00 (or something > > like that). It seems that gnus can't see others emails beyond that > > point. > > > Here is an example. This mbox file: > > > http://www.pedrokroeger.net/gnus/bug-gnus > > > has 2 messagens, as can be seen here in mutt: > > > http://www.pedrokroeger.net/gnus/mutt-summary.png > > [ I didn't look at this because I'm offline. ] > > > But if I try to see this file in gnus using nndoc, I can see only one > > message and it's parts: [...] > > Concerning nndoc: Did you try the prefix argument of > `gnus-group-make-doc-group' (C-u G f)? > > ,----[ (info "(gnus)Foreign Groups") ] > | `G f' > | Make a group based on some file or other > | (`gnus-group-make-doc-group'). If you give a prefix to this > | command, you will be prompted for a file name and a file type. > | Currently supported types are `mbox', `babyl', `digest', `news', > | `rnews', `mmdf', `forward', `rfc934', `rfc822-forward', > | `mime-parts', `standard-digest', `slack-digest', `clari-briefs', > | `nsmail', `outlook', `oe-dbx', and `mailman'. If you run this > | command without a prefix, Gnus will guess at the file type. *Note > | Document Groups::. > `---- The issue has to do with nndoc groups built on mboxes. Yes, the C-u prefix with the correct type seems to work. But, absent the prefix, interpreting a correct mbox with hundreds of messages as only the list of mime-parts of a single message makes gnus looks very silly. I've seen this latency occasionally over the years, and I now believe there is a bug though I have not looked into the code. The problem happens when the first message in an mbox is multipart. (It has nothing to do with Outlook; an example may be created entirely using gnus.) Here's what I did. I made a simple HTML file and then used "lynx" to dump it to text. I then mailed two messages to myself, the first a simple text message consisting of the dumped text and the second a multipart message composed in gnus with two attachments (disposition = attachment) where the first is the dumped text and the second is the html version. I then retrieved the two messages using gnus (nnmbox backend) and saved both messages in two different mboxes that differ only in the question of which of the two messages is saved first. A new nndoc group built on the mbox that begins with the simple message is handled correctly when read in gnus, but a new nndoc group built on the other mbox (without prefix argument) is interpreted incorrectly. The most recent set-up I know where this experiment goes as I described is emacs 22.1.1 with gnus v5.11, as packaged natively for Ubuntu 8.04. -- Bill --=-=-=--