bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [address@hidden: call-process temp buffer modified when it shouldn't


From: Kenichi Handa
Subject: Re: [address@hidden: call-process temp buffer modified when it shouldn't be]
Date: Tue, 11 Dec 2001 09:36:28 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

Richard Stallman <rms@gnu.org> writes:
> Could you please help us with this?
> ------- Start of forwarded message -------
> To: bug-gnu-emacs@gnu.org
> Subject: call-process temp buffer modified when it shouldn't be
> From: "Paul Smith" <pausmith@nortelnetworks.com>
[...]
> My mail was not being retrieved properly by Gnus nnfolder.  After a lot
> of hacking around, I discovered that it was because when Gnus invoked
> movemail it ran the following code (gnus/mail-source.el:mail-source-movemail):
[...]
>   (setq from "/tmp/foo/x" to "/tmp/foo/y")
>   (setq errors (generate-new-buffer " *my mail source loss*"))
>   (apply 'call-process (append (list (expand-file-name "movemail"
>                                                        exec-directory)
>                                      nil errors nil from to)))
>   (buffer-modified-p errors)

> The last line, buffer-modified-p, should return nil since the buffer
> should not be modified by a successful movemail invocation.  However, it
> will be t instead.

This bug is now fixed in CVS by this change (both RC and
HEAD).

2001-10-26  Gerd Moellmann  <gerd@gnu.org>

        * insdel.c (insert_1_both): Do nothing if NCHARS == 0.

---
Ken'ichi HANDA
handa@etl.go.jp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]