From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: all-completions broken in 20.7.1? Date: Sun, 09 Feb 2003 07:39:24 -0500 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3E43BFDC.9060101@nmu.alcatel.fr> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1044794572 10362 80.91.224.249 (9 Feb 2003 12:42:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 9 Feb 2003 12:42:52 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18hqnJ-0002gr-00 for ; Sun, 09 Feb 2003 13:42:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18hqkC-00088n-00 for gnu-bug-gnu-emacs@m.gmane.org; Sun, 09 Feb 2003 07:39:36 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18hqk2-00086h-00 for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2003 07:39:26 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18hqk0-00085n-00 for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2003 07:39:25 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18hqk0-00085h-00 for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2003 07:39:24 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18hqk0-0003b2-00; Sun, 09 Feb 2003 07:39:24 -0500 Original-To: Thierry Legras In-reply-to: <3E43BFDC.9060101@nmu.alcatel.fr> (message from Thierry Legras on Fri, 07 Feb 2003 15:17:00 +0100) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4420 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4420 all-completions function returns scarry things: i started a naked emacs with -q option, then just evaled (all-completions "" [foo] nil), result is: The second argument should be an alist or an obarray or a function. [foo] is not valid as any of those. Today, if I eval (using C-j) the following in *scratch*, I get: ?S => 83 ?SPC => 83 I think this simply fails to notice that there were junk letters `PC' after the expression that it read. '(?SPC) => (83 PC) but if I do M-: ? S P C RET I get list: Trailing garbage following expression so the current character syntax really is pretty obscure. That does check for junk that it did not read. The difference in behavior is simply that. Since it is not reasonable practice to use a character constant followed by a symbol and not put a space between, I think it would be ok to define something like ?SPC. But I am not sure we need to do this. If we do it, we should first release an Emacs version where it is an error to write ?.