From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Rost Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4699: 23.1.50; lisp-complete-symbol erases text Date: Sun, 11 Oct 2009 19:08:36 +0200 (CEST) Message-ID: <20091011170836.5CD31EFABF@sonic02.math.uni-bielefeld.de> Reply-To: Markus Rost , 4699@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1255282066 27419 80.91.229.12 (11 Oct 2009 17:27:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Oct 2009 17:27:46 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 11 19:27:36 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mx2CZ-0006Zt-4u for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Oct 2009 19:27:23 +0200 Original-Received: from localhost ([127.0.0.1]:59587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx2CY-0002kq-9H for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Oct 2009 13:27:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mx2CT-0002jc-9X for bug-gnu-emacs@gnu.org; Sun, 11 Oct 2009 13:27:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mx2CO-0002hm-Lb for bug-gnu-emacs@gnu.org; Sun, 11 Oct 2009 13:27:16 -0400 Original-Received: from [199.232.76.173] (port=39947 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx2CO-0002hh-AF for bug-gnu-emacs@gnu.org; Sun, 11 Oct 2009 13:27:12 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56990) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mx2CN-0004xn-U2 for bug-gnu-emacs@gnu.org; Sun, 11 Oct 2009 13:27:12 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9BHR9fn004521; Sun, 11 Oct 2009 10:27:10 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9BHF5Go002311; Sun, 11 Oct 2009 10:15:05 -0700 Resent-Date: Sun, 11 Oct 2009 10:15:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Markus Rost Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 11 Oct 2009 17:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4699 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12552809301252 (code B ref -1); Sun, 11 Oct 2009 17:15:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 11 Oct 2009 17:08:50 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9BH8m8C001247 for ; Sun, 11 Oct 2009 10:08:50 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:58769 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mx1uZ-0005cf-NY for emacs-pretest-bug@gnu.org; Sun, 11 Oct 2009 13:08:47 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mx1uX-0002P8-Si for emacs-pretest-bug@gnu.org; Sun, 11 Oct 2009 13:08:46 -0400 Original-Received: from xen16.math.uni-bielefeld.de ([129.70.14.14]:35616) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mx1uX-0002Og-FB for emacs-pretest-bug@gnu.org; Sun, 11 Oct 2009 13:08:45 -0400 Original-Received: from sonic02.math.uni-bielefeld.de (sonic02.math.uni-bielefeld.de [129.70.14.134]) by xen16.math.uni-bielefeld.de (Postfix) with ESMTP id 3BAD430072C2; Sun, 11 Oct 2009 19:08:42 +0200 (CEST) Original-Received: by sonic02.math.uni-bielefeld.de (Postfix, from userid 3710) id 5CD31EFABF; Sun, 11 Oct 2009 19:08:36 +0200 (CEST) X-GNU-Emacs-Mailer: GNU Emacs 22.3 X-Home-Page: http://www.math.uni-bielefeld.de/~rost X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 11 Oct 2009 13:27:16 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31836 gmane.emacs.pretest.bugs:25114 Archived-At: Recipe: Prepare buffer *scratch* as follows === Buffer *scratch* ======================================= ;; This buffer is for notes you don't want to save, and for Lisp evaluation. ;; If you want to create a file, visit that file with C-x C-f, ;; then enter the text in that file's own buffer. (symbol ============================================================ Put point after "(symbol", hit M-TAB (or M-x lisp-complete-symbol) and in buffer *Completions* click with mouse-2 on "symbolp". The buffer looks now as follows: === Buffer *scratch* ======================================= symbolp ============================================================ The problem does not depend on the particular buffer (same problem in Emacs-Lisp mode buffers) and the particular word to be completed. The problem does not appear with lisp.el.~1.103~, the version before the following change: 2009-08-30 Stefan Monnier * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.