Variable: hpath:display-where-alist

hpath:display-where-alist is a variable defined in hpath.el.

Value

((this-window find-file)
 (other-window
  #[257 "\300 \203\f�\301 \210\302!\207\303!\207"
	[br-in-browser br-to-view-window find-file find-file-other-window]
	3 "\n\n(fn F)"])
 (one-window
  #[257 "\300 \203�\301 \210\302 \210\303!\207"
	[br-in-browser br-quit delete-other-windows find-file]
	3 "\n\n(fn F)"])
 (new-frame
  #[257 "\300\301!\203\n�\301!\207\302!\207"
	[fboundp find-file-new-frame hpath:find-other-frame]
	3 "\n\n(fn F)"])
 (other-frame hpath:find-other-frame)
 (other-frame-one-window
  #[257 "\300!\301 \210\207"
	[hpath:find-other-frame delete-other-windows]
	3 "\n\n(fn F)"]))

Documentation

*Alist of (DISPLAY-WHERE-SYMBOL DISPLAY-FILE-FUNCTION) elements.

This permits fine-grained control of where Hyperbole displays linked to files. The default value of DISPLAY-WHERE-SYMBOL is given by hpath:display-where. Valid DISPLAY-WHERE-SYMBOLs are:
    this-window - display in the current window
    other-window - display in another window in the current frame
    one-window - display in current window, deleting other windows
    new-frame - display in a new frame
    other-frame - display in another, possibly existing, frame
    other-frame-one-window - display in another frame, deleting other windows.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hpath.el
(defvar hpath:display-where-alist
  (list
   (list 'this-window  #'find-file)
   (list 'other-window (lambda (f)
			 (if (br-in-browser)
			     (progn (br-to-view-window)
				    (find-file f))
			   (find-file-other-window f))))
   (list 'one-window   (lambda (f)
			 (if (br-in-browser) (br-quit))
			 (delete-other-windows)
			 (find-file f)))
   (list 'new-frame    (lambda (f)
			 (if (fboundp 'find-file-new-frame)
			     (find-file-new-frame f)
			   (hpath:find-other-frame f))))
   (list 'other-frame  #'hpath:find-other-frame)
   (list 'other-frame-one-window (lambda (f)
				   (prog1 (hpath:find-other-frame f)
				     (delete-other-windows)))))
  "*Alist of (DISPLAY-WHERE-SYMBOL DISPLAY-FILE-FUNCTION) elements.
This permits fine-grained control of where Hyperbole displays
linked to files.  The default value of DISPLAY-WHERE-SYMBOL is
given by `hpath:display-where'.
Valid DISPLAY-WHERE-SYMBOLs are:
    this-window             - display in the current window
    other-window            - display in another window in the current frame
    one-window              - display in current window, deleting other windows
    new-frame               - display in a new frame
    other-frame             - display in another, possibly existing, frame
    other-frame-one-window  - display in another frame, deleting other windows.")