Subject: Re: bug#5476: 23.1.91; bookmark open info node in fundamental mode

From: Stefan Monnier <[email-masked]>
Date: Tue, 26 Jan 2010 10:15:38 -0500

> And then something like this: (need to clean for bookmark.el)

> ,----
> | (if (and file (file-readable-p file) (not (buffer-live-p buf)))
> |     (with-current-buffer (find-file-noselect file) (setq buf  (buffer-name)))
> |     ;; No file found.  See if a non-file buffer exists for this.  If not, raise error.
> |     (unless (and buf (get-buffer buf))
> |       (signal 'file-error `("Jumping to bookmark" "No such file or directory" file))))
> | (set-buffer buf) ;>>>>>>>Now we are in the buffer given by the handler
> `----

Again, I think this would be wrong.  The fix has to be elsewhere, not in
the generic handler.  E.g. in Info-bookmark-jump, maybe.

        Stefan