+2008-06-11 Daiki Ueno <ueno@unixuser.org>
+
+ * riece-options.el (riece-use-full-window): Abolish unused option.
+ * riece-layout.el (riece-layout-alist): New layout "one-window".
+ (riece-configure-windows-one-window): New function.
+
2008-06-07 Daiki Ueno <ueno@unixuser.org>
* riece-options.el (riece-server-alist): Accept an integer for
("bottom-left" riece-configure-windows left bottom)
("top" riece-configure-windows-top)
("spiral" riece-configure-windows-spiral)
+ ("one-window" riece-configure-windows-one-window)
("default" . "middle-right"))
"An alist mapping the names to layout functions.
An element of this alist is either in the following forms:
(select-window (or (get-buffer-window buffer)
(get-buffer-window riece-command-buffer)))))
+(defun riece-configure-windows-one-window ()
+ ;; Can't expand minibuffer to full frame.
+ (if (eq (selected-window) (minibuffer-window))
+ (other-window 1))
+ (delete-other-windows)
+ (set-window-buffer (selected-window) riece-dialogue-buffer))
+
(provide 'riece-layout)
;;; riece-layout.el ends here
:prefix "riece-"
:group 'riece)
-(defcustom riece-use-full-window t
- "If non-nil, whole Emacs window is used to display dialogue."
- :type 'boolean
- :group 'riece-looks)
-
(defcustom riece-window-center-line -2
"Line number of center point in window when scrolling.
If nil, erases the entire frame and then redraws with point in the