X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Friece-options.el;h=730cd9b6afde1b7fca07dbc18d49290fca28f93d;hb=05933e03db571db13ae01c9e35e7bb35b71ad25d;hp=f73e2b7aa0a7ba0c097dc61d032110698e725de9;hpb=2f125711ab9af88f8f767e0d76dcf0c099110c55;p=riece diff --git a/lisp/riece-options.el b/lisp/riece-options.el index f73e2b7..730cd9b 100644 --- a/lisp/riece-options.el +++ b/lisp/riece-options.el @@ -114,7 +114,9 @@ way is to put Riece variables on .emacs or file loaded from there." 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) @@ -178,19 +180,23 @@ way is to put Riece variables on .emacs or file loaded from there." :type 'symbol :group 'riece-server) -(defcustom riece-max-send-size 1500 +(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) @@ -274,7 +280,7 @@ way is to put Riece variables on .emacs or file loaded from there." :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) @@ -290,6 +296,11 @@ way is to put Riece variables on .emacs or file loaded from there." (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