unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Toby Cubitt <toby-predictive-dated-1257369489.e0b29c@dr-qubit.org>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: Nikolaj Schumacher <me@nschum.de>,
	Chong Yidong <cyd@stupidchicken.com>,
	emacs-devel@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>,
	eric@siege-engine.com, Drew Adams <drew.adams@oracle.com>
Subject: Re: Completions in Semantic
Date: Fri, 30 Oct 2009 14:17:17 -0700	[thread overview]
Message-ID: <20091030211717.GF8401@c3po.kitp.ucsb.edu> (raw)
In-Reply-To: <e01d8a50910191707o595a7a80rc2b40fc367aa3a56@mail.gmail.com>

On Tue, Oct 20, 2009 at 02:07:07AM +0200, Lennart Borgman wrote:
> On Tue, Oct 20, 2009 at 12:17 AM, Eric M. Ludlam <eric@siege-engine.com> wrote:
> >
> > The semantic complete code for inline stuff uses the same completion and
> > display engines as the minibuffer or inline prompts, so you can mix and
> > match the pieces.  Hopefully an official API can do something similar,
> > so you can complete in the minibuffer or inline with the same functions.
>
> I think the authors of company-mode and completion-UI (Nikolaj and
> Toby) are interested in this too. And Drew, of course.

I'm a bit late to the party, but I think completion-UI already provides
hooks for much of what's being discussed (e.g. annotating completions
with additional information, a generic framework for defining new
completion UIs and completion sources...).

I had a discussion a couple of years ago (more?) with RMS about
submitting completion-UI for inclusion in Emacs, which led me to rework
parts of it based on his suggestions. By the end of the discussion, it
was in a state that RMS was happy with.

However, it was in the middle of the version 22 feature freeze, and I
promised to submit it for possible inclusion after the end of the
freeze. There were three reasons I never got around to it: 1) I forgot,
2) I still wasn't quite happy with the code, and 3) I hadn't documented
it (other than docstrings). Since then, I've at least fixed 2) so that
the code is much cleaner and clearer. I still haven't fixed 3).

But maybe it's time I put completion-UI up for inclusion, and if it's
favourably received it might give me the incentive to document it
properly...

If you're interested, the code can be found at
www.dr-qubit.org/emacs.php, and the direct download link is:

http://dr-qubit.org/predictive/completion-ui-0.11.7.tar.gz

Toby

--
Dr T. S. Cubitt
Quantum Information Theory group
Department of Mathematics
University of Bristol
United Kingdom

email: tsc25@cantab.net
web: www.dr-qubit.org




  reply	other threads:[~2009-10-30 21:17 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-18 23:00 Completions in Semantic Chong Yidong
2009-10-18 23:55 ` Miles Bader
2009-10-19  3:50 ` Eric M. Ludlam
2009-10-19 13:48   ` Stefan Monnier
2009-10-19 16:26     ` Eric M. Ludlam
2009-10-19 18:29       ` Stefan Monnier
2009-10-19 19:33         ` Eric M. Ludlam
2009-10-19 20:06           ` Stefan Monnier
2009-10-19 22:17             ` Eric M. Ludlam
2009-10-20  0:07               ` Lennart Borgman
2009-10-30 21:17                 ` Toby Cubitt [this message]
2009-10-30 21:37                   ` Lennart Borgman
2009-10-20  0:14               ` Stefan Monnier
2009-10-20 20:20                 ` Eric M. Ludlam
2009-10-21 10:58                   ` Lluis
2009-10-21 12:35                     ` Eric M. Ludlam
2009-10-21 13:28                       ` Lluis
2009-10-21 17:35                         ` Eric M. Ludlam
2009-10-22 20:12                     ` Stefan Monnier
2009-10-27 21:21                       ` Lluis
2009-10-28  0:56                         ` Stefan Monnier
2009-10-28  2:25                           ` Eric M. Ludlam
2009-10-28  3:23                             ` Stefan Monnier
2009-10-29 14:38                               ` Lluis
2009-10-31 20:18                                 ` Stefan Monnier
2009-11-01 16:01                                   ` Lluís
2009-11-02  6:12                                     ` Stefan Monnier
2009-11-02 12:13                                       ` Eric M. Ludlam
2009-10-22 20:00                   ` Stefan Monnier
2009-10-19 23:52   ` Eric M. Ludlam
2009-10-21 14:07     ` Chong Yidong
2009-10-21 16:10       ` Eric M. Ludlam
2009-10-23  1:01         ` Chong Yidong
2009-10-23  1:28           ` Eric M. Ludlam

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=20091030211717.GF8401@c3po.kitp.ucsb.edu \
    --to=toby-predictive-dated-1257369489.e0b29c@dr-qubit.org \
    --cc=cyd@stupidchicken.com \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=eric@siege-engine.com \
    --cc=lennart.borgman@gmail.com \
    --cc=me@nschum.de \
    --cc=monnier@iro.umontreal.ca \
    /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).