From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Slawomir Nowaczyk Newsgroups: gmane.emacs.devel Subject: Bug with icomplete-mode Date: Sat, 16 May 2015 13:49:12 +0200 Message-ID: <20150516134912.B8B3.32A02D17@hh.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1431782973 8638 80.91.229.3 (16 May 2015 13:29:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 May 2015 13:29:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 16 15:29:25 2015 Return-path: Envelope-to: ged-emacs-devel@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 1Ytc9b-0006ND-2N for ged-emacs-devel@m.gmane.org; Sat, 16 May 2015 15:29:23 +0200 Original-Received: from localhost ([::1]:34641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ytc9a-0008O8-5D for ged-emacs-devel@m.gmane.org; Sat, 16 May 2015 09:29:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ytaak-0000jc-E0 for emacs-devel@gnu.org; Sat, 16 May 2015 07:49:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ytaah-0006k3-7j for emacs-devel@gnu.org; Sat, 16 May 2015 07:49:18 -0400 Original-Received: from mailgate2.hh.se ([194.47.18.7]:50184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ytaah-0006jt-0h for emacs-devel@gnu.org; Sat, 16 May 2015 07:49:15 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mailgate2.hh.se (Postfix) with ESMTP id 12FBDE0EEC for ; Sat, 16 May 2015 13:49:12 +0200 (CEST) Original-Received: from mailgate2.hh.se ([127.0.0.1]) by localhost (mailgate2.hh.se [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id khUymXhbLu3T for ; Sat, 16 May 2015 13:49:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by mailgate2.hh.se (Postfix) with ESMTP id E9E7AE16CE for ; Sat, 16 May 2015 13:49:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at mailgate2.hh.se Original-Received: from mailgate2.hh.se ([127.0.0.1]) by localhost (mailgate2.hh.se [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id s89Gn2GGI4ct for ; Sat, 16 May 2015 13:49:11 +0200 (CEST) Original-Received: from [192.168.1.82] (h136n12-hst-a14.ias.bredband.telia.com [81.227.240.136]) by mailgate2.hh.se (Postfix) with ESMTPSA id B9BA0E0EEC for ; Sat, 16 May 2015 13:49:11 +0200 (CEST) X-Esmandil_Citation: done X-Mailer-Plugin: Popup Memopad for Becky!2 Ver.0.02 Rev.2 X-Mailer: Becky! ver. 2.65.07 [en] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 194.47.18.7 X-Mailman-Approved-At: Sat, 16 May 2015 09:29:20 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186533 Archived-At: Hello, I have recently switched from (now obsolete) iswitchb to icomplete-mode and I have encountered an issue with that. emacs -Q (icomplete-mode t) (setq icomplete-show-matches-on-no-input t) (get-buffer-create "aaa") (get-buffer-create "bbb") Press C-x b (switch buffer) C-. (select buffer "aaa") C-j Emacs switches to "*Messages*", not the "aaa" buffer I have selected. As far as I can tell, it's because of this part in the minibuffer-force-c= omplete-and-exit (if (and (eq (minibuffer-prompt-end) (point-max)) minibuffer-default) ;; Use the provided default if there's one (bug#17545). --=20 Best wishes, Slawomir Nowaczyk ( Slawomir.Nowaczyk@hh.se ) Program: A magic spell cast over a computer allowing it to turn one's input into error messages.