On Thu, Nov 7, 2013 at 3:49 PM, Bastien <bzg@gnu.org> wrote:

> Can you share /path/to/minimal-org.el and the capture template?
Sure, here they are (inlined below). I should add that this also happens outside capture mode — I just happened to notice it then.

> Does it happen even when there are no tags in the headline?
No — just tried removing the tags and was unable to reproduce.

> Thanks for your help in debugging this,
The pleasure is mine! I only wish I'd started learning Lisp sooner so I could offer patches as well. One of these days …

+=== /path/to/minimal-org.el:
;;; Minimal setup to load latest `org-mode'
     ;; activate debugging
     (setq debug-on-error t
           debug-on-signal nil
           debug-on-quit nil)
    
     ;; add latest org-mode to load path
     (add-to-list 'load-path (expand-file-name "/home/rgarrett/src/org/orgmode/org-mode/lisp"))
     (add-to-list 'load-path (expand-file-name "/home/rgarrett/src/org/orgmode/org-mode/contrib/lisp" t))
===+

+=== capture template:
(customize-set-variable
 'org-capture-templates
 (quote
  (
  ("t" "Ticket" entry (file+olp "~/var/org/jnl.org" "tix") "* TODO Ticket # [[http://example.com/ticket=%^{Ticket #}][%\\1]] - %? %^G \n  DEADLINE: %^T " :prepend t :unnarrowed t)
  )
  )
 )

--

Reuben Garrett