--- Begin Message ---
Subject: |
Re: [Erc-discuss] Re: wrong type of argument: stringp, number |
Date: |
Wed, 08 Nov 2006 23:30:03 +0200 |
User-agent: |
Opera Mail/9.02 (Win32) |
That's the backtrace:
Debugger entered--Lisp error: (wrong-type-argument stringp number)
read-from-minibuffer("IRC port: " number)
(erc-string-to-port (read-from-minibuffer "IRC port: "
(erc-port-to-string ...)))
(setq port (erc-string-to-port (read-from-minibuffer "IRC port: " ...)))
(if (string-match "\\(.*\\):\\(.*\\)\\'" user-input) (setq port
(erc-string-to-port ...) user-input (match-string 1 user-input)) (setq
port (erc-string-to-port ...)))
(let (user-input server port nick passwd) (setq user-input
(read-from-minibuffer "IRC server: " ... nil nil ...)) (if (string-match
"\\(.*\\):\\(.*\\)\\'" user-input) (setq port ... user-input ...) (setq
port ...)) (if (string-match "\\`\\(.*\\)@\\(.*\\)" user-input) (setq nick
... user-input ...) (setq nick ...)) (setq server user-input) (setq passwd
(if erc-prompt-for-password ... erc-password)) (when (and passwd ...)
(setq passwd nil)) (while (erc-already-logged-in server port nick) (setq
nick ...)) (list :server server :port port :nick nick :password passwd))
erc-select-read-args()
call-interactively(erc-select)
execute-extended-command(nil)
* call-interactively(execute-extended-command)
i understand that i gave it as port number a string not a number but it
did not i only write "irc.freenode.net" and press enter for once.
> On Wed, 08/11/06, Zekeriya KOÇ wrote:
>
>> Hi there,
>>
>> I am new to emacs and normally to erc. first i installed it and
>> proceed to connect irc servers.i did not do anything difference but
>> today when i tried "M-x erc-select" command it gives me the error
>> "wrong type of argument: stringp, number" i download it again but did
>> not help. my system is windows XP.
>> in my .emacs file i have;
>>
>> (add-to-list 'load-path "c:/usr/home/site/erc/")
>> (require 'erc)
>>
>> Thanks everybody.
>>
>> Zekeriya KOÇ
>> ---
>> www.metkoi.com/zekus
>
> `M-x toggle-debug-on-error' to enable debug and try erc-select
> again. It will give you a backtrace. Post that backtrace here.
>
--
Zekeriya KOÇ
http://www.metkoi.com/zekus
--- End Message ---