unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Nicolas Richard <theonewiththeevillook@yahoo.fr>, 17239@debbugs.gnu.org
Subject: bug#17239: 24.3.50; competion error (cl-assertion-failed (string-prefix-p uprefix ustring))
Date: Tue, 25 Aug 2020 12:46:34 +0200	[thread overview]
Message-ID: <87pn7fatpx.fsf@gnus.org> (raw)
In-Reply-To: <jwvoazcl7wd.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Mon, 05 May 2014 08:52:19 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> I spotted these behaviours ("=>" means "hit C-b TAB and the minibuffer
>> becomes") :
>> ~/~/     => ~/~/ [Complete, but not unique]
>> ~/foo/~/ => ~/
>> /foo/~/  => /foo/~/ [Complete, but not unique]
>
> Indeed, I'm not sure why ~/foo/~/ behaves differently.  It's probably
> a side-effect of completion--sifn-requote.  You can take a look at that
> function's leading comment to get an idea for why it might not always
> behave perfectly ;-)

This is perhaps a bit inconsistent, but it's unclear what a consistent
behaviour here would be, anyway -- it's all a bit DWIM, and I think
that's OK.  So I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2020-08-25 10:46 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
2014-05-05 12:52     ` Stefan Monnier
2020-08-25 10:46       ` Lars Ingebrigtsen [this message]

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=87pn7fatpx.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=17239@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=theonewiththeevillook@yahoo.fr \
    /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).