From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Barzilay Newsgroups: gmane.emacs.bugs Subject: bug#4176: 23.1; partial completions Date: Mon, 17 Aug 2009 10:30:10 -0400 Message-ID: <19081.26994.931953.186612@winooski.ccs.neu.edu> Reply-To: Eli Barzilay , 4176@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250520445 21498 80.91.229.12 (17 Aug 2009 14:47:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Aug 2009 14:47:25 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 17 16:47:18 2009 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.50) id 1Md3US-00074Q-CA for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Aug 2009 16:47:17 +0200 Original-Received: from localhost ([127.0.0.1]:60654 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md3UR-0002FW-RR for geb-bug-gnu-emacs@m.gmane.org; Mon, 17 Aug 2009 10:47:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Md3UC-00028u-51 for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2009 10:47:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Md3U6-00026K-Iz for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2009 10:46:58 -0400 Original-Received: from [199.232.76.173] (port=39647 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md3U6-00026A-56 for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2009 10:46:54 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49072) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Md3U5-0003oR-30 for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2009 10:46:53 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7HEkoPa028206; Mon, 17 Aug 2009 07:46:50 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7HEZ46T026227; Mon, 17 Aug 2009 07:35:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Barzilay Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 17 Aug 2009 14:35:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4176 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125051942125598 (code B ref -1); Mon, 17 Aug 2009 14:35:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 17 Aug 2009 14:30:21 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7HEUI9e025577 for ; Mon, 17 Aug 2009 07:30:20 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Md3E2-0006vZ-FN for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2009 10:30:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Md3Dx-0006rd-CK for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2009 10:30:17 -0400 Original-Received: from [199.232.76.173] (port=58470 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md3Dx-0006rX-3G for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2009 10:30:13 -0400 Original-Received: from winooski.ccs.neu.edu ([129.10.115.117]:46754 helo=barzilay.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Md3Dw-00013z-LN for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2009 10:30:12 -0400 Original-Received: from eli by barzilay.org with local (Exim 4.66) (envelope-from ) id 1Md3Du-0000xA-W4 for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2009 10:30:10 -0400 X-Mailer: VM 7.19 under Emacs 22.1.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 17 Aug 2009 10:46:58 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:30306 Archived-At: With the default settings, enter C-h f select-window TAB and Emacs will tell you that this is the only completion. Trying this with `sele-wind TAB' does a partial completion to `select-window' and moves the cursor to the right place -- a second TAB pops up the completions (showing both functions) saying "complete but not unique" *but* moves the cursor to the end. It would be very nice if the cursor was always at the right place, and it would not say that this is the only completion. Doing (setq completion-styles '(partial-completion)) is fixes the message, but the cursor still moves to the end. Another related problem -- the doc string for `completion-styles' doesn't say anything about what's allowed (should mention `completion-styles-alist'). Also, the functions that are used in `completion-styles-alist' are not documented -- which leaves the user with no explanation at all about the available completion styles. In GNU Emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.14) of 2009-08-01 on winooski.ccs.neu.edu Windowing system distributor `The X.Org Foundation', version 11.0.10300000 configured using `configure '--prefix=/home/eli/bin/local/emacs-dir'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: POSIX value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: whitespace-mode: t cua-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t transient-mark-mode: t Recent input: l e c t - w i l C-g C-g C-g ; C-x C-e C-h f s e l e c - w i n C-g ; C-x C-e C-h f s e l e - w i n d C-g C-g C-h f s e l - w i n C-g C-g ; C-x C-e C-h f s e l e c t - w i n d o C-g C-g C-h f s e l - w i n C-g C-g M-x r e p o r t - w i n e e m a - b u