From: "Andreas Politz, INF|INF-I" <politza@fh-trier.de>
To: Glenn Morris <rgm@gnu.org>
Cc: 8197@debbugs.gnu.org
Subject: bug#8197: 24.0.50; completion-substring-try-completion bug ?
Date: Fri, 7 Oct 2011 08:42:33 +0200 [thread overview]
Message-ID: <20111007063041.M3161@fh-trier.de> (raw)
In-Reply-To: <7s62k18se6.fsf@fencepost.gnu.org>
On Thu, 06 Oct 2011 22:09:05 -0400, Glenn Morris wrote
> Andreas Politz wrote:
>
> > (completion-substring-try-completion
> > "foo" '("bar-foo" "baz-foo") nil 2)
> > => ("ba-foo" . 6)
> >
> > I would expect this to return ("ba-foo" . 2) .
>
> Now it returns ("-foo" . 4).
> Is this progress?
> I don't know, because the function is undocumented
> (I guess I have to look it up in completion-styles-alist?).
That was a while ago, but in my understanding the function should
return a partial substring completion (matching *ba*-foo* in this case)
and the index of the ambiguous part.
-ap
next prev parent reply other threads:[~2011-10-07 6:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-07 18:38 bug#8197: 24.0.50; completion-substring-try-completion bug ? Andreas Politz
2011-10-07 2:09 ` Glenn Morris
2011-10-07 6:42 ` Andreas Politz, INF|INF-I [this message]
2011-10-07 12:53 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111007063041.M3161@fh-trier.de \
--to=politza@fh-trier.de \
--cc=8197@debbugs.gnu.org \
--cc=rgm@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.