unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Noam Postavsky <npostavs@users.sourceforge.net>, 19854@debbugs.gnu.org
Cc: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Subject: bug#19854: 25.0.50; completion-extra-properties in emacs-25
Date: Mon, 27 Jun 2016 04:28:48 +0300	[thread overview]
Message-ID: <e70a7cb1-236c-bb69-bc98-e46e2f63e433@yandex.ru> (raw)
In-Reply-To: <CAM-tV-9UBW6-V_Bh1qkk=LVf4de392VdVBQo+7G0CKjHj0tMVA@mail.gmail.com>

On 06/25/2016 11:38 PM, Noam Postavsky wrote:
> Does this look okay?

Looks fine to me, thanks.

> (defun elisp-completion-at-point ()
>   "Function used for `completion-at-point-functions' in `emacs-lisp-mode'.
> The returned completions depend on whether point is in a function
> or variable position;

To be thorough, though, AFAIK "function position" means something 
specific to a Lisp programmer: the first element of a list.

Whereas we also look at whether the whole form is quoted (and if so, 
offer all kinds of symbols as completions anyway), and we can also offer 
function-only completions in a non-function position if the function 
position contains one of the known macros (such as cl-callf or 
declare-function).





  reply	other threads:[~2016-06-27  1:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-13 16:07 bug#19854: 25.0.50; completion-extra-properties in emacs-25 Thierry Volpiatto
2015-02-13 17:49 ` Dmitry Gutov
     [not found]   ` <87fva9d397.fsf@gmail.com>
2015-02-13 19:27     ` Dmitry Gutov
2015-02-13 19:58       ` Thierry Volpiatto
2015-02-13 22:08         ` Dmitry Gutov
2015-02-14  5:29           ` Thierry Volpiatto
2015-02-13 20:06       ` Thierry Volpiatto
2015-02-14  6:57   ` Thierry Volpiatto
2015-02-15  0:41     ` Dmitry Gutov
2016-06-25 20:38 ` Noam Postavsky
2016-06-27  1:28   ` Dmitry Gutov [this message]
2016-06-27  4:15     ` Noam Postavsky
2016-06-27  4:21       ` Dmitry Gutov
2016-06-27  4:34         ` Noam Postavsky

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=e70a7cb1-236c-bb69-bc98-e46e2f63e433@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=19854@debbugs.gnu.org \
    --cc=npostavs@users.sourceforge.net \
    --cc=thierry.volpiatto@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.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).