From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how to implement function copy-subword-to-irc-buffer
Date: Mon, 07 Dec 2009 22:31:57 -0700 [thread overview]
Message-ID: <hfkocc$ah5$1@ger.gmane.org> (raw)
In-Reply-To: <7N6dnURpDZ0NSYfWnZ2dnUVZ_oAAAAAA@sysmatrix.net>
B. T. Raven wrote:
> Kevin Rodgers wrote:
>> B. T. Raven wrote:
>>> After connecting to server and channel I see:
>>>
>>> and: Symbol's value as variable is void: rcirc-server-buffer
>>>
>>> server buffer name is irc.dal.net:6667 in buffer list but
>>> Atlanta.ga.us.dal.net in mode line. I suppose that mismatch is normal?
>>> Nothing was copied out of dictionary buffer into channel buffer at point
>>> (ERC>)
>>
>> The version of rcirc.el distributed with Emacs 22.3 defvar's
>> rcirc-server-buffer, so it has a global value (nil) and buffer-local-value
>> will not signal an error (for any BUFFER argument). This leads me to
>> conclude
>> that you have not loaded the 22.3 rcirc library, but some other IRC client.
>>
>> In emacs -Q, `M-x rcirc' creates and selects a buffer named
>> *irc.freenode.net*;
>> it also creates a buffer named #rcirc@irc.freenode.net, where `C-h v
>> rcirc-server-buffer' yields #<buffer *irc.freenode.net*>.
>>
>> How does that compare with your experience?
>
> Okay. Your function does work if I use rcirc instead of erc. But since
> there is no menu support for rcirc I don't know how to get slash
> commands without /help. I did just learn C-u M-x rcirc. I'll try
> changing from ERC to rcirc.
Or modify what I suggested to find and switch to an erc buffer instead
of an rcirc buffer. Perhaps
(or erc-active-buffer (car (erc-buffer-list)))
and
(pop-to-buffer irc-buffer)
respectively.
--
Kevin Rodgers
Denver, Colorado, USA
prev parent reply other threads:[~2009-12-08 5:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-30 17:39 how to implement function copy-subword-to-irc-buffer B. T. Raven
2009-12-02 6:34 ` Kevin Rodgers
[not found] ` <mailman.12001.1259735672.2239.help-gnu-emacs@gnu.org>
2009-12-04 1:45 ` B. T. Raven
2009-12-04 5:02 ` Kevin Rodgers
[not found] ` <mailman.12154.1259902948.2239.help-gnu-emacs@gnu.org>
2009-12-04 21:12 ` B. T. Raven
2009-12-05 8:49 ` Kevin Rodgers
[not found] ` <mailman.12262.1260003007.2239.help-gnu-emacs@gnu.org>
2009-12-05 18:58 ` B. T. Raven
2009-12-05 21:25 ` Stefan Monnier
2009-12-05 21:43 ` B. T. Raven
2009-12-07 15:48 ` Stefan Monnier
2009-12-05 21:46 ` B. T. Raven
2009-12-08 5:31 ` Kevin Rodgers [this message]
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='hfkocc$ah5$1@ger.gmane.org' \
--to=kevin.d.rodgers@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.