<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>94594</integer>
    </number>
    <user>
      <string>ans</string>
    </user>
    <title>
      <string>untitled</string>
    </title>
    <contents>
      <string>;; ERC
(add-hook 'erc-after-connect
          '(lambda (server nick)
             (cond
              ((string-match &quot;freenode&quot; server)
                 (erc-message &quot;PRIVMSG&quot; &quot;NickServ IDENTIFY LALA&quot;))
              ((string-match &quot;nazoo&quot; server)
               (erc-message &quot;PRIVMSG&quot; &quot;&amp;bitlbee identify LALA&quot;)))))

(setq erc-keywords '(&quot;\\bAo\\b&quot;))
(setq erc-track-exclude-types '(&quot;JOIN&quot; &quot;MODE&quot; &quot;PART&quot; &quot;QUIT&quot;))

(require 'erc-highlight-nicknames)
(add-to-list 'erc-modules 'highlight-nicknames)

(add-to-list 'erc-modules 'log)
(setq erc-log-write-after-insert t
      erc-log-write-after-send t
      erc-save-buffer-on-part nil
      erc-save-queries-on-quit nil)

(erc-spelling-mode t)
(setq erc-spelling-dictionaries '((&quot;#joker&quot; &quot;slovene&quot;))
      ispell-extra-args '(&quot;--sug-mode=ultra&quot;)
      ispell-program-name &quot;aspell&quot;)











(defun x-urgency-hint (frame arg &amp;optional source)
  (let* ((wm-hints (append (x-window-property 
			    &quot;WM_HINTS&quot; frame &quot;WM_HINTS&quot; 
			    (if source
				source
			      (string-to-number 
			       (frame-parameter frame 'outer-window-id)))
			    nil t) nil))
	 (flags (car wm-hints)))
    (setcar wm-hints
	    (if arg
		(logior flags #x00000100)
	      (logand flags #xFFFFFEFF)))
    (x-change-window-property &quot;WM_HINTS&quot; wm-hints frame &quot;WM_HINTS&quot; 32 t)))


(defun hint-it (a b c)
  (x-urgency-hint (selected-frame) t))


(add-hook 'erc-text-matched-hook 'hint-it)





(defun my-erc-page-me-PRIVMSG (proc parsed)
  (let ((nick (car (erc-parse-user (erc-response.sender parsed))))
        (target (car (erc-response.command-args parsed)))
        (msg (erc-response.contents parsed)))
    (when (and (erc-current-nick-p target)
               (not (erc-is-message-ctcp-and-not-action-p msg)))
      (hint-it 1 2 3)
      nil)))
(add-hook 'erc-server-PRIVMSG-functions 'my-erc-page-me-PRIVMSG)




(add-to-list 'erc-encoding-coding-alist '(&quot;#joker&quot; . iso-8859-1))
;; windows-1250



(setq erc-log-insert-log-on-open nil)
</string>
    </contents>
    <universal-time>
      <integer>3474655883</integer>
    </universal-time>
    <channel>
      <string>None</string>
    </channel>
    <colorization-mode>
      <string>Emacs Lisp</string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <keyword>TRUE</keyword>
    </is-unicode>
    <deletion-requested>
      <null/>
    </deletion-requested>
    <deletion-requested-email>
      <null/>
    </deletion-requested-email>
    <expiration-time>
      <null/>
    </expiration-time>
  </paste>
</paste-with-annotations>
