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

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

Re: Making new files


From: Stephen Berman
Subject: Re: Making new files
Date: Mon, 06 May 2024 09:05:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Sun, 05 May 2024 23:12:39 -0400 Stefan Monnier via Users list for the GNU 
Emacs text editor <help-gnu-emacs@gnu.org> wrote:

>> Well not really "give me a new file", but "save me a new file".  Like "Save 
>> As",
>> although "Save As" requires you to have an existing buffer.
>
> Then, no we don't have a command specifically dedicated to creating new
> empty files (contrary to the command line which has `touch` for that).

There's `dired-create-empty-file'...

> AFAIK this is extremely rarely needed so it's unlikely Emacs will get
> a standard command for that, let alone an entry in the menu bar.

...and it's in the "Immediate" menu in dired-mode.  (But it can of
course be invoked anywhere.)

Steve Berman



reply via email to

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