help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with erc after installation of emacs 22.1.1


From: Exal de Jesus Garcia Carrillo
Subject: Problem with erc after installation of emacs 22.1.1
Date: Thu, 12 Jul 2007 11:47:27 -0500
User-agent: Thunderbird 2.0.0.4 (X11/20070604)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey all, I have a problem with my erc-match-mode and with erc pals, this
 allways has been work fine, but the last week I have install emacs
22.1.1, then today I execute emacs22.1.1 and have a few problems with my
.emacs (I guees this is normal) then, I execute my old emacs 21.4.1 and
work fine, except my erc-match and erc pals, I have something like this
in my .emacs about this:

;;;
;;;   ERC configs
;;;


(require 'erc)
(require 'erc-stamp)

(setq erc-fill-column 72)
(defface erc-prompt-face '((t (:foreground "yellow" :bold t)))
  "ERC prompt.")
(setq erc-prompt "ERC>")
(setq erc-prompt-for-password nil)
(setq erc-prompt-interactive-input t)
;(load "~/.emacs.d/.erc-auth")
(setq erc-hide-timestamps nil)
(add-hook 'erc-insert-modify-hook 'erc-fill)
(add-hook 'erc-send-modify-hook 'erc-fill)

;; Add current time to every new line
(erc-timestamp-mode t)

;; Notify me if someone calls me
(erc-match-mode t)
(setq erc-auto-query 'window)

;; Some basic settings for erc package
(setq erc-server "irc.freenode.net"
          erc-port 6667
          erc-nick "Exal"
          erc-user-full-name "Exal de Jesus Garcia Carrillo
http://exal.nipl.net";
          erc-email-userid "root"
          erc-current-nick-highlight-type 'nick
          erc-timestamp-only-if-changed-flag nil
          erc-timestamp-format "%H:%M "
  )

(custom-set-variables
 '(erc-server-auto-reconnect t)
 '(erc-log-mode nil)
 '(erc-paranoid nil)
 '(erc-log-channels-directory "~/.irclogs/"))


(require 'erc-stamp)
(erc-stamp-mode 1)
(setq erc-insert-timestamp-function      'erc-insert-timestamp-left
     erc-timestamp-format               "[%H:%M] "
     erc-insert-away-timestamp-function 'erc-insert-timestamp-left
     erc-away-timestamp-format          "<%H:%M> ")
(load "erc-auto")
(eval-after-load "erc"
  '(progn
   (setq erc-auto-query t
    erc-bbdb-auto-create-on-whois-p t
     erc-fill-column (- (window-width) 2)
    erc-pals '("Cubano" "nanda" "lxo" "delysid" "UdontKnown" "Exal"
    "Bernardita" "K3rN3L" "Diego_Rocha")
    erc-notify-list erc-pals)))

(require 'erc-autojoin)
(erc-autojoin-mode 1)
(setq erc-autojoin-channels-alist
          '(("freenode.net" "#gnu" "#gnu-webmasters" "#fsf" "#fsfla"
                 "#bash" "#lisp" "#emacs" "#erc" "#muse" "#debian-br"
"#ubuntu-br"
                 "#lidsol" "#linux-bh" "#linux.mx")
            ))
(defun my-erc-mode-stuff ()
  "Set fill column according to `frame-width'."
  (set (make-local-variable 'erc-fill-column) (- (frame-width) 10))
  (set (make-local-variable 'erc-timestamp-right-column)
       (1+ erc-fill-column)))
(add-hook 'erc-mode-hook 'my-erc-mode-stuff)

(add-hook 'erc-after-connect '(lambda (SERVER NICK)
               (erc-message "PRIVMSG" "NickServ identify PASSWORD")))

;;; Finally, connect to the networks.
(defun exrc ()
  "Connect to IRC."
  (interactive)
  (when (y-or-n-p "IRC? ")
    (erc-select :server "irc.freenode.net" :port 6667
                :nick "Exal" :full-name "Exal de Jesus Garcia Carrillo")))




- --
Spam protection:
replace the word `no-spam' for exal

.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGllseoZmxoVJRtGIRAr6IAJ9h16pZzbfylPJIpDlNhJzsyp3p/QCgm5RE
bTFA9N1QsnKOz1vBqA0Xuog=
=SPdt
-----END PGP SIGNATURE-----


reply via email to

[Prev in Thread] Current Thread [Next in Thread]