weechat.el icon indicating copy to clipboard operation
weechat.el copied to clipboard

weechat-connect produces "Wrong type of argument: char-or-string-p, plain"

Open tamouse opened this issue 9 years ago • 5 comments

OS: OS/X 10.10.2 Emacs: 24.4.1

In .emacs:

(require 'weechat)

In emacs:

M-x weechat-connect
Relay: localhost
Port: 9000
Wrong type of argument: char-or-string-p, plain

tamouse avatar Mar 07 '15 20:03 tamouse

update:

If I run emacs -Q, and load up s and then weechat it seems to work just fine. So there must be some conflict with everything else I'm loading in...

My current config loadup is at https://github.com/tamouse/emacs24-starter-kit with my personal config at https://github.com/tamouse/emacs24-starter-kit/blob/personal/tamara.org

tamouse avatar Mar 07 '15 20:03 tamouse

I think this is somehow related to helm or some other completion framework not accepting symbols as default values. I'll investigate.

the-kenny avatar Mar 07 '15 20:03 the-kenny

I have a similar issue, but I get Wrong type argument: sequencep, t but only when I try to disconnect and connect again. Probably related to helm as well. What could I use as a workaround?

EDmitry avatar Mar 30 '15 08:03 EDmitry

So it seems like I can just add this as a shortcut: (weechat-connect weechat-host-default weechat-port-default "" 'plain). Setting password to nil doesn't work though, had to use empty string, although weechat-connect docs say it can be nil.

EDmitry avatar Mar 30 '15 17:03 EDmitry

Hi folks, I installed weechat.el via elpa

emacs 24.3.1 on ubuntu 14.04

when M-x weechat-connect I get wrong-type-argument number-or-marker-p nil the error came regularly after being connected. How can I fix this ? thanks !

ejemba avatar Apr 15 '15 14:04 ejemba