emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ido Magal <ido@idomagal.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: New issue with capture
Date: Mon, 9 Jan 2012 20:17:32 -0800	[thread overview]
Message-ID: <CA+6XQpNbj+kVXFr5VAUqAR4a_QL_-aerht3OLmZkTAidnKMJtQ@mail.gmail.com> (raw)
In-Reply-To: <87y5th9m9f.fsf@gnu.org>

This is GNU Emacs 24.0.92.1 (i386-apple-darwin11.2.0, NS apple-appkit-1138.23)

I've reduced my .emacs to the following:

=========================================
(setq org-capture-templates
      '(("t" "Task" entry (file+datetree "~/org/tasks.org")
         "** next %?")))
=========================================

~/org/tasks.org may not exist for this to repro. It repros either way.


Repro steps:

1. M-x org-capture

2. enter anything

3. C-c C-c

Result:
"byte-code: To bind the key M-DEL, use "\M-\d", not [M-DEL]"

4. C-c C-c again.

Result:
"save-restriction: Wrong type argument: integer-or-marker-p, nil"

5. Kill the 'CAPTURE-tasks.org' buffer. (C-x k)

6. repeat steps 1-3
Result: Success(!?)



Thanks for investigating!


On Mon, Jan 9, 2012 at 02:57, Bastien <bzg@altern.org> wrote:
> Hi Ido,
>
> Ido Magal <ido@idomagal.com> writes:
>
>> When I attempt to org-capture-finalize, I get
>>
>> Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
>>   org-capture-bookmark-last-stored-position()
>>   org-capture-finalize(nil)
>>   call-interactively(org-capture-finalize nil nil)
>
> I cannot (even try to) reproduce this.
>
> Please provide a complete and minimal example -- a test file
> and the relevant part of your configuration.
>
> Thanks,
>
> --
>  Bastien

  reply	other threads:[~2012-01-10  4:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-09  5:01 New issue with capture Ido Magal
2012-01-09 10:57 ` Bastien
2012-01-10  4:17   ` Ido Magal [this message]
2012-01-23  0:24     ` Ido Magal

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=CA+6XQpNbj+kVXFr5VAUqAR4a_QL_-aerht3OLmZkTAidnKMJtQ@mail.gmail.com \
    --to=ido@idomagal.com \
    --cc=bzg@altern.org \
    --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).