🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #8710

[5.35] Byte compile improvement + patch

#8710
From: Michael Brouwer
Date: Thu, 26 Aug 1993 00:36
28 lines
1620 bytes
vm-5.35's Makefile first byte-compiles vm-*.el and then cat's vm-*.elc to
vm.elc.  If you cat vm-*.el to vm.el, and then byte-compile this file, the
resulting vm.elc will be almost 10k smaller.  Is there any reason for not
doing this?

Below is a patch to vm-5.35's Makefile to achive described behaviour.

*** Makefile-5.35	Mon Aug 16 02:20:34 1993
--- Makefile	Thu Aug 26 02:34:13 1993
***************
*** 1,8 ****
  EMACS=emacs
  
  VM:
! 	$(EMACS) -batch -q -l ./vm-message.el -l ./vm-misc.el -f batch-byte-compile *.el
! 	cat vm-*.elc > vm.elc
  
  vm:	vm.texinfo
  	$(EMACS) -batch -q vm.texinfo -l texinfmt -f texinfo-format-buffer -f save-buffer
--- 1,8 ----
  EMACS=emacs
  
  VM:
! 	cat vm-*.el > vm.el
! 	$(EMACS) -batch -q -l ./vm-message.el -l ./vm-misc.el -f batch-byte-compile vm.el
  
  vm:	vm.texinfo
  	$(EMACS) -batch -q vm.texinfo -l texinfmt -f texinfo-format-buffer -f save-bu
Technical Details
Message-ID: <MICHAEL.93Aug26023601@tar.wft.stack.urc.tue.nl>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!uunet!mcsun!sun4nl!tuegate.tue.nl!terra.stack.urc.tue.nl!tricky.wft.stack.urc.tue.nl!tricky!michael

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,1c3e60db04462847,start
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1993-08-25 21:45:06 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!uunet!mcsun!sun4nl!tuegate.tue.nl!terra.stack.urc.tue.nl!tricky.wft.stack.urc.tue.nl!tricky!michael
From: michael@tar.wft.stack.urc.tue.nl (Michael Brouwer)
Newsgroups: gnu.emacs.vm.bug
Subject: [5.35] Byte compile improvement + patch
Date: 26 Aug 1993 00:36:00 GMT
Organization: Eindhoven University of Technology
Lines: 29
Message-ID: <MICHAEL.93Aug26023601@tar.wft.stack.urc.tue.nl>
NNTP-Posting-Host: tar.wft.stack.urc.tue.nl