Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Piotrowski <mxp@dynalabs.de>
Subject: Re: nnmaildir and XEmacs
Date: Wed, 18 Oct 2006 11:03:06 +0200	[thread overview]
Message-ID: <x61wp6gfn9.fsf@eurus.mag.dynalabs.de> (raw)
In-Reply-To: <v9fydvu9bs.fsf@marauder.physik.uni-ulm.de>

Hi,

I was on vacation, that's why my answer is a little late.

On 2006-10-10, Reiner Steib <reinersteib+gmane@imap.cc> 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  <Reiner.Steib@gmx.de>
> | 
> | 	* 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.                               <mxp@dynalabs.de>
Public key at <http://www.dynalabs.de/mxp/pubkey.txt>




      parent reply	other threads:[~2006-10-18  9:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-09 14:28 Michael Piotrowski
2006-10-10 21:53 ` Reiner Steib
2006-10-11  2:19   ` Katsumi Yamaoka
2006-10-11  3:49     ` Katsumi Yamaoka
2006-10-11  8:09       ` Reiner Steib
2006-10-11 12:13         ` Katsumi Yamaoka
2006-10-18  9:03   ` Michael Piotrowski [this message]

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=x61wp6gfn9.fsf@eurus.mag.dynalabs.de \
    --to=mxp@dynalabs.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).