unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: Juanma Barranquero <lekktu@gmail.com>, 7466@debbugs.gnu.org
Subject: bug#7466: 24.0.50; (emacs) `Menu Mouse Clicks' conflicts with code obsolescence
Date: Sat, 16 Jul 2011 23:24:00 -0400	[thread overview]
Message-ID: <jwv8vrxzj88.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m31uxszzfy.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Thu, 14 Jul 2011 16:53:05 +0200")

>> The footnote on this manual page tells you how to put the mouse-3 menu
>> on mouse-3 instead of on C-mouse-3 (the default).  It tells you to bind
>> `mouse-popup-menubar-stuff'.
>> 
>> But in mouse.el, that function (as well as the other mouse-3 menu
>> functions) has been declared obsolete since 23.1.
>> 
>> There is no comment in the code indicating what now replaces these
>> functions - what to use instead.

C-h f mouse-major-mode-menu RET tells me

   This function is obsolete since 23.1;
   use `mouse-menu-major-mode-map' instead.

So for me it does say what replaces it.

> Good question.  I see from bzr that Juanma marked the function as
> obsolete.  Do you know what this is all about?

It's mostly about what C-h k returns:

Before my patch "C-h k mouse-3" returns "mouse-3 runs mouse-major-mode-menu"
whereas after my patch it pops up the menu, lets you choose an entry from
it and then gives you the name and docstring of the function
corresponding to the entry you selected.


        Stefan








  parent reply	other threads:[~2011-07-17  3:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 16:51 bug#7466: 24.0.50; (emacs) `Menu Mouse Clicks' conflicts with code obsolescence Drew Adams
2011-07-14 14:53 ` Lars Magne Ingebrigtsen
2011-07-14 15:23   ` Juanma Barranquero
2011-07-14 15:28     ` Lars Magne Ingebrigtsen
2011-07-14 15:39       ` Juanma Barranquero
2011-07-15 15:57         ` Lars Magne Ingebrigtsen
2011-07-15 16:13           ` Juanma Barranquero
2011-07-16 13:50             ` Lawrence Mitchell
2011-07-16 20:47               ` Juanma Barranquero
2011-07-17  3:24   ` Stefan Monnier [this message]
2011-07-17 14:45     ` Drew Adams
2011-08-02 21:00       ` Lars Magne Ingebrigtsen
2011-08-03  1:18         ` Stefan Monnier
2011-08-03  7:44           ` Lars Magne Ingebrigtsen
2011-08-03 14:54             ` Stefan Monnier
2011-08-03 20:39               ` Lars Magne Ingebrigtsen
2021-09-25 20:44 ` Stefan Kangas
2021-09-25 21:13   ` bug#7466: [External] : " Drew Adams
2021-09-25 22:05     ` Stefan Kangas

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=jwv8vrxzj88.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=7466@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=lekktu@gmail.com \
    /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).