From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63836 Path: news.gmane.org!not-for-mail From: Michael Piotrowski Newsgroups: gmane.emacs.gnus.general Subject: Re: nnmaildir and XEmacs Date: Wed, 18 Oct 2006 11:03:06 +0200 Organization: dynalabs Network Research Unit Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161162926 1026 80.91.229.2 (18 Oct 2006 09:15:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2006 09:15:26 +0000 (UTC) Original-X-From: ding-owner+m12363@lists.math.uh.edu Wed Oct 18 11:15:25 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ga7WB-0005qs-5T for ding-account@gmane.org; Wed, 18 Oct 2006 11:15:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Ga7Vt-0001Ru-00; Wed, 18 Oct 2006 04:15:01 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Ga7L2-0001Rp-00 for ding@lists.math.uh.edu; Wed, 18 Oct 2006 04:03:48 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.52) id 1Ga7Kx-0007gO-Gj for ding@lists.math.uh.edu; Wed, 18 Oct 2006 04:03:48 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ga7Kr-00028k-00 for ; Wed, 18 Oct 2006 11:03:37 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ga7Kh-0003Ky-Hz for ding@gnus.org; Wed, 18 Oct 2006 11:03:27 +0200 Original-Received: from dslb-088-072-044-040.pools.arcor-ip.net ([88.72.44.40]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Oct 2006 11:03:27 +0200 Original-Received: from mxp by dslb-088-072-044-040.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Oct 2006 11:03:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 49 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dslb-088-072-044-040.pools.arcor-ip.net User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (berkeley-unix) X-Face: %OvAx]kKl`N,i?yQ+$^p9w2oy)Yg|O}a_~6wtRQ@UTZ*(jSPubbonT]m++M>YBtJqkZZa!W"y5`aI.FoKO%$JHz=ws|i?y^o2bds(+pcp>gcX]H}?-tCzL^ABzJUWYzS{"!_hFg:JD)`kxRKLsNp X-Operating-System: NetBSD Content-Language: en X-Now-Playing: Cassius - Cassius 99 Remix (radio edit) Cancel-Lock: sha1:svwiPiS4+IIdhBLNBkZN6s5SKH8= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63836 Archived-At: Hi, I was on vacation, that's why my answer is a little late. On 2006-10-10, Reiner Steib wrote: >> I recently noticed that nnmaildir.el contains Emacs-specific code, > > Strange, this code is there since September 2002. Well, yes. I was puzzled, too, that nobody had run into it before. However, the problem didn't occur immediately, only in some cases when entering the group after its content had changed; maybe that's why nobody had noticed it. I started to use nnmaildir only recently for Mairix search results, it's faster than nnmh and the article count is correct. >> namely calls to `write-region' where the seventh argument is used with >> the semantics of "mustbenew", e.g.: >> >> (write-region (point-min) (point-max) file nil 'no-message nil 'excl) >> >> On XEmacs however, the seventh argument is "coding-system". >> Consequently, a call as above results in the error message "No such >> coding system: excl" on XEmacs. > > Does this change (installed in trunk and v5-10) fix the problem as well? > > ,---- > | 2006-10-10 Reiner Steib > | > | * gmm-utils.el (gmm-write-region): New function based on compatibility > | code from `mm-make-temp-file'. > | > | * mm-util.el (mm-make-temp-file): Use `gmm-write-region'. > | > | * nnmaildir.el (nnmaildir--update-nov) > | (nnmaildir-request-replace-article, nnmaildir-request-accept-article): > | Use `gmm-write-region'. > `---- I've just updated to the latest trunk version, and yes, it seems to work fine. Thanks! Greetings -- Michael Piotrowski, M.A. Public key at