emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christopher Witte <chris@witte.net.au>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Subtle bug with capture and refile
Date: Fri, 22 Oct 2010 16:13:01 +0200	[thread overview]
Message-ID: <AANLkTik_a26eyGjy6HH=QDBB_E3J7WAqsjGnFHbwMNhM@mail.gmail.com> (raw)
In-Reply-To: <4E22A80F-74F6-409F-8BEA-282933F223D0@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1637 bytes --]

Work for me too, thanks for the quick fix!

Cheers
Chris.

On 21 October 2010 22:27, Carsten Dominik <carsten.dominik@gmail.com> wrote:

> Thanks for doing the testing.
>
> - Carsten
>
>
> On Oct 21, 2010, at 8:29 PM, John Rakestraw wrote:
>
>  Hi, Carsten --
>>
>> On Thu, 21 Oct 2010, Carsten Dominik wrote:
>>
>>> Hi Christopher,
>>>
>>> thank you for taking the time to isolate this bug.  Could
>>> you please try the following patch?
>>>
>>>
>> Your patch seems to fix the problem.
>>
>> Thanks --
>>
>> John
>>
>>  Thanks.
>>>
>>> - Carsten
>>>
>>>        Modified lisp/org-capture.el
>>> diff --git a/lisp/org-capture.el b/lisp/org-capture.el
>>> index 7915f7f..537f1a4 100644
>>> --- a/lisp/org-capture.el
>>> +++ b/lisp/org-capture.el
>>> @@ -548,6 +548,7 @@ already gone."
>>>  (unless (eq (org-capture-get :type 'local) 'entry)
>>>   (error
>>>    "Refiling from a capture buffer makes only sense for `entry'-
>>> type templates"))
>>> +  (if (and (bolp) (eobp)) (backward-char 1))
>>>  (let ((pos (point))
>>>        (base (buffer-base-buffer (current-buffer)))
>>>        (org-refile-for-capture t))
>>>
>>>
>> --
>> John Rakestraw
>>
>
>
> _______________________________________________
> 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
>



-- 
Postdoctoral Research Fellow
Molecular Imaging Group
 Leibniz-Institut für Molekulare Pharmakologie (FMP)
Campus Berlin-Buch
Robert-Roessle-Str. 10
13125 Berlin, Germany
Phone: 00493094793-279

[-- Attachment #1.2: Type: text/html, Size: 3263 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

      reply	other threads:[~2010-10-22 14:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21 12:27 Subtle bug with capture and refile Christopher Witte
2010-10-21 16:05 ` John Rakestraw
2010-10-21 17:38 ` Carsten Dominik
2010-10-21 18:29   ` John Rakestraw
2010-10-21 20:27     ` Carsten Dominik
2010-10-22 14:13       ` Christopher Witte [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='AANLkTik_a26eyGjy6HH=QDBB_E3J7WAqsjGnFHbwMNhM@mail.gmail.com' \
    --to=chris@witte.net.au \
    --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 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).