[Top][All Lists]

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

Re: Autosave fails for narrowed buffers, particularly RMAIL

From: James A. Bednar
Subject: Re: Autosave fails for narrowed buffers, particularly RMAIL
Date: Mon, 1 Jan 2001 18:32:06 -0600 (CST)

|  Date: Mon, 01 Jan 2001 19:37:01 +0200
|  From: "Eli Zaretskii" <address@hidden>
|  CC: address@hidden
|  > From: "James A. Bednar" <address@hidden>
|  > Date: Thu, 28 Dec 2000 14:03:45 -0600 (CST)
|  > 
|  > Since at least Emacs 20.3, autosaving fails for narrowed buffers,
|  Can you please elaborate how does it fail?  I cannot reproduce this in
|  Emacs 20.6.  Please give a precise recipe for reproducing this
|  problem.
|  Does it happen if you invoke Emacs with "emacs -q"?

Ok, I was able to reproduce the problem consistently, and in the
process it became clear that the problem is in rmime.el 1.2, not in
Emacs itself.  For some reason, rmime installs code that is called for
every auto-save, and that code appears to be failing for narrowed
buffers.  I've attached a complete recipe.  In any case, since
rmime.el is not distributed with Emacs, this problem is presumably no
longer to be considered an Emacs bug, but an rmime.el bug, so I have
CC:ed the author of rmime.el on this message.



To reproduce the problem using Emacs 20.7 on Red Hat Linux 7.0:

1. Download http://www.cinti.net:2000/~rmoody/rmime/rmime.el and save
   it to the current directory.

2. Create a file "bugscript.el" in the current directory with the
   following contents:

     (load-file "rmime.el")
     (find-file "testing")
     (insert-string ".")
     (set-mark (point))
     (narrow-to-region (point) (mark))

3. Type "\emacs -q -l bugscript.el"

4. Emacs should load and the minibuffer should display the following
     Loading /u/jbednar/rmime.el (source)...
     Loading /u/jbednar/rmime.el (source)...done
     (New file)
     Autosaving...error for testing

reply via email to

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