all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Eduard Wiebe <usenet@pusto.de>
Cc: emacs-devel@gnu.org
Subject: Re: patch: write-file to arbitrary target directory
Date: Sat, 17 Nov 2007 03:34:43 +0200	[thread overview]
Message-ID: <87lk8xr6x8.fsf@jurta.org> (raw)
In-Reply-To: <86r6ip7k4x.fsf@nirvana.pusto.de> (Eduard Wiebe's message of "Sat, 17 Nov 2007 02:09:34 +0100")

> This patch improves 'write-file' by creating  all parent directories of
> target file (in spirit of proposal by Juri[1]).
>
> Any comments?

I think this patch is useful.  Perhaps, the same y-or-n-p question
"Directory `%s' does not exists; create? " should be asked also in
`after-find-file' (with a call to `make-directory') instead of displaying
"Use M-x make-directory RET RET to create the directory and its parents"
because typing `y' as an answer to this question is less to type than
`M-x make-directory RET RET'.

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2007-11-17  1:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-17  1:09 patch: write-file to arbitrary target directory Eduard Wiebe
2007-11-17  1:34 ` Juri Linkov [this message]
2007-11-17  4:28 ` Stefan Monnier
2007-11-17  9:22   ` Eli Zaretskii
2007-11-17 13:14     ` Eduard Wiebe
2007-11-17 12:36       ` Eli Zaretskii
2007-11-17 13:03         ` Thien-Thi Nguyen
2007-11-17 22:04         ` Eduard Wiebe
2007-11-17 23:31   ` Richard Stallman
2007-11-17  9:34 ` martin rudalics
2007-11-17 13:15   ` Eduard Wiebe
2007-11-17 17:42 ` Richard Stallman
2007-11-17 23:22   ` Eduard Wiebe
     [not found]   ` <861waobh7m.fsf@nirvana.pusto.de>
2007-11-18 13:01     ` Richard Stallman
2007-11-19  0:01       ` Eduard Wiebe
2007-11-22  2:28         ` Richard Stallman

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=87lk8xr6x8.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=usenet@pusto.de \
    /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.