From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#36539: elec-pair.elc gets surreptitiously loaded (almost) unconditionally at start up. Date: Sun, 7 Jul 2019 19:14:55 +0000 Message-ID: <20190707191455.GC4053@ACM> References: <20190707141414.GA5641@ACM> <87wogt3hqr.fsf@gmail.com> <20190707182941.GA4053@ACM> <83o9257kfr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="72455"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: npostavs@gmail.com, 36539@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 07 21:15:33 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkCdG-000IiQ-RY for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jul 2019 21:15:30 +0200 Original-Received: from localhost ([::1]:36640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkCdF-0002S0-Qv for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jul 2019 15:15:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45888) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkCcp-0002Rn-Gz for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2019 15:15:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkCco-0000L4-J5 for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2019 15:15:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48592) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hkCco-0000Kh-Eh for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2019 15:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hkCco-000510-7K for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2019 15:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jul 2019 19:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36539 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 36539-submit@debbugs.gnu.org id=B36539.156252689919256 (code B ref 36539); Sun, 07 Jul 2019 19:15:02 +0000 Original-Received: (at 36539) by debbugs.gnu.org; 7 Jul 2019 19:14:59 +0000 Original-Received: from localhost ([127.0.0.1]:57413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkCck-00050V-Ph for submit@debbugs.gnu.org; Sun, 07 Jul 2019 15:14:58 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:30732 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1hkCcj-00050M-AW for 36539@debbugs.gnu.org; Sun, 07 Jul 2019 15:14:57 -0400 Original-Received: (qmail 1134 invoked by uid 3782); 7 Jul 2019 19:14:56 -0000 Original-Received: from acm.muc.de (p2E5D59C3.dip0.t-ipconnect.de [46.93.89.195]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 07 Jul 2019 21:14:55 +0200 Original-Received: (qmail 25386 invoked by uid 1000); 7 Jul 2019 19:14:55 -0000 Content-Disposition: inline In-Reply-To: <83o9257kfr.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:162298 Archived-At: Hello, Eli. Thanks for the reply. On Sun, Jul 07, 2019 at 21:45:28 +0300, Eli Zaretskii wrote: > > Date: Sun, 7 Jul 2019 18:29:41 +0000 > > From: Alan Mackenzie > > Cc: 36539@debbugs.gnu.org > > Just as a matter of interest, I commented out the pertinent form in > > emacs-lisp-mode, did a make bootstrap, emacs -Q, and elec-pair.elc was > > still present in my Emacs. :-( > I cannot reproduce this. After applying Noam's patch and just saying > "make", "emacs -Q" doesn't load elec-pair anymore, which I verified > both by calling featurep and by running under GDB with a breakpoint in > Fload. As Noam suggested, I was getting caught by help-enable-completion-auto-load being t by default. I tried to check whether elec-pair.el had been loaded with C-h f electric-pair- , which, of course loaded the file before giving me the complete list of functions. So, just pilot error on my part. -- Alan Mackenzie (Nuremberg, Germany).