diff options
| author | Alex Schroeder | 2007-12-20 21:47:16 +0000 |
|---|---|---|
| committer | Alex Schroeder | 2007-12-20 21:47:16 +0000 |
| commit | 125a630ff6a78ef5658478f547c369ad4b266860 (patch) | |
| tree | c42e3162a5c0651eb7754f5f2130c57b6a9c9065 /doc/misc | |
| parent | 0526b9d0b7a5c27d03de5e20a51eccd0d62db19a (diff) | |
| download | emacs-125a630ff6a78ef5658478f547c369ad4b266860.tar.gz emacs-125a630ff6a78ef5658478f547c369ad4b266860.zip | |
(Configuration): Document rcirc-server-alist, remove
rcirc-startup-channels-alist and rcirc-default-server.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/misc/rcirc.texi | 112 |
2 files changed, 74 insertions, 40 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 707b6df77f5..93659ea9ade 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -5,6 +5,8 @@ | |||
| 5 | (rcirc commands): Moved /ignore command to the new chapter. | 5 | (rcirc commands): Moved /ignore command to the new chapter. |
| 6 | (Fighting Information Overload): New chapter documenting /keyword, | 6 | (Fighting Information Overload): New chapter documenting /keyword, |
| 7 | /bright, /dim, channel ignore, and low priority channels. | 7 | /bright, /dim, channel ignore, and low priority channels. |
| 8 | (Configuration): Document rcirc-server-alist, remove | ||
| 9 | rcirc-startup-channels-alist and rcirc-default-server. | ||
| 8 | 10 | ||
| 9 | 2007-12-16 Michael Albinus <michael.albinus@gmx.de> | 11 | 2007-12-16 Michael Albinus <michael.albinus@gmx.de> |
| 10 | 12 | ||
diff --git a/doc/misc/rcirc.texi b/doc/misc/rcirc.texi index c60022420fb..1fdb6238285 100644 --- a/doc/misc/rcirc.texi +++ b/doc/misc/rcirc.texi | |||
| @@ -435,68 +435,98 @@ These are some variables you can change to configure @code{rcirc} to your | |||
| 435 | liking. | 435 | liking. |
| 436 | 436 | ||
| 437 | @table @code | 437 | @table @code |
| 438 | @item rcirc-default-server | 438 | @item rcirc-server-alist |
| 439 | @vindex rcirc-default-server | 439 | @vindex rcirc-server-alist |
| 440 | the default server to connect to. | 440 | @cindex channels, configuration |
| 441 | @cindex initial channels, configuration | ||
| 442 | @cindex startup channels, configuration | ||
| 443 | @cindex servers, configuration | ||
| 444 | @cindex initial servers, configuration | ||
| 445 | @cindex startup servers, configuration | ||
| 446 | This variable contains an alist of servers to connect to by default and | ||
| 447 | the keywords parameters to use. The keyword parameters are optional. If | ||
| 448 | you don't provide any, the defaults as documented below will be used. | ||
| 441 | 449 | ||
| 442 | @item rcirc-default-port | 450 | The most important parameter is the @code{:channels} parameter. It |
| 443 | @vindex rcirc-default-port | 451 | controls which channels you will join by default as soon as you are |
| 444 | the default port to connect to. | 452 | connected to the server. |
| 453 | |||
| 454 | Here's an example of how to set it: | ||
| 455 | |||
| 456 | @example | ||
| 457 | (add-to-list 'rcirc-server-alist | ||
| 458 | '("otherworlders.org" | ||
| 459 | :channels ("#FUDGE" "#game-design"))) | ||
| 460 | @end example | ||
| 461 | |||
| 462 | By default you will be connected to the @code{rcirc} support channel: | ||
| 463 | @code{#rcirc} on @code{irc.freenode.net}. | ||
| 464 | |||
| 465 | @table @code | ||
| 466 | @item :nick | ||
| 467 | This overrides @code{rcirc-default-nick}. | ||
| 468 | |||
| 469 | @item :port | ||
| 470 | This overrides @code{rcirc-default-port}. | ||
| 471 | |||
| 472 | @item :user-name | ||
| 473 | This overrides @code{rcirc-default-user-name}. | ||
| 474 | |||
| 475 | @item :full-name | ||
| 476 | This overrides @code{rcirc-default-full-name}. | ||
| 477 | |||
| 478 | @item :channels | ||
| 479 | This describes which channels to join when connecting to the server. If | ||
| 480 | absent, no channels will be connected to automatically. | ||
| 481 | |||
| 482 | @end table | ||
| 445 | 483 | ||
| 446 | @item rcirc-default-nick | 484 | @item rcirc-default-nick |
| 447 | @vindex rcirc-default-nick | 485 | @vindex rcirc-default-nick |
| 448 | the default nick to use. | 486 | This variable is used for the default nick. It defaults to the login |
| 449 | @end table | 487 | name returned by @code{user-login-name}. |
| 450 | 488 | ||
| 451 | @example | 489 | @example |
| 452 | (setq rcirc-default-server "irc.mozilla.org" | 490 | (setq rcirc-default-nick "kensanata") |
| 453 | rcirc-default-port 6666 | ||
| 454 | rcirc-default-nick "alx") | ||
| 455 | @end example | 491 | @end example |
| 456 | 492 | ||
| 493 | @item rcirc-default-port | ||
| 494 | @vindex rcirc-default-port | ||
| 495 | @cindex port | ||
| 496 | This variable contains the default port to connect to. It is 6667 by | ||
| 497 | default and rarely needs changing. | ||
| 498 | |||
| 499 | @item rcirc-default-user-name | ||
| 500 | @vindex rcirc-default-user-name | ||
| 501 | @cindex user name | ||
| 502 | This variable contains the default user name to report to the server. It | ||
| 503 | defaults to the login name returned by @code{user-login-name}, just like | ||
| 504 | @code{rcirc-default-nick}. | ||
| 505 | |||
| 506 | @item rcirc-default-user-full-name | ||
| 457 | @vindex rcirc-default-user-full-name | 507 | @vindex rcirc-default-user-full-name |
| 458 | @cindex full name | 508 | @cindex full name |
| 459 | @cindex real name | 509 | @cindex real name |
| 460 | @cindex surname | 510 | @cindex surname |
| 461 | @code{rcirc-default-user-full-name} is used to set your ``real name'' on | 511 | This variable is used to set your ``real name'' on |
| 462 | IRC. It defaults to @code{user-full-name}. If you want to hide your | 512 | IRC. It defaults to the name returned by @code{user-full-name}. If you |
| 463 | full name, you might want to set it to some pseudonym. | 513 | want to hide your full name, you might want to set it to some pseudonym. |
| 464 | 514 | ||
| 465 | @example | 515 | @example |
| 466 | (setq rcirc-default-user-full-name "Curious Minds Want To Know") | 516 | (setq rcirc-default-user-full-name "Curious Minds Want To Know") |
| 467 | @end example | 517 | @end example |
| 468 | 518 | ||
| 469 | @vindex rcirc-startup-channels-alist | 519 | @item rcirc-authinfo |
| 470 | @cindex channels, configuration | ||
| 471 | @cindex initial channels, configuration | ||
| 472 | @cindex startup channels, configuration | ||
| 473 | @code{rcirc-startup-channels-alist} is the alist of channels to join | ||
| 474 | when connecting to a particular network. An alist is a list of lists. | ||
| 475 | Each sublist starts with a regular expression that is compared to the | ||
| 476 | server address you're connecting to. The remaining sublist items are | ||
| 477 | the channels to join. | ||
| 478 | |||
| 479 | @example | ||
| 480 | (setq rcirc-startup-channels-alist | ||
| 481 | '(("\\.freenode\\.net$" "#emacs" "#rcirc" "#wiki"))) | ||
| 482 | @end example | ||
| 483 | |||
| 484 | Note the subtle problem, here --- IRC clients connect to servers, and | ||
| 485 | there is no way of knowing which servers belong to a particular network. | ||
| 486 | In the example above we're exploiting a naming convention used by within | ||
| 487 | the Freenode network --- all servers within the network have a host in | ||
| 488 | the @code{freenode.net} domain. | ||
| 489 | |||
| 490 | @vindex rcirc-authinfo | 520 | @vindex rcirc-authinfo |
| 491 | @cindex authentification | 521 | @cindex authentification |
| 492 | @cindex identification | 522 | @cindex identification |
| 493 | @cindex nickserv | 523 | @cindex nickserv |
| 494 | @cindex login | 524 | @cindex login |
| 495 | @code{rcirc-authinfo} is an alist used to automatically identify | 525 | This variable is an alist used to automatically identify yourself on |
| 496 | yourself on networks. Each sublist starts with a regular expression | 526 | networks. Each sublist starts with a regular expression that is compared |
| 497 | that is compared to the server address you're connecting to. The second | 527 | to the server address you're connecting to. The second element in the |
| 498 | element in the list is a symbol representing the method to use, followed | 528 | list is a symbol representing the method to use, followed by the |
| 499 | by the arguments this method requires. | 529 | arguments this method requires. |
| 500 | 530 | ||
| 501 | Here is an example to illustrate how you would set it: | 531 | Here is an example to illustrate how you would set it: |
| 502 | 532 | ||
| @@ -558,6 +588,8 @@ confuse the Bitlbee account with all the other accounts. | |||
| 558 | 588 | ||
| 559 | @end table | 589 | @end table |
| 560 | 590 | ||
| 591 | @end table | ||
| 592 | |||
| 561 | @node Fighting Information Overload, Hacking and Tweaking, Reference, Top | 593 | @node Fighting Information Overload, Hacking and Tweaking, Reference, Top |
| 562 | @chapter Fighting Information Overload | 594 | @chapter Fighting Information Overload |
| 563 | @cindex information overload | 595 | @cindex information overload |