all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jason Spiro" <jasonspiro4@gmail.com>
To: "martin rudalics" <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: save-buffer when directory doesn't exist
Date: Fri, 6 Apr 2007 19:38:24 -0400	[thread overview]
Message-ID: <c241693f0704061638u45001846n2c7c352bee2b4b8a@mail.gmail.com> (raw)
In-Reply-To: <45FFAD68.9060601@gmx.at>

> I just checked in a slightly modified version.  Could you test it on your
> GNU Linux machine?
>
I like the new error message much better.  But now that I think about
it, the error message could be improved even more.  Instead of
"/ho,e/j/Desktop/: no such directory", how about this?

Cannot save /ho,e/jspiro/Desktop/todo.txt because directory /ho,e does not exist

I did 4 things different in my suggested example:  I used the word
"because";  I added a verbose explanation of why it failed;  I left
out the trailing slash on the directory name since I think it looks
better that way;  and I only mentioned the nonexistent directory /ho,e
and not its subdirectories.

By the way, what can be done about the annoying "can't auto-save"
messages?  I wish emacs would just auto-save to /tmp by default.

Cheers,
Jason

  reply	other threads:[~2007-04-06 23:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-10  9:43 save-buffer when directory doesn't exist martin rudalics
2007-03-20  8:09 ` Jason Spiro
2007-03-20  9:46   ` martin rudalics
2007-04-06 23:38     ` Jason Spiro [this message]
2007-04-07  7:33       ` martin rudalics
2007-04-08 21:42         ` Jason Spiro
2007-04-09  8:50           ` martin rudalics

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=c241693f0704061638u45001846n2c7c352bee2b4b8a@mail.gmail.com \
    --to=jasonspiro4@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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.