Hello,
I recently posted an article to comp.emacs.xemacs asking about binding
the bookmark jump menu to a key/mouse combination. After picking
through
dejanews.com it turns out I'm not alone. There's something not
working right with respect to pop-up menus and the bookmark package.
This is with the very latest package from
www.red-bean.com and using
the one distributed with 20.4. I'm posting excerpts from the article
and a brief message I received from Karl Fogel (bookmark.el's
maintainer/author) so whoever is interested can see if a fix is
possible for 21.0.
Cheers,
Graham
--- insert ----
The bookmarks package is great and I use it all the time but I've been
unable to bind the bookmark menu to a key/mouse combination in XEmacs.
This works fine in Emacs but not XEmacs
; Make a popup bookmark menu
(global-set-key [(control button1)] 'bookmark-menu-jump)
Instead in XEmacs the menu "Jump to Bookmark" comes up with two
entries:
-*- Jump to Bookmark -*-
-*- Jump to Bookmark (1) -*-
The first entry is greyed out. Selecting the second entry or simply
releasing the mouse button produces:
Wrong type argument: stringp, nil
Debug on Error produces the following:
<snip>
On 16 Dec 1998, Karl Franz Fogel <kfogel(a)guanabana.onshore.com> wrote:
I just tried, in XEmacs 20.4, the bookmark.elc distributed with that
XEmacs, and got the same problem you had. I don't really know the
status of the bookmark.el distributed with XEmacs (I maintain to the
FSF's copy, and only upload to their site). Are the XEmacs people
maintaining a branch version?
Do they have to make changes to each new version released with FSF
Emacs? I just don't know. The most recent FSF bookmark.el didn't
seem work very well with XEmacs either, when I tried it just now.
Er, sorry, I'm at a loss. I can't maintain it for both
versions --
that would nearly double the load of maintaining it now.
If you can find a fix, or if you want to maintain it for XEmacs (or
contact the XEmacs maintainers and find out where they get their
bookmark.el from), that would help.