From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: jidanni@jidanni.org
Cc: 7564@debbugs.gnu.org
Subject: bug#7564: write-region could check if file is a directory sooner
Date: Sat, 02 Jul 2011 23:30:56 +0200 [thread overview]
Message-ID: <m3sjqomktr.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <87tyisrypq.fsf@jidanni.org> (jidanni@jidanni.org's message of "Mon, 06 Dec 2010 00:06:25 +0800")
jidanni@jidanni.org writes:
> write-region could check if file is a directory sooner,
> File /tmp already exists; overwrite anyway? (y or n) y
> Instead of waiting for this,
> apply: Opening output file: is a directory, /tmp
I'm unable to reproduce this. I get the expected error:
Debugger entered--Lisp error: (file-error "Opening output file" "is a directory" "/home/larsi/tmp")
write-region(1 2 "/home/larsi/tmp")
eval((write-region 1 2 "/home/larsi/tmp") nil)
eval-expression((write-region 1 2 "/home/larsi/tmp") nil)
Are you calling `write-region' in a different way?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
next prev parent reply other threads:[~2011-07-02 21:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-05 16:06 bug#7564: write-region could check if file is a directory sooner jidanni
2011-07-02 21:30 ` Lars Magne Ingebrigtsen [this message]
2011-07-04 13:14 ` jidanni
2011-07-04 13:45 ` Lars Magne Ingebrigtsen
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=m3sjqomktr.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
--cc=7564@debbugs.gnu.org \
--cc=jidanni@jidanni.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.
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.