From: Noam Postavsky <npostavs@users.sourceforge.net>
To: 19854@debbugs.gnu.org
Cc: Dmitry Gutov <dgutov@yandex.ru>,
Thierry Volpiatto <thierry.volpiatto@gmail.com>
Subject: bug#19854: 25.0.50; completion-extra-properties in emacs-25
Date: Sat, 25 Jun 2016 16:38:55 -0400 [thread overview]
Message-ID: <CAM-tV-9UBW6-V_Bh1qkk=LVf4de392VdVBQo+7G0CKjHj0tMVA@mail.gmail.com> (raw)
In-Reply-To: <87h9updcci.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 365 bytes --]
Does this look okay?
(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; in positions where both are
possible (e.g. quoted symbols), functions are annotated with
\"<f>\" via the `:annotation-function' property."
...)
[-- Attachment #2: 0001-Add-to-elisp-completion-at-point-s-docstring.patch --]
[-- Type: text/x-patch, Size: 1241 bytes --]
From 5afc6350859291fb0f3eff3f55c69ee5caf4c140 Mon Sep 17 00:00:00 2001
From: Noam Postavsky <npostavs@gmail.com>
Date: Sat, 25 Jun 2016 16:23:04 -0400
Subject: [PATCH] Add to elisp-completion-at-point's docstring
* lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Document
position dependent behavior (Bug #19854).
---
lisp/progmodes/elisp-mode.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 7ad8871..850ebb4 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -455,7 +455,11 @@ elisp--company-location
((facep sym) (find-definition-noselect sym 'defface)))))
(defun elisp-completion-at-point ()
- "Function used for `completion-at-point-functions' in `emacs-lisp-mode'."
+ "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; in positions where both are
+possible (e.g. quoted symbols), functions are annotated with
+\"<f>\" via the `:annotation-function' property."
(with-syntax-table emacs-lisp-mode-syntax-table
(let* ((pos (point))
(beg (condition-case nil
--
2.8.0
next prev parent reply other threads:[~2016-06-25 20:38 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 [this message]
2016-06-27 1:28 ` Dmitry Gutov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAM-tV-9UBW6-V_Bh1qkk=LVf4de392VdVBQo+7G0CKjHj0tMVA@mail.gmail.com' \
--to=npostavs@users.sourceforge.net \
--cc=19854@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--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 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.