--- Begin Message ---
Subject: |
23.1.96; [PATCH] rcirc-complete for nicks and commands |
Date: |
Sun, 02 May 2010 09:49:09 +0100 |
The attached patch replaces rcirc-complete-nick with rcirc-complete that
completes both nicks and user commands. User command completion is only
done after '/'.
I have yet to find a reliable way to obtaining a list of commands
supported by an irc server. So in the end only the standard commands are
copied from RFCs. Let me know if there is a better solution.
0001-New-command-rcirc-complete-that-completes-both-nicks.patch
Description: Text Data
With best wishes,
Leo
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#6076: 23.1.96; [PATCH] rcirc-complete for nicks and commands |
Date: |
Sun, 12 Sep 2010 13:11:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> The ChangeLog entry could looks something like this:
> * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
> (rcirc-completion-start): new variables.
> (rcirc-nick-completions): rename to rcirc-completions.
> (rcirc-nick-completion-start-offset): delete.
> (rcirc-completion-at-point): new function for constructing
> completion data for both nicks and irc commands. Add to
> completion-at-point-functions in rcirc mode.
> (rcirc-complete): rename from rcirc-nick-complete; use
> rcirc-completion-at-point.
> (defun-rcirc-command): update rcirc-client-commands.
Looks fine, except that we capitalize after the ":".
Installed, thank you,
Stefan
--- End Message ---