emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug#22352: 25.0.50; org-capture doesn't work out of the box
       [not found] <CABr8ebbjAThLRg1dpy4QX20NVG+46E-_fnXuuj5Gz20cLEjeoQ@mail.gmail.com>
@ 2018-01-02 11:45 ` Nicolas Goaziou
  0 siblings, 0 replies; only message in thread
From: Nicolas Goaziou @ 2018-01-02 11:45 UTC (permalink / raw)
  To: Anders Lindgren; +Cc: 22352-done

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-02 11:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CABr8ebbjAThLRg1dpy4QX20NVG+46E-_fnXuuj5Gz20cLEjeoQ@mail.gmail.com>
2018-01-02 11:45 ` bug#22352: 25.0.50; org-capture doesn't work out of the box Nicolas Goaziou

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).