unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Problem with erc after installation of emacs 22.1.1
@ 2007-07-12 16:47 Exal de Jesus Garcia Carrillo
  0 siblings, 0 replies; only message in thread
From: Exal de Jesus Garcia Carrillo @ 2007-07-12 16:47 UTC (permalink / raw)
  To: help-gnu-emacs

-----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-----

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-12 16:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-12 16:47 Problem with erc after installation of emacs 22.1.1 Exal de Jesus Garcia Carrillo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).