From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Javier Oviedo" Newsgroups: gmane.emacs.help Subject: elisp byte compilation problem Date: Thu, 22 May 2003 11:39:54 -0400 Organization: Texas Instruments Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1053624223 32460 80.91.224.249 (22 May 2003 17:23:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 May 2003 17:23:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 22 19:23:41 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Itm8-0008Kd-00 for ; Thu, 22 May 2003 19:22:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19IsG7-0003Fb-13 for gnu-help-gnu-emacs@m.gmane.org; Thu, 22 May 2003 11:45:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.hal-mli.net!nntp1.hal-pc.org!attdl1!attdl2!ip.att.net!news.ti.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: gt64v7121.telogy.design.ti.com Original-X-Trace: home.itg.ti.com 1053617852 3869 158.218.105.183 (22 May 2003 15:37:32 GMT) Original-X-Complaints-To: usenet@news.ti.com Original-NNTP-Posting-Date: 22 May 2003 15:37:32 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-Xref: shelby.stanford.edu gnu.emacs.help:113549 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10048 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10048 Hello all. I have found some strange behavior when I compile certain elisp files and then load them... ============================= One example is clearcase.el. I have (require 'clearcase) in my .emacs file. Without byte compiling everything works fine...meaning that I in the menubar there is a clearcase menu that I can access without problem. As soon as I byte compile, the clearcase menu disappears from the menu bar. I can't explain this. I know very little about elisp and therefore need some help. ctypes.el size is 260598 ctypes.elc size if 632 ==> something is wrong here. ============================= Another example is with ctype.el. I have the following in my .emacs file: (require 'ctypes) (setq ctypes-write-types-at-exit t) (ctypes-read-file "C:/data/joviedo/Emacs/site-lisp_21_2/_ctypes" nil t t) (ctypes-auto-parse-mode 1) When ctypes in not byte compiled, everything works fine. With ctypes byte compiled I get the following error when I load a file... File mode specification error: (void-function ctypes-read-file) run-hooks: Symbol's function definition is void: ctypes-find-file-hook ctypes.el size is 62607 ctypes.elc size if 814 ==> something is wrong here. ============================= I am using Emacs 21.2 on WinXP Thanks In Advance! -- Javier