all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>, Leo Liu <sdl.web@gmail.com>
Cc: 19457@debbugs.gnu.org
Subject: bug#19457: 24.4; exec_sentinel_error_handler and read_process_output_error_handler
Date: Mon, 05 Jan 2015 02:43:20 +0300	[thread overview]
Message-ID: <54A9D018.8040505@yandex.ru> (raw)
In-Reply-To: <jwvegrea2w7.fsf-monnier+emacsbugs@gnu.org>

On 01/01/2015 07:29 PM, Stefan Monnier wrote:

> Back then I tried to come up with some alternative API that would
> provide directly the ability to share more work, but couldn't come
> up with anything that was really better than just using straight caching
> in the backend.

A straightforward caching approach (like `completion-table-with-cache') 
won't be good enough, though: the completion styles that come later tend 
to query with shorter prefixes.

So all in all, it seems like the caching function has to return 
completions for an empty prefix, and then cache that. That might be 
pretty costly at times.





  parent reply	other threads:[~2015-01-04 23:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-28 10:25 bug#19457: 24.4; exec_sentinel_error_handler and read_process_output_error_handler Leo Liu
2014-12-28 11:54 ` Leo Liu
2015-01-01 16:29   ` Stefan Monnier
2015-01-04 23:04     ` Leo Liu
2015-01-04 23:43     ` Dmitry Gutov [this message]
2015-01-05  1:58       ` Stefan Monnier
2021-12-02 11:54 ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=54A9D018.8040505@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=19457@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    --cc=sdl.web@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.