unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard M Stallman <rms@gnu.org>
To: emacs-pretest-bug@gnu.org
Subject: bug#2445: 23.0.90; file name completion GCs a lot
Date: Mon, 23 Feb 2009 10:02:46 -0500	[thread overview]
Message-ID: <E1LbcKU-0006gR-TF@fencepost.gnu.org> (raw)

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






             reply	other threads:[~2009-02-23 15:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-23 15:02 Richard M Stallman [this message]
2009-02-25 16:35 ` bug#2445: 23.0.90; file name completion GCs a lot Stefan Monnier
2009-02-26 19:25   ` Richard M Stallman
2009-03-17 18:03 ` Stefan Monnier
2009-03-19 19:37   ` Richard M Stallman
2009-03-19 20:43     ` Stefan Monnier
2009-03-20 22:52       ` Richard M Stallman
2009-03-21  1:41         ` Stefan Monnier
2009-03-18 13:40 ` Stefan Monnier
2009-03-18 22:18   ` Richard M Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1LbcKU-0006gR-TF@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=2445@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).