[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help with erc function

From: Bastien
Subject: Re: help with erc function
Date: Sat, 01 Mar 2008 17:23:48 +0000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

someusernamehere <address@hidden> writes:

> Bastien escreveu:
>> > (defun kick (nick)
>> >   (let* ((chan (erc-default-target)))
>> >          (erc-send-command (format "kick %s %s %s" chan nick "go
>> > away"))))
>> Well - maybe you can temporarilly switch to the relevant ERC buffer so
>> that (erc-default-target) returns the channel you want to use?
> yeah, but how to switch to the buffer what I want?, so I have joined
> e.g. 4 channels, how to tell to erc switch to proper buffer,
> automaticaly of course?

Have a look at `erc-buffer-list' and `erc-iswitchb' variables.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]