all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: "João Távora" <joaotavora@gmail.com>
Cc: 24901@debbugs.gnu.org, Reuben Thomas <rrt@sc3d.org>
Subject: bug#24901: Caught mistake in elec-pair.el patch
Date: Thu, 17 Aug 2017 11:49:12 -0400	[thread overview]
Message-ID: <CAM-tV-9UCwkR_G9bEqn0YRO9FFVAjzsHkOXXi0JVXzDBAC7zLw@mail.gmail.com> (raw)
In-Reply-To: <87valm1a18.fsf@lolita>

On Thu, Aug 17, 2017 at 11:36 AM, João Távora <joaotavora@gmail.com> wrote:
> Eli Zaretskii <eliz@gnu.org> 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.





  reply	other threads:[~2017-08-17 15:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CALDnm513tFORnxwH7a_hn7Birk-s7z44ftxO2uitMM7Rb2dQKA@mail.gmail.com>
2017-08-13 11:03 ` bug#24901: Fwd: Caught mistake in elec-pair.el patch João Távora
     [not found] ` <CAOnWdojZmNrAN1ioAPk_YTik0LU-qz26SrA3pmocJznuB-Bd4A@mail.gmail.com>
2017-08-17 10:32   ` bug#24901: " João Távora
2017-08-17 12:35     ` npostavs
2017-08-17 13:32       ` João Távora
2017-08-17 14:05         ` Noam Postavsky
2017-08-17 14:23         ` Eli Zaretskii
2017-08-17 15:36           ` João Távora
2017-08-17 15:49             ` Noam Postavsky [this message]
2017-08-17 16:57               ` João Távora
2017-08-18  1:51             ` npostavs
2017-08-18 19:21               ` Reuben Thomas
2017-08-18 22:46               ` João Távora
2017-08-19  0:41                 ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAM-tV-9UCwkR_G9bEqn0YRO9FFVAjzsHkOXXi0JVXzDBAC7zLw@mail.gmail.com \
    --to=npostavs@users.sourceforge.net \
    --cc=24901@debbugs.gnu.org \
    --cc=joaotavora@gmail.com \
    --cc=rrt@sc3d.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.