From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Trent Buck" Newsgroups: gmane.emacs.bugs Subject: eval-after-load weirdness Date: Sat, 19 May 2007 13:59:56 +1000 Message-ID: <20070519035956.GA9040@baal.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1763392247==" X-Trace: sea.gmane.org 1179547223 14150 80.91.229.12 (19 May 2007 04:00:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 May 2007 04:00:23 +0000 (UTC) Cc: trentbuck@gmail.com To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 19 06:00:21 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HpG7A-0005d9-DZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 May 2007 06:00:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpG79-0002sO-S3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 May 2007 00:00:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HpG77-0002sG-Bc for bug-gnu-emacs@gnu.org; Sat, 19 May 2007 00:00:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HpG75-0002s1-RS for bug-gnu-emacs@gnu.org; Sat, 19 May 2007 00:00:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpG75-0002ry-OQ for bug-gnu-emacs@gnu.org; Sat, 19 May 2007 00:00:15 -0400 Original-Received: from omta03ps.mx.bigpond.com ([144.140.82.155]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HpG75-0004wm-3N for bug-gnu-emacs@gnu.org; Sat, 19 May 2007 00:00:15 -0400 Original-Received: from oaamta03ps.mx.bigpond.com ([155.143.223.85]) by omta03ps.mx.bigpond.com with ESMTP id <20070519040011.EKDD8709.omta03ps.mx.bigpond.com@oaamta03ps.mx.bigpond.com>; Sat, 19 May 2007 04:00:11 +0000 Original-Received: from ares.lan ([155.143.223.85]) by oaamta03ps.mx.bigpond.com with ESMTP id <20070519040011.UGI25364.oaamta03ps.mx.bigpond.com@ares.lan>; Sat, 19 May 2007 04:00:11 +0000 Original-Received: from baal.lan (baal.lan [192.168.1.3]) by ares.lan (Postfix) with SMTP id 46752BBFE6; Sat, 19 May 2007 13:59:56 +1000 (EST) Original-Received: by baal.lan (sSMTP sendmail emulation); Sat, 19 May 2007 13:59:56 +1000 User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Solaris 8 (2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15715 Archived-At: --===============1763392247== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Please CC me; I'm not subscribed to the list.] I'm noticing the most bizarre symptom with my .emacs[0]: eval-after-load works right when passed a symbol, but not when passed a string. Some examples: $ emacs-unicode-2 -f toggle-debug-on-error `mktemp` Debugger entered--Lisp error: (void-variable vc-directory-exclusion-lis= t) add-to-list(vc-directory-exclusion-list ".bzr" t) eval((add-to-list (quote vc-directory-exclusion-list) ".bzr" t)) eval-after-load("vc" (add-to-list (quote vc-directory-exclusion-list)= ".bzr" t)) $ emacs-snapshot -f toggle-debug-on-error -f gnus Debugger entered--Lisp error: (void-variable mail-mode-map) (define-key mail-mode-map "=03=01" (quote mail-abbrev-insert-alias)) (progn (define-key mail-mode-map "=03=01" (quote mail-abbrev-insert-a= lias)) (define-key mail-mode-map "=1B " (quote mail-abbrev-complete-a= lias))) eval((progn (define-key mail-mode-map "=03=01" (quote mail-abbrev-ins= ert-alias)) (define-key mail-mode-map "=1B " (quote mail-abbrev-compl= ete-alias)))) eval-after-load("sendmail" (progn (define-key mail-mode-map "=03=01" = (quote mail-abbrev-insert-alias)) (define-key mail-mode-map "=1B " (q= uote mail-abbrev-complete-alias)))) Adding -q (i.e. disabling my .emacs) stops these errors. I'm at my wits end... can anyone suggest what could be causing this? [0] http://twb.ath.cx/~twb/scratch/profile/.emacs http://twb.ath.cx/~twb/scratch/profile/.emacs-prefs/ http://twb.ath.cx/~twb/scratch/profile/.emacs-apps/ In GNU Emacs 23.0.0.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-05-13 on baal, modified by Debian (Debian emacs-unicode-2 package, version 1:20070513-1) Windowing system distributor `The X.Org Foundation', version 11.0.10300000 configured using `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-= linux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/var/lib' '--libexecdir=3D= /usr/lib' '--localstatedir=3D/var' '--infodir=3D/usr/share/info' '--mandir= =3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs-= unicode-2:/etc/emacs:/usr/local/share/emacs/23.0.0/site-lisp:/usr/local/sha= re/emacs/site-lisp:/usr/share/emacs/23.0.0/site-lisp:/usr/share/emacs/site-= lisp:/usr/share/emacs/23.0.0/leim' '--enable-font-backend' '--with-xft' '--= with-x=3Dyes' '--with-x-toolkit=3Dathena' '--with-toolkit-scroll-bars' 'bui= ld_alias=3Dx86_64-linux-gnu' 'host_alias=3Dx86_64-linux-gnu' 'CFLAGS=3D-DDE= BIAN -DSITELOAD_PURESIZE_EXTRA=3D5000 -g -O2'' --=20 Trent Buck --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGTnY7Lpef9iTtxAYRAinzAKCeon4Bv+S2BQMu2sPIZcruMwqQngCg8mNe 4C/foSY4RfmrBq2PkMxCGko= =Qw08 -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx-- --===============1763392247== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ bug-gnu-emacs mailing list bug-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs --===============1763392247==--