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