emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jay Iyer <jayiyer09@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Org-refile error - wrong # of arguments
Date: Sat, 25 Feb 2017 23:53:03 -0800	[thread overview]
Message-ID: <CAGGEobU576j5X-9hWB=QfatuZx_WRpj-B+vjMqnmG-oBL0uJDw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]

Hi, since this morning I have been running into
a (wrong-number-of-arguments (0 . 1) 2) error while re-filing.  This is new
behavior, the Mac setup is unchanged, and I am unable to find a solution so
I am hoping you can point me in the right direction to fix this.  The
backtrace is pasted below.  Thanks, -jay

>>>>>>>>>>>
Debugger entered--Lisp error: (wrong-number-of-arguments (0 . 1) 2)
  org-refile-get-targets(nil nil)
  (setq org-refile-target-table (org-refile-get-targets default-buffer
excluded-entries))
  (let ((org-refile-targets org-refile-targets)
(org-refile-use-outline-path org-refile-use-outline-path) excluded-entries)
(if (and (derived-mode-p (quote org-mode)) (not org-refile-use-cache) (not
no-exclude)) (progn (org-map-tree (function (lambda nil (setq
excluded-entries (append excluded-entries ...))))))) (setq
org-refile-target-table (org-refile-get-targets default-buffer
excluded-entries)))
  org-refile-get-location("Refile subtree \"Heading 3a\" to" nil confirm)
  org-refile(nil)
  funcall-interactively(org-refile nil)
  call-interactively(org-refile nil nil)
  command-execute(org-refile)

[-- Attachment #2: Type: text/html, Size: 1787 bytes --]

             reply	other threads:[~2017-02-26  7:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-26  7:53 Jay Iyer [this message]
2017-02-26  9:07 ` Org-refile error - wrong # of arguments Nicolas Goaziou
2017-02-26 18:47   ` Jay Iyer

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='CAGGEobU576j5X-9hWB=QfatuZx_WRpj-B+vjMqnmG-oBL0uJDw@mail.gmail.com' \
    --to=jayiyer09@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).