emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: ido slow for outline path completion
Date: Fri, 19 Dec 2008 09:39:58 +0100	[thread overview]
Message-ID: <79368DAE-A865-485B-B0A3-E7952C80940B@uva.nl> (raw)
In-Reply-To: <20524da70812181557m79252c30hc941fe5965f917e8@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1828 bytes --]

Hi Samuel,
>
> However, when I do org-refile as full path (not basenames),
> it sometimes takes 45 seconds.

Could you sent a test file for this?  I cannot reproduce it.


- Carsten

>
>
> I haven't narrowed it down yet.  Emacs just freezes.
>
> Every character I type from that point on takes another 45
> seconds or so.  Deletes also take that long until I get back
> to the place where it was fast.  At that point it is fast
> again.
>
> The difference from before is that before, it occurred
> before the minibuffer showed the candidates, while now it
> occurs in the middle of entering the selection string.
>
> Discontiguity might something to do with it -- sometimes it
> happens when the character typed is different from the next
> char in the target.  Maybe the candidate list needs lots of
> searching in that case.  Maybe it is starting from the
> beginning to match against the path?
>
> I have not noticed this happening when I use basenames in
> org-refile ido.  This leads me to conjecture that it might
> be the size of the full paths.  Maybe too much stuff for the
> ido flex matcher to consider.  uniquify-style disambiguation
> might help by reducing the number of characters.
>
> It might or might not have something to do with typing a
> space that exists next in the target -- or not typing the
> same.  Another possible hint is that sometimes, typing a
> space inserts a slash.  Not sure why.
>
> As I said, I have not narrowed down the exact cases.  If you
> have a priori ideas, please let me know and I will try them.
>
> Thank you very much.
>
> -- 
> Myalgic encephalomyelitis denialists are knowingly causing further
> suffering and death by opposing biomedical research on this serious
> infectious disease.  Do you care about the world?
> http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


[-- Attachment #1.2: Type: text/html, Size: 2321 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2008-12-19  8:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-12 20:04 ido slow for outline path completion Samuel Wales
2008-12-15  9:36 ` Carsten Dominik
2008-12-18 23:57   ` Samuel Wales
2008-12-19  8:39     ` Carsten Dominik [this message]
2008-12-19 18:04       ` Samuel Wales
2008-12-19 22:32         ` Samuel Wales
2008-12-21 11:49           ` Carsten Dominik
2008-12-21 11:49     ` Carsten Dominik
2008-12-21 21:24       ` Samuel Wales
2008-12-22  8:30         ` Carsten Dominik
2008-12-23 19:40           ` Samuel Wales

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.orgmode.org/

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

  git send-email \
    --in-reply-to=79368DAE-A865-485B-B0A3-E7952C80940B@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /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/org-mode.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).