all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: emacs-devel@gnu.org
Subject: lisp-completion question
Date: Wed, 26 Jun 2013 13:39:18 +0200	[thread overview]
Message-ID: <8761x1f6e1.fsf@gmail.com> (raw)

Hi,

It seem `lisp-completion-at-point' is no more returning :predicate,
(accessible in emacs-24.3 with (plist-get plist :predicate))
is it wanted?
Note: `lisp-complete-symbol' is still using this with no effect of course. 

In `lisp--local-variables' e.g &optional is returned, is it wanted?
otherwise, the patch below fix it:

diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index b37a811..af8433a 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -725,7 +725,7 @@ considered."
         (delq nil
               (mapcar (lambda (var)
                         (and (symbolp var)
-                             (not (string-match (symbol-name var) "\\`[&_]"))
+                             (not (string-match "\\`[&_]" (symbol-name var)))
                              ;; Eliminate uninterned vars.
                              (intern-soft var)
                              var))


Thanks.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




             reply	other threads:[~2013-06-26 11:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26 11:39 Thierry Volpiatto [this message]
2013-07-04  0:24 ` lisp-completion question Stefan Monnier
2013-07-04  6:04   ` Thierry Volpiatto
2013-07-04  9:58     ` Stefan Monnier
2013-07-04 11:11       ` Thierry Volpiatto
2013-07-04 11:18         ` Thierry Volpiatto
2013-07-04 18:14         ` Stefan Monnier

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=8761x1f6e1.fsf@gmail.com \
    --to=thierry.volpiatto@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.