emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: org-caputure fails, sometimes [9.3.7 (release_9.3.7-705-gea9463


From: Uwe Brauer
Subject: Re: Bug: org-caputure fails, sometimes [9.3.7 (release_9.3.7-705-gea9463 @ /home/oub/emacs/site-lisp/packages/org/)]
Date: Sun, 25 Apr 2021 19:29:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

   > Uwe Brauer writes:

   > With this backtrace alone (which involves org-capture catching the
   > internal error), I think it's going to be hard for anyone to guess
   > what's going on here.  It sounds like once you encounter this error,
   > subsequent calls reliably trigger it.  Next time you run into it, I'd
   > suggest re-evaluating org-capture to something like below to hopefully
   > see a more informative backtrace.

   > diff --git a/lisp/org-capture.el b/lisp/org-capture.el
   > index 831c3e1f4..b20124ced 100644
   > --- a/lisp/org-capture.el
   > +++ b/lisp/org-capture.el
   > @@ -693,9 +693,7 @@ (defun org-capture (&optional goto keys)
   >                  (string-prefix-p "CAPTURE-" (buffer-name)))
   >         (kill-buffer (current-buffer)))
   >       (set-window-configuration (org-capture-get :return-to-wconf))
   > -     (error "Capture template `%s': %s"
   > -            (org-capture-get :key)
   > -            (error-message-string error))))
   > +     (signal (car error) (cdr error))))
   >    (when (and (derived-mode-p 'org-mode) (org-capture-get :clock-in))
   >      (condition-case nil
   >          (progn



I debugged the function, the error appears in that line
 (signal (car error) (cdr error))))

Which is not useful. 

The funny thing is that the capture is saved correctly in the file 
here is the template

("mu" "Stat+Num:Exercises English"
         table-line (file+headline 
"~/ALLES/HGs/tex/vorlesungen/HGQuim-Num-Estad/Lista-Alumnos/2021/GroupE/exercises-groupE-21.org"
 "Exercise Group-E")
         "| %:fromname|%:fromaddress  |%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} |  
%a|%:date | "  :prepend t 
         )

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]