From: Drew Adams <drew.adams@oracle.com>
To: Michael Heerdegen <michael_heerdegen@web.de>,
Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 24676@debbugs.gnu.org
Subject: bug#24676: 25.1; `completion-pcm-all-completions' should not reverse order of candidates
Date: Tue, 18 Oct 2016 06:56:34 -0700 (PDT) [thread overview]
Message-ID: <06e9ce6f-685c-475b-a431-c6d902d6b74d@default> (raw)
In-Reply-To: <871szers91.fsf@web.de>
> > > (let ((poss ()))
> > > (dolist (c compl)
> > > (when (string-match-p regex c) (push c poss)))
> > > (nreverse poss))
> >
> > Looks good, please install,
>
> This doesn't seem to meet any of the criteria in
> http://lists.gnu.org/archive/html/emacs-devel/2016-10/msg00007.html
> so I think I'll have to commit to master.
Thanks for fixing this, Michael.
Unfortunately, there is no way for my code that compensates for this bug to now know whether/when it has been fixed. No simple test such as `fboundp' or an Emacs version.
Of course, if you happened to decide to rename the function, there would be no problem...
And it's already a bit much that there is also a function `completion-pcm-all-completions' that does not even call `completion-pcm--all-completions', and that has a completely different signature. And the "internal" function has a nice doc string, but the "external" one has no doc string...
Perhaps you would consider taking this opportunity to find a better name for this "internal" function? Especially since it is "internal", probably few 3rd-party libraries would be affected by a name change.
In my case, I would not be referencing this "internal" function at all, except that I needed to work around this bug. If you did choose to rename it, I would not need to make any code changes, because I already protect this change with `(when (fboundp 'completion-pcm--all-completions)...)'.
next prev parent reply other threads:[~2016-10-18 13:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-12 16:56 bug#24676: 25.1; `completion-pcm-all-completions' should not reverse order of candidates Drew Adams
2016-10-17 8:19 ` Michael Heerdegen
2016-10-17 16:29 ` Stefan Monnier
2016-10-18 8:11 ` Michael Heerdegen
2016-10-18 13:56 ` Drew Adams [this message]
2016-10-18 14:22 ` Michael Heerdegen
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=06e9ce6f-685c-475b-a431-c6d902d6b74d@default \
--to=drew.adams@oracle.com \
--cc=24676@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
--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).