From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CTOWCFaGNV9xagAA0tVLHw (envelope-from ) for ; Thu, 13 Aug 2020 18:28:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wIULBFaGNV9USAAAB5/wlQ (envelope-from ) for ; Thu, 13 Aug 2020 18:28:38 +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 95EB394028F for ; Thu, 13 Aug 2020 18:28:37 +0000 (UTC) Received: from localhost ([::1]:57894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6Hxs-0005VT-67 for larch@yhetil.org; Thu, 13 Aug 2020 14:28:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6HxE-0005U5-OE for emacs-orgmode@gnu.org; Thu, 13 Aug 2020 14:27:56 -0400 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]:39259) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6HxD-0007zj-17 for emacs-orgmode@gnu.org; Thu, 13 Aug 2020 14:27:56 -0400 Received: by mail-qk1-x741.google.com with SMTP id n129so6054624qkd.6 for ; Thu, 13 Aug 2020 11:27:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=czKIsQ0MzplGRNz2+yv8DVLe4m4A/8o/HmCPGEDGkTw=; b=gS0o3itAJa54eQM5FAPJkjmytr5mpvrN8a4h2FqAqk2pLw4Rkhb9gCsRpu1sAeV1cE B6LE8TjgbT53/tbRzNIlUMGU59cmhRwvZwoAuKqLpsmFgnlcvjUqZrvvPKjv0+JANCNo aCi8mpKpb9kClvh8/dnKW13MXbAygw7Ji2SGLVjt4BpK2NqcsHJblcSP50Zx/Crb7oFS 7C7ViaNWCuns+VB4jc0DsXvEgRADL+k+P9seDOJ8kn85g/OHJYkZ9r0eADWd1EQfoCDC 6Kw2T8vTxZm4Soe5vsddrKBM9HGER5g/h33m3CAeHk/k0QwETkV4ms80NoDBx05tXIMk jg5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=czKIsQ0MzplGRNz2+yv8DVLe4m4A/8o/HmCPGEDGkTw=; b=G/VXILQwuY5CmS9P23JxjQY5PbwfCUm03y/MCwXaS2so5HpB157xJ2ENTnAt/+Gj++ 0N1HRl5T5RAwdrwO3NDTajlgYOXoWlvSJNPZ/FVWfsJHDgVoN+sLbb/yfH06bPbMQOwi xLGMEtvq1eabdtSa9hH3oi7SiZhfIqrASCrCe5QEcazDV5ECsC6wX0abCBrbf1rOusLN Q/k55oUKwIkmv6E0amVUedgywFC8D+7GT2Dqn8qZePJugoK+9boxsdxrEbBKPWwN+7Me 0rV4OLuK9WZV9bwyRJRlDLg8Er1wSU+6tNANUZRgUf0nUJ8P7XuL5tcgQc4DmovYAXPg 7Y0g== X-Gm-Message-State: AOAM5303PjI5jwMdwD1nvIfHJJO9zzsycsLfE7Nlahyx+lmJ59ICHVWx MuirUGXyXmvSAjmHTeGHUQgBxWSpZtk= X-Google-Smtp-Source: ABdhPJzbWee8ApEux+l+1bZlYGmZFTBya4dDqLpabjNhmv1lxpTOhCHmSOpJHdKADuMWdPYKb2uCLg== X-Received: by 2002:a37:9f0a:: with SMTP id i10mr6150529qke.368.1597343272882; Thu, 13 Aug 2020 11:27:52 -0700 (PDT) Received: from arch ([2601:8b:c300:1024:1266:d0ff:1635:f964]) by smtp.gmail.com with ESMTPSA id f39sm8289678qta.59.2020.08.13.11.27.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Aug 2020 11:27:51 -0700 (PDT) User-agent: mu4e 1.5.5; emacs 28.0.50 From: No Wayman To: emacs-orgmode@gnu.org Subject: Bug: eldoc error: (void-function nil) [9.3.7 (release_9.3.7-708-g5417e3 @ /home/n/.emacs.d/straight/build/org/)] Date: Thu, 13 Aug 2020 14:27:42 -0400 Message-ID: <871rkas8o1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::741; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qk1-x741.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=gS0o3itA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: wG10a0R35d3I --=-=-= Content-Type: text/plain; format=flowed The patch to org-eldoc applied in b2b587387 still throws an error: eldoc error: (void-function nil) I was unable to step through this because (I think) eldoc causes the debugger to close as soon as input is received. The error occurs when `eldoc--invoke-strategy` attempts to funcall eldoc-documentation-default. The attached patch works for me, but I do not know if it is the correct solution. Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.3, Xaw3d scroll bars) of 2020-08-12 Package: Org mode version 9.3.7 (release_9.3.7-708-g5417e3 @ /home/n/.emacs.d/straight/build/org/) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-org-eldoc-org-eldoc-documentation-function-set-eldoc.patch Content-Description: org-eldoc-documentation-function >From 45dfdedbce47aa72c9f7f9f146b422236e9b9e23 Mon Sep 17 00:00:00 2001 From: Nicholas Vollmer Date: Thu, 13 Aug 2020 14:20:05 -0400 Subject: [PATCH] org-eldoc: (org-eldoc-documentation-function): set `eldoc-documentation-functions' * contrib/lisp/org-eldoc.el (org-eldoc-documentation-function): b2b587387 did not set eldoc-documentation-functions, resulting in `eldoc--invoke-strategy' throwing a void-fucntion error. --- contrib/lisp/org-eldoc.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/lisp/org-eldoc.el b/contrib/lisp/org-eldoc.el index aa1dcb41b..ce0b7ddc2 100644 --- a/contrib/lisp/org-eldoc.el +++ b/contrib/lisp/org-eldoc.el @@ -138,7 +138,8 @@ (string= lang "emacs-lisp") (string= lang "elisp")) (if (fboundp 'elisp-eldoc-documentation-function) (elisp-eldoc-documentation-function) - (let (eldoc-documentation-function) + (let ((eldoc-documentation-functions + '(elisp-eldoc-var-docstring elisp-eldoc-funcall))) (eldoc-print-current-symbol-info)))) ((or (string= lang "c") ;; http://github.com/nflath/c-eldoc -- 2.28.0 --=-=-=--