From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.help Subject: Re: help with erc function Date: Sat, 01 Mar 2008 17:23:48 +0000 Message-ID: <87lk529x3v.fsf@bzg.ath.cx> References: <46fc686f-7715-40dd-b159-4d3802856f8a@d21g2000prf.googlegroups.com> <9fb3719f-d3c9-4030-948a-b2b6762dccce@e10g2000prf.googlegroups.com> <0f4f04dc-5a6e-47e5-9db9-0b5e3f0d64b1@s19g2000prg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204392256 19849 80.91.229.12 (1 Mar 2008 17:24:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Mar 2008 17:24:16 +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 18:24:43 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 1JVVRy-0001f9-0B for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Mar 2008 18:24:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVVRR-0000Pr-B6 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Mar 2008 12:24:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JVVRB-0000Oj-PS for help-gnu-emacs@gnu.org; Sat, 01 Mar 2008 12:23:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JVVRA-0000OX-4x for help-gnu-emacs@gnu.org; Sat, 01 Mar 2008 12:23:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JVVR9-0000OT-VT for help-gnu-emacs@gnu.org; Sat, 01 Mar 2008 12:23:52 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.156]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JVVR9-0000mp-KE for help-gnu-emacs@gnu.org; Sat, 01 Mar 2008 12:23:51 -0500 Original-Received: by fg-out-1718.google.com with SMTP id d23so19474637fga.30 for ; Sat, 01 Mar 2008 09:23:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=wk8XqQnxz7P5B/DIrsRqS/I6zCOs3IHJhzPQYUPC7d8=; b=lShO+isrM3bl06D7DLT9D8qR6wL6s7Qy/WGIBCfqr3jsVstbdaNdKuXx4J6nZgW+w5VMajHS6E3kci4KX5HL5RLriPUiGo4kGksPlONdNX7uL3EGEZBQiEYnpEAwAdDZOxwkqh1woOGLK1GPDfAqyaTG38YfXB736bOWIL7owBo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; b=WSpz8LTy0Hm8DveC4BD8/YDxlD1GN8UbXnNyH0Jh1OCnmFm+jqFShpUdYZRH2XrxrBpuwUVJKVybTsEStDZM6HsWdSNx/TBPVjGpa0sOcJ8gTFaxp1W9AV88g1/AsU76GKlN63lSGXB0WItLF6mnQ3jN/gj5rwG6MTL8/6hB3Qs= Original-Received: by 10.86.61.13 with SMTP id j13mr13273280fga.48.1204392230503; Sat, 01 Mar 2008 09:23:50 -0800 (PST) Original-Received: from bzg.ath.cx ( [81.99.213.34]) by mx.google.com with ESMTPS id g9sm10343012gvc.4.2008.03.01.09.23.48 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 01 Mar 2008 09:23:49 -0800 (PST) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id AF1F01575BD; Sat, 1 Mar 2008 17:23:48 +0000 (GMT) In-Reply-To: <0f4f04dc-5a6e-47e5-9db9-0b5e3f0d64b1@s19g2000prg.googlegroups.com> (someusernamehere@gmail.com's message of "Sat, 1 Mar 2008 07:51:55 -0800 (PST)") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:51990 Archived-At: someusernamehere 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.