emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [partial solution] (was: org-capture-templates and tables: HOWTO)


From: Uwe Brauer
Subject: [O] [partial solution] (was: org-capture-templates and tables: HOWTO)
Date: Mon, 28 Jul 2014 12:54:45 +0200
User-agent: Gnus/5.13001 (Ma Gnus v0.10) XEmacs/21.5-b33 (linux)

>> "Uwe" == Uwe Brauer <address@hidden> writes:

   > Hello 

   > I am using org-capture-templates for a while but now I would like to
   > have a table in the target file, best would be something like this


   > | File      | Description                 |
   > |-----------+-----------------------------|
   > | name&Link | the purpose of this file is |

   > So I tried this entry (I don't know where to put the predicate prepend
   > or table-line...._


   > ("t" "Table" table-line (file+headline "~/README.org" "Static") 
   > "%?\nEntered on %U\n %i\n %A")
this 

("t" "Table" table-line (file+headline "~/README.org" "Static")
  "|%U|%A|%? Entered on %U %i|" :prepend t)

Does work 

This 
("T" "Table" table-line (file "~/README.org" "Static")
 "|%U|%A|%? Entered on %U %i|" :table-line-pos "II-3")

Does not 

Here is the bugtrace


,----
| 
| Debugger entered--Lisp error: (error "Capture template `T': Invalid
| table line specification \"II-3\"")
|   signal(error ("Capture template `T': Invalid table line specification
|   \"II-3\"")) cerror("Capture template `%s': %s" "T" "Invalid table line
|   specification \"II-3\"") apply(cerror "Capture template `%s': %s" ("T"
|   "Invalid table line specification \"II-3\"")) error("Capture template
|   `%s': %s" "T" "Invalid table line specification \"II-3\"")
|   byte-code("..." [error buffer-base-buffer string-match "\\`CAPTURE-"
|   buffer-name kill-buffer set-window-configuration org-capture-get
|   :return-to-wconf "Capture template `%s': %s" :key] 4) org-capture(nil)
|   call-interactively(org-capture)
`----


Uwe Brauer 

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


reply via email to

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