From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#22352: 25.0.50; org-capture doesn't work out of the box Date: Tue, 12 Jan 2016 07:58:56 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11438ee8509b5a05291d9652 X-Trace: ger.gmane.org 1452582023 21982 80.91.229.3 (12 Jan 2016 07:00:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Jan 2016 07:00:23 +0000 (UTC) To: 22352@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 12 08:00:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aIswA-0007sF-HS for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jan 2016 08:00:14 +0100 Original-Received: from localhost ([::1]:58516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIsw6-0007jf-9V for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Jan 2016 02:00:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIsw0-0007in-HM for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2016 02:00:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIsvy-0001Ac-U6 for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2016 02:00:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIsvy-0001AK-PT for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2016 02:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aIsvy-0005vf-Hu for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2016 02:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Jan 2016 07:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22352 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145258194922698 (code B ref -1); Tue, 12 Jan 2016 07:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jan 2016 06:59:09 +0000 Original-Received: from localhost ([127.0.0.1]:46985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aIsv6-0005u2-WF for submit@debbugs.gnu.org; Tue, 12 Jan 2016 01:59:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54058) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aIsv5-0005to-7J for submit@debbugs.gnu.org; Tue, 12 Jan 2016 01:59:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIsuy-0000uy-7c for submit@debbugs.gnu.org; Tue, 12 Jan 2016 01:59:02 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIsuy-0000uu-5C for submit@debbugs.gnu.org; Tue, 12 Jan 2016 01:59:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIsuw-0007go-Hw for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2016 01:59:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIsuv-0000uZ-1c for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2016 01:58:58 -0500 Original-Received: from mail-vk0-x231.google.com ([2607:f8b0:400c:c05::231]:36010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIsuu-0000uT-Sj for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2016 01:58:56 -0500 Original-Received: by mail-vk0-x231.google.com with SMTP id n1so83347383vkb.3 for ; Mon, 11 Jan 2016 22:58:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=72rNj5QCTEfdrc2ygjdw4u6BtgM+IzhPFAmB8u7TzIU=; b=Kr8JctMYWeKgKQPW5AzlNjiDLs3Vew4DI6zQ24bZ7HALQBlFhaDUAXZusuzoUrTavX etlsiTJkAPXN4pInWLdTJpNrBLeqhYAlkft/BIk1js4QYrdA8YGlV6t5pyhc8daIA0Qc F9Eg2Qw0fkjF0LVqJX/vebWZ8wV9NMrLsxGWaSqZ5YPcJuUyT0lw5YVVwNKADoxiefMh IxaJWd1PvlSrp7vZR9T/n9wfbZR7V2yOfnq0wTEen+c6zYr1ncflU1sgGAo4mxviWwtu wY+qrnbQojvSuM4Jll6lE2YXPfMeA/qtKBtyh/6W4yVETrfoKXyDsCwLRFWT5INqyNeW Larw== X-Received: by 10.31.54.134 with SMTP id d128mr84997338vka.26.1452581936206; Mon, 11 Jan 2016 22:58:56 -0800 (PST) Original-Received: by 10.31.214.131 with HTTP; Mon, 11 Jan 2016 22:58:56 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111540 Archived-At: --001a11438ee8509b5a05291d9652 Content-Type: text/plain; charset=UTF-8 `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") signal(error ("Target buffer \".notes\" for file+headline should be in Org mode")) error("Target buffer \"%s\" for file+headline should be in Org mode" #) org-capture-set-target-location() org-capture(nil) funcall-interactively(org-capture nil) call-interactively(org-capture record nil) command-execute(org-capture record) execute-extended-command(nil "org-capture" nil) funcall-interactively(execute-extended-command nil "org-capture" nil) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) -- Anders Lindgren In GNU Emacs 25.0.50.11 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F27)) of 2016-01-09 built on macpro.lan Repository revision: 90fd798aacbf92a330cf43d2670479499daf3fb1 Windowing system distributor 'Apple', version 10.3.1348 Configured using: 'configure --without-dbus --with-ns' Configured features: ACL ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LC_CTYPE: UTF-8 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Template key: org-capture-set-target-location: Target buffer ".notes" for file+headline should be in Org mode t Template key: Entering debugger... Mark set next-line: End of buffer Making completion list... delete-backward-char: Text is read-only Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils debug seq byte-opt gv bytecomp byte-compile cconv cl-extra help-mode org-rmail org-mhe org-irc org-info org-gnus gnus-util org-docview doc-view jka-compr image-mode dired cl-loaddefs pcase cl-lib org-bibtex bibtex org-bbdb org-w3m org-capture org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu easymenu calendar cal-loaddefs time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 253563 10600) (symbols 48 26470 0) (miscs 40 94 241) (strings 32 38311 8220) (string-bytes 1 1206969) (vectors 16 40131) (vector-slots 8 717112 3887) (floats 8 227 288) (intervals 56 279 0) (buffers 976 14)) --001a11438ee8509b5a05291d9652 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
`org-capture' doesn't work in the default con= figuration.

=C2=A0 =C2=A0 emacs -Q
=C2= =A0 =C2=A0 (setq debug-on-error t) C-j
=C2=A0 =C2=A0 M-x org-capt= ure RET
=C2=A0 =C2=A0 t

This will yield = the error "Target buffer ".notes" for file+headline should b= e in Org mode". The backtrace is as follows:

=
Debugger entered--Lisp error: (error "Target buffer \".notes= \" for file+headline should be in Org mode")
=C2=A0 sig= nal(error ("Target buffer \".notes\" for file+headline shoul= d be in Org mode"))
=C2=A0 error("Target buffer \"= %s\" for file+headline should be in Org mode" #<buffer .notes&= gt;)
=C2=A0 org-capture-set-target-location()
=C2=A0 or= g-capture(nil)
=C2=A0 funcall-interactively(org-capture nil)
=C2=A0 call-interactively(org-capture record nil)
=C2=A0 co= mmand-execute(org-capture record)
=C2=A0 execute-extended-command= (nil "org-capture" nil)
=C2=A0 funcall-interactively(ex= ecute-extended-command nil "org-capture" nil)
=C2=A0 ca= ll-interactively(execute-extended-command nil nil)
=C2=A0 command= -execute(execute-extended-command)

=C2=A0 = =C2=A0 -- Anders Lindgren


In GNU Em= acs 25.0.50.11 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.= 5 (Build 14F27))
=C2=A0of 2016-01-09 built on macpro.lan
Repository revision: 90fd798aacbf92a330cf43d2670479499daf3fb1
W= indowing system distributor 'Apple', version 10.3.1348
Co= nfigured using:
=C2=A0'configure --without-dbus --with-ns'= ;

Configured features:
ACL ZLIB TOOLKIT_= SCROLL_BARS NS

Important settings:
=C2= =A0 value of $LC_CTYPE: UTF-8
=C2=A0 locale-coding-system: utf-8-= unix

Major mode: Debugger

Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 g= lobal-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2= =A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 = menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0= global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2= =A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t<= /div>
=C2=A0 buffer-read-only: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Recent mess= ages:
For information about GNU Emacs and the GNU system, type C-= h C-a.
Template key:=C2=A0
org-capture-set-target-locat= ion: Target buffer ".notes" for file+headline should be in Org mo= de
t
Template key:=C2=A0
Entering debugger...=
Mark set
next-line: End of buffer
Making com= pletion list...
delete-backward-char: Text is read-only

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rfc822 m= ml mml-sec epg
epg-config mm-decode mm-bodies mm-encode mail-pars= e rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc204= 5 ietf-drums mm-util
help-fns mail-prsvr mail-utils debug seq byt= e-opt gv bytecomp
byte-compile cconv cl-extra help-mode org-rmail= org-mhe org-irc org-info
org-gnus gnus-util org-docview doc-view= jka-compr image-mode dired
cl-loaddefs pcase cl-lib org-bibtex b= ibtex org-bbdb org-w3m org-capture
org org-macro org-footnote org= -pcomplete pcomplete org-list org-faces
org-entities noutline out= line easy-mmode org-version ob-emacs-lisp ob
ob-tangle ob-ref ob-= lob ob-table ob-exp org-src ob-keys ob-comint comint
ansi-color r= ing ob-core ob-eval org-compat org-macs org-loaddefs
format-spec = find-func cal-menu easymenu calendar cal-loaddefs time-date
mule-= util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-flo= at-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd
= fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
<= div>lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame<= /div>
cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan = thai
tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek r= omanian
slovak czech european ethiopic indian cyrillic chinese ch= arscript
case-table epa-hook jka-cmpr-hook help simple abbrev min= ibuffer
cl-preloaded nadvice loaddefs button faces cus-face macro= exp files
text-properties overlay sha1 md5 base64 format env code= -pages mule
custom widget hashtable-print-readable backquote coco= a ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 253563 10600)
=C2=A0= (symbols 48 26470 0)
=C2=A0(miscs 40 94 241)
=C2=A0(str= ings 32 38311 8220)
=C2=A0(string-bytes 1 1206969)
=C2= =A0(vectors 16 40131)
=C2=A0(vector-slots 8 717112 3887)
=C2=A0(floats 8 227 288)
=C2=A0(intervals 56 279 0)
= =C2=A0(buffers 976 14))

--001a11438ee8509b5a05291d9652--