From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ido Magal Subject: Re: New issue with capture Date: Sun, 22 Jan 2012 16:24:27 -0800 Message-ID: References: <87y5th9m9f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff249f714e51704b72710e1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp7ii-0003Pa-Rf for emacs-orgmode@gnu.org; Sun, 22 Jan 2012 19:25:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rp7ig-0006KI-Ue for emacs-orgmode@gnu.org; Sun, 22 Jan 2012 19:25:12 -0500 Received: from mail-pw0-f41.google.com ([209.85.160.41]:32823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp7ig-0006Jy-Aq for emacs-orgmode@gnu.org; Sun, 22 Jan 2012 19:25:10 -0500 Received: by pbdu6 with SMTP id u6so1595928pbd.0 for ; Sun, 22 Jan 2012 16:25:08 -0800 (PST) In-Reply-To: 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 --e89a8ff249f714e51704b72710e1 Content-Type: text/plain; charset=UTF-8 For the benefit of future archive-reading generations, I isolated the issue to a bug in the emacs head revision at the time I built it. Re-fetching and building fixed it. On Mon, Jan 9, 2012 at 20:17, Ido Magal wrote: > 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 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 > 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 > --e89a8ff249f714e51704b72710e1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
For the benefit of future archive-reading generations, I i= solated the issue to a bug in the emacs head revision at the time I built i= t. Re-fetching and building fixed it.


On Mon, Jan 9, 2012 at 20:17, Ido Magal <ido@idomagal.com> wrote:
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
=C2=A0 =C2=A0 =C2=A0'(("t" "Task" entry (file+date= tree "~/org/tasks.org")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 "** 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]&= quot;

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-mark= er-p nil)
>> =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

--e89a8ff249f714e51704b72710e1--