X-Git-Url: http://cgit.sxemacs.org/?p=riece;a=blobdiff_plain;f=lisp%2Friece-globals.el;h=39912294a275d9339755daef65e7df5ea03d6ce9;hp=57f97fa5d11535253cf6e66549e02ef3b7f8a7e8;hb=826060119507d6fa0e22c4344863fb776759597f;hpb=1aedc8c61a2b0bf1512acab6b780dbd7cbc71eb9 diff --git a/lisp/riece-globals.el b/lisp/riece-globals.el index 57f97fa..3991229 100644 --- a/lisp/riece-globals.el +++ b/lisp/riece-globals.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: @@ -66,10 +66,10 @@ "If non-nil, attempt to reconnect with password.") (defvar riece-user-obarray-size 1327 - "The size of obarray used by riece on username space.") + "The size of obarray used by riece on user name space.") (defvar riece-channel-obarray-size 103 - "The size of obarray used by riece on channelname space.") + "The size of obarray used by riece on channel name space.") (defvar riece-addon-dependencies nil) @@ -113,6 +113,9 @@ Local to the server buffers.") (defvar riece-read-point nil "Point at the last input was seen. Local to the server buffers.") +(defvar riece-filter-running nil + "Lock of the process filter; non-nil indicates the process filter is running. +Local to the server buffers.") (defvar riece-send-queue nil "Send queue for avoiding client flood. Local to the server buffers.") @@ -131,6 +134,12 @@ Local to the server buffers.") (defvar riece-coding-system nil "Coding system for process I/O. Local to the server buffers.") +(defvar riece-channel-cache nil + "Cache of channel names. +Local to the server buffers.") +(defvar riece-user-cache nil + "Cache of user names. +Local to the server buffers.") ;;; Variables local to the channel buffers: (defvar riece-freeze nil @@ -149,26 +158,34 @@ Local to the channel buffers.") ;;; Modeline indicators: (defvar riece-mode-line-buffer-identification nil) +(put 'riece-mode-line-buffer-identification 'risky-local-variable t) (defvar riece-channel-indicator "None" "String displayed on the modeline to indicate the current channel.") +(put 'riece-channel-indicator 'risky-local-variable t) (defvar riece-long-channel-indicator "None" "String displayed on the modeline to indicate the current channel. Generally, this string will contain more information than riece-channel-indicator.") +(put 'riece-long-channel-indicator 'risky-local-variable t) (defvar riece-channel-list-indicator "No channel" "String displayed on the modeline to show the joined channels.") +(put 'riece-channel-list-indicator 'risky-local-variable t) (defvar riece-user-indicator nil "String displayed on the modeline to show the current nickname.") +(put 'riece-user-indicator 'risky-local-variable t) (defvar riece-away-indicator "-" "String displayed on the modeline to allow the user to tell if the user is away.") +(put 'riece-away-indicator 'risky-local-variable t) (defvar riece-operator-indicator "-" "String displayed on the modeline to allow the user to tell if the user is an operator.") +(put 'riece-operator-indicator 'risky-local-variable t) (defvar riece-channel-status-indicator "-" "String displayed on the modeline to allow the user to tell if the user's status on the current channel.") +(put 'riece-channel-status-indicator 'risky-local-variable t) ;;; Buffers: (defvar riece-command-buffer nil