From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ido Magal Subject: Re: New issue with capture Date: Mon, 9 Jan 2012 20:17:32 -0800 Message-ID: References: <87y5th9m9f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkTAB-0002ti-Jl for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 23:18:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkTA9-0007gq-FF for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 23:18:19 -0500 Received: from mail-pz0-f41.google.com ([209.85.210.41]:35372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkTA9-0007gh-69 for emacs-orgmode@gnu.org; Mon, 09 Jan 2012 23:18:17 -0500 Received: by dakl33 with SMTP id l33so3551977dak.0 for ; Mon, 09 Jan 2012 20:18:16 -0800 (PST) In-Reply-To: <87y5th9m9f.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@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: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-capture-templates '(("t" "Task" entry (file+datetree "~/org/tasks.org") "** next %?"))) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ~/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 wrote: > Hi Ido, > > Ido Magal writes: > >> When I attempt to org-capture-finalize, I get >> >> Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p n= il) >> =C2=A0 org-capture-bookmark-last-stored-position() >> =C2=A0 org-capture-finalize(nil) >> =C2=A0 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, > > -- > =C2=A0Bastien