From: Ben Winslow <rain@bluecherry.net>
To: emacs-orgmode@gnu.org
Subject: Bug: aborting capture to new file leaves 1-byte file behind [8.2.7c]
Date: Sun, 07 Sep 2014 01:59:07 -0400 [thread overview]
Message-ID: <c2d0d0d195662e5cd55e7ceee7481371@bluecherry.net> (raw)
I'm using a capture template to create a new file (via read-file-name)
with some pre-filled #+STARTUP options. I'm using immediate-finish, but
while I was setting it up I noticed that captures to a new file will
leave behind a 1-byte file (containing a newline) if aborted with
org-capture-kill.
To replicate, just add a new capture template pointing to a non-existent
file, start capturing to it, then abort.
===
Emacs : GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll
bars)
of 2014-06-06 on barber, modified by Debian
Package: Org-mode version 8.2.7c (8.2.7c-dist @
/usr/share/emacs24/site-lisp/org-mode/)
--
Ben Winslow <rain@bluecherry.net>
next reply other threads:[~2014-09-07 6:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-07 5:59 Ben Winslow [this message]
2014-09-27 22:11 ` Bug: aborting capture to new file leaves 1-byte file behind [8.2.7c] Nicolas Goaziou
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=c2d0d0d195662e5cd55e7ceee7481371@bluecherry.net \
--to=rain@bluecherry.net \
--cc=emacs-orgmode@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.
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.