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

User list contains only seen nicks

Open hpdeifel opened this issue 9 years ago • 4 comments

Users get added or deleted from the list when they join, speak, quit. That's ok. But shouldn't the list be populated with all users of the channel initially?

hpdeifel avatar Jun 21 '15 09:06 hpdeifel

Yes, that would be perfect. The reason we implemented this unfortunate behavior is that the parser for the binary data is very slow. Weechat sends the nicklist as one very big message which would cause emacs to hang for multiple seconds when joining a big channel like #emacs.

I really need to take some time to optimize the parser.

the-kenny avatar Jun 30 '15 22:06 the-kenny

I would be OK with a configurable option for this. I tend to have long running (gnuserv) emacs processes and could live with this.

jgoerzen avatar Mar 13 '18 19:03 jgoerzen

Incidentally, is there a way to simulate the weechat nickbar? That is, have something visible with a list of users corresponding to the currently-selected frame? speedbar is halfway this, but it doesn't automatically switch with different buffers.

jgoerzen avatar Mar 13 '18 19:03 jgoerzen

I think most of the code is there, we just need to expose it as a configuration option. I'll try to have a look at this soon.

As for the nickbar: I think speedbar (or something similar) is the correct way to handle this. We could handle buffer switches etc. via hooks and get rid of the current shortcomings.

the-kenny avatar Mar 14 '18 10:03 the-kenny