From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.bugs Subject: bug#17239: 24.3.50; competion error (cl-assertion-failed (string-prefix-p uprefix ustring)) Date: Mon, 05 May 2014 12:53:58 +0200 Message-ID: <53676DC6.1060208@yahoo.fr> References: <871tx4qlwq.fsf@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1399414081 32511 80.91.229.3 (6 May 2014 22:08:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2014 22:08:01 +0000 (UTC) Cc: 17239@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 07 00:07:54 2014 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 1WhnSV-00038f-0n for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 May 2014 00:03:31 +0200 Original-Received: from localhost ([::1]:56495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhGXL-0006w9-Ck for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 May 2014 06:54:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhGXB-0006w3-GI for bug-gnu-emacs@gnu.org; Mon, 05 May 2014 06:54:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhGX5-0006WC-BA for bug-gnu-emacs@gnu.org; Mon, 05 May 2014 06:54:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhGX5-0006W7-7W for bug-gnu-emacs@gnu.org; Mon, 05 May 2014 06:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WhGX4-0007tR-Il for bug-gnu-emacs@gnu.org; Mon, 05 May 2014 06:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 May 2014 10:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17239 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17239-submit@debbugs.gnu.org id=B17239.139928719330259 (code B ref 17239); Mon, 05 May 2014 10:54:02 +0000 Original-Received: (at 17239) by debbugs.gnu.org; 5 May 2014 10:53:13 +0000 Original-Received: from localhost ([127.0.0.1]:51322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhGWF-0007rx-Uw for submit@debbugs.gnu.org; Mon, 05 May 2014 06:53:12 -0400 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:24927) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WhGWD-0007rm-8C for 17239@debbugs.gnu.org; Mon, 05 May 2014 06:53:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvIBANZsZ1OkD4Xx/2dsb2JhbAANTK5YAQEBAQEBBpZ7gw+BKYMZAQEBAwEyAUUBBQsLIRYPCQMCAQIBRQYNAQcBAYgoAQymC4FInDMBhxsXhVaBf4Z9B4Q/AQOZNIZNjhyBQQ Original-Received: from mathsrv4.ulb.ac.be (HELO [172.19.79.241]) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 05 May 2014 12:53:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 In-Reply-To: X-TagToolbar-Keys: D20140505125358508 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:88696 Archived-At: Le 05/05/2014 03:54, Stefan Monnier a écrit : >> C-x C-f >> / C-b TAB ;; hit tab between the last two slashes. >> => error. > >> Debugger entered--Lisp error: (cl-assertion-failed (string-prefix-p uprefix ustring)) > > Thanks. I installed the patch below which fixes the most glaring > problem (the assertion failure). Thanks, the assertion failure is indeed gone. > The resulting behavior is not great, but it's not really clear what we > should do anyway. As a point of comparison, when I do C-x C-f ~ / C-b TAB the behaviour of emacs depends on the current content of the minibuffer (which is default-directory by default I guess). I spotted these behaviours ("=>" means "hit C-b TAB and the minibuffer becomes") : ~/~/ => ~/~/ [Complete, but not unique] ~/foo/~/ => ~/ /foo/~/ => /foo/~/ [Complete, but not unique] (not hitting "C-b" doesn't change these results). -- Nico.