From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: LanX Newsgroups: gmane.emacs.help Subject: Context menu? How to make mouse-popup-menubar-stuff work? Date: Thu, 15 Oct 2009 14:51:05 -0700 (PDT) Organization: http://groups.google.com Message-ID: <466d48c6-7630-40c6-a635-57423c59ef7d@a31g2000yqn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1255646484 2408 80.91.229.12 (15 Oct 2009 22:41:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2009 22:41:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 16 00:41:14 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MyZ08-0003te-61 for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Oct 2009 00:40:53 +0200 Original-Received: from localhost ([127.0.0.1]:36914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyZ07-0006vz-Jp for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Oct 2009 18:40:51 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!a31g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 188.97.4.215 Original-X-Trace: posting.google.com 1255643465 29167 127.0.0.1 (15 Oct 2009 21:51:05 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 15 Oct 2009 21:51:05 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a31g2000yqn.googlegroups.com; posting-host=188.97.4.215; posting-account=W9fpQwoAAADZYmkl-8sXk1VPxG3rq-Pd User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.14) Gecko/2009090216 Ubuntu/8.10 (intrepid) Firefox/3.0.14, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:173919 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: news.gmane.org gmane.emacs.help:69004 Archived-At: Hi I'd like to have menu popping up after right-click like in xemacs. Browsing through the docs of emacs 22 I found ------------------------------------------------------------------------------------------------- at that spot runs the command mouse-popup-menubar- stuff which is an interactive compiled Lisp function in `mouse.el'. It is bound to . (mouse-popup-menubar-stuff event prefix) Popup a menu like either `mouse-major-mode-menu' or `mouse-popup- menubar'. Use the former if the menu bar is showing, otherwise the latter. ------------------------------------------------------------------------------------------------------ But pressing C-down-mouse-3 has no effect, just after releasing I get the message " is undefined" in emacs23 its even more complicated it says ---------- (mouse-popup-menubar-stuff event prefix) This function is obsolete since 23.1. ---------- Can it be that the behaviour of mouse-3 to mark the end of a region is interfering here? Puzzled and appreciating any help cheers rolf