unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 14255@debbugs.gnu.org
Subject: bug#14255: 24.3.50; warning when using completion in M-:
Date: Sat, 04 May 2013 15:30:34 -0400	[thread overview]
Message-ID: <jwvzjwapmtn.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87sj2gytox.fsf@gmail.com> (Thierry Volpiatto's message of "Wed,  24 Apr 2013 14:55:10 +0200")

> M-: (def TAB
> after about two seconds:
> `lisp-complete-symbol' is an obsolete command (as of 24.4); use
> `completion-at-point' instead.

I installed the patch below (more or less, with a few other changes)
which should fix it.


        Stefan


=== modified file 'lisp/simple.el'
--- lisp/simple.el	2013-04-18 13:15:08 +0000
+++ lisp/simple.el	2013-05-04 19:21:59 +0000
@@ -1236,10 +1236,10 @@
 		   bidi-fixer encoding-msg pos total percent col hscroll))))))
 \f
 ;; Initialize read-expression-map.  It is defined at C level.
 (let ((m (make-sparse-keymap)))
-  (define-key m "\M-\t" 'lisp-complete-symbol)
+  (define-key m "\M-\t" 'completion-at-point)
   ;; Might as well bind TAB to completion, since inserting a TAB char is much
   ;; too rarely useful.
-  (define-key m "\t" 'lisp-complete-symbol)
+  (define-key m "\t" 'completion-at-point)
   (set-keymap-parent m minibuffer-local-map)
   (setq read-expression-map m))





      reply	other threads:[~2013-05-04 19:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24 12:55 bug#14255: 24.3.50; warning when using completion in M-: Thierry Volpiatto
2013-05-04 19:30 ` Stefan Monnier [this message]

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=jwvzjwapmtn.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=14255@debbugs.gnu.org \
    --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).