From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Autoload failed to define function mwheel-install Date: Mon, 27 Dec 2004 10:19:37 -0700 Message-ID: <33auhbF3mtqphU1@individual.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1104168261 23377 80.91.229.6 (27 Dec 2004 17:24:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Dec 2004 17:24:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 27 18:24:16 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CiybQ-0004bb-00 for ; Mon, 27 Dec 2004 18:24:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CiymD-0001s0-F5 for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Dec 2004 12:35:25 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-X-Trace: individual.net /o8KfYf87d1HCc6PHsJ9nwr6t77337q+IDdxPpTPm9bFXHvzE= User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:127541 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23000 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23000 Bob Marcum wrote: > I received this message upon starting up emacs after upgrading from RedHat 7.1 to > Fedora Core 3, now using emacs 21.3. I struggled for a while trying to determine > a solution. A search using google for this error message found one person's > experience which gave some guidance. > > I solved this problem by including the line (load > "usr/share/emacs/21.3/lisp/mwheel.elc") as the first line in my .emacs startup > file. > > I know this is surely not the _right_ way to solve this problem. This following > line should have solved the problem, but it doesn't. > ( autoload 'mwheel-install "mwheel" "Enable mouse wheel support" t) > (mwheel-install) > > I would have thought emacs would look in /usr/share/emacs/21.3 and all of its > directories to find mwheel.elc and resolve the reference to mwheel in the > autoload statement, but it did not. > > Is this a bug or just some configuration error I have? I suspect you've got multiple, incompatible versions of mwheel in your load-path. What does `M-x list-load-path-shadows' show? BTW, here's all I have in my .emacs to enable the mouse wheel in Emacs 21.3 (i386-pc-solaris2.8, X toolkit): (mouse-wheel-mode 1) -- Kevin Rodgers