:prefix "riece-"
:group 'riece)
-(defcustom riece-truncate-partial-width-windows nil
- "If non-nil, truncate lines in splitting windows such as others buffer."
- :type 'boolean
- :group 'riece-looks)
-
(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
+center of the window. Negative means relative to bottom of window.
+See the document of the function `recenter'."
+ :type 'integer
+ :group 'riece-looks)
+
(defcustom riece-directory (expand-file-name "~/.riece")
"Where to look for data files."
:type 'directory
"Where to look for add-on files."
:type 'directory
:group 'riece-options)
-
+
(defcustom riece-variables-file
(expand-file-name "init" riece-directory)
"Where to look for variables."
riece-button
riece-menu
riece-icon
- riece-ignore)
+ riece-ignore
+ riece-log
+ riece-toolbar)
"Add-ons insinuated into Riece."
:type '(repeat symbol)
:group 'riece-options)
(args (list spec)))
(widget-put widget :args args)
widget))
-
+
(defcustom riece-server-alist nil
"An alist mapping server names to plist."
:type 'riece-server-spec
:type 'string
:group 'riece-server)
+(defcustom riece-protocol 'irc
+ "Protocol support."
+ :type 'symbol
+ :group 'riece-server)
+
+(defcustom riece-max-send-size 512
+ "Maximum size of messages to be sent at a time."
+ :type 'integer
+ :group 'riece-server)
+
+(defcustom riece-send-delay 2
+ "Duration of multiple send."
+ :type 'integer
+ :group 'riece-server)
+
(defcustom riece-default-password (getenv "IRCPASSWORD")
"Your password."
:type '(radio (string :tag "Password")
(const :tag "No" nil))
:group 'riece-server)
-(defcustom riece-username (or (getenv "IRCNAME")
- (user-real-login-name))
+(defcustom riece-username nil
"Your user name."
:type 'string
:group 'riece-server)
:type 'boolean
:group 'riece-options)
-(defcustom riece-buffer-dispose-function #'bury-buffer
+(defcustom riece-buffer-dispose-function #'kill-buffer
"Function called after the buffer was disposed."
:type 'function
:group 'riece-options)
(const nil))
:group 'riece-options)
+(defcustom riece-shrink-buffer-remove-chars (/ riece-max-send-size 2)
+ "Number of chars removed when shrinking channel buffers."
+ :type 'integer
+ :group 'riece-options)
+
(defcustom riece-format-time-function #'current-time-string
"Function to convert the specified time to the human readable form."
:type 'function