unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* abbrev-mode and with-wrapper-hook on Windows
@ 2010-03-19 11:03 zwz
  2010-03-19 14:01 ` zwz
  0 siblings, 1 reply; 4+ messages in thread
From: zwz @ 2010-03-19 11:03 UTC (permalink / raw)
  To: emacs-devel

I just found a weird problem about the abbrev-mode on Windows. After I enable 
abbrev-mode, I cannot enter any characters but digits and letters, saying 
that "expand-abbrev: Invalid function: with-wrapper-hook". This problem does 
not happen on Linux. 

I googled and found some answers, like "make bootstrap". But in fact, this 
does not work on Windows, since I did compile the latest GNU emacs by "make 
bootstrap" with MSYS+MinGW.

And I tried:
1. eval the function "expand-abbrev" (in abbrev.el) by C-x C-e; then the error 
message chaged as "with-wrapper-hook: Symbol's function definition is void: 
labels". In a new-started emacs, however, I can see that the function "labels" 
is defined in cl-macs.el. I have no idea what else happened when I hit C-x C-e.

2. add (load "abbrev") in ~/.emacs; this solves the problem. Now I can use 
abbrev-mode, but I do not like this workaround. I hope somebody can help me 
figure out why and how.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-03-19 18:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-19 11:03 abbrev-mode and with-wrapper-hook on Windows zwz
2010-03-19 14:01 ` zwz
2010-03-19 14:12   ` Eli Zaretskii
2010-03-19 18:26     ` zwz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).