From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: someusernamehere Newsgroups: gmane.emacs.help Subject: Re: help with erc function Date: Sat, 1 Mar 2008 07:51:55 -0800 (PST) Organization: http://groups.google.com Message-ID: <0f4f04dc-5a6e-47e5-9db9-0b5e3f0d64b1@s19g2000prg.googlegroups.com> References: <46fc686f-7715-40dd-b159-4d3802856f8a@d21g2000prf.googlegroups.com> <9fb3719f-d3c9-4030-948a-b2b6762dccce@e10g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204389675 12229 80.91.229.12 (1 Mar 2008 16:41:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Mar 2008 16:41:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 01 17:41:41 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JVUmD-0004R6-J9 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Mar 2008 17:41:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVUlh-0001Sz-1K for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Mar 2008 11:41:01 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s19g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 189.149.122.6 Original-X-Trace: posting.google.com 1204386715 23173 127.0.0.1 (1 Mar 2008 15:51:55 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 1 Mar 2008 15:51:55 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s19g2000prg.googlegroups.com; posting-host=189.149.122.6; posting-account=G9cJ0QoAAABSmW_EVHw-7GAJRoWfgpn8 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.6 (like Gecko) (Kubuntu),gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:156618 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51989 Archived-At: 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?