From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#47388: 27.1; eldoc-documentation-function is ignore in updated eldoc Date: Sun, 28 Mar 2021 15:36:05 -0400 Message-ID: References: <871rc35nwr.fsf@gmail.com> <87o8f53h3q.fsf@tcd.ie> <87im5dg36l.fsf@gmail.com> <87czvlraus.fsf@gmail.com> <87a6qpg02v.fsf@gmail.com> <87y2e894x6.fsf@gmail.com> <87zgynbjy4.fsf@gmail.com> <874kgvfi2p.fsf@gmail.com> <87r1jzds4y.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21102"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "Basil L. Contovounesios" , Alex Branham , 47388@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 28 21:37:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQbDh-0005Oq-0o for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Mar 2021 21:37:09 +0200 Original-Received: from localhost ([::1]:34038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQbDg-0007ez-1V for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Mar 2021 15:37:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQbDZ-0007ep-UO for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 15:37:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQbDZ-0007Hr-Mq for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 15:37:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQbDZ-0007d9-Jt for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 15:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Mar 2021 19:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47388 X-GNU-PR-Package: emacs Original-Received: via spool by 47388-submit@debbugs.gnu.org id=B47388.161696017629272 (code B ref 47388); Sun, 28 Mar 2021 19:37:01 +0000 Original-Received: (at 47388) by debbugs.gnu.org; 28 Mar 2021 19:36:16 +0000 Original-Received: from localhost ([127.0.0.1]:47078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQbCq-0007c4-7Z for submit@debbugs.gnu.org; Sun, 28 Mar 2021 15:36:16 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:3819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQbCn-0007br-Jq for 47388@debbugs.gnu.org; Sun, 28 Mar 2021 15:36:15 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id EBCF1809CB; Sun, 28 Mar 2021 15:36:07 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 97B1380252; Sun, 28 Mar 2021 15:36:06 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1616960166; bh=dJcU30b9iYLQAqdIny9p2t2h+U5EBWr6plWHoqMy0/o=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=j+1viWL5/cxgJSyAI9CJajje4NeDSrRIaF+Ius7E3gx8mMPj9qw8sAOOg8HWYgj2h XCm40VAUq7fsj7XB0cyH/hVhxg9x5qsTMca87VEp2ivYjjXpRt/rdiYFWyrwXytQsv yxwAJuNVgxqq4nqiJi4U2SEMs7zzkAuaweVsp2w3wxi+P4Tbv6fcAOOQUXyr2kfQU1 4kvBg08ZqDRCPaF8Tf0yr6psdaMhyXKDbN9EUWV5z2ctDJW94i+kN1c9bOSOBu/esi ZHjPZvCh78AMlvVilH1tIUIJpvf8DXAyQp6qH6R4QKD/uHgFRf6Ob4WePO+CKH7G/v To5CYzzz2tI7w== Original-Received: from alfajor (unknown [216.154.43.249]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5A670120255; Sun, 28 Mar 2021 15:36:06 -0400 (EDT) In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sun, 28 Mar 2021 19:15:12 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:203208 Archived-At: >> > Note that that all this mess has to do with the silliness that is having >> > eldoc.el be preloaded just becuase elisp-mode.el. How would we go about >> > fixing that? >> We could stop preloading `elisp-mode`. > Even better, but can you say why it's even preloaded at all? > Certainly not somebody's whim, right? The code for `emacs-lisp-mode` used to be in `lisp-mode.el` which also contains various functions useful in all modes, so it's been preloaded since before I started using Emacs. When I moved (some of) the code to `progmodes/elisp-mode.el` I just preserved that pre-existing situation. I don't know for a fact, but based on my vague memory of what's in `elisp-mode.el` I don't think there's a strong technical reason to preload it. IOW it's only preloaded because we expect it would be loaded sooner or later anyway in many/most Emacs sessions. I don't know if it's indeed the case (tho it is clearly the case for *my* sessions), so you could try to float the idea on `emacs-devel`. Stefan