[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot save buffer *message*
From: |
Ulrich Windl |
Subject: |
Re: Cannot save buffer *message* |
Date: |
Thu, 18 Oct 2001 14:24:58 +0200 |
On 18 Oct 2001, at 13:12, Eli Zaretskii wrote:
>
> On Thu, 18 Oct 2001, Ulrich Windl wrote:
>
> > Sometimes emacs creates buffers named ``*something*'' which it tries to
> > save maybe. However it seems Windows/NT 4.0 refuses to create file names
> > with stars in them. So maybe the OS-dependent setup should use a
> > different
> > file name pattern, like ``%something%'' or ``!something!''.
>
> This already works in the current sources (the most prominent case with
> such names is "*mail*"). I thought it already worked in Emacs 20.7 as
> well, but maybe not; I don't have the old sources handy to look. Did you
> actually see the problem in version 20.7, or on another machine with an
> older version?
>
> One thing that isn't entirely clear from your report is what exactly
> causes the problem to appear. Can you post a full recipe for reproducing
> the problem, starting with "emacs -q"? In particular, I think Emacs will
> never save such buffers, but perhaps you are talking about auto-save?
OK, I found a very easy way to reproduce the bug:
With the *scratch* buffer do a M-x message-mode, and then type one
character to change the buffer. Then do C-x C-c. Emacs asks whether to
save the buffer. If you say 'y', you have the problem. OK, I skipped
the "emacs -q", but that shouldn't matter much (I hope).
Honestly the real problem is that parent directories do not exist,
because when trying to save *a*, the error is "invalid argument".
Now is that still a bug or not?
Here are the *Messages*
(C:\Programme\emacs-20.7\bin\emacs.exe)
Loading cus-face...
Loading cus-face...done
Loading timer...
Loading timer...done
Loading regexp-opt...
Loading regexp-opt...done
For information about the GNU Project and its goals, type C-h C-p.
Fontifying *scratch*...
Fontifying *scratch*... (regexps............)
For information about the GNU Project and its goals, type C-h C-p.
Making completion list...
Loading view...
Loading view...done
Loading message...
Loading message...done
Loading gnus-util...
Loading gnus-util...done
Fontifying *scratch*...
Fontifying *scratch*... (regexps..........)
Loading gnus-util...done
Beginning of buffer
Opening output file: no such file or directory,
c:/Uli/Mail/drafts/*message*
Auto-saving...
Autosaving...error for *scratch*
Auto-saving...done
Regards,
Ulrich