emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug#44833: 27.1; Org org-docview-open (wrong-number-of-arguments (2 . 2) 1)
       [not found] <AS8PR09MB4630DE4DC68CE03406B23973BBFC0@AS8PR09MB4630.eurprd09.prod.outlook.com>
@ 2021-12-05  5:38 ` Kyle Meyer
  2021-12-18 22:23   ` Kyle Meyer
  0 siblings, 1 reply; 2+ messages in thread
From: Kyle Meyer @ 2021-12-05  5:38 UTC (permalink / raw)
  To: Michael 1; +Cc: 44833

Michael 1 writes:

> Debugger entered--Lisp error: (wrong-number-of-arguments (2 . 2) 1)
>   org-docview-open("file.odt::1")
>   org-link-open((link (:type "docview" :path "file.odt::1" :format bracket :raw-link "docview:file.odt::1" :application nil :search-option nil :begin 364 :end 453 :contents-begin 415 :contents-end 451 :post-blank 0 :parent (paragraph (:begin 364 :end 454 :contents-begin 364 :contents-end 454 :post-blank 0 :post-affiliated 364 :parent nil)))) nil)
>   org-open-at-point(nil)
>   funcall-interactively(org-open-at-point nil)
>   call-interactively(org-open-at-point nil nil)
[...]
> Can you reproduce the error?
> Is there any way to fix this behavior?

I'm sorry you didn't get a response at the time, but it seems unlikely
that you still have this issue because, as of Org's afd3b04ec (ol:
Extend open tooling in link parameters, 2020-02-19), org-link-open
handles the above error:

    ;; Function defined in `:follow' parameter may use a single
    ;; argument, as it was mandatory before Org 9.4.  This is
    ;; deprecated, but support it for now.
    (condition-case nil
        (funcall (org-link-get-parameter type :follow) path arg)
      (wrong-number-of-arguments
       (funcall (org-link-get-parameter type :follow) path)))

And that change made its way into the Emacs repo with f22856a5c54
(Update to Org 9.4.1, 2020-12-13), which was a part of the 27.2 release.

Can you confirm that the issue is resolved for you?




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

* bug#44833: 27.1; Org org-docview-open (wrong-number-of-arguments (2 . 2) 1)
  2021-12-05  5:38 ` bug#44833: 27.1; Org org-docview-open (wrong-number-of-arguments (2 . 2) 1) Kyle Meyer
@ 2021-12-18 22:23   ` Kyle Meyer
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle Meyer @ 2021-12-18 22:23 UTC (permalink / raw)
  To: Michael 1; +Cc: 44833

close 44833
quit

Kyle Meyer writes:

> I'm sorry you didn't get a response at the time, but it seems unlikely
> that you still have this issue because, as of Org's afd3b04ec (ol:
> Extend open tooling in link parameters, 2020-02-19), org-link-open
> handles the above error:
>
>     ;; Function defined in `:follow' parameter may use a single
>     ;; argument, as it was mandatory before Org 9.4.  This is
>     ;; deprecated, but support it for now.
>     (condition-case nil
>         (funcall (org-link-get-parameter type :follow) path arg)
>       (wrong-number-of-arguments
>        (funcall (org-link-get-parameter type :follow) path)))
>
> And that change made its way into the Emacs repo with f22856a5c54
> (Update to Org 9.4.1, 2020-12-13), which was a part of the 27.2 release.
>
> Can you confirm that the issue is resolved for you?

It's been close to two weeks, so I'll close this, but, if you are still
having this issue, please let us know.




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

end of thread, other threads:[~2021-12-18 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <AS8PR09MB4630DE4DC68CE03406B23973BBFC0@AS8PR09MB4630.eurprd09.prod.outlook.com>
2021-12-05  5:38 ` bug#44833: 27.1; Org org-docview-open (wrong-number-of-arguments (2 . 2) 1) Kyle Meyer
2021-12-18 22:23   ` Kyle Meyer

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).