From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oGEhFBpRrGFf4gAAgWs5BA (envelope-from ) for ; Sun, 05 Dec 2021 06:41:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UKS6DxpRrGHyWgAAbx9fmQ (envelope-from ) for ; Sun, 05 Dec 2021 05:41:46 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EA3399963 for ; Sun, 5 Dec 2021 06:41:45 +0100 (CET) Received: from localhost ([::1]:46664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtkHQ-0008IY-IP for larch@yhetil.org; Sun, 05 Dec 2021 00:41:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtkFr-0007p2-6n; Sun, 05 Dec 2021 00:40:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtkFm-0003E2-5S; Sun, 05 Dec 2021 00:40:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mtkFm-00059v-0b; Sun, 05 Dec 2021 00:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44833: 27.1; Org org-docview-open (wrong-number-of-arguments (2 . 2) 1) Resent-From: Kyle Meyer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Sun, 05 Dec 2021 05:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44833 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: To: Michael 1 Received: via spool by 44833-submit@debbugs.gnu.org id=B44833.163868275719766 (code B ref 44833); Sun, 05 Dec 2021 05:40:01 +0000 Received: (at 44833) by debbugs.gnu.org; 5 Dec 2021 05:39:17 +0000 Received: from localhost ([127.0.0.1]:56074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtkF3-00058j-44 for submit@debbugs.gnu.org; Sun, 05 Dec 2021 00:39:17 -0500 Received: from out0.migadu.com ([94.23.1.103]:53105) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtkF0-00058X-VV for 44833@debbugs.gnu.org; Sun, 05 Dec 2021 00:39:16 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1638682753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=A1XtFDT8oQD7b9hL2TJAk3Jd1Xt+qr4eW//fOy7AXxc=; b=aCGJoVgUaeRLag5jDnEiUJWMl50yx4YAF0NK9KknzAtalT9JtgNGT8+xfnS3mn6N21Dyb2 HnZD+7aABGKNsZl78ZlLNjkJ1iDhY//3JF913q7iq4pZY57QwqFy0MpYHjbQcN3sXhmQ+m T+rd51G1T10VrvG5i4RF7rMMAIv9Ofwnzi9+ivVFgqzttrb1SySkiHZi1ykZuZaeICoNLQ HF3zg4wFfidwPDeun81IHG+dfF57CxVAxBUnidtjBEhvkcUEnHzgHGroow2cfo/+1T3UFZ Suod50qqTRjInw+Jh/11+6EeZYs/YZ6tOtMVe5TQhgES8oeui1XcRHcXt5F17A== From: Kyle Meyer In-Reply-To: References: Date: Sun, 05 Dec 2021 00:38:58 -0500 Message-ID: <87o85vobkd.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44833@debbugs.gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638682906; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=A1XtFDT8oQD7b9hL2TJAk3Jd1Xt+qr4eW//fOy7AXxc=; b=JIaYcWdluuDwqbJz+wj1CM5tjXXSGKpnjwcZPX412r1mla6KzwbmKQn2vvZQ9Efa6h6nwK USmZlzizEc3tiEftG44HJffWOhhFbSFRhSXkp6/nCQCspum4PqeSA3f53mxgBFw/OvY8zO IxhKcVbYB+bNKE3D1a8E9eJybAUh4iwQoWVTLt+OeF/ok6ZrAGm17OmWcmJhuSGiziSrov LMfnM9jIgJQHoUkTL2SQufnsNf+Vs/GrgL+jrBIp9Jo+1VLZX7WKkQ2qoIA8FUyMdY3jyh trQZ+Bc2CwiRmjm1J1vjx7mP4d4E9nRYKkLJreYCGMsEFyirW1G1bmOZMW1PlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638682906; a=rsa-sha256; cv=none; b=TwJs/W5B3JiQoiG+tBSr0hiK2IbiJw7qqJfuDu9beCcsnwz9Z8pS/fUxucsxMNvXmdHL5J jSmaXvRkZOIhaxJh3FuV/dyn7pSRkik1Gbi46ipDld0sCDL8rPxlTunghvjw7ghu/Xb2Jo g5R2oj2VesUfJiFwZwYJknlc5RiHpScCDWboer5UapF4kqaEJFFsbzvzbvQWp2LwNvyGNg Y7ip6Y1jZ1kDroR7JVKQS7rsJOO/PvYCF6qFAj7w2ER5a70qSTF3X3s2e+qeMYRzQ9AHPf mquIOCSPQ4/TzxSvUS5m+OgIfNnKOMQOBTdNymRYdTFMlCUxTvUgc/3l14FOEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kyleam.com header.s=key1 header.b=aCGJoVgU; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kyleam.com header.s=key1 header.b=aCGJoVgU; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EA3399963 X-Spam-Score: -2.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: zdI2YXIq80RN 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?