[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File menu changes (suggestions)
From: |
David Kastrup |
Subject: |
Re: File menu changes (suggestions) |
Date: |
Thu, 30 Jun 2005 07:38:39 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>>> Yet another variety would be to create a buffer which does have a
>>> file, call it "Unnamed" or some such (i.e., in the default directory),
>>> and if such a file already exists, modify it by attaching something
>>> like a number.
>
>> I think the default emacs behavior (if the buffer doesn't have a name,
>> ask for one when saving) is far better. You could create new
>> _buffer_ names like "unnamed" or whatever, but actually setting the
>> _file_ name to that seems harmful.
>
> It all depends on whether other parts of the code would be adjusted or not.
> The important issues about the behavior of "new files" (whose file name has
> not yet been set):
> - make sure C-x C-s prompts for a file name.
> - make sure autosave works.
> - make sure the auto-save-list includes the new files.
> - there might be more.
I think the main point is that the mode is set from auto-mode-alist,
and that things like auto-insert work. Specifying the file name saves
specifying mode and stuff.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: File menu changes (suggestions), (continued)
- Re: File menu changes (suggestions), Eli Zaretskii, 2005/06/28
- Re: File menu changes (suggestions), Miles Bader, 2005/06/28
- Re: File menu changes (suggestions), Stefan Monnier, 2005/06/29
- Re: File menu changes (suggestions), Miles Bader, 2005/06/29
- Re: File menu changes (suggestions), Eli Zaretskii, 2005/06/29
- Re: File menu changes (suggestions), Miles Bader, 2005/06/29
- Re: File menu changes (suggestions), Richard M. Stallman, 2005/06/29
- Re: File menu changes (suggestions),
David Kastrup <=
- Re: File menu changes (suggestions), Richard M. Stallman, 2005/06/29
- Re: File menu changes (suggestions), David Kastrup, 2005/06/30
- Re: File menu changes (suggestions), Miles Bader, 2005/06/30
- Re: File menu changes (suggestions), public, 2005/06/30
Re: File menu changes (suggestions), David Reitter, 2005/06/26
Re: File menu changes (suggestions), LENNART BORGMAN, 2005/06/27
Re: File menu changes (suggestions), LENNART BORGMAN, 2005/06/30