home *** CD-ROM | disk | FTP | other *** search
- ;
- ; add to your .emacs file...
- ;
- ; (autoload 'irchat "own-irc" "Irchat" t)
- ;
- ; and customize this file and copy to somewhere in your load-path
- ;
-
- (setq irchat-global-names nil) ; don't want to get 30k of data when using slip
-
- ; My usual stuff
-
- (setq irchat-use-full-window nil)
- (setq irchat-command-window-on-top nil)
- (setq irchat-change-prefix "*** ")
- (setq irchat-format-string "-> *%s*")
- (setq irchat-format-string1 "*%s*")
- (setq irchat-format-string2 "<%s>")
- (setq irchat-format-string3 "<%s:%s>")
- (setq irchat-format-string4 "(%s)")
- (setq irchat-format-string5 "(%s:%s)")
- (setq irchat-beep-on-bells 'always)
- (setq irchat-nam-suffix "")
- (setq irchat-reconnect-automagic t)
- (setq irchat-ask-for-nickname t)
- (setq irchat-blink-parens nil)
- ;(setq irchat-mta-own-topic "Wanhat IRC-patut ... (Finnish)")
- (setq irchat-mta-topic-active nil)
- (setq irchat-mta-snap-topic nil)
- ;(setq irchat-startup-channel "#amiga")
- (setq irchat-shorten-kills t)
- (setq irchat-command-window-height 4)
-
- (setq irchat-dcc-receive-direct nil)
- (setq irchat-dcc-directory "ram:")
-
- ;;;(setq irchat-Command-mode-hook
- ;;; '(lambda ()
- ;;; (local-set-key "/" 'irchat-Command-irc-compatible)
- ;;; ))
-
- (defun kill-irchat-windows()
- (interactive)
- (if (and (get-buffer-window irchat-Command-buffer)
- (not (one-window-p)))
- (delete-window (get-buffer-window irchat-Command-buffer)))
- (if (and (get-buffer-window irchat-Dialogue-buffer)
- (not (one-window-p)))
- (delete-window (get-buffer-window irchat-Dialogue-buffer))))
-
- (setq irchat-Exit-hook 'kill-irchat-windows)
-
- (defun irchat-isearch-back ()
- (interactive)
- (if (not irchat-freeze)
- (irchat-Command-freeze))
- (pop-to-buffer irchat-Dialogue-buffer)
- (isearch-backward))
-
- (load "irchat")
-
- (define-key irchat-Command-mode-map "\C-cR" 'irchat-isearch-back)
- ;;;(define-key irchat-Dialogue-mode-map "\C-r" 'irchat-isearch-back)
- (define-key irchat-Command-mode-map "\C-c\C-p" 'irchat-Command-part)
- (define-key irchat-Command-mode-map "\C-cp" 'irchat-Command-mta-private)
-
- ;;;(defun irchat-ctl-a-action-msg (from rest)
- ;;; (message (format "ACTION CTCP from %s: %s" from rest))
- ;;; (irchat-send (format "NOTICE %s :ACTION I am not supporting ACTION, please stop asking it." from)))
-
-