GNU bug report logs - #14255
24.3.50; warning when using completion in M-:

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Wed, 24 Apr 2013 13:01:02 UTC

Severity: normal

Found in version 24.3.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 14255 <at> debbugs.gnu.org
Subject: bug#14255: 24.3.50; warning when using completion in M-:
Date: Sat, 04 May 2013 15:30:34 -0400
> 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))))))
 
 ;; 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))




This bug report was last modified 12 years and 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.