From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: bug#22352: 25.0.50; org-capture doesn't work out of the box Date: Tue, 02 Jan 2018 12:45:22 +0100 Message-ID: <87wp10mqlp.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWL1C-0001NH-9n for emacs-orgmode@gnu.org; Tue, 02 Jan 2018 06:46:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWL18-0005qs-AP for emacs-orgmode@gnu.org; Tue, 02 Jan 2018 06:46:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51847) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWL18-0005qc-4y for emacs-orgmode@gnu.org; Tue, 02 Jan 2018 06:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eWL17-00016a-SO for emacs-orgmode@gnu.org; Tue, 02 Jan 2018 06:46:01 -0500 Sender: "Debbugs-submit" Resent-To: emacs-orgmode@gnu.org Resent-Message-ID: In-Reply-To: (Anders Lindgren's message of "Tue, 12 Jan 2016 07:58:56 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Anders Lindgren Cc: 22352-done@debbugs.gnu.org Hello, Anders Lindgren 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