From: Kyle Meyer <kyle@kyleam.com>
To: Michael 1 <Michi.b_98@hotmail.com>
Cc: 44833@debbugs.gnu.org
Subject: bug#44833: 27.1; Org org-docview-open (wrong-number-of-arguments (2 . 2) 1)
Date: Sun, 05 Dec 2021 00:38:58 -0500 [thread overview]
Message-ID: <87o85vobkd.fsf@kyleam.com> (raw)
In-Reply-To: <AS8PR09MB4630DE4DC68CE03406B23973BBFC0@AS8PR09MB4630.eurprd09.prod.outlook.com>
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?
next parent reply other threads:[~2021-12-05 5:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AS8PR09MB4630DE4DC68CE03406B23973BBFC0@AS8PR09MB4630.eurprd09.prod.outlook.com>
2021-12-05 5:38 ` Kyle Meyer [this message]
2021-12-18 22:23 ` bug#44833: 27.1; Org org-docview-open (wrong-number-of-arguments (2 . 2) 1) Kyle Meyer
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=87o85vobkd.fsf@kyleam.com \
--to=kyle@kyleam.com \
--cc=44833@debbugs.gnu.org \
--cc=Michi.b_98@hotmail.com \
/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).