emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Anders Lindgren <andlind@gmail.com>
Cc: 22352-done@debbugs.gnu.org
Subject: bug#22352: 25.0.50; org-capture doesn't work out of the box
Date: Tue, 02 Jan 2018 12:45:22 +0100	[thread overview]
Message-ID: <87wp10mqlp.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CABr8ebbjAThLRg1dpy4QX20NVG+46E-_fnXuuj5Gz20cLEjeoQ@mail.gmail.com> (Anders Lindgren's message of "Tue, 12 Jan 2016 07:58:56 +0100")

Hello,

Anders Lindgren <andlind@gmail.com> writes:

> `org-capture' doesn't work in the default configuration.
>
>     emacs -Q
>     (setq debug-on-error t) C-j
>     M-x org-capture RET
>     t
>
> This will yield the error "Target buffer ".notes" for file+headline should
> be in Org mode". The backtrace is as follows:
>
> Debugger entered--Lisp error: (error "Target buffer \".notes\" for
> file+headline should be in Org mode")

Org expects the target file to be in Org mode (or some regexps are not
defined). I demoted it into a warning and let Capture switch to Org mode
nonetheless.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou                                                0x80A93738

           reply	other threads:[~2018-01-02 11:46 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CABr8ebbjAThLRg1dpy4QX20NVG+46E-_fnXuuj5Gz20cLEjeoQ@mail.gmail.com>]

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=87wp10mqlp.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=22352-done@debbugs.gnu.org \
    --cc=andlind@gmail.com \
    /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).