all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: someusernamehere <someusernamehere@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: help with erc function
Date: Sat, 1 Mar 2008 07:51:55 -0800 (PST)	[thread overview]
Message-ID: <0f4f04dc-5a6e-47e5-9db9-0b5e3f0d64b1@s19g2000prg.googlegroups.com> (raw)
In-Reply-To: mailman.8127.1204380426.18990.help-gnu-emacs@gnu.org

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?


  parent reply	other threads:[~2008-03-01 15:51 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
     [not found]     ` <mailman.8127.1204380426.18990.help-gnu-emacs@gnu.org>
2008-03-01 15:51       ` someusernamehere [this message]
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=0f4f04dc-5a6e-47e5-9db9-0b5e3f0d64b1@s19g2000prg.googlegroups.com \
    --to=someusernamehere@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.