emacs-circe / circe

Circe, a Client for IRC in Emacs
GNU General Public License v3.0
395 stars 51 forks source link

Cannot filter quit messages #341

Closed matthew-piziak closed 6 years ago

matthew-piziak commented 6 years ago

I have (circe-set-display-handler "QUIT" (lambda (&rest ignored) nil)) in my config, but I still see Quit messages in Circe. Have I misread the documentation?

Circe 2.10

GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.28) of 2018-08-06

wasamasa commented 6 years ago

There's two handled events here, QUIT and channel.quit. Judging from the sources channel.quit is the more important one, with the QUIT one being useful for quits in queries.

matthew-piziak commented 6 years ago

This works. Thank you! Maybe it could be added to the wiki?

wasamasa commented 6 years ago

Sure. The point of a wiki is that anyone can add things to it. I would if I knew the convention for the event naming, telling people to study sources feels kind of wrong...