From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2445: 23.0.90; file name completion GCs a lot Date: Mon, 23 Feb 2009 10:02:46 -0500 Message-ID: Reply-To: rms@gnu.org, 2445@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1235402852 13097 80.91.229.12 (23 Feb 2009 15:27:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2009 15:27:32 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 23 16:28:44 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 1LbcjI-0003nG-Va for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Feb 2009 16:28:25 +0100 Original-Received: from localhost ([127.0.0.1]:48221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lbchy-0000DP-EW for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Feb 2009 10:27:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lbcej-0007HW-OA for bug-gnu-emacs@gnu.org; Mon, 23 Feb 2009 10:23:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lbcei-0007Gp-Cj for bug-gnu-emacs@gnu.org; Mon, 23 Feb 2009 10:23:41 -0500 Original-Received: from [199.232.76.173] (port=38372 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lbceh-0007Ga-Se for bug-gnu-emacs@gnu.org; Mon, 23 Feb 2009 10:23:39 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56542) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lbceg-0003ZQ-Vm for bug-gnu-emacs@gnu.org; Mon, 23 Feb 2009 10:23:39 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1NFNa6J017252; Mon, 23 Feb 2009 07:23:37 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1NFA49C013853; Mon, 23 Feb 2009 07:10:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Richard M Stallman Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 23 Feb 2009 15:10:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2445 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123540150612554 (code B ref -1); Mon, 23 Feb 2009 15:10:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 23 Feb 2009 15:05:06 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1NF507h011659 for ; Mon, 23 Feb 2009 07:05:02 -0800 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LbcKU-0006gR-TF; Mon, 23 Feb 2009 10:02:47 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 23 Feb 2009 10:23:41 -0500 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:25625 gmane.emacs.pretest.bugs:23978 Archived-At: When I type C-x C-f xmail/foox TAB, where xmail contains 800 files and none of them starts with foox, it takes a few seconds (including 3 GCs) before telling me it can't be found. Here's output from xbacktrace: "file-name-completion" (0x7fbe23e4) "completion--file-name-table" (0x7fbe26c4) "complete-with-action" (0x7fbe29a4) 0x87978c PVEC_COMPILED "byte-code" (0x7fbe2f14) "completion--some" (0x7fbe33b4) 0x8797dc PVEC_COMPILED "apply" (0x7fbe3710) "read-file-name-internal" (0x7fbe38f4) "try-completion" (0x7fbe3a74) "completion-pcm--find-all-completions" (0x7fbe3f2c) "completion-pcm-try-completion" (0x7fbe4214) 0x879d04 PVEC_COMPILED "byte-code" (0x7fbe4784) "completion--some" (0x7fbe4c24) "completion-try-completion" (0x7fbe4f04) "completion--do-completion" (0x7fbe51f4) "minibuffer-complete" (0x7fbe550c) "call-interactively" (0x7fbe5764) "completing-read" (0x7fbe5ebc) "read-file-name" (0x7fbe61ac) "find-file-read-args" (0x7fbe648c) "byte-code" (0x7fbe671c) "call-interactively" (0x7fbe69c4) I think that is because of the partial completion feature that is now enabled by default and was not before. I don't notice (or mind) the feature itself. But the delay is a real pain whenever I make a typo in these names. I think the feature should be disabled by default if it can't be made fast enough to run in half a second. This is on the Lemote Yeelong mini-laptop. In GNU Emacs 23.0.90.4 (mipsel-unknown-linux-gnu, GTK+ Version 2.12.11) of 2009-02-23 on lemote-yeeloong configured using `configure 'CFLAGS=-O0 -g -Wno-pointer-sign' 'mipsel-unknown-linux-gnu' 'build_alias=mipsel-unknown-linux-gnu' 'host_alias=mipsel-unknown-linux-gnu' 'target_alias=mipsel-unknown-linux-gnu'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil 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.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: gpm-mouse-mode: t tooltip-mode: t tool-bar-mode: t menu-bar-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 line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: C-x b RET C-z o x m a i l / f o o x TAB C-z C-g o x a i DEL DEL m a i l / f o o x TAB C-g C-z C-x C-g ESC x C-g C-h f r e o DEL p o r t - f i l e - ESC DEL ESC DEL r e a d - f i e - DEL DEL l e - n a m e - i n t e r n a l RET C-x o TAB RET C-x 1 ESC x r e p o r t SPC e m a s DEL c s SPC b u g RET Recent messages: Loading paren...done Note: file is write protected [2 times] Counting messages...done (No new mail has arrived) 0 new messages read For information about GNU Emacs and the GNU system, type C-h C-a. Quit [3 times] Type C-x 4 C-o RET to restore the other window. mouse-2, RET: find function's definition Loading vc-cvs...done