From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/21234 Path: main.gmane.org!not-for-mail From: Vladimir Volovich Newsgroups: gmane.emacs.gnus.general Subject: Re: MULE bites Date: 16 Feb 1999 19:05:53 +0300 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035159378 21957 80.91.224.250 (21 Oct 2002 00:16:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:16:18 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA05494 for ; Tue, 16 Feb 1999 11:10:43 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAB20716; Tue, 16 Feb 1999 10:10:01 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 16 Feb 1999 10:10:20 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id KAA07034 for ; Tue, 16 Feb 1999 10:10:10 -0600 (CST) Original-Received: from ns.vsu.ru (root@ns.vsu.ru [62.76.169.12]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA05477 for ; Tue, 16 Feb 1999 11:09:58 -0500 (EST) Original-Received: (from uucp@localhost) by ns.vsu.ru (8.9.1/8.9.1) with UUCP id TAA10772; Tue, 16 Feb 1999 19:08:05 +0300 Original-Received: (from vvv@localhost) by vvv.vsu.ru (8.8.7/8.8.7) id TAA16324; Tue, 16 Feb 1999 19:05:53 +0300 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "16 Feb 1999 16:27:53 +0100" Original-Lines: 58 User-Agent: Gnus/5.070076 (Pterodactyl Gnus v0.76) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:21234 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:21234 This is a MIME multipart message. If you are reading this, you shouldn't. --=-=-= "KG" == Kai Grossjohann writes: KG> Okay, this is the first time I've been bitten by MULE (at least I KG> presume that's where the error comes from). I nnoo'd a new KG> backend, inheriting most of the stuff from nnmbox. I created a KG> server for this backend. I added a message with a Latin-1 KG> character. Now, when typing `g' in the group buffer, I get asked KG> (two times, I've got two groups): Revisit file literally? KG> When I say yes, I get that dreaded \201 thingy. KG> What do I do now? unfortunately, this seems to be a hard-to-fix bug in Emacs/MULE. I also "suffer" from this problem: from time to time, when i receive mails to my mbox which contain some binary characters, this leads to brokenness of Gnus' dealing with my mbox. Each time pressing `g' in a group buffer starts to take a LOT of time (with bug mbox size, such as 10MB and more); note that if the mbox does not contain those `broken' messages with some bytes which confuse MULE (or gnus?), pressing `g' takes much less than a second (if there are no new messages). And also, in this case article numbering in group buffer reported by gnus becomes broken (commonly overestimated by 1 or 2). Lars some time ago made the following patch for files.el which "hides" the Emacs' questions "Revisit file literally?", but this patch ODES NOT SOLVE THE REAL PROBLEM: the above-mentioned symptoms are still valid; and they are TRIGGERED by the presence in the mbox of some `broken' messages (i have some examples and could send them). So, i'd be grateful to you if you could report this problem to RMS. --=-=-= --- /usr/share/emacs/20.3/lisp/files.el~ Fri Oct 2 14:27:51 1998 +++ /usr/share/emacs/20.3/lisp/files.el Fri Oct 2 14:27:57 1998 @@ -928,8 +928,9 @@ (buffer-name buf)))) (with-current-buffer buf (revert-buffer t t))))) - (when (not (eq rawfile (not (null find-file-literally)))) - (with-current-buffer buf + (with-current-buffer buf + (when (not (eq (not (null rawfile)) + (not (null find-file-literally)))) (if (buffer-modified-p) (if (y-or-n-p (if rawfile "Save file and revisit literally? " --=-=-= Best regards, -- Vladimir. --=-=-=--