emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Wrong type argument: integer-or-marker-p, nil on refile
@ 2017-08-02 12:40 Michaël Cadilhac
  2017-08-03 10:20 ` Adam Porter
  2017-08-06  0:18 ` Nicolas Goaziou
  0 siblings, 2 replies; 3+ messages in thread
From: Michaël Cadilhac @ 2017-08-02 12:40 UTC (permalink / raw)
  To: emacs-orgmode

Hi there everyone;

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.

Cheers;
M.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: Wrong type argument: integer-or-marker-p, nil on refile
  2017-08-02 12:40 Bug: Wrong type argument: integer-or-marker-p, nil on refile Michaël Cadilhac
@ 2017-08-03 10:20 ` Adam Porter
  2017-08-06  0:18 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Adam Porter @ 2017-08-03 10:20 UTC (permalink / raw)
  To: emacs-orgmode

Michaël Cadilhac <michael@cadilhac.name> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: Wrong type argument: integer-or-marker-p, nil on refile
  2017-08-02 12:40 Bug: Wrong type argument: integer-or-marker-p, nil on refile Michaël Cadilhac
  2017-08-03 10:20 ` Adam Porter
@ 2017-08-06  0:18 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2017-08-06  0:18 UTC (permalink / raw)
  To: Michaël Cadilhac; +Cc: emacs-orgmode

Hello,

Michaël Cadilhac <michael@cadilhac.name> writes:

> Hi there everyone;
>
> 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.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-06  0:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-02 12:40 Bug: Wrong type argument: integer-or-marker-p, nil on refile Michaël Cadilhac
2017-08-03 10:20 ` Adam Porter
2017-08-06  0:18 ` 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).