emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Umbromancer <umbromancer@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Stable 9.1.3 demands explicit empty string in (file) as capture target
Date: Thu, 16 Nov 2017 22:13:53 +0000	[thread overview]
Message-ID: <CAB3=NSL_Bk0_pMXki2HyJGHsx_auJmYF_RO1xr7US4P1FAJJGg@mail.gmail.com> (raw)

Hi,

This may be intended, but before it was possible (and there is a lot
of code and examples in the wild) to have a capture template element
such as:

(setq org-default-notes-file "~/Documents/orgfiles/inbox.org")

  (setq org-capture-templates
        '(("t" "Todo" entry (file)
           "* TODO %^{Brief description} %^g\n %u\n %?" :empty-lines 1)
   ...))


While with stable 9.1.3 an empty string must be explicitly passed in
(file "") if org-default-notes-file is to be used as the target.

Regards

             reply	other threads:[~2017-11-16 22:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-16 22:13 Umbromancer [this message]
2017-11-17 22:24 ` Stable 9.1.3 demands explicit empty string in (file) as capture target Nicolas Goaziou
2017-11-18  9:42   ` Umbromancer
2017-11-18 11:57     ` Nicolas Goaziou

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='CAB3=NSL_Bk0_pMXki2HyJGHsx_auJmYF_RO1xr7US4P1FAJJGg@mail.gmail.com' \
    --to=umbromancer@gmail.com \
    --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).