all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan <monnier@iro.umontreal.ca>
Cc: Andreas Schwab <schwab@suse.de>, Eli Zaretskii <eliz@gnu.org>,
	wohler@newt.com, mh-e-devel@lists.sourceforge.net,
	emacs-devel@gnu.org
Subject: Re: MH-E 7.4.4 checked in
Date: 16 Jul 2004 11:17:50 -0400	[thread overview]
Message-ID: <m18ydknhkv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <23643.1089986972@trantor.xilinx.com>

> A new macro mh-require-cl was added.  As a result you need to remove the
> old .elc files before proper compilation of Emacs can happen.

Changing a macro's definition or worse changing a function into a macro
does require manual intervention (removal of some .elc files) but
adding a new macro should not require removing .elc files.

The reason why it turned out to be necessary in this case is because
mh-utils.el (where mh-require-cl is defined) and mh-customize.el require
each other.
This can be seen in the error messages posted by Eli:

     Checking d:/gnu/new/emacs/lisp/mh-e...
     Compiling d:/gnu/new/emacs/lisp/mh-e/mh-comp.el...
     Source file `d:/gnu/new/emacs/lisp/mh-e/mh-e.el' newer than byte-compiled file
     Source file `d:/gnu/new/emacs/lisp/mh-e/mh-utils.el' newer than byte-compiled file
     Source file `d:/gnu/new/emacs/lisp/mh-e/mh-utils.el' newer than byte-compiled file

Notice how mh-utils.el appears twice: once first because it's required by
mh-e, and a second time because while loading mh-utils, it required
mh-custom which itself required mh-utils (which still hadn't been
provided).

I think this double-loading of mh-utils should be fixed.  A good way to do
that is to change mh-custom and mh-utils so they don't mutually require
each other.

By the way, the patch below is necessary if the double-loading of
mh-utils.el is fixed.


        Stefan


--- mh-utils.el	16 Jul 2004 10:18:02 -0400	1.6
+++ mh-utils.el	16 Jul 2004 11:13:12 -0400	
@@ -34,8 +34,9 @@
 ;;; Code:
 
 ;; Is this XEmacs-land? Located here since needed by mh-customize.el.
-(defvar mh-xemacs-flag (featurep 'xemacs)
-  "Non-nil means the current Emacs is XEmacs.")
+(eval-and-compile
+  (defvar mh-xemacs-flag (featurep 'xemacs)
+  "Non-nil means the current Emacs is XEmacs."))
 
 ;; The Emacs coding conventions require that the cl package not be required at
 ;; runtime. However, the cl package in versions of Emacs prior to 21.4 left cl

  reply	other threads:[~2004-07-16 15:17 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-13  3:26 MH-E 7.4.4 checked in Bill Wohler
2004-07-13  5:04 ` Eli Zaretskii
2004-07-13  4:24   ` Bill Wohler
2004-07-13 19:55     ` Eli Zaretskii
2004-07-13 21:59       ` Miles Bader
2004-07-14  5:09       ` Bill Wohler
2004-07-14 21:34         ` Eli Zaretskii
2004-07-16 13:28         ` Eli Zaretskii
2004-07-16 12:39           ` Andreas Schwab
2004-07-16 14:31             ` Eli Zaretskii
2004-07-16 14:09               ` Satyaki Das
2004-07-16 15:17                 ` Stefan [this message]
2004-07-16 17:00                   ` Satyaki Das
2004-07-16 20:40                     ` Bill Wohler
2004-07-17 11:54                   ` Richard Stallman
2004-07-17 10:34                 ` Eli Zaretskii
2004-07-17 11:21                   ` Andreas Schwab
2004-07-17 12:40                     ` Eli Zaretskii
2004-07-17 17:20                       ` Andreas Schwab
2004-07-17 15:11                   ` Stefan
2004-07-18 15:26                     ` Richard Stallman
2004-07-14  7:38       ` Kai Grossjohann
2004-07-14 10:39         ` Kim F. Storm
2004-07-14 10:51           ` Miles Bader
2004-07-14 13:22             ` Kim F. Storm
2004-07-14 22:04               ` Miles Bader
2004-07-15 14:45                 ` Gnus integration (was: MH-E 7.4.4 checked in) Stefan
2004-07-15 16:07                   ` Stefan Monnier
2004-07-15 16:23                   ` Luc Teirlinck
2004-07-15 16:20                 ` Gnus update " Reiner Steib
2004-07-15 16:58                   ` Andreas Schwab
2004-07-16 16:08                   ` Richard Stallman
2004-07-16 16:46                     ` Stefan Monnier
2004-07-18  7:19                       ` Richard Stallman
2004-07-16 17:38                     ` Gnus update Reiner Steib
2004-07-18  7:18                       ` Richard Stallman
2004-07-18  7:18                       ` Richard Stallman
2004-07-23 14:57                       ` Dave Love
2004-07-23 16:03                         ` Lars Magne Ingebrigtsen
2004-07-23 16:08                         ` Ted Zlatanov
2004-07-19  7:47                     ` Gnus update (was: MH-E 7.4.4 checked in) Juanma Barranquero
2004-07-19 18:44                       ` Richard Stallman
2004-07-20 21:33                         ` Gnus update Reiner Steib
2004-07-22 11:14                         ` Gnus update (was: MH-E 7.4.4 checked in) Juanma Barranquero
2004-07-22 16:27                           ` Andreas Schwab
2004-07-22 16:48                             ` Andreas Schwab
2004-07-23  7:50                               ` Juanma Barranquero
2004-07-24  3:01                             ` Richard Stallman
2004-07-24  3:38                               ` Miles Bader
2004-07-25  3:33                                 ` Richard Stallman
2004-07-26 14:19                                 ` Juanma Barranquero
2004-07-26 18:11                                   ` Richard Stallman
2004-07-24 17:30                               ` Stefan
2004-07-26 19:03                             ` Stefan Monnier
2004-07-26 19:18                               ` Gnus update Andreas Schwab
2004-07-26 21:12                                 ` Stefan Monnier
2004-07-27 18:59                                   ` Reiner Steib
2004-07-27 19:59                                     ` Andreas Schwab
2004-08-02 14:44                                       ` Reiner Steib
2004-08-02 15:38                                         ` Lars Magne Ingebrigtsen
2004-08-03 15:27                                           ` Reiner Steib
2004-07-27 18:59                                 ` Reiner Steib
2004-07-27 19:49                                   ` Andreas Schwab
2004-07-27 21:50                                     ` Reiner Steib
2004-08-02 14:46                                     ` Reiner Steib
2004-08-03 15:37                                       ` Reiner Steib
2004-08-05  4:22                                         ` Richard Stallman
2004-08-05 19:48                                           ` Reiner Steib
2004-08-01 15:22                                 ` Per Abrahamsen
2004-07-15 13:17               ` MH-E 7.4.4 checked in Richard Stallman
2004-07-14 21:35         ` Eli Zaretskii
2004-07-14 22:13           ` Miles Bader
2004-07-15  5:17             ` Kai Grossjohann
2004-07-15 13:38               ` Luc Teirlinck
2004-07-15 14:41                 ` Kai Grossjohann
2004-07-16 16:08                 ` Richard Stallman
2004-07-17 17:34                   ` Kai Grossjohann
2004-07-15 15:58               ` Gnus update (was: MH-E 7.4.4 checked in) Reiner Steib
2004-07-16  1:04                 ` Gnus update Miles Bader
2004-07-16  8:57                   ` David Kastrup
2004-07-16  9:08                     ` Miles Bader
2004-07-16  9:33                       ` Lars Magne Ingebrigtsen
2004-07-16 13:50                         ` Stefan
2004-07-16  9:35                     ` Frank Schmitt
2004-07-16 10:22                       ` David Kastrup
2004-07-18  8:29                       ` Adrian Aichner
2004-07-16  6:54               ` MH-E 7.4.4 checked in Richard Stallman
2004-07-15 13:17         ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2004-07-27 15:14 Bill Wohler
2004-07-31 16:31 ` Kai Grossjohann

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=m18ydknhkv.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mh-e-devel@lists.sourceforge.net \
    --cc=schwab@suse.de \
    --cc=wohler@newt.com \
    /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.