From: Chong Yidong <cyd@stupidchicken.com>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 'Stefan Monnier' <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: dropped 4th arg from all-completions
Date: Tue, 27 Apr 2010 17:44:08 -0400 [thread overview]
Message-ID: <87mxwo4llj.fsf@stupidchicken.com> (raw)
In-Reply-To: <6242E78507AA4134B71DFFF603C2B7C4@us.oracle.com> (Drew Adams's message of "Tue, 27 Apr 2010 13:27:09 -0700")
"Drew Adams" <drew.adams@oracle.com> writes:
>> My 23.2 code shows all-completions accepts 4 args.
>> Heck, even the 24 branch still accepts 4 args.
>
> Your "acceptance" is hollow - bad faith. Emacs does not raise an
> error, but it does not respect the arg.
(all-completions "" '(" asdfgh") nil nil)
=> (" asdf")
(all-completions "" '(" asdfgh") nil t)
=> nil
> And the doc shows only 3 args, and the byte compiler warns about #4.
The byte compiler warns, but the code still works.
next prev parent reply other threads:[~2010-04-27 21:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-27 16:01 dropped 4th arg from all-completions Drew Adams
2010-04-27 18:12 ` Stefan Monnier
2010-04-27 20:27 ` Drew Adams
2010-04-27 21:44 ` Chong Yidong [this message]
2010-04-27 22:02 ` Drew Adams
2010-04-28 4:09 ` Stefan Monnier
2010-04-28 4:29 ` Jay Belanger
2010-04-28 5:13 ` David Kastrup
2010-04-28 14:20 ` Stefan Monnier
2010-04-28 16:53 ` Jay Belanger
2010-04-28 6:53 ` Stephen J. Turnbull
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=87mxwo4llj.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@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 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.