From: zwz <zhangweize@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: abbrev-mode and with-wrapper-hook on Windows
Date: Fri, 19 Mar 2010 14:01:41 +0000 (UTC) [thread overview]
Message-ID: <loom.20100319T145238-172@post.gmane.org> (raw)
In-Reply-To: loom.20100319T113503-275@post.gmane.org
zwz <zhangweize <at> gmail.com> writes:
>
> 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.
Here "latest" just means "GNU Emacs 23.1.90.1 (i386-mingw-nt6.0.6002)" :)
I pulled the *latest* one from bzr repository, and found it could not pass
the "make bootstrap":
(after a list of very long compilation outputs)
oo-spd/i386/ctags.o:ctags.c:(.text+0x156e): undefined reference to
`_imp__re_set_syntax'
oo-spd/i386/ctags.o:ctags.c:(.text+0x1592): undefined reference to
`_imp__re_compile_pattern'
oo-spd/i386/ctags.o:ctags.c:(.text+0x162b): undefined reference to
`_imp__re_set_syntax'
oo-spd/i386/ctags.o:ctags.c:(.text+0x1ded): undefined reference to
`_imp__re_match'
oo-spd/i386/ctags.o:ctags.c:(.text+0x6ff0): undefined reference to
`_imp__re_search'
collect2: ld returned 1 exit status
Has anyone got a solution?
>
> 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.
>
>
next prev parent reply other threads:[~2010-03-19 14:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-19 11:03 abbrev-mode and with-wrapper-hook on Windows zwz
2010-03-19 14:01 ` zwz [this message]
2010-03-19 14:12 ` Eli Zaretskii
2010-03-19 18:26 ` zwz
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=loom.20100319T145238-172@post.gmane.org \
--to=zhangweize@gmail.com \
--cc=emacs-devel@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.