GNU bug report logs - #7591
24.0.50; incorrect `make-obsolete' for `mouse-major-mode-menu'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 8 Dec 2010 16:12:01 UTC

Severity: minor

Tags: notabug

Found in version 24.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: 7591 <at> debbugs.gnu.org
Subject: bug#7591: 24.0.50; incorrect `make-obsolete' for `mouse-major-mode-menu'
Date: Wed, 8 Dec 2010 08:17:37 -0800
In mouse.el:
 
(make-obsolete 'mouse-major-mode-menu 'mouse-menu-major-mode-map "23.1")
 
That is incorrect.  `mouse-major-mode-menu' is a _command_ (and can thus
be bound to a key).  `mouse-menu-major-mode-map' is not a command.
 
Try, for instance, each of these:
 
(define-key global-map [remap mouse-save-then-kill]
            'mouse-major-mode-menu)
 
(define-key global-map [remap mouse-save-then-kill]
            ''mouse-menu-major-mode-map)
 
Try `mouse-3' after each of those.
 

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-12-06 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'
 





This bug report was last modified 14 years and 150 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.