From: "Eduardo Muñoz" <emufer@terra.es>
Subject: Feature request: write-file dialog in w32
Date: 29 Mar 2003 23:53:12 +0100 [thread overview]
Message-ID: <ubrztwzs7.fsf@terra.es> (raw)
The function write-file when invoked with the mouse shows an
*open* file dialog to get the name of the file to save. It
would be nice to use a *save* file dialog.
It is not difficult to change the function 'x-file-dialog'
in w32fns.c to use a save dialog (using a fifth optional
argument save_dialog):
....
if (!NILP (mustmatch))
file_details.Flags |= OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST;
BOOL open_dialog_result;
if (NILP (save_dialog))
open_dialog_result = GetOpenFileName (&file_details);
else
open_dialog_result = GetSaveFileName (&file_details);
if (open_dialog_result)
{
....
But I see that a number of changes must be made to other
functions to keep consistency (read-file-name, motif, etc).
So I leave the decission (and the work ;) to the emacs
maintainers.
Saludos
--
Eduardo Muñoz
http://213.97.131.125/
reply other threads:[~2003-03-29 22:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ubrztwzs7.fsf@terra.es \
--to=emufer@terra.es \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.