X-Git-Url: https://cgit.sxemacs.org/?p=riece;a=blobdiff_plain;f=lisp%2Friece-options.el;h=cc13625f161a3d2736777b39233831e0155be2b1;hp=f07712f716e3de4f736a96374d5e057bc5610f33;hb=f90308e96326e2ab95e39fbfac36d8aab45a43b2;hpb=33c39589a38c10fbb4d54f09d6d2be1301f439f0 diff --git a/lisp/riece-options.el b/lisp/riece-options.el index f07712f..cc13625 100644 --- a/lisp/riece-options.el +++ b/lisp/riece-options.el @@ -24,6 +24,7 @@ ;;; Code: +(require 'riece-version) (require 'riece-globals) ;; User modifiable variables. @@ -108,7 +109,9 @@ way is to put Riece variables on .emacs or file loaded from there." riece-history riece-url riece-button - riece-menu) + riece-menu + riece-icon + riece-ignore) "Add-ons insinuated into Riece." :type '(repeat symbol) :group 'riece-options) @@ -191,6 +194,11 @@ way is to put Riece variables on .emacs or file loaded from there." (list (string :tag "Channel") (string :tag "Key")))) :group 'riece-channel) +(defcustom riece-startup-server-list nil + "A list of servers to connect automatically at startup." + :type '(repeat (string :tag "Server")) + :group 'riece-server) + (defcustom riece-retry-with-new-nickname nil "When nickname has already been in use, grow-tail automatically." :type 'boolean @@ -198,7 +206,13 @@ way is to put Riece variables on .emacs or file loaded from there." (defcustom riece-quit-timeout 10 "Quit timeout when there is no response from server." - :type 'integer + :type '(radio (integer :tag "Seconds") + (const nil)) + :group 'riece-server) + +(defcustom riece-default-open-connection-function #'open-network-stream + "Default function used for connecting to an IRC server." + :type 'function :group 'riece-server) (defcustom riece-channel-buffer-mode t @@ -232,17 +246,17 @@ way is to put Riece variables on .emacs or file loaded from there." :type 'boolean :group 'riece-options) -(defcustom riece-quit-message nil +(defcustom riece-quit-message (riece-extended-version) "Default quit message." - :type '(radio (string :tag "Quit message")) + :type '(string :tag "Quit message") :group 'riece-options) -(defcustom riece-away-message nil +(defcustom riece-away-message "Gone" "Default away message." - :type '(radio (string :tag "Away message")) + :type '(string :tag "Away message") :group 'riece-options) -(defcustom riece-gather-channel-modes t +(defcustom riece-gather-channel-modes nil "If non-nil, gather channel modes when we join a channel." :type 'boolean :group 'riece-options) @@ -252,6 +266,17 @@ way is to put Riece variables on .emacs or file loaded from there." :type 'function :group 'riece-options) +(defcustom riece-shrink-buffer-idle-time-delay 5 + "Number of idle seconds to wait before shrinking channel buffers." + :type 'integer + :group 'riece-options) + +(defcustom riece-max-buffer-size 65535 + "Maximum size of channel buffers." + :type '(radio (integer :tag "Number of characters") + (const nil)) + :group 'riece-options) + (defcustom riece-format-time-function #'current-time-string "Function to convert the specified time to the human readable form." :type 'function