emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Holst <thomas_holst@gmx.de>
To: emacs-orgmode@gnu.org
Subject: [bug] in capture
Date: Tue, 15 May 2018 19:26:30 +0200	[thread overview]
Message-ID: <48ea87ad-0447-72ad-decc-aa4bcf6ec089@gmx.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]

Hi,

I encountered a bug in cature (so I think).

I have among other the following template:

#+begin_src emacs-lisp
   ("hr" "Rechnung erfassen" table-line
    (file+function "~/git/org-priv/Univ_Beih.org" 
th:capure-find-open-vers-regn)
    "| # | %^u | %^{Arzt/Apotheke} | %^{für wen|Lida|Oleg|Victor|Simon} 
| %^{Betrag} | %^u | | [[file:%c][link Beleg]] |"
    :table-line-pos "III-1" :immediate-finish t)
#+end_src

With org-mode from git I get an error when using this template:

: condition-case: Capture template ‘hr’: integer-or-marker-p

With git bisect I found that:

ab53ee2c3d3ad8a090823c5f0f22dfd626605b3c is the first bad commit
commit ab53ee2c3d3ad8a090823c5f0f22dfd626605b3c
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date:   Mon Apr 30 00:52:57 2018 +0200

     org-capture: Fix capturing in a table

     * lisp/org-capture.el (org-capture-place-table-line): Rewrite function.
     * testing/lisp/test-org-capture.el (test-org-capture/table-line): New
       test.

:040000 040000 900f436884b24172403ede46422a853f7b4a497c 
cbb50728eaae22ab234cab05dcda5b53050395df M    lisp
:040000 040000 fd8fb9ee8fb1cf0ea3dd4694682932e4c3311a78 
f6abcbceb630e8e704bf8b9c3d41ad0d029a5725 M    testing

Prior to this commit everything is fine.

Was there a change in the syntax I missed?

Thanks for looking into this.

--
   Thomas



[-- Attachment #2: Type: text/html, Size: 2429 bytes --]

             reply	other threads:[~2018-05-15 17:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-15 17:26 Thomas Holst [this message]
2018-05-16 19:55 ` [bug] in capture Nicolas Goaziou
2018-05-17 17:17   ` Thomas Holst
2018-05-17 21:01     ` Nicolas Goaziou
2018-05-21 20:23       ` Thomas Holst

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=48ea87ad-0447-72ad-decc-aa4bcf6ec089@gmx.de \
    --to=thomas_holst@gmx.de \
    --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).