unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Jean Louis <bugs@gnu.support>,
	"carlmarcos@tutanota.com" <carlmarcos@tutanota.com>
Cc: Christopher Dimech <dimech@gmx.com>,
	Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: RE: [External] : Re: Adding major-mode selection to new buffer
Date: Thu, 30 Jun 2022 14:37:22 +0000	[thread overview]
Message-ID: <SJ0PR10MB54889FFDB73EE88E79E77934F3BA9@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <Yr2f0A3b0hyk16JS@protected.localdomain>

> > 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	other threads:[~2022-06-30 14:37 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-27 22:46 Adding major-mode selection to new buffer carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-27 23:06 ` Emanuel Berg
2022-06-27 23:09   ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-27 23:13     ` Emanuel Berg
2022-06-27 23:24       ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-27 23:29         ` Emanuel Berg
2022-06-28  0:03           ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-28  0:19             ` Emanuel Berg
2022-06-28  0:28 ` Chris Van Dusen
2022-06-28 10:21 ` Jean Louis
2022-06-28 22:05   ` Christopher Dimech
2022-06-29 10:57     ` Jean Louis
     [not found]     ` <YrwwJ0/FaRxg2Ryn@protected.localdomain-N5j6REm----2>
2022-06-29 16:05       ` carlmarcos--- via Users list for the GNU Emacs text editor
     [not found]       ` <N5jJkLB--3-2@tutanota.com-N5kDENb----2>
2022-06-29 16:42         ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-30 13:06           ` Jean Louis
2022-06-30 14:37             ` Drew Adams [this message]
2022-06-30 15:07               ` [External] : " Jean Louis
2022-06-28 22:20   ` Christopher Dimech
2022-06-29 10:47     ` Christopher Dimech
     [not found] ` <YrrWHhpK7uiKKVb1@protected.localdomain-N5dqNXf--J-2>
2022-06-28 12:40   ` carlmarcos--- via Users list for the GNU Emacs text editor
2022-06-28 18:22     ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR10MB54889FFDB73EE88E79E77934F3BA9@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=bugs@gnu.support \
    --cc=carlmarcos@tutanota.com \
    --cc=dimech@gmx.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).