bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Stefan Monnier
Subject: bug#5476: 23.1.91; bookmark open info node in fundamental mode
Date: Tue, 26 Jan 2010 10:15:38 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

> 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








reply via email to

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