From: "Eric M. Ludlam" <eric@siege-engine.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org, cedet-devel@lists.sourceforge.net, dgutov@gnu.org
Subject: Re: CEDET completion-at-point-function
Date: Mon, 12 May 2014 21:59:26 -0400 [thread overview]
Message-ID: <53717C7E.60208@siege-engine.com> (raw)
In-Reply-To: <jwvwqds5ggh.fsf-monnier+emacs@gnu.org>
On 05/11/2014 02:24 PM, Stefan Monnier wrote:
> I've taken a look at improving semantic.el's
> completion-at-point-function, and I'm wondering:
>
> Can we use lexical-binding in there (completion-at-point-functions was
> designed assuming closures are not a problem), or would it be a problem
> for compatibility reasons?
Hi,
As far as I know, semantic-ia-complete-symbol (which is assigned
indirectly to completion-at-point-function) has no external dependencies
other than frequently being bound to a key. For your reference, the
entirety of "semantic/ia.el" was originally setup to be examples on how
to use some of semantic's features to create different kinds of useful
commands. If this section can be updated as an improved example, I'm
all for it.
Of course, semantic-ia-complete-symbol calls into other parts of the
system for calculating completions, and I am not familiar enough with
the lexical-binding topic to know if they would be negatively affected
or not. Is there a brief reference I could read about the topic?
Thanks
Eric
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
next prev parent reply other threads:[~2014-05-13 1:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-11 18:24 CEDET completion-at-point-function Stefan Monnier
2014-05-13 1:59 ` Eric M. Ludlam [this message]
2014-06-15 3:14 ` [CEDET-devel] " Stefan Monnier
2014-06-15 18:55 ` Eric M. Ludlam
2014-06-16 20:52 ` [CEDET-devel] " Stefan Monnier
2014-06-19 1:20 ` Eric M. Ludlam
2014-06-19 1:47 ` Stefan Monnier
2014-06-22 0:23 ` 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=53717C7E.60208@siege-engine.com \
--to=eric@siege-engine.com \
--cc=cedet-devel@lists.sourceforge.net \
--cc=dgutov@gnu.org \
--cc=emacs-devel@gnu.org \
--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).