unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 17239@debbugs.gnu.org
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	[thread overview]
Message-ID: <53676DC6.1060208@yahoo.fr> (raw)
In-Reply-To: <jwvoazdj8to.fsf-monnier+emacsbugs@gnu.org>

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.





  reply	other threads:[~2014-05-05 10:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-11  9:02 bug#17239: 24.3.50; competion error (cl-assertion-failed (string-prefix-p uprefix ustring)) Nicolas Richard
2014-05-05  1:54 ` Stefan Monnier
2014-05-05 10:53   ` Nicolas Richard [this message]
2014-05-05 12:52     ` Stefan Monnier
2020-08-25 10:46       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53676DC6.1060208@yahoo.fr \
    --to=theonewiththeevillook@yahoo.fr \
    --cc=17239@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).