unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lute Kamstra <Lute.Kamstra.lists@xs4all.nl>
Cc: emacs-devel@gnu.org
Subject: Re: generic-x needs to require generic
Date: Tue, 22 Mar 2005 09:22:26 +0100	[thread overview]
Message-ID: <87zmwwgke5.fsf@xs4all.nl> (raw)
In-Reply-To: <200503212107.j2LL7g226633@raven.dms.auburn.edu> (Luc Teirlinck's message of "Mon, 21 Mar 2005 15:07:42 -0600 (CST)")

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

> What is the purpose of the following change to generic-x, which breaks
> bootstrapping:
>
> 	* generic-x.el: Don't prevent compilation.  Don't require generic.
> 	Follow coding conventions.  Minor code cleanup.
>
> I am referring to the "Don't require generic." part.  Undoing that
> part solves the following problem during bootstrapping:

The function generic-make-keywords-list that is called in generic-x is
defined in generic. So it should probably be autoloaded.
Alternatively generic-x could (eval-when-compile (require 'generic))
and (eval-when-compile ...) all calls to generic-make-keywords-list as
well.

I missed this because bootstrapping my working-tree worked just fine.
I also did an update for another tree without the generic{,-x}.el
patches and it bootstrapped fine.  A clean checkout fails to
bootstraps however.

This is quite strange.  I guess that for me the define-generic-mode
calls in generic-x that precede the generic-make-keywords-list call
autoload generic so that generic is loaded when the call to
generic-make-keywords-list is compiled.  Why this doesn't happen for
you of for a clean checkout beats me.

I'll put (require 'generic) back in for now to enable bootstrapping.

Lute.

  reply	other threads:[~2005-03-22  8:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-21 21:07 generic-x needs to require generic Luc Teirlinck
2005-03-22  8:22 ` Lute Kamstra [this message]
2005-03-22 15:36   ` Lute Kamstra
2005-03-22 16:44     ` Andreas Schwab
2005-03-22 17:23       ` Lute Kamstra

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87zmwwgke5.fsf@xs4all.nl \
    --to=lute.kamstra.lists@xs4all.nl \
    --cc=emacs-devel@gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).