From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#24966: 26.0.50; test-completion with alist COLLECTION calls PREDICATE incorrectly Date: Mon, 28 Nov 2016 15:59:17 -0500 Message-ID: <20161128205917.GA17197@holos.localdomain> References: <87shqnpxym.fsf@udel.edu> <87fumljw98.fsf@users.sourceforge.net> <87eg1wisck.fsf_-_@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1480366820 13905 195.159.176.226 (28 Nov 2016 21:00:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2016 21:00:20 +0000 (UTC) User-Agent: Mutt/1.7.1+60 (b22c5d0e299d) (2016-10-04) Cc: 24966@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 28 22:00:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBT26-00031a-9h for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Nov 2016 22:00:14 +0100 Original-Received: from localhost ([::1]:33016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBT2A-0004Qp-7X for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Nov 2016 16:00:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBT20-0004Ne-7g for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2016 16:00:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBT1u-0002gT-Pi for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2016 16:00:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58141) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cBT1u-0002gN-L7 for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2016 16:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cBT1u-0003Cv-CE for bug-gnu-emacs@gnu.org; Mon, 28 Nov 2016 16:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Nov 2016 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24966 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed patch Original-Received: via spool by 24966-submit@debbugs.gnu.org id=B24966.148036676512252 (code B ref 24966); Mon, 28 Nov 2016 21:00:02 +0000 Original-Received: (at 24966) by debbugs.gnu.org; 28 Nov 2016 20:59:25 +0000 Original-Received: from localhost ([127.0.0.1]:45307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBT1J-0003BY-Bz for submit@debbugs.gnu.org; Mon, 28 Nov 2016 15:59:25 -0500 Original-Received: from mail-qt0-f180.google.com ([209.85.216.180]:36489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cBT1I-0003BM-Fp for 24966@debbugs.gnu.org; Mon, 28 Nov 2016 15:59:24 -0500 Original-Received: by mail-qt0-f180.google.com with SMTP id w33so135085665qtc.3 for <24966@debbugs.gnu.org>; Mon, 28 Nov 2016 12:59:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=PJLp1mfg5+d5Nb/wlVoqlmaZwyCeszJMKFLd0VFrILc=; b=bWfJbnO6sTRCoh+Xlg0n/1NcXwTN9RDC5Xz/Y1iqFa0XdTfDgksUVRrU8TM2T1zecF KBPae7PU5QRJaiaOM9Cm9ZWZEiTi0Ii5fbOdr8rpeXHx6l4O2BICoR0kWYtl5Azp+fbt ziWVG19q3rwRQpW0ewRZdKGYltt/re5jZjCKQ835SYpke1U2Kv3iegdpb6+KwAnkjimW qdjBDutlxx6Mj2RFoN13sJoUqp168qGP4pPGzS7PYkVGmb6tPnuJrLWlA4geJ/cpfzDJ m6CeM7g8Mlf3TE5TrXEjvK56sqQK1RSTbNYvdb1pVya3OCuKFR4dHroK/zEIDpLp09wD yuNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=PJLp1mfg5+d5Nb/wlVoqlmaZwyCeszJMKFLd0VFrILc=; b=lPoQ6fG9Srfp0VW7lvsJXxl/CsyjQo0RBc4LFyzhOLMHjEYELa7XL/abhZvYtdv6J5 orvut0gjWUPpT7ZgxTf3y2vo73EsIAnFAuY3WTUq0fU912rgDbkNU/Dew3yU0B4UHc2e D+Tbp0SItz0zXITORVhq0ivTqhzhVGChLGFOo0cuVjhArnVM+CyNBAbiVJEwrI9FsYPC j0aBfP7yXESwYyFpG5LmbT8ou7mNgXTfgzteXw4kmYUzRIe845v/U3wNPIn/DAos8091 9U7Pc8w99d3h+6SOLNX+FE9eRAyfdlWB/w9EWB+NoVPuX0knuleNJrl2Nm3O+BKUSTJ8 x4Ug== X-Gm-Message-State: AKaTC01QJt3Fsyb0h7CyAaEeKnLVhLXKlcQoMpkVGcCvEk9Xu1uKoGECRu17Un4DHpML37cN X-Received: by 10.200.51.119 with SMTP id u52mr21007201qta.226.1480366758631; Mon, 28 Nov 2016 12:59:18 -0800 (PST) Original-Received: from holos.localdomain ([69.250.222.218]) by smtp.gmail.com with ESMTPSA id x4sm29210330qtc.42.2016.11.28.12.59.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Nov 2016 12:59:17 -0800 (PST) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 10F2D60D62; Mon, 28 Nov 2016 15:59:17 -0500 (EST) Content-Disposition: inline In-Reply-To: <87eg1wisck.fsf_-_@users.sourceforge.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:126221 Archived-At: On 27/11/16 at 03:24pm, npostavs@users.sourceforge.net wrote: > tags 24966 patch > quit > > npostavs@users.sourceforge.net writes: > > > > I tentatively suggest the patch below, but I want to add some tests > > before commiting anything. > > While adding tests, I found another inconsistency: when given a > hashtable with symbol keys, test-completion passes the symbol-name to > PREDICATE, while all-completions and try-completion pass the original > symbol key. Here are two patches, the first for this bug, and the > second for the other inconsistency. The first hunk of 2/2 isn't applying here.