Variable: iswitchb-default-method
iswitchb-default-method is a customizable variable defined in
iswitchb.el.gz.
Value
always-frame
Documentation
How to switch to new buffer when using iswitchb-buffer.
Possible values:
samewindow Show new buffer in same window
otherwindow Show new buffer in another window (same frame)
display Display buffer in another window without switching to it
otherframe Show new buffer in another frame
maybe-frame If a buffer is visible in another frame, prompt to ask if
you want to see the buffer in the same window of the current
frame or in the other frame.
always-frame If a buffer is visible in another frame, raise that
frame. Otherwise, visit the buffer in the same window.
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/iswitchb.el.gz
;; Examples for setting the value of iswitchb-buffer-ignore
;;(defun iswitchb-ignore-c-mode (name)
;; "Ignore all c mode buffers -- example function for iswitchb."
;; (with-current-buffer name
;; (derived-mode-p 'c-mode)))
;;(setq iswitchb-buffer-ignore '("^ " iswitchb-ignore-c-mode))
;;(setq iswitchb-buffer-ignore '("^ " "\\.c\\'" "\\.h\\'"))
(defcustom iswitchb-default-method 'always-frame
"How to switch to new buffer when using `iswitchb-buffer'.
Possible values:
`samewindow' Show new buffer in same window
`otherwindow' Show new buffer in another window (same frame)
`display' Display buffer in another window without switching to it
`otherframe' Show new buffer in another frame
`maybe-frame' If a buffer is visible in another frame, prompt to ask if
you want to see the buffer in the same window of the current
frame or in the other frame.
`always-frame' If a buffer is visible in another frame, raise that
frame. Otherwise, visit the buffer in the same window."
:type '(choice (const samewindow)
(const otherwindow)
(const display)
(const otherframe)
(const maybe-frame)
(const always-frame)))