From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Colin Walters Newsgroups: gmane.emacs.devel Subject: Re: mouse-wheel mode (and probably other stuff) broken due to use of global-map Date: 24 Mar 2002 16:24:17 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <1017005057.872.0.camel@space-ghost> References: <200203160639.g2G6dVk07398@wijiji.santafe.edu> <3C972B46.2040604@anubex.com> <200203210903.g2L93fk10046@wijiji.santafe.edu> <3C99C227.6030803@anubex.com> <200203211654.g2LGsNG17870@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1017005619 9768 127.0.0.1 (24 Mar 2002 21:33:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 24 Mar 2002 21:33:39 +0000 (UTC) Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16pFcR-0002XR-00 for ; Sun, 24 Mar 2002 22:33:39 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16pFkB-0000Le-00 for ; Sun, 24 Mar 2002 22:41:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16pFc5-0002Ym-00; Sun, 24 Mar 2002 16:33:17 -0500 Original-Received: from monk.debian.net ([216.185.54.61] helo=monk.verbum.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16pFZy-0001Ew-00 for ; Sun, 24 Mar 2002 16:31:06 -0500 Original-Received: from space-ghost.verbum.private (freedom.cis.ohio-state.edu [164.107.60.183]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "space-ghost.verbum.org", Issuer "monk.verbum.org" (verified OK)) by monk.verbum.org (Postfix (Debian/GNU)) with ESMTP id E225D740009E for ; Sun, 24 Mar 2002 16:30:51 -0500 (EST) Original-Received: by space-ghost.verbum.private (Postfix (Debian/GNU), from userid 1000) id D2F58806C3E; Sun, 24 Mar 2002 16:24:17 -0500 (EST) Original-To: emacs-devel@gnu.org In-Reply-To: X-Mailer: Evolution/1.0 (Preview Release) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2173 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2173 On Sun, 2002-03-24 at 13:26, Pavel Jan=C3=ADk wrote: > - (define-key (current-global-map) key 'mwheel-scroll)) > + (global-set-key key 'mwheel-scroll)) > ((eq (lookup-key (current-global-map) key) 'mwheel-scroll) > - (define-key (current-global-map) key nil)))) > + (global-unset-key key)))) Seems to work for me. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel