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

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

RE: [External] : Re: Adding major-mode selection to new buffer


From: Drew Adams
Subject: RE: [External] : Re: Adding major-mode selection to new buffer
Date: Thu, 30 Jun 2022 14:37:22 +0000

> > Jean, have been trying to include the name in file-name, but I cannot
> > see it being introduced.
> >
> > (file-name   (concat rcd-temp-file-directory
> >                      (format-time-string "%Y-%m-%d-T%H:%M:%S--")
> >                      rcd-temp-buffer-name "-" name ".txt"))
> 
> That variable `name' must have some value to work. You need not have
> `rcd-temp-buffer-name', you may construct your own file name as you
> wish.
> 
> But you have to get value for name.
> If you wish to be asked for name, then
> (read-file-name "File name: ")

Rings a bell perhaps?

https://emacs.stackexchange.com/q/72384/105

reply via email to

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