all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Auto-Save bug when file/directory no longer exists
@ 2007-11-08 19:07 Jay Cotton
  2007-11-10 17:54 ` Richard Stallman
  2008-02-23 23:50 ` Chong Yidong
  0 siblings, 2 replies; 3+ messages in thread
From: Jay Cotton @ 2007-11-08 19:07 UTC (permalink / raw)
  To: bug-gnu-emacs

When emacs attempts to auto-save a file, if that file or it's directory
no longer exist (such as when a usb thumbdrive has been removed), an
error is briefly displayed in the minibuffer:

    Auto-saving <filename>: Opening output file: no such file or
directory, <path>/#<filename>#

The expected behavior is for this message to remain in the minibuffer.
The actual behavior is that the message disappears very quickly (often
before the user sees it), and is replaced by this message:

  Auto-saving...done

which falsely indicates that the file was successfully auto-save'd.

M-x version:
GNU Emacs 22.0.93.1 (i386-mingw-nt5.1.2600) of 2007-02-08 on
LENNART-69DE564

Thanks,
Jay Cotton




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Auto-Save bug when file/directory no longer exists
  2007-11-08 19:07 Auto-Save bug when file/directory no longer exists Jay Cotton
@ 2007-11-10 17:54 ` Richard Stallman
  2008-02-23 23:50 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2007-11-10 17:54 UTC (permalink / raw)
  To: Jay Cotton; +Cc: emacs-devel

    When emacs attempts to auto-save a file, if that file or it's directory
    no longer exist (such as when a usb thumbdrive has been removed), an
    error is briefly displayed in the minibuffer:

	Auto-saving <filename>: Opening output file: no such file or
    directory, <path>/#<filename>#

The code appears to display it for 3 seconds.
Is that what happens for you?

    The expected behavior is for this message to remain in the minibuffer.
    The actual behavior is that the message disappears very quickly (often
    before the user sees it), and is replaced by this message:

      Auto-saving...done

It does that because auto saving (the whole process) was done.
(Other files may have been successfully saved.)

Do you find that 3 seconds to view the error message is not enough?
Or do you find that it doesn't actually remain on the screen for 3 seconds?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Auto-Save bug when file/directory no longer exists
  2007-11-08 19:07 Auto-Save bug when file/directory no longer exists Jay Cotton
  2007-11-10 17:54 ` Richard Stallman
@ 2008-02-23 23:50 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2008-02-23 23:50 UTC (permalink / raw)
  To: bug-gnu-emacs

"Jay Cotton" <jay@fleeingrabbit.com> writes:

> When emacs attempts to auto-save a file, if that file or it's directory
> no longer exist (such as when a usb thumbdrive has been removed), an
> error is briefly displayed in the minibuffer:
>
>     Auto-saving <filename>: Opening output file: no such file or
> directory, <path>/#<filename>#
>
> The expected behavior is for this message to remain in the minibuffer.
> The actual behavior is that the message disappears very quickly (often
> before the user sees it), and is replaced by this message:
>
>   Auto-saving...done
>
> which falsely indicates that the file was successfully auto-save'd.
>
> M-x version:
> GNU Emacs 22.0.93.1 (i386-mingw-nt5.1.2600) of 2007-02-08 on
> LENNART-69DE564

I've installed a fix to the trunk.  This seems like a less important
issue, let's see wait till after the 22.2 release before backporting
the fix to the Emacs 22 branch.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-23 23:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-08 19:07 Auto-Save bug when file/directory no longer exists Jay Cotton
2007-11-10 17:54 ` Richard Stallman
2008-02-23 23:50 ` Chong Yidong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.