From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17519 Path: main.gmane.org!not-for-mail From: Vladimir Volovich Newsgroups: gmane.emacs.gnus.general Subject: bug: coding system for mbox? Date: 01 Oct 1998 09:15:22 +0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-5 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035156205 1361 80.91.224.250 (20 Oct 2002 23:23:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:23:25 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id BAA03792 for ; Thu, 1 Oct 1998 01:18:48 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id XAF03654; Wed, 30 Sep 1998 23:49:37 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 01 Oct 1998 00:18:24 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id AAA22240 for ; Thu, 1 Oct 1998 00:18:15 -0500 (CDT) Original-Received: from cc.vsu.ru (root@ns.vsu.relarn.ru [194.226.24.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id BAA03768 for ; Thu, 1 Oct 1998 01:17:28 -0400 (EDT) Original-Received: (from uucp@localhost) by cc.vsu.ru (8.9.1/8.9.1) with UUCP id JAA14018 for ding@gnus.org; Thu, 1 Oct 1998 09:16:28 +0400 Original-Received: (from vvv@localhost) by vvv.vsu.ru (8.8.7/8.8.7) id JAA02478; Thu, 1 Oct 1998 09:15:22 +0400 Original-To: ding@gnus.org In-Reply-To: Vladimir Volovich's message of "30 Sep 1998 00:29:31 +0400" Original-Lines: 67 User-Agent: Gnus/5.070033 (Pterodactyl Gnus v0.33) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:17519 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:17519 Hello, Vladimir Volovich writes: > something strange happened. i pressed "g" in a group buffer to get new > mail, but Emacs asked "Revisit the file literally?" (what does it mean > and why this happened?). I answered yes. Then the history of my nnmbox > groups was broken. This error happens each time gnus tries to read mail from mbox. In particular, each time i start gnus. :-( I.e. i start emacs with the following ~/.emacs file: --------------------------- (set-default-font "fontset-standard") (set-language-environment "Cyrillic-KOI8") (setq nnmail-delete-incoming t) (setq rfc2047-default-charset 'koi8-r) (setq gnus-select-method '(nntp "localhost")) (setq gnus-secondary-select-methods '((nnmbox ""))) --------------------------- There is no ~/.gnus* files. Then i turn on debugging. Then i start Gnus: M-x gnus. At some point of loading gnus, Emacs asks: "Revisit the file literally?". If i answer yes, then Emacs `thinks' quite a while (my mbox file is currently 13Mb, but this is not a problem --- sometimes i had even bigger ones without problems). After `thinking', gnus loads normally, and i can more-or-less normally read mail/news [but there are usually some overestimations of numbers of articles in my nnmbox groups which gnus reports], until i press `g' in the group buffer to get new news/mail, in which case the situation repeats (Emacs again asks that nasty question!). But if i press `n' on that question, an error occurs. Here is another backtrace which i made after fresh start of emacs, then turning on debuggning, starting gnus and answering `n' to that question: Signaling: (error "File already visited non-literally") signal(error ("File already visited non-literally")) error("File already visited non-literally") find-file-noselect("/home/vvv/mbox" nil raw) apply(find-file-noselect ("/home/vvv/mbox" nil raw)) nnheader-find-file-noselect("/home/vvv/mbox" nil raw) nnmbox-read-mbox() nnmbox-request-scan(nil "") gnus-request-scan(nil (nnmbox "")) gnus-read-active-file(nil nil) gnus-setup-news(nil nil nil) byte-code("„ gnus-1(nil nil nil) gnus(nil) call-interactively(gnus) execute-extended-command(nil) * call-interactively(execute-extended-command) May be, some contents of mbox makes Emacs to think that mbox is in some particular coding system (there is some AI?). Maybe, gnus should force a `literal' opening of mbox? But these are only is my guesses. If i'll remove mbox and start from the new one, the error will disappear (but i cannot start from fresh mbox right now; and this bug should be corrected in any case). *Please* help! This is definitely a bug of gnus, because it appears in a very clear situation (with that primitive .emacs file). Best regards, -- Vladimir.