From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#24901: Caught mistake in elec-pair.el patch Date: Thu, 17 Aug 2017 11:49:12 -0400 Message-ID: References: <871soaz810.fsf@users.sourceforge.net> <8360dmff2n.fsf@gnu.org> <87valm1a18.fsf@lolita> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1502985039 19557 195.159.176.226 (17 Aug 2017 15:50:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 17 Aug 2017 15:50:39 +0000 (UTC) Cc: 24901@debbugs.gnu.org, Reuben Thomas 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.org@gnu.org Thu Aug 17 17:50:35 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diN43-0004bY-Oy for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Aug 2017 17:50:31 +0200 Original-Received: from localhost ([::1]:59974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diN4A-0005vj-DK for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Aug 2017 11:50:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diN3f-0005bO-9U for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2017 11:50:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1diN3a-0003rR-II for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2017 11:50:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34300) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1diN3a-0003rH-DS for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2017 11:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1diN3a-0001Qi-4T for bug-gnu-emacs@gnu.org; Thu, 17 Aug 2017 11:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2017 15:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24901 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 24901-submit@debbugs.gnu.org id=B24901.15029849605438 (code B ref 24901); Thu, 17 Aug 2017 15:50:02 +0000 Original-Received: (at 24901) by debbugs.gnu.org; 17 Aug 2017 15:49:20 +0000 Original-Received: from localhost ([127.0.0.1]:42981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diN2u-0001Pe-Es for submit@debbugs.gnu.org; Thu, 17 Aug 2017 11:49:20 -0400 Original-Received: from mail-oi0-f45.google.com ([209.85.218.45]:36174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diN2s-0001PQ-C6 for 24901@debbugs.gnu.org; Thu, 17 Aug 2017 11:49:18 -0400 Original-Received: by mail-oi0-f45.google.com with SMTP id g131so70382733oic.3 for <24901@debbugs.gnu.org>; Thu, 17 Aug 2017 08:49:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=s4t4zvJ6Nre9lII/SjUaGYVl9Fo1zvL1WBSa2oWIgw0=; b=lVXp2Zdh0FgkkUBptce9+ZEoYCXhS1rq5hdo8/kBzDFebDPdeqaZ+WBZjaptlHVbIl JQSc/Ouj1kcUMssatcCLTzLQZFa7Fa2n7j0xHxkan1FFroK31NZMGOnHG8OjN9glv870 9iENtMlHIERybBX26mHXws8OFMuTCOy+xCp4FXgoIQVNobj3mtrjv9OXrdDT/B3sdhbC rFwaK30/xO1PVEo8AZY0GtNoazAlSmn9hqiQ+f8N6Zi/HJWPMXhl18IYqPecB/8Afnde v6b6HCEjLvl3jStdoUDk33sH3yV/537CZPOSrMTbbqeUfXNoOmBW68/jDWywUaBA0uex Bt1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=s4t4zvJ6Nre9lII/SjUaGYVl9Fo1zvL1WBSa2oWIgw0=; b=BTePMgkkBfHe1+JqE5GABPstgITeYZw6w+O7V5Z2tsEnMRxm/Giuo0GZJIG13GvaCN OW1Q849eclWfpdHCG+yA0V9Eu/xn+RA8C6nCLpyZiGDdxiFOKpTg/As96kuGuk88eVv0 A3F4Ve1WCJdLikHhgZnxKCFiE/kV3jIQSPYYypAUmYiRxujRv7LFbU7jhs7PR7d0yDA2 EZght1zumxWBYR07AQs4orX9p6M7XeFy3f3CWf/Rc9f4GnKTBbSfuUTrOExzvPukBZxo uZ2uWrICsnB5/X09WKxm6z3/8v9AFkoKsF+GxpXtg1T48GXvXitQS6DCOhWIqmm1RT11 a+LQ== X-Gm-Message-State: AHYfb5jaT7IpnpclBoIx8PwKNBiLNGLhiqkLH2R/H+N5UxKB1WitCUCh 9jR/zgmJwgTqtgpLaH4BSQ28XB4hpQ== X-Received: by 10.202.181.130 with SMTP id e124mr6655434oif.96.1502984952713; Thu, 17 Aug 2017 08:49:12 -0700 (PDT) Original-Received: by 10.74.18.129 with HTTP; Thu, 17 Aug 2017 08:49:12 -0700 (PDT) In-Reply-To: <87valm1a18.fsf@lolita> X-Google-Sender-Auth: vBw5E_NUT65oNrxM1ZA4BqGZJzo 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: 208.118.235.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:135875 Archived-At: On Thu, Aug 17, 2017 at 11:36 AM, Jo=C3=A3o T=C3=A1vora wrote: > Eli Zaretskii writes: > >>> Seems to be there for a reason, unfortunately. It's forward >>> referenced in electric.el if I'm not mistaken. >> >> I don't understand this: electric.el is preloaded, so why would it >> need the autoload? I think you have the direction backwards: electric.el uses the autoloaded variable *from* elec-pair.el. > I don't know, I admit I'm very confused by the autoload logic, so you > lost me at preloaded. Also have been away from Elisp for almost a year. > > If I remove the autoload I get compilation errors in electric.elc or > align.elc (from make bootstrap). I might be doing something wrong. How > can I test the autoload dependecies without a full make bootstrap? As far as I know, the only way to be sure of testing all dependencies is deleting all elc files, i.e., a full bootstrap minus the C compilation (using ccache can help automate the "minus the C compilation" part). > And then there's the problem Noam mentioned in elisp-mode.el. The elisp-mode.el problem is what causes the align.elc failure: the byte compiler uses elisp-mode.