emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Greg Troxel <gdt@ir.bbn.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-capture loses entered text when C-g on file selection
Date: Mon, 30 Aug 2010 09:26:55 +0200	[thread overview]
Message-ID: <2F1F6ED1-DA18-42CC-8F57-185562E0D7BE@gmail.com> (raw)
In-Reply-To: <rmipqx2lug0.fsf@fnord.ir.bbn.com>


On Aug 28, 2010, at 3:48 PM, Greg Troxel wrote:

>
> This may not technically be a bug, but it violated my expectations:
>
> setup:
>
>      (setq org-capture-templates
> 	    '(("t" "task" entry
> 	       (file+headline "notes.org" "Refile")
> 	       "* TODO %?\n  %U\n")))
>
> Use 'C-c r' to start capturing.
>
> Type 'foo'.
>
> C-c C-w to start refiling
>
> Type 'bar'.
>
> Decide that you really didn't finish the note, and type C-g to get  
> back
> to editing the note.
>
> Notice that your typed-in text is vanished.
>
> C-h l output of a test case that shows this problem:
>
>  C-c r f o o C-c C-w b a r C-g

Hi Greg,

unfortunately, the way this is implemented is the following:  It first
finalizes the capture, then it does the refile.  So it is difficult
to recover at that point.

- Carsten

>
> _______________________________________________
> 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

- Carsten

      reply	other threads:[~2010-08-30  7:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-28 13:48 org-capture loses entered text when C-g on file selection Greg Troxel
2010-08-30  7:26 ` Carsten Dominik [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2F1F6ED1-DA18-42CC-8F57-185562E0D7BE@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=gdt@ir.bbn.com \
    /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 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).