From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6076: 23.1.96; [PATCH] rcirc-complete for nicks and commands Date: Mon, 03 May 2010 22:32:39 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272941774 24588 80.91.229.12 (4 May 2010 02:56:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 02:56:14 +0000 (UTC) Cc: 6076@debbugs.gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 04 04:56:11 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O98It-0002T4-AZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 May 2010 04:56:11 +0200 Original-Received: from localhost ([127.0.0.1]:46980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O98Is-0007U7-Ji for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 May 2010 22:56:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O98In-0007So-5A for bug-gnu-emacs@gnu.org; Mon, 03 May 2010 22:56:05 -0400 Original-Received: from [140.186.70.92] (port=46771 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O98Il-0007Rs-Gv for bug-gnu-emacs@gnu.org; Mon, 03 May 2010 22:56:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O98Ii-0007F3-VQ for bug-gnu-emacs@gnu.org; Mon, 03 May 2010 22:56:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49122) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O98Ii-0007Ez-Rr for bug-gnu-emacs@gnu.org; Mon, 03 May 2010 22:56:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O97wU-0000GQ-4i; Mon, 03 May 2010 22:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 May 2010 02:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6076 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 6076-submit@debbugs.gnu.org id=B6076.12729403641006 (code B ref 6076); Tue, 04 May 2010 02:33:02 +0000 Original-Received: (at 6076) by debbugs.gnu.org; 4 May 2010 02:32:44 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O97wC-0000GB-FE for submit@debbugs.gnu.org; Mon, 03 May 2010 22:32:44 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O97wB-0000G6-Po for 6076@debbugs.gnu.org; Mon, 03 May 2010 22:32:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAEAk30vO+KoL/2dsb2JhbACdL3K8QIUSBIwo X-IronPort-AV: E=Sophos;i="4.52,323,1270440000"; d="scan'208";a="63265560" Original-Received: from 206-248-170-11.dsl.teksavvy.com (HELO pastel.home) ([206.248.170.11]) by ironport2-out.pppoe.ca with ESMTP; 03 May 2010 22:32:39 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 9201A8007; Mon, 3 May 2010 22:32:39 -0400 (EDT) In-Reply-To: (Leo's message of "Mon, 03 May 2010 18:45:40 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 03 May 2010 22:33:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36679 Archived-At: >>> The attached patch replaces rcirc-complete-nick with rcirc-complete that >>> completes both nicks and user commands. User command completion is only >>> done after '/'. >> Please try and make it use completion-at-point-functions. > I thought of this before making the patch. > rcirc has a very simple completion interface that doesn't get in the > way. It cycles through completions if any. No popup windows no > minibuffer messages etc. I have found that excellent for ircing. > Do you think we should force it into the completion at > point framework? I guess the right solution is to improve completion-at-point so that it can be told to use cycling (the functionality is already provided by the minibuffer-force-complete command). This relates to a larger question: how to provide "in-buffer" the variety of completion commands seen in minibuffer completion. I.e. minibuffer-completion-help, minibuffer-force-complete, minibuffer-complete-word, icomplete-mode, ... Stefan