From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Sebastian Wiesner <swiesner@lunaryorn.com>
Newsgroups: gmane.emacs.help
Subject: Menu on minor mode lighter
Date: Fri, 1 Aug 2014 18:09:40 +0200
Message-ID: <E23806B9-ED5C-410B-9561-3F068CF65502@lunaryorn.com>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1406909436 14791 80.91.229.3 (1 Aug 2014 16:10:36 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 1 Aug 2014 16:10:36 +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 Aug 01 18:10:29 2014
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1XDFPY-0002pk-G4
	for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Aug 2014 18:10:28 +0200
Original-Received: from localhost ([::1]:40472 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1XDFPX-0002am-Pe
	for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Aug 2014 12:10:27 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59149)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <swiesner@lunaryorn.com>) id 1XDFOw-0002Lk-R7
	for help-gnu-emacs@gnu.org; Fri, 01 Aug 2014 12:09:56 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <swiesner@lunaryorn.com>) id 1XDFOq-0005NI-M5
	for help-gnu-emacs@gnu.org; Fri, 01 Aug 2014 12:09:50 -0400
Original-Received: from vega.uberspace.de ([95.143.172.245]:48118)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <swiesner@lunaryorn.com>) id 1XDFOq-0005N9-G1
	for help-gnu-emacs@gnu.org; Fri, 01 Aug 2014 12:09:44 -0400
Original-Received: (qmail 17521 invoked from network); 1 Aug 2014 16:09:42 -0000
Original-Received: from localhost (HELO lunaryorn-air.fritz.box) (127.0.0.1)
	by vega.uberspace.de with SMTP; 1 Aug 2014 16:09:42 -0000
X-Mailer: Apple Mail (2.1878.6)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 95.143.172.245
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.help:99048
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/99048>

Hello,

how can I add a menu to the mode line lighter of a minor mode, similar =
to the menu that appears when you click on the mode line lighter of =
Dired?  However, the menu should *not* appear in the global menu bar, if =
the minor mode is enabled.

I=92d prefer a solution with easy-menu, but if I need to create a keymap =
explicitly, it=92s ok as well. =20

Thanks=