Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
Adrian suggested to move this discussion back from xemacs-patches to
xemacs-beta:
The problem: The menu-entry: Edit->Bookmarks->Jump-to-Bookmark does
not automagically load the default bookmark file (at least in my
21.1.14). To see this do:
- create a bookmarks-file: ~/.emacs.bmk
- start xemacs: $xemacs -q
=> Edit->Bookmarks->Jump-to-Bookmark is not active
(only after doing: Edit->Bookmarks->Load-a-bookmark-file, it will
be activated)
I consider this a bug, since the help text of bookmark-load says:
Your own personal bookmark file, `~/.emacs.bmk', is maintained
automatically by Emacs; you shouldn't need to load it explicitly.
The following patch solves this problem for me because it makes sure
the default bookmark file is loaded every time one accesses the
menu-entry Edit->Bookmarks:
----------------------------------------------------------------------
--- menubar-items.orig Thu Aug 3 03:59:07 2000
+++ menubar-items.el Sat Mar 2 22:50:50 2002
@@ -989,6 +989,8 @@
;;; The Bookmarks menu
(defun bookmark-menu-filter (&rest ignore)
+ (require 'bookmark)
+ (bookmark-maybe-load-default-file)
(let ((definedp (and (boundp 'bookmark-alist)
bookmark-alist
t)))
----------------------------------------------------------------------
However, the patch assumes that bookmarks.el is installed. Therefore,
I think the
(require 'bookmark)
statement should be replaces by something more sophisticated. I see
two possibilities:
(a)
(if (featurep 'bookmark)
(progn
(require 'bookmark)
(bookmark-maybe-load-default-file)))
(b)
(if (fboundp 'bookmark-maybe-load-default-file)
(bookmark-maybe-load-default-file))
And giving the function bookmark-maybe-load-default-file in
bookmark.el an autoload cookie...
Any suggestions?
Volker
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux kesch 2.0.36 #12 Wed Dec 29 23:08:23 MET 1999 i586 unknown
./configure
XEmacs 21.1.14 "Cuyahoga Valley" configured for `i586-pc-linux'.
Where should the build process find the source code? /usr/local/xemacs/xemacs-21.1
What installation prefix should install use? /usr/local
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -g -O3 -Wall -Wno-switch
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11/include
Where do we find X Windows libraries? /usr/X11/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in native sound support.
Compiling in support for Berkeley DB.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Using Lisp_Objects with minimal tagbits.
Load-Path Lisp Shadows:
----------------------
(/home/vf/.xemacs/lisp/power-macros
/usr/local/lib/xemacs/xemacs-packages/lisp/edit-utils/power-macros
/home/vf/.xemacs/lisp/iswitchb
/usr/local/lib/xemacs/xemacs-packages/lisp/edit-utils/iswitchb
/home/vf/.xemacs/lisp/flyspell
/usr/local/lib/xemacs/xemacs-packages/lisp/text-modes/flyspell
/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/xpm-button
/usr/local/lib/xemacs-21.1.14/lisp/xpm-button)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xemacs-devel :version 1.4 :type single-file)
(xemacs-base :version 1.58 :type regular)
(w3 :version 1.21 :type regular)
(vm :version 7.02 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.15 :type regular)
(vc :version 1.3 :type regular)
(tramp :version 1.02 :type regular)
(tm :version 1.3 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.37 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.22 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sh-script :version 1.13 :type regular)
(sgml :version 1.08 :type regular)
(reftex :version 1.24 :type regular)
(psgml :version 1.26 :type regular)
(ps-print :version 1.02 :type regular)
(prog-modes
:version
1
.49
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.58 :type regular)
(pc :version 1.21 :type single-file)
(os-utils :version 1.26 :type single-file)
(net-utils :version 1.23 :type single-file)
(misc-games :version 1.15 :type single-file)
(mew :version 1.16 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.43 :type regular)
(jde :version 1.32 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.2 :type regular)
(igrep :version 1.08 :type regular)
(idlwave :version 1.24 :type regular)
(hm--html-menus :version 1.17 :type regular)
(gnus :version 1.58 :type regular)
(gnats :version 1.13 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.1 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.14 :type regular)
(footnote :version 1.13 :type regular)
(eudc :version 1.35 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.02 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(efs :version 1.27 :type regular)
(edit-utils :version 1.76 :type single-file)
(ediff :version 1.35 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(debug :version 1.14 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.13 :type regular)
(cc-mode :version 1.27 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.18 :type regular)
(c-support :version 1.16 :type single-file)
(bbdb :version 1.17 :type regular)
(auctex :version 1.29 :type regular)
(apel :version 1.2 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 efs-cu annotations
xpm-button bookmark pp zenirc-autoloads xemacs-devel-autoloads
xemacs-base-autoloads w3-autoloads vm-autoloads view-process-autoloads
vhdl-autoloads vc-autoloads tramp-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
slider-autoloads sh-script-autoloads sgml-autoloads reftex-autoloads
psgml-autoloads ps-print-autoloads prog-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
net-utils-autoloads misc-games-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads idlwave-autoloads
hm--html-menus-autoloads gnus-autoloads gnats-autoloads
games-autoloads fsf-compat-autoloads frame-icon-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
eshell-autoloads emerge-autoloads elib-autoloads efs-autoloads
edit-utils-autoloads ediff-autoloads edebug-autoloads dired-autoloads
debug-autoloads crisp-autoloads cookie-autoloads cc-mode-autoloads
calendar-autoloads calc-autoloads c-support-autoloads bbdb-autoloads
auctex-autoloads apel-autoloads Standard-autoloads loadhist auto-show
fontl-hooks x-iso8859-1 menubar-items x-menubar mouse mode-motion
itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu
lib-complete help-nomule derived frame text-props cus-start custom
widget cl-extra mini-cl cl cl-19 packages backquote very-early-lisp
lucid-scrollbars cut-buffer lucid-menubars athena-dialogs x tty-frames
tty toolbar native-sound scrollbar unix-processes multicast
network-streams subprocesses menubar berkeley-db dbm md5 xemacs tiff
png gif jpeg xpm lisp-float-type linux dialog devices window-system
c-balloon-help)
Recent keystrokes:
-----------------
misc-user RET misc-user
Recent messages (most recent first):
-----------------------------------
Parsing /home/vf/.mailrc...
Loading xemacsbug...done
Loading xemacsbug...
Loading bookmarks from /home/vf/.emacs.bmk...done
Loading efs-cu...done
Loading efs-cu...
Loading bookmarks from /home/vf/.emacs.bmk...
Loading annotations...done
Loading annotations...
Loading xpm-button...done
Loading xpm-button...
Loading bookmark...done
Loading bookmark...