emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

eudc Directory Search duplicate menu problems


From: John Paul Wallington
Subject: eudc Directory Search duplicate menu problems
Date: Tue, 17 Sep 2002 05:41:25 +0100

emacs -q --no-site-file

then
(require 'eudc)

or choosing Tools > Directory Search > Load Hotlist of Servers (which
is bound to `eudc-load-eudc')

creates two Tools > Directory Search menus.

Making this change avoids the problem, but doesn't address it:

Index: menu-bar.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/menu-bar.el,v
retrieving revision 1.228
diff -u -r1.228 menu-bar.el
--- menu-bar.el 11 Sep 2002 21:56:50 -0000      1.228
+++ menu-bar.el 15 Sep 2002 07:50:44 -0000
@@ -989,7 +989,7 @@
 (define-key menu-bar-tools-menu [separator-net]
   '("--"))
 
-(define-key menu-bar-tools-menu [directory-search]
+(define-key menu-bar-tools-menu [directory\ search]
   '(menu-item "Directory Search" eudc-tools-menu
              :help "Query directory servers via LDAP, CCSO PH/QI or BBDB"))
 (define-key menu-bar-tools-menu [compose-mail]

I thought perhaps `easy-menu-intern' could be changed to replace the
spaces in its string argument with hypens before interning; that
avoided the duplicate Directory Search menu but created problems
for recentf.

Any ideas?

-- 
John Paul Wallington





reply via email to

[Prev in Thread] Current Thread [Next in Thread]