X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Friece-options.el;h=d690861d5a7d2f34f1fd0f17dcc75908359a0411;hb=c7bb2c130283d20c83f0aef79890a5dfb3b58e8b;hp=5fe36cba3dcdbbb13d1855c61fdcb9e764ca5fad;hpb=7df46c9996ce1f3bb2155dd6669347800cdbef85;p=elisp%2Friece.git diff --git a/lisp/riece-options.el b/lisp/riece-options.el index 5fe36cb..d690861 100644 --- a/lisp/riece-options.el +++ b/lisp/riece-options.el @@ -19,8 +19,8 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, -;; Boston, MA 02111-1307, USA. +;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. ;;; Code: @@ -42,7 +42,8 @@ riece-others-buffer-mode riece-user-list-buffer-mode riece-channel-list-buffer-mode - riece-layout) + riece-layout + riece-addons) "Variables saved after each session is completed." :type 'string :group 'riece-options) @@ -210,6 +211,11 @@ way is to put Riece variables on .emacs or file loaded from there." :group 'riece-server) (defcustom riece-username nil + "Your login name." + :type 'string + :group 'riece-server) + +(defcustom riece-realname nil "Your user name." :type 'string :group 'riece-server) @@ -247,6 +253,16 @@ way is to put Riece variables on .emacs or file loaded from there." :type 'function :group 'riece-server) +(defcustom riece-user-cache-max-size 512 + "Maximum size of cache of user names." + :type 'integer + :group 'riece-server) + +(defcustom riece-channel-cache-max-size 512 + "Maximum size of cache of channel names." + :type 'integer + :group 'riece-server) + (defcustom riece-channel-buffer-mode t "When non-nil, Riece will display a channel buffer." :type 'boolean @@ -309,22 +325,6 @@ 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 nil - "Maximum size of channel buffers." - :type '(radio (integer :tag "Number of characters") - (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