all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: someusernamehere <someusernamehere@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: help with erc function
Date: Sat, 01 Mar 2008 14:06:55 +0000	[thread overview]
Message-ID: <87skzailmo.fsf@bzg.ath.cx> (raw)
In-Reply-To: <9fb3719f-d3c9-4030-948a-b2b6762dccce@e10g2000prf.googlegroups.com> (someusernamehere@gmail.com's message of "Fri, 29 Feb 2008 16:10:38 -0800 (PST)")

someusernamehere <someusernamehere@gmail.com> writes:

> On Feb 29, 4:46 pm, Bastien <b...@altern.org> wrote:
>
>> Can you show some code?
>
>
> sure, take a look:
>
> (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?  

-- 
Bastien




  reply	other threads:[~2008-03-01 14:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29 19:58 help with erc function someusernamehere
2008-02-29 22:46 ` Bastien
     [not found] ` <mailman.8114.1204325198.18990.help-gnu-emacs@gnu.org>
2008-03-01  0:10   ` someusernamehere
2008-03-01 14:06     ` Bastien [this message]
     [not found]     ` <mailman.8127.1204380426.18990.help-gnu-emacs@gnu.org>
2008-03-01 15:51       ` someusernamehere
2008-03-01 17:23         ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87skzailmo.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=someusernamehere@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.