emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: aborting capture to new file leaves 1-byte file behind [8.2.7c]
@ 2014-09-07  5:59 Ben Winslow
  2014-09-27 22:11 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Winslow @ 2014-09-07  5:59 UTC (permalink / raw)
  To: emacs-orgmode

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-27 22:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-07  5:59 Bug: aborting capture to new file leaves 1-byte file behind [8.2.7c] Ben Winslow
2014-09-27 22:11 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).