From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.bugs
Subject: bug#36539: elec-pair.elc gets surreptitiously loaded (almost)
 unconditionally at start up.
Date: Sun, 07 Jul 2019 21:45:28 +0300
Message-ID: <83o9257kfr.fsf@gnu.org>
References: <20190707141414.GA5641@ACM>
 <87wogt3hqr.fsf@gmail.com> <20190707182941.GA4053@ACM>
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="226959"; mail-complaints-to="usenet@blaine.gmane.org"
Cc: npostavs@gmail.com, 36539@debbugs.gnu.org
To: Alan Mackenzie <acm@muc.de>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 07 20:46:41 2019
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1hkCBM-000wt7-Si
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jul 2019 20:46:41 +0200
Original-Received: from localhost ([::1]:36552 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.86_2)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1hkCBL-0006fh-Df
	for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jul 2019 14:46:39 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40242)
 by lists.gnu.org with esmtp (Exim 4.86_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hkCAk-0006fW-Re
 for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2019 14:46:03 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hkCAj-0000FJ-UU
 for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2019 14:46:02 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:48578)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1hkCAj-0000F6-RI
 for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2019 14:46:01 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1hkCAj-0004Hz-M5
 for bug-gnu-emacs@gnu.org; Sun, 07 Jul 2019 14:46:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Eli Zaretskii <eliz@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 07 Jul 2019 18:46:01 +0000
Resent-Message-ID: <handler.36539.B36539.156252514316453@debbugs.gnu.org>
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.156252514316453
 (code B ref 36539); Sun, 07 Jul 2019 18:46:01 +0000
Original-Received: (at 36539) by debbugs.gnu.org; 7 Jul 2019 18:45:43 +0000
Original-Received: from localhost ([127.0.0.1]:57399 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1hkCAQ-0004HJ-JP
 for submit@debbugs.gnu.org; Sun, 07 Jul 2019 14:45:42 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:56009)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@gnu.org>) id 1hkCAP-0004H4-8q
 for 36539@debbugs.gnu.org; Sun, 07 Jul 2019 14:45:41 -0400
Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43987)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@gnu.org>)
 id 1hkCAJ-0008PN-DL; Sun, 07 Jul 2019 14:45:35 -0400
Original-Received: from [176.228.60.248] (port=3898 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@gnu.org>)
 id 1hkCAI-0001BX-O9; Sun, 07 Jul 2019 14:45:35 -0400
In-reply-to: <20190707182941.GA4053@ACM> (message from Alan Mackenzie on Sun, 
 7 Jul 2019 18:29:41 +0000)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:162295
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/162295>

> Date: Sun, 7 Jul 2019 18:29:41 +0000
> From: Alan Mackenzie <acm@muc.de>
> 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.