Article View: gnu.emacs.bug
Article #87967Re: inconsistent Rmail menus
From: F.Pierresteguy
Date: Thu, 18 Aug 1994 15:34
Date: Thu, 18 Aug 1994 15:34
28 lines
1842 bytes
1842 bytes
> It doesn't work: Doing a C-h c, then choosing the new menu items,
> gives me `menu-bar ... is undefined'. Looking at your source it seems
> that you indeed have empty menu entries.
This menu items work only if you have a secondary file directory (to
handle folders), thus you must define rmail-secondary-file-directory.
Here is my default (in my .emacs):
(setq rmail-file-name "~/RMAIL/rmail")
(setq rmail-secondary-file-directory "~/RMAIL")
(setq rmail-secondary-file-regexp "^[a-zA-Z]*[-]*[a-zA-Z]*$")
If secondary file directory is not defined, the menu items shouldn't
be visible. This is your case. Try replacing this:
(define-key rmail-mode-map [menu-bar classify input-menu]
'("Input Rmail File"))
(define-key rmail-mode-map [menu-bar classify output-menu]
'("Output Rmail File"))
by this:
(define-key rmail-mode-map [menu-bar classify input-menu]
'(nil))
(define-key rmail-mode-map [menu-bar classify output-menu]
'(nil))
in rmail.el. Likewise in rmailsum.el.
Technical Details
Message-ID:
<9408181532.AA16501@papayer>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!eff!news.umbc.edu!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!frcl.bull.FR!F.PierresteguyReferences:
<9408181406.AA18994@schroeder.informatik.uni-dortmund.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,b098e7e684bb99ef X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-08-18 12:40:52 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!eff!news.umbc.edu!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!frcl.bull.FR!F.Pierresteguy From: F.Pierresteguy@frcl.bull.FR Newsgroups: gnu.emacs.bug Subject: Re: inconsistent Rmail menus Date: 18 Aug 1994 11:34:10 -0400 Organization: GNUs Not Usenet Lines: 28 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9408181532.AA16501@papayer> References: <9408181406.AA18994@schroeder.informatik.uni-dortmund.de> Reply-To: F.Pierresteguy@frcl.bull.fr