From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#14255: 24.3.50; warning when using completion in M-: Date: Sat, 04 May 2013 15:30:34 -0400 Message-ID: References: <87sj2gytox.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1367695884 19509 80.91.229.3 (4 May 2013 19:31:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 May 2013 19:31:24 +0000 (UTC) Cc: 14255@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 04 21:31:21 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UYiAy-0000UC-GR for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 May 2013 21:31:20 +0200 Original-Received: from localhost ([::1]:36618 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYiAy-0002G3-4P for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 May 2013 15:31:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYiAu-0002Fo-VE for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 15:31:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYiAt-0000A4-NO for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 15:31:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYiAt-00009u-KO for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 15:31:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UYiBe-0008QN-B7 for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 15:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 May 2013 19:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14255 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14255-submit@debbugs.gnu.org id=B14255.136769588632306 (code B ref 14255); Sat, 04 May 2013 19:32:02 +0000 Original-Received: (at 14255) by debbugs.gnu.org; 4 May 2013 19:31:26 +0000 Original-Received: from localhost ([127.0.0.1]:58184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYiB3-0008P0-Nu for submit@debbugs.gnu.org; Sat, 04 May 2013 15:31:25 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:34128) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYiB1-0008Or-EA for 14255@debbugs.gnu.org; Sat, 04 May 2013 15:31:24 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r44JUZxp018978; Sat, 4 May 2013 15:30:35 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 00DBCAE1B2; Sat, 4 May 2013 15:30:34 -0400 (EDT) In-Reply-To: <87sj2gytox.fsf@gmail.com> (Thierry Volpiatto's message of "Wed, 24 Apr 2013 14:55:10 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4569=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4569> : streams <954029> : uri <1411545> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73960 Archived-At: > 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))