emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/man/rcirc.texi,v


From: Alex Schroeder
Subject: [Emacs-diffs] Changes to emacs/man/rcirc.texi,v
Date: Wed, 12 Jul 2006 19:05:50 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Alex Schroeder <as>     06/07/12 19:05:50

Index: rcirc.texi
===================================================================
RCS file: /sources/emacs/emacs/man/rcirc.texi,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- rcirc.texi  3 Jul 2006 15:52:26 -0000       1.6
+++ rcirc.texi  12 Jul 2006 19:05:50 -0000      1.7
@@ -136,9 +136,9 @@
 @cindex addressing other people
 @cindex other people, addressing them
 @cindex talk to other people
-If you want to address someone specifically, for example as an answer
-to a question, it is custom to prefix the message with the nick
-followed by a colon, like this:
+If you want to address someone specifically, for example as an answer to
+a question, it is customary to prefix the message with the nick followed
+by a colon, like this:
 
 @example
 deego: fsbot rules!
@@ -155,8 +155,12 @@
 @cindex connecting to a server
 
 @cindex irc command
-Use the command @kbd{M-x irc} to connect to a server.  You will be asked
-for four things:
+Use the command @kbd{M-x irc} to connect using the defaults.
address@hidden, if you want to change the defaults.
+
+Use @kbd{C-u M-x irc} if you don't want to use the defaults, eg. if you
+want to connect to a different network, or connect to the same network
+using a different nick.  This will prompt you for four things:
 
 @table @asis
 @cindex server, connecting
@@ -184,7 +188,7 @@
 @vindex user-login-name
 Every users needs a handle on-line.  You will automatically be assigned
 a slightly different nick if your chosen nick is already in use.  If
-your @code{user-login-name} is @code{"alex"}, and this nick is already
+your @code{user-login-name} is @code{alex}, and this nick is already
 in use, you might for example get assigned the nick @code{alex`}.
 
 @cindex channels, connecting
@@ -194,7 +198,8 @@
 A space separated list of channels you want to join when connecting.
 You don't need to join any channels, if you just want to have one-to-one
 conversations with friends on the same network.  If you're new to the
-Freenode network, join @code{#emacs}, the about all things Emacs.
+Freenode network, join @code{#emacs}, the channel about all things
+Emacs, or join @code{#rcirc}, the channel about @code{rcirc}.
 @end table
 
 @cindex server buffer
@@ -219,17 +224,6 @@
 though.  Generally, IRC users don't like people pasting more than around
 four lines of code, so use with care.
 
address@hidden C-c C-SPC
address@hidden switching channels
address@hidden tracking activity
address@hidden active channel
address@hidden abbreviated channel names
address@hidden modeline tracks activity
-You will note that when other people say things in buffers that are
-currently buried (no window is showing them), the mode line will show
-you the abbreviated channel or nick name.  Use @kbd{C-c address@hidden to 
switch
-to these buffers.
-
 @node Reference, Hacking and Tweaking, Basics, Top
 @chapter Reference
 @cindex reference
@@ -441,35 +435,35 @@
 liking.
 
 @table @code
address@hidden rcirc-server
address@hidden rcirc-server
address@hidden rcirc-default-server
address@hidden rcirc-default-server
 the default server to connect to.
 
address@hidden rcirc-port
address@hidden rcirc-port
address@hidden rcirc-default-port
address@hidden rcirc-default-port
 the default port to connect to.
 
address@hidden rcirc-nick
address@hidden rcirc-nick
address@hidden rcirc-default-nick
address@hidden rcirc-default-nick
 the default nick to use.
 @end table
 
 @example
-(setq rcirc-server "irc.mozilla.org"
-      rcirc-port 6666
-      rcirc-nick "alx")
+(setq rcirc-default-server "irc.mozilla.org"
+      rcirc-default-port 6666
+      rcirc-default-nick "alx")
 @end example
 
address@hidden rcirc-user-full-name
address@hidden rcirc-default-user-full-name
 @cindex full name
 @cindex real name
 @cindex surname
address@hidden is used to set your ``real name'' on IRC.
-It defaults to @code{user-full-name}.  If you want to hide your full
-name, you might want to set it to some pseudonym.
address@hidden is used to set your ``real name'' on
+IRC.  It defaults to @code{user-full-name}.  If you want to hide your
+full name, you might want to set it to some pseudonym.
 
 @example
-(setq rcirc-user-full-name "Curious Minds Want To Know")
+(setq rcirc-default-user-full-name "Curious Minds Want To Know")
 @end example
 
 @vindex rcirc-startup-channels-alist
@@ -493,6 +487,108 @@
 the Freenode network --- all servers within the network have a host in
 the @code{freenode.net} domain.
 
address@hidden rcirc-authinfo
address@hidden authentification
address@hidden identification
address@hidden nickserv
address@hidden login
address@hidden is an alist used to automatically identify
+yourself on networks.  Each sublist starts with a regular expression
+that is compared to the server address you're connecting to.  The second
+element in the list is a symbol representing the method to use, followed
+by the arguments this method requires.
+
+Here is an example to illustrate how you would set it:
+
address@hidden
+(setq rcirc-startup-channels-alist
+      '(("freenode" nickserv "bob" "p455w0rd")
+        ("freenode" chanserv "bob" "#bobland" "passwd99")
+        ("bitlbee" bitlbee "robert" "sekrit")))
address@hidden example
+
+And here are the valid method symbols and the arguments they require:
+
address@hidden @code
address@hidden nickserv
address@hidden nickserv authentification
+Use this symbol if you need to identify yourself as follows when
+connecting to a network: @code{/msg nickserv identify secret}.  The
+necessary arguments are the nickname you want to use this for, and the
+password to use.
+
+Before you can use this method, you will have to register your nick and
+pick a password for it.  Contact @code{nickserv} and check out the
+details.  (Using @code{/msg nickserv help}, for example.)
+
address@hidden chanserv
address@hidden chanserv authentification
+Use this symbol if you need to identify yourself as follows if you want
+to join a particular channel: @code{/msg chanserv identify #underground
+secret}.  The necessary arguments are the nickname and channel you want
+to use this for, and the password to use.
+
+Before you can use this method, a channel contact must tell you about
+the password to use.  Contact @code{chanserv} and check out the details.
+(Using @code{/msg chanserv help}, for example.)
+
address@hidden bitlbee
address@hidden bitlbee authentification
+Use this symbol if you need to identify yourself in the Bitlbee channel
+as follows: @code{identify secret}.  The necessary arguments are the
+nickname you want to use this for, and the password to use.
+
address@hidden gateway to other IM services
address@hidden instant messaging, other services
address@hidden Jabber
address@hidden AIM
address@hidden ICQ
address@hidden MSN
address@hidden Yahoo!
+Bitlbee acts like an IRC server, but in fact it is a gateway to a lot of
+other instant messaging services.  You can either install Bitlbee
+locally or use a public Bitlbee server.  There, you need to create an
+account with a password.  This is the nick and password you need to
+provide for the bitlbee authentification method.
+
+Later, you will tell Bitlbee about your accounts and passwords on all
+the other instant messaging services, and Bitlbee will log you in.  All
address@hidden needs to know, is the login to your Bitlbee account.  Don't
+confuse the Bitlbee account with all the other accounts.
address@hidden table
+
address@hidden C-c C-SPC
address@hidden rcirc-track-minor-mode
address@hidden switching channels
address@hidden tracking activity
address@hidden active channel
address@hidden abbreviated channel names
address@hidden modeline tracks activity
+Most people want a notification when something is said on a channel they
+have joined, particularly if they have been addressed directly.  There
+is a global minor mode that will do this kind of tracking for you.  All
+you need to do is switch it on using @kbd{M-x rcirc-track-minor-mode}.
+To make this permanent, add the following to your init file:
+
address@hidden
+(rcirc-track-minor-mode 1)
address@hidden example
+
+When other people say things in buffers that are currently buried (no
+window is showing them), the mode line will now show you the abbreviated
+channel or nick name.  Use @kbd{C-c address@hidden to switch to these
+buffers.
+
address@hidden rcirc-mode-hook
+If you prefer not to load @code{rcirc} immediately, you can delay the
+activation of this mode:
+
address@hidden
+(add-hook 'rcirc-mode-hook
+          (lambda ()
+            (rcirc-track-minor-mode 1)))
address@hidden example
+
 @node Hacking and Tweaking, Key Index, Reference, Top
 @chapter Hacking and Tweaking
 @cindex hacking and tweaking
@@ -566,7 +662,7 @@
                  8192)))
 @end example
 
address@hidden Scrolling, , Scrolling conservatively, emacs, The GNU Emacs
address@hidden, , Scrolling conservatively, emacs, The GNU Emacs
 Manual}, for details.
 
 @node Changing the time stamp format, Defining a new command, Scrolling 
conservatively, Hacking and Tweaking
@@ -630,21 +726,21 @@
        (error "There's no process for this target"))
      (let* ((server (car (process-contact process)))
             (port (process-contact process :service))
-            (nick (with-rcirc-process-buffer process rcirc-nick))
+            (nick (rcirc-nick process))
             channels query-buffers)
        (dolist (buf (buffer-list))
          (with-current-buffer buf
-           (when (eq process rcirc-process)
+           (when (eq process (rcirc-buffer-process))
+             (remove-hook 'change-major-mode-hook
+                          'rcirc-change-major-mode-hook)
              (if (rcirc-channel-p rcirc-target)
                  (setq channels (cons rcirc-target channels))
                (setq query-buffers (cons buf query-buffers))))))
        (delete-process process)
-       (let ((new-process (rcirc-connect server port nick
-                                         rcirc-user-name user-full-name
-                                         channels)))
-         (dolist (buf query-buffers)
-           (with-current-buffer buf
-             (setq rcirc-process new-process)))))))
+       (rcirc-connect server port nick
+                      rcirc-default-user-name
+                      rcirc-default-user-full-name
+                      channels))))
 @end smallexample
 
 @node Key Index, Variable Index, Hacking and Tweaking, Top




reply via email to

[Prev in Thread] Current Thread [Next in Thread]