From: David Maus <dmaus@ictsoc.de>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-capture destroys target file when user aborting prompt in template [6.36trans (release_6.36.430.gec51)]
Date: Sun, 27 Jun 2010 09:09:13 +0200 [thread overview]
Message-ID: <87aaqhj6jq.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <8D3E7F4D-3975-455F-9512-173001D9C419@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 846 bytes --]
Hi Carsten,
Carsten Dominik wrote:
>Hi David,
>thanks for the detailed report - nice catch. This was due to the fact
>that I am copying all local variables from the target buffer to the
>temp buffer, unfortunately including buffer-file-name :)
>THhis is fixed now - I hope you did not loose any data.
Luckily I didn't, just a good rush of adrenalin :)
It's still not entirely fixed: The target is not overwritten, but when
I abort org-capture there is one of those #<filename>#-file (how are
those called?) with the skeleton left behind. E.g. when aborting a
template that files to ~/org/inbox.org and leaving Emacs (or calling
`org-save-all-org-buffers' I get a ~/org/#inbox.org# with the
template's skeleton.
Thanks for the quick fix,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-06-27 7:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-27 5:48 Bug: org-capture destroys target file when user aborting prompt in template [6.36trans (release_6.36.430.gec51)] David Maus
2010-06-27 6:35 ` Carsten Dominik
2010-06-27 7:09 ` David Maus [this message]
2010-06-27 7:25 ` Carsten Dominik
2010-06-27 8:20 ` David Maus
2010-06-27 10:27 ` Carsten Dominik
2010-06-27 12:26 ` David Maus
2010-06-27 16:32 ` Carsten Dominik
2010-06-27 9:23 ` Štěpán Němec
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=87aaqhj6jq.wl%dmaus@ictsoc.de \
--to=dmaus@ictsoc.de \
--cc=carsten.dominik@gmail.com \
--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.