From: "Trent Buck" <trentbuck@gmail.com>
To: bug-gnu-emacs@gnu.org
Cc: trentbuck@gmail.com
Subject: eval-after-load weirdness
Date: Sat, 19 May 2007 13:59:56 +1000 [thread overview]
Message-ID: <20070519035956.GA9040@baal.lan> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 2569 bytes --]
[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-list)
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 "\x03\x01" (quote mail-abbrev-insert-alias))
(progn (define-key mail-mode-map "\x03\x01" (quote mail-abbrev-insert-alias))
(define-key mail-mode-map "^[ " (quote mail-abbrev-complete-alias)))
eval((progn (define-key mail-mode-map "\x03\x01" (quote mail-abbrev-insert-alias))
(define-key mail-mode-map "^[ " (quote mail-abbrev-complete-alias))))
eval-after-load("sendmail" (progn (define-key mail-mode-map "\x03\x01" (quote mail-abbrev-insert-alias))
(define-key mail-mode-map "^[ " (quote 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=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-unicode-2:/etc/emacs:/usr/local/share/emacs/23.0.0/site-lisp:/usr/local/share/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=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''
--
Trent Buck
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
next reply other threads:[~2007-05-19 3:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-19 3:59 Trent Buck [this message]
2007-05-20 23:27 ` eval-after-load weirdness Trent Buck
[not found] ` <mailman.896.1179710457.32220.bug-gnu-emacs@gnu.org>
2007-05-22 22:59 ` Miles Bader
2007-05-23 1:46 ` Trent Buck
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=20070519035956.GA9040@baal.lan \
--to=trentbuck@gmail.com \
--cc=bug-gnu-emacs@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 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.