[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Wrong type argument: integer-or-marker-p, nil on refile
From: |
Adam Porter |
Subject: |
Re: [O] Bug: Wrong type argument: integer-or-marker-p, nil on refile |
Date: |
Thu, 03 Aug 2017 05:20:16 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Michaël Cadilhac <address@hidden> writes:
> Here's the ECM.
>
> init.el:
> (require 'org)
> (setq org-refile-use-outline-path (quote file))
>
> Now open an Org file, say foo.org, and type C-u C-c C-w foo.org/ RET
> At org.el:11832, pos is nil.
Confirmed here with Org 9.0.5. I think it's from
org-refile-check-position: (pos (nth 3 refile-pointer)) causes the error
because the refile-pointer doesn't have a position set, because you
selected the top-level, file-only completion without a heading.