annotate doc/misc/rcirc.texi @ 87159:bcf59f3d73d7

* net/dbus.el (dbus-hash-table=): Fix for new hash table key structure. (dbus-list-hash-table, dbus-name-owner-changed-handler): New defuns. (dbus-check-event, dbus-handle-event, dbus-event-bus-name) (dbus-event-service-name, dbus-event-path-name) (dbus-event-interface-name, dbus-event-member-name): Fix for new event structure. (dbus-list-activatable-names, dbus-list-names) (dbus-list-queued-owners, dbus-get-name-owner, dbus-introspect): Reorder `dbus-call-method' arguments.
author Michael Albinus <michael.albinus@gmx.de>
date Fri, 07 Dec 2007 04:47:19 +0000
parents 3d431f1997d8
children fd687ec7715d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84311
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 \input texinfo
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2 @c %**start of header
84329
3d431f1997d8 (setfilename): Go up one more level to ../../info.
Glenn Morris <rgm@gnu.org>
parents: 84311
diff changeset
3 @setfilename ../../info/rcirc
84311
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
4 @settitle rcirc Manual
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5 @c %**end of header
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7 @copying
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8 Copyright @copyright{} 2006, 2007 Free Software Foundation, Inc.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10 @quotation
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
11 Permission is granted to copy, distribute and/or modify this document
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
12 under the terms of the GNU Free Documentation License, Version 1.2 or
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
13 any later version published by the Free Software Foundation; with no
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
14 Invariant Sections, with the Front-Cover texts being ``A GNU Manual'',
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
15 and with the Back-Cover Texts as in (a) below. A copy of the license is
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
16 included in the section entitled ``GNU Free Documentation License'' in
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
17 the Emacs manual.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
18
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
19 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
20 this GNU Manual, like GNU software. Copies published by the Free
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
21 Software Foundation raise funds for GNU development.''
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
22
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
23 This document is part of a collection distributed under the GNU Free
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
24 Documentation License. If you want to distribute this document
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
25 separately from the collection, you can do so by adding a copy of the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
26 license to the document, as described in section 6 of the license.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
27 @end quotation
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
28 @end copying
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
29
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
30 @dircategory Emacs
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
31 @direntry
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
32 * Rcirc: (rcirc). Internet Relay Chat (IRC) client.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
33 @end direntry
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
34
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
35 @titlepage
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
36 @title rcirc Manual
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
37 @page
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
38 @vskip 0pt plus 1filll
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
39 @insertcopying
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
40 @end titlepage
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
41
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
42 @ifnottex
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
43 @node Top, Basics, (dir), (dir)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
44 @top rcirc Manual
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
45 @end ifnottex
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
46
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
47 @code{rcirc} is an Emacs IRC client.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
48
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
49 IRC (Internet Relay Chat) is a multi-user chat protocol. Users
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
50 communicate with each other in real-time. Communication occurs both in
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
51 topic channels which are collections of many users, or privately, with
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
52 just one other user.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
53
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
54 @menu
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
55 * Basics::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
56 * Reference::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
57 * Hacking and Tweaking::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
58 * GNU Free Documentation License::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
59 * Key Index::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
60 * Variable Index::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
61 * Index::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
62
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
63 @detailmenu
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
64 --- The Detailed Node Listing ---
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
65
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
66 Basics
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
67
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
68 * Internet Relay Chat::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
69 * Getting started with rcirc::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
70
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
71 Reference
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
72
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
73 * rcirc commands::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
74 * Useful IRC commands::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
75 * Configuration::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
76
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
77 Hacking and Tweaking
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
78
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
79 * Skipping /away messages using handlers::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
80 * Using fly spell mode::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
81 * Scrolling conservatively::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
82 * Changing the time stamp format::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
83 * Defining a new command::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
84 * Reconnecting after you have lost the connection::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
85
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
86 @end detailmenu
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
87 @end menu
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
88
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
89 @node Basics, Reference, Top, Top
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
90 @chapter Basics
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
91
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
92 This chapter contains a brief introduction to IRC (Internet Relay Chat),
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
93 and a quick tutorial on @code{rcirc}.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
94
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
95 @menu
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
96 * Internet Relay Chat::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
97 * Getting started with rcirc::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
98 @end menu
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
99
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
100 @node Internet Relay Chat, Getting started with rcirc, Basics, Basics
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
101 @section Internet Relay Chat
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
102 @cindex internet relay chat
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
103 @cindex irc
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
104
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
105 @cindex channel
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
106 @dfn{Internet Relay Chat} (IRC) is a form of instant communication over the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
107 Internet. It is mainly designed for group (many-to-many) communication
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
108 in discussion forums called channels, but also allows one-to-one
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
109 communication.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
110
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
111 @cindex instant messaging, comparison
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
112 @cindex server
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
113 @cindex network
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
114 Contrary to most Instant Messenger (IM) systems, users usually don't
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
115 connect to a central server. Instead, users connect to a random server
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
116 in a network, and the servers share information between them.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
117
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
118 Here's a typical example:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
119
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
120 @cindex redirection to random servers
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
121 When you connect to the Freenode network
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
122 (@code{http://freenode.net/}), you point your IRC client at the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
123 server @code{irc.freenode.net}. That server will redirect your client
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
124 to a random server on the network, such as @code{zelazny.freenode.net}.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
125
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
126 @cindex channel name
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
127 @cindex # starts a channel name
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
128 Once you're connected, you can send messages to all other users
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
129 connected to the same network, and you can join all channels on the same
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
130 network. You might join the @code{#emacs} and the @code{#rcirc}
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
131 channels, for example. (Typically, channel names begin with a hash
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
132 character.)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
133
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
134 Once you have joined a channel, anything you type will be broadcast to
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
135 all the other users on the same channel.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
136
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
137 @cindex addressing other people
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
138 @cindex other people, addressing them
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
139 @cindex talk to other people
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
140 If you want to address someone specifically, for example as an answer to
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
141 a question, it is customary to prefix the message with the nick followed
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
142 by a colon, like this:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
143
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
144 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
145 deego: fsbot rules!
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
146 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
147
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
148 @cindex nick completion
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
149 @cindex completion of nicks
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
150 @kindex TAB
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
151 Since this is so common, you can use @key{TAB} to do nick completion.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
152
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
153 @node Getting started with rcirc, , Internet Relay Chat, Basics
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
154 @section Getting started with rcirc
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
155 @cindex getting started
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
156 @cindex connecting to a server
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
157
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
158 @cindex irc command
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
159 Use the command @kbd{M-x irc} to connect using the defaults.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
160 @xref{Configuration}, if you want to change the defaults.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
161
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
162 Use @kbd{C-u M-x irc} if you don't want to use the defaults, eg. if you
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
163 want to connect to a different network, or connect to the same network
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
164 using a different nick. This will prompt you for four things:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
165
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
166 @table @asis
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
167 @cindex server, connecting
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
168 @cindex Freenode network
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
169 @item IRC server
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
170 What server do you want to connect to? All the servers in a particular
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
171 network are equivalent. Some networks use a round-robin system where a
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
172 single server redirects new connections to a random server in the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
173 network. @code{irc.freenode.net} is such a server for the Freenode
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
174 network. Freenode provides the network ``for the Free and Open Source
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
175 Software communities, for not-for-profit organisations and for related
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
176 communities and organizations.''
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
177
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
178 @cindex port, connecting
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
179 @cindex 6667, default IRC port
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
180 @item IRC port
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
181 All network connections require a port. Just as web servers and clients
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
182 use port 80 per default, IRC uses port 6667 per default. You rarely
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
183 have to use a different port.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
184
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
185 @cindex nick, connecting
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
186 @cindex changing nick
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
187 @cindex name changes
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
188 @item IRC nick
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
189 @vindex user-login-name
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
190 Every users needs a handle on-line. You will automatically be assigned
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
191 a slightly different nick if your chosen nick is already in use. If
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
192 your @code{user-login-name} is @code{alex}, and this nick is already
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
193 in use, you might for example get assigned the nick @code{alex`}.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
194
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
195 @cindex channels, connecting
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
196 @cindex initial channels
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
197 @cindex startup channels
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
198 @item Channels
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
199 A space separated list of channels you want to join when connecting.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
200 You don't need to join any channels, if you just want to have one-to-one
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
201 conversations with friends on the same network. If you're new to the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
202 Freenode network, join @code{#emacs}, the channel about all things
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
203 Emacs, or join @code{#rcirc}, the channel about @code{rcirc}.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
204 @end table
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
205
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
206 @cindex server buffer
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
207 When you have answered these questions, @code{rcirc} will create a server
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
208 buffer, which will be named something like @code{*irc.freenode.net*},
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
209 and a channel buffer for each of the channels you wanted to join.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
210
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
211 @kindex RET
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
212 @cindex talking
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
213 @cindex communicating
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
214 To talk in a channel, just type in what you want to say in a channel
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
215 buffer, and press @key{RET}.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
216
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
217 @kindex C-c C-c
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
218 @cindex multiline messages
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
219 @cindex messages, multiple lines
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
220 @cindex pasting multiple lines
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
221 @cindex edit message before sending
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
222 If you want to paste multiple lines, such as source code, you can use
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
223 @kbd{C-c C-c} to edit your message in a separate buffer. Use @kbd{C-c
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
224 C-c} to finish editing. You still need to press @key{RET} to send it,
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
225 though. Generally, IRC users don't like people pasting more than around
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
226 four lines of code, so use with care.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
227
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
228 @node Reference, Hacking and Tweaking, Basics, Top
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
229 @chapter Reference
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
230 @cindex reference
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
231
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
232 This is the reference section of the manual. It is not complete. For
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
233 complete listings of @code{rcirc} features, use Emacs built-in
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
234 documentation.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
235
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
236 @menu
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
237 * rcirc commands::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
238 * Useful IRC commands::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
239 * Configuration::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
240 @end menu
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
241
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
242 @node rcirc commands, Useful IRC commands, Reference, Reference
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
243 @section rcirc commands
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
244 @cindex rcirc commands
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
245 @cindex commands
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
246
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
247 @kindex C-h m
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
248 This is a list of commands that you may use in @code{rcirc}. It is not
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
249 complete. For a complete listing, press @kbd{C-h m} in an @code{rcirc}
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
250 buffer.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
251
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
252 In addition to using regular Emacs key bindings, you can call them by
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
253 typing them into an @code{rcirc} buffer.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
254
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
255 @cindex call commands
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
256 @cindex typing commands
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
257 @cindex commands
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
258 For instance, instead of using the command @kbd{C-c C-j} to join a new
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
259 channel, you may type this in an @code{rcirc} buffer, and press @key{RET}:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
260
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
261 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
262 /join #emacs
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
263 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
264
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
265 @cindex / starts a command
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
266 @cindex messages starting with a slash disappear
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
267 @cindex disappearing messages if starting with a slash
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
268 @cindex slash hides message
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
269 This is why you cannot start a message with a slash. You will have to
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
270 precede the command with a space, or rewrite your message in order to
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
271 send it to a channel.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
272
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
273 @cindex multiple words as parameters
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
274 @cindex string delimiters
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
275 @cindex quotes
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
276 @cindex double-quotes
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
277 Many commands take parameters. IRC commands usually ignore string
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
278 delimiters. Neither quote nor double-quote have special meanings in
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
279 IRC.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
280
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
281 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
282 /nick "alex schroeder"
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
283 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
284
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
285 This will try to change your nick to @code{"alex}. Usually this will
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
286 fail because the double quote character is not a legal character for
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
287 nicks.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
288
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
289 @cindex case insensitive commands
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
290 These commands are case insensitive.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
291
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
292 @cindex new command
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
293 @cindex unknown command
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
294 @cindex command unknown
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
295 If a command isn't known by @code{rcirc}, it will simply be sent along to the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
296 server. There is a list of some useful commands like that in the next
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
297 section.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
298
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
299 @table @kbd
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
300 @item C-c C-j
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
301 @kindex C-c C-j
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
302 @cindex /join
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
303 @cindex join channels
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
304 @cindex other channels
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
305 @cindex rooms, joining
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
306 @cindex discussion, joining
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
307 This joins a channel such as @code{#rcirc} or @code{#emacs}. On most
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
308 networks, anybody can create new channels. If you want to talk with
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
309 some friends, for example, all you have to do is agree on a valid
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
310 channel name and join that channel. (Also @code{/join #emacs}.)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
311
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
312 @item C-c C-p
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
313 @kindex C-c C-p
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
314 @cindex /part
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
315 @cindex part a channel
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
316 @cindex leave a channel
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
317 @cindex disconnect from a channel
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
318 @cindex stop talking on a channel
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
319 @cindex kill channel buffer
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
320 This leaves the current channel. You can optionally provide a reason
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
321 for parting. When you kill a channel buffer, you automatically part the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
322 corresponding channel. (Also @code{/part you are too weird!}.)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
323
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
324 @item C-c C-r
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
325 @kindex C-c C-r
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
326 @cindex /nick
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
327 @cindex change name
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
328 @cindex nick changing
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
329 @cindex rename yourself
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
330 @cindex other name
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
331 This changes your nick to some other name. Your nick must be unique
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
332 across the network. Most networks don't allow too many nick changes in
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
333 quick succession, and have restrictions on the valid characters in nick
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
334 names. (Also @code{/nick alex-test})
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
335
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
336 @item C-c C-w
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
337 @kindex C-c C-w
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
338 @cindex /whois
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
339 @cindex who are these people
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
340 @cindex identifying people
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
341 @cindex channels other people are on
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
342 @cindex what channels people are on
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
343 Gives you some basic information about a nick. This often includes what
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
344 other channels people are on. (Also @code{/whois fsbot}.)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
345
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
346 @item C-c C-q
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
347 @kindex C-c C-q
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
348 @cindex /query
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
349 @cindex starting a private conversation
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
350 @cindex one-to-one conversation
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
351 @cindex talk privately
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
352 @cindex private conversation
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
353 @cindex contact one person only
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
354 @cindex query a person
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
355 Starts a one-to-one conversation with another person on the same
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
356 network. A new buffer will be created for this conversation. It works
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
357 like a channel with only two members. (Also @code{/query fsbot}.)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
358
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
359 @item C-c @key{RET}
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
360 @kindex C-c RET
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
361 @cindex /msg
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
362 @cindex single message
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
363 @cindex message sending
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
364 This sends a single message to a nick. Like with @kbd{C-c C-q}, a new
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
365 buffer is created, where the response from the other party will show
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
366 up. (Also @code{/msg nickserv identify secret}.)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
367
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
368 @item C-c C-x
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
369 @kindex C-c C-x
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
370 @cindex /quit
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
371 @cindex quit
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
372 @cindex disconnect
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
373 @cindex kill connection
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
374 @cindex connection end
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
375 @cindex part all channels
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
376 @cindex end connection
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
377 @cindex server buffer killing
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
378 @cindex reason for quitting
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
379 This disconnects from the server and parts all channels. You can
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
380 optionally provide a reason for quitting. When you kill the server
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
381 buffer, you automatically quit the server and part all channels. (Also
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
382 @code{/quit ZZZzzz...}.)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
383 @end table
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
384
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
385 Some commands may not have a key binding, but only be available as typed
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
386 commands, such as:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
387
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
388 @table @code
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
389 @item /ignore
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
390 @cindex /ignore
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
391 @cindex ignoring other people
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
392 @cindex trolls, ignoring
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
393 @cindex hide some posts
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
394 @cindex idiots online
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
395 This command toggles the ignore status of a nick, if you provide one.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
396 If you don't provide a nick, the command lists all the nicks you are
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
397 ignoring. All messages by ignored nicks are---you guessed it---ignored.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
398 Since only ``operators'' can kick people from channels, the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
399 ignore command is often the only way to deal with some of the more
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
400 obnoxious fellows online. Example: @code{/ignore xah}.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
401 @end table
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
402
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
403 @node Useful IRC commands, Configuration, rcirc commands, Reference
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
404 @section Useful IRC commands
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
405 @cindex irc commands
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
406 @cindex commands
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
407
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
408 As mentioned, if a command isn't known by @code{rcirc}, it will simply be sent
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
409 along to the server. Some such commands are available on nearly all IRC
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
410 servers, such as:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
411
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
412 @table @code
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
413 @item /away
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
414 @cindex /away
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
415 @cindex away status
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
416 @cindex pause status
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
417 @cindex unavailable status
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
418 @cindex set away status
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
419 This sets your status as ``being away'' if you provide a reason, or sets
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
420 your status as ``being back'' if you do not. People can use the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
421 @kbd{C-c C-w} command to check your status. Example: @code{/away food}.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
422 @end table
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
423
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
424 @cindex irc resources
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
425 @cindex help about irc
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
426 Typical IRC servers implement many more commands. You can read more
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
427 about the fantastic world of IRC online at
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
428 @uref{http://www.irchelp.org/, the Internet Relay Chat (IRC) help
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
429 archive}.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
430
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
431 @node Configuration, , Useful IRC commands, Reference
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
432 @section Configuration
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
433 @cindex configuring rcirc
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
434
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
435 These are some variables you can change to configure @code{rcirc} to your
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
436 liking.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
437
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
438 @table @code
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
439 @item rcirc-default-server
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
440 @vindex rcirc-default-server
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
441 the default server to connect to.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
442
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
443 @item rcirc-default-port
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
444 @vindex rcirc-default-port
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
445 the default port to connect to.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
446
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
447 @item rcirc-default-nick
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
448 @vindex rcirc-default-nick
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
449 the default nick to use.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
450 @end table
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
451
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
452 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
453 (setq rcirc-default-server "irc.mozilla.org"
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
454 rcirc-default-port 6666
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
455 rcirc-default-nick "alx")
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
456 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
457
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
458 @vindex rcirc-default-user-full-name
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
459 @cindex full name
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
460 @cindex real name
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
461 @cindex surname
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
462 @code{rcirc-default-user-full-name} is used to set your ``real name'' on
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
463 IRC. It defaults to @code{user-full-name}. If you want to hide your
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
464 full name, you might want to set it to some pseudonym.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
465
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
466 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
467 (setq rcirc-default-user-full-name "Curious Minds Want To Know")
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
468 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
469
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
470 @vindex rcirc-startup-channels-alist
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
471 @cindex channels, configuration
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
472 @cindex initial channels, configuration
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
473 @cindex startup channels, configuration
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
474 @code{rcirc-startup-channels-alist} is the alist of channels to join
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
475 when connecting to a particular network. An alist is a list of lists.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
476 Each sublist starts with a regular expression that is compared to the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
477 server address you're connecting to. The remaining sublist items are
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
478 the channels to join.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
479
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
480 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
481 (setq rcirc-startup-channels-alist
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
482 '(("\\.freenode\\.net$" "#emacs" "#rcirc" "#wiki")))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
483 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
484
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
485 Note the subtle problem, here --- IRC clients connect to servers, and
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
486 there is no way of knowing which servers belong to a particular network.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
487 In the example above we're exploiting a naming convention used by within
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
488 the Freenode network --- all servers within the network have a host in
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
489 the @code{freenode.net} domain.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
490
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
491 @vindex rcirc-authinfo
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
492 @cindex authentification
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
493 @cindex identification
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
494 @cindex nickserv
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
495 @cindex login
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
496 @code{rcirc-authinfo} is an alist used to automatically identify
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
497 yourself on networks. Each sublist starts with a regular expression
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
498 that is compared to the server address you're connecting to. The second
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
499 element in the list is a symbol representing the method to use, followed
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
500 by the arguments this method requires.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
501
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
502 Here is an example to illustrate how you would set it:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
503
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
504 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
505 (setq rcirc-authinfo
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
506 '(("freenode" nickserv "bob" "p455w0rd")
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
507 ("freenode" chanserv "bob" "#bobland" "passwd99")
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
508 ("bitlbee" bitlbee "robert" "sekrit")))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
509 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
510
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
511 And here are the valid method symbols and the arguments they require:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
512
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
513 @table @code
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
514 @item nickserv
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
515 @cindex nickserv authentification
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
516 Use this symbol if you need to identify yourself as follows when
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
517 connecting to a network: @code{/msg nickserv identify secret}. The
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
518 necessary arguments are the nickname you want to use this for, and the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
519 password to use.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
520
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
521 Before you can use this method, you will have to register your nick and
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
522 pick a password for it. Contact @code{nickserv} and check out the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
523 details. (Using @code{/msg nickserv help}, for example.)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
524
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
525 @item chanserv
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
526 @cindex chanserv authentification
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
527 Use this symbol if you need to identify yourself as follows if you want
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
528 to join a particular channel: @code{/msg chanserv identify #underground
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
529 secret}. The necessary arguments are the nickname and channel you want
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
530 to use this for, and the password to use.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
531
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
532 Before you can use this method, a channel contact must tell you about
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
533 the password to use. Contact @code{chanserv} and check out the details.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
534 (Using @code{/msg chanserv help}, for example.)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
535
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
536 @item bitlbee
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
537 @cindex bitlbee authentification
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
538 Use this symbol if you need to identify yourself in the Bitlbee channel
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
539 as follows: @code{identify secret}. The necessary arguments are the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
540 nickname you want to use this for, and the password to use.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
541
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
542 @cindex gateway to other IM services
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
543 @cindex instant messaging, other services
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
544 @cindex Jabber
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
545 @cindex AIM
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
546 @cindex ICQ
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
547 @cindex MSN
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
548 @cindex Yahoo!
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
549 Bitlbee acts like an IRC server, but in fact it is a gateway to a lot of
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
550 other instant messaging services. You can either install Bitlbee
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
551 locally or use a public Bitlbee server. There, you need to create an
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
552 account with a password. This is the nick and password you need to
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
553 provide for the bitlbee authentification method.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
554
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
555 Later, you will tell Bitlbee about your accounts and passwords on all
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
556 the other instant messaging services, and Bitlbee will log you in. All
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
557 @code{rcirc} needs to know, is the login to your Bitlbee account. Don't
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
558 confuse the Bitlbee account with all the other accounts.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
559 @end table
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
560
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
561 @kindex C-c C-SPC
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
562 @vindex rcirc-track-minor-mode
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
563 @cindex switching channels
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
564 @cindex tracking activity
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
565 @cindex active channel
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
566 @cindex abbreviated channel names
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
567 @cindex modeline tracks activity
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
568 Most people want a notification when something is said on a channel they
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
569 have joined, particularly if they have been addressed directly. There
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
570 is a global minor mode that will do this kind of tracking for you. All
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
571 you need to do is switch it on using @kbd{M-x rcirc-track-minor-mode}.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
572 To make this permanent, add the following to your init file:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
573
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
574 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
575 (rcirc-track-minor-mode 1)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
576 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
577
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
578 When other people say things in buffers that are currently buried (no
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
579 window is showing them), the mode line will now show you the abbreviated
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
580 channel or nick name. Use @kbd{C-c C-@key{SPC}} to switch to these
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
581 buffers.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
582
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
583 @vindex rcirc-mode-hook
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
584 If you prefer not to load @code{rcirc} immediately, you can delay the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
585 activation of this mode:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
586
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
587 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
588 (add-hook 'rcirc-mode-hook
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
589 (lambda ()
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
590 (rcirc-track-minor-mode 1)))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
591 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
592
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
593 @node Hacking and Tweaking, GNU Free Documentation License, Reference, Top
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
594 @chapter Hacking and Tweaking
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
595 @cindex hacking and tweaking
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
596
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
597 Here are some examples of stuff you can do to configure @code{rcirc}.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
598
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
599 @menu
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
600 * Skipping /away messages using handlers::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
601 * Using fly spell mode::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
602 * Scrolling conservatively::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
603 * Changing the time stamp format::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
604 * Defining a new command::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
605 * Reconnecting after you have lost the connection::
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
606 @end menu
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
607
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
608 @node Skipping /away messages using handlers, Using fly spell mode, Hacking and Tweaking, Hacking and Tweaking
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
609 @section Skipping @code{/away} messages using handlers
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
610 @cindex /away messages
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
611
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
612 @cindex handlers
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
613 @cindex status codes
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
614 The IRC protocol specifies how certain events are signaled from server
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
615 to client. These events have numbers and are dealt with using so-called
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
616 handlers. You can override existing handlers by exploiting the naming
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
617 convention adopted for @code{rcirc}.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
618
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
619 Here's how to stop @code{rcirc} from printing @code{/away} messages.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
620 Since @code{rcirc} doesn't define a 301 handler, you don't need to
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
621 require @code{rcirc} before defining the handler:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
622
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
623 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
624 (defun rcirc-handler-301 (process cmd sender args)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
625 "/away message handler.")
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
626 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
627
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
628 @node Using fly spell mode, Scrolling conservatively, Skipping /away messages using handlers, Hacking and Tweaking
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
629 @section Using fly spell mode
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
630 @cindex fly spell
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
631 @cindex spelling
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
632 @cindex spell-checking as you type
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
633 @cindex automatic spelling
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
634 @vindex rcirc-mode-hook
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
635
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
636 The following code activates Fly Spell Mode
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
637 for @code{rcirc} buffers:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
638
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
639 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
640 (add-hook 'rcirc-mode-hook (lambda ()
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
641 (flyspell-mode 1)))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
642 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
643
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
644 @xref{Spelling, , Flyspell mode, emacs, The GNU Emacs Manual},
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
645 for details.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
646
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
647 @node Scrolling conservatively, Changing the time stamp format, Using fly spell mode, Hacking and Tweaking
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
648 @section Scrolling conservatively
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
649 @cindex input line
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
650 @cindex scrolling
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
651 @vindex scroll-conservatively
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
652 @vindex rcirc-mode-hook
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
653
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
654 IRC buffers are constantly growing. If you want to see as much as
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
655 possible at all times, you would want the prompt at the bottom of the
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
656 window when possible. The following snippet uses a local value for
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
657 @code{scroll-conservatively} to achieve this:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
658
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
659 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
660 (add-hook 'rcirc-mode-hook
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
661 (lambda ()
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
662 (set (make-local-variable 'scroll-conservatively)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
663 8192)))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
664 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
665
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
666 @xref{Scrolling, , Scrolling conservatively, emacs, The GNU Emacs
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
667 Manual}, for details.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
668
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
669 @node Changing the time stamp format, Defining a new command, Scrolling conservatively, Hacking and Tweaking
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
670 @section Changing the time stamp format
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
671 @cindex time stamp
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
672 @cindex date time
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
673 @cindex format time stamp
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
674 @vindex rcirc-time-format
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
675
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
676 @code{rcirc-time-format} is the format used for the time stamp. Here's
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
677 how to include the date in the time stamp:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
678
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
679 @example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
680 (setq rcirc-time-format "%Y-%m-%d %H:%M ")
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
681 @end example
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
682
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
683 @node Defining a new command, Reconnecting after you have lost the connection, Changing the time stamp format, Hacking and Tweaking
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
684 @section Defining a new command
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
685 @cindex defining commands
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
686 @cindex commands, defining
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
687 @cindex new commands, defining
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
688
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
689 Here's a simple new command, @code{/sv}. With it, you can boast about
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
690 your IRC client. It shows how you can use @code{defun-rcirc-command} to
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
691 define new commands.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
692
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
693 We're waiting for the definition of this command until @code{rcirc} is loaded
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
694 because @code{defun-rcirc-command} is not yet available, and without
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
695 @code{rcirc} loaded, the command wouldn't do us much good anyway.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
696
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
697 @smallexample
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
698 (eval-after-load 'rcirc
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
699 '(defun-rcirc-command sv (arg)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
700 "Boast about rcirc."
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
701 (interactive "i")
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
702 (rcirc-send-message process target
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
703 (concat "I use " rcirc-id-string))))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
704 @end smallexample
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
705
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
706 @node Reconnecting after you have lost the connection, , Defining a new command, Hacking and Tweaking
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
707 @section Reconnecting after you have lost the connection
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
708 @cindex reconnecting
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
709 @cindex disconnecting servers, reconnecting
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
710
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
711 If you're chatting from a laptop, then you might be familiar with this
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
712 problem: When your laptop falls asleep and wakes up later, your IRC
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
713 client doesn't realise that it has been disconnected. It takes several
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
714 minutes until the client decides that the connection has in fact been
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
715 lost. The simple solution is to use @kbd{M-x rcirc}. The problem is
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
716 that this opens an @emph{additional} connection, so you'll have two
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
717 copies of every channel buffer --- one dead and one live.
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
718
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
719 The real answer, therefore, is a @code{/reconnect} command:
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
720
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
721 @smallexample
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
722 (eval-after-load 'rcirc
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
723 '(defun-rcirc-command reconnect (arg)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
724 "Reconnect the server process."
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
725 (interactive "i")
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
726 (unless process
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
727 (error "There's no process for this target"))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
728 (let* ((server (car (process-contact process)))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
729 (port (process-contact process :service))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
730 (nick (rcirc-nick process))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
731 channels query-buffers)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
732 (dolist (buf (buffer-list))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
733 (with-current-buffer buf
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
734 (when (eq process (rcirc-buffer-process))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
735 (remove-hook 'change-major-mode-hook
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
736 'rcirc-change-major-mode-hook)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
737 (if (rcirc-channel-p rcirc-target)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
738 (setq channels (cons rcirc-target channels))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
739 (setq query-buffers (cons buf query-buffers))))))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
740 (delete-process process)
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
741 (rcirc-connect server port nick
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
742 rcirc-default-user-name
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
743 rcirc-default-user-full-name
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
744 channels))))
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
745 @end smallexample
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
746
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
747 @node GNU Free Documentation License, Key Index, Hacking and Tweaking, Top
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
748 @appendix GNU Free Documentation License
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
749 @include doclicense.texi
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
750
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
751
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
752 @node Key Index, Variable Index, GNU Free Documentation License, Top
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
753 @unnumbered Key Index
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
754 @printindex ky
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
755
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
756 @node Variable Index, Index, Key Index, Top
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
757 @unnumbered Variable Index
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
758 @printindex vr
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
759
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
760 @node Index, , Variable Index, Top
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
761 @unnumbered Index
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
762 @printindex cp
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
763
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
764 @bye
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
765
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
766 @ignore
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
767 arch-tag: 2589e562-3843-4ffc-8c2f-477cbad57c01
1c709b7e1512 Move here from ../../man
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
768 @end ignore