unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: 7591@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	[thread overview]
Message-ID: <B206C2D2D2AC4ACD9214BA2B61B50D48@us.oracle.com> (raw)

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'
 






             reply	other threads:[~2010-12-08 16:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-08 16:17 Drew Adams [this message]
2010-12-09 22:52 ` bug#7591: 24.0.50; incorrect `make-obsolete' for `mouse-major-mode-menu' Stefan Monnier
2010-12-10 16:46   ` Drew Adams
2010-12-10 21:01     ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B206C2D2D2AC4ACD9214BA2B61B50D48@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=7591@debbugs.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 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).