From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2445: 23.0.90; file name completion GCs a lot Date: Thu, 19 Mar 2009 16:43:14 -0400 Message-ID: References: Reply-To: Stefan Monnier , 2445@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237496685 11850 80.91.229.12 (19 Mar 2009 21:04:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Mar 2009 21:04:45 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, 2445@emacsbugs.donarmstrong.com To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 19 22:06:02 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 1LkPQf-00067q-3G for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Mar 2009 22:05:49 +0100 Original-Received: from localhost ([127.0.0.1]:55982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkPPI-0005um-Mx for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Mar 2009 17:04:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkPP5-0005qs-Ro for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 17:03:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkPP1-0005pu-4f for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 17:03:51 -0400 Original-Received: from [199.232.76.173] (port=41392 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkPP0-0005pp-Qv for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 17:03:46 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39572) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LkPOz-0008Bi-VO for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2009 17:03:46 -0400 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 n2JL3hRO017515; Thu, 19 Mar 2009 14:03:43 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n2JKo6UG013959; Thu, 19 Mar 2009 13:50:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 19 Mar 2009 20:50:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2445 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2445-submit@emacsbugs.donarmstrong.com id=B2445.123749539712346 (code B ref 2445); Thu, 19 Mar 2009 20:50:05 +0000 Original-Received: (at 2445) by emacsbugs.donarmstrong.com; 19 Mar 2009 20:43:17 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2JKhEfY012330 for <2445@emacsbugs.donarmstrong.com>; Thu, 19 Mar 2009 13:43:15 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiIFAHBLwklFxIZP/2dsb2JhbACBT9Jhg3wGhGI X-IronPort-AV: E=Sophos;i="4.38,391,1233550800"; d="scan'208";a="35420886" Original-Received: from 69-196-134-79.dsl.teksavvy.com (HELO pastel.home) ([69.196.134.79]) by ironport2-out.teksavvy.com with ESMTP; 19 Mar 2009 16:43:08 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C463E7F0C; Thu, 19 Mar 2009 16:43:14 -0400 (EDT) In-Reply-To: (Richard M. Stallman's message of "Thu, 19 Mar 2009 15:37:00 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-CrossAssassin-Score: 2 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 19 Mar 2009 17:03:51 -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:26494 gmane.emacs.pretest.bugs:24159 Archived-At: > Can you try the patch below to confirm it fixes your problem? > The problem in my real cases is fixed given the sources as of > yesterday. It looks like you've identified fixes to other big > slowdowns that arise in yet larger test cases. I don't need them, > but now that you've written them, you may as well install them > unless they will cause trouble for someone. Sorry about the email confusion: I wrote and sent the second email first, but it got stuck on its machine and only got delivered much later, at which point I had written the second email and installed the fix already. > In the case of file completion, a simple (file-directory-p "xmail/") > would give us the necessary answer, but the code is generic and the > only/best way to get this information from a completion tables is to > call (try-completion "xmail/" table), which calls (file-name-completion > "" "xmail/"). > I have a feeling that (file-name-completion "" "xmail/") ought to > first check (file-directory-p "xmail/") and return t if that does. No: if all files in xmail/ start with "aba", then the above should return "aba". Stefan