From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 01 09:19:28 2012 Received: (at submit) by debbugs.gnu.org; 1 Jan 2012 14:19:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhMFz-000358-Ml for submit@debbugs.gnu.org; Sun, 01 Jan 2012 09:19:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhMFx-000350-50 for submit@debbugs.gnu.org; Sun, 01 Jan 2012 09:19:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhMCu-00072J-HK for submit@debbugs.gnu.org; Sun, 01 Jan 2012 09:16:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:49830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhMCu-00072F-Fu for submit@debbugs.gnu.org; Sun, 01 Jan 2012 09:16:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhMCt-0007Sh-86 for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2012 09:16:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhMCr-000721-UG for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2012 09:16:15 -0500 Received: from zeus.asclepian.ie ([78.47.46.212]:46077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhMCr-00071w-MP for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2012 09:16:13 -0500 Received: by zeus.asclepian.ie (Postfix, from userid 1002) id 275C882D47B; Sun, 1 Jan 2012 14:16:12 +0000 (GMT) From: Aidan Kehoe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-ID: <20224.27302.821804.284656@parhasard.net> Date: Sun, 1 Jan 2012 14:16:06 +0000 To: bug-gnu-emacs@gnu.org Subject: 24.0.92; #'test-completion is inconsistent with symbol hash keys in COLLECTION X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta31) "ginger" 81fee4aee9b6+ XEmacs Lucid (i386-apple-darwin10.8.0) X-NS5-file-as-sent: t Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Hello there, Recipe to trigger the problem: (try-completion "del-alist" #s(hash-table size 145 test equal rehash-siz= e 1.5 rehash-threshold 0.8 data (del-alist hello "delay-mode-hooks" every= one "delete" everyone))) =3D> t ;; as expected and documented (all-completions "del-alist" #s(hash-table size 145 test equal rehash-si= ze 1.5 rehash-threshold 0.8 data (del-alist hello "delay-mode-hooks" ever= yone "delete" everyone))) =3D> ("del-alist") ;; as expected and documented (test-completion "del-alist" #s(hash-table size 145 test equal rehash-si= ze 1.5 rehash-threshold 0.8 data (del-alist hello "delay-mode-hooks" ever= yone "delete" everyone))) =3D> Debugger entered--Lisp error: (wrong-type-argument stringp del-alist) test-completion("del-alist" #s(hash-table size 145 test equal rehash-si= ze 1.5 rehash-threshold 0.8 data (del-alist hello "delay-mode-hooks" ever= yone "delete" everyone ...))) This is unexpected, inconsistent, and not documented; it should return t,= as it does if the hash table key is a string. Happy New Year, Aidan If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Sources/emacs/etc/DEBUG. In GNU Emacs 24.0.92.1 (i386-apple-darwin10.8.0, GTK+ Version 2.22.1) of 2011-12-30 on bonbon Windowing system distributor `The X.Org Foundation', version 11.0.1040200= 0 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x r e p o r t - e m a c s - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --=20 =E2=80=98Iodine deficiency was endemic in parts of the UK until, through = what has been described as =E2=80=9Can unplanned and accidental public health triumph=E2= =80=9D, iodine was added to cattle feed to improve milk production in the 1930s.=E2=80=99 (EN Pearce, Lancet, June 2011) From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 01 18:02:22 2012 Received: (at 10416) by debbugs.gnu.org; 1 Jan 2012 23:02:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhUQ1-0007eW-G3 for submit@debbugs.gnu.org; Sun, 01 Jan 2012 18:02:22 -0500 Received: from smtp-02.vtx.ch ([194.38.175.91]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhUPx-0007eL-NM for 10416@debbugs.gnu.org; Sun, 01 Jan 2012 18:02:19 -0500 Received: from ceviche.home (dyn.83-228-185-053.dsl.vtx.ch [83.228.185.53]) by smtp-02.vtx.ch (VTX Services SA) with ESMTP id 610E75FCA3; Sun, 1 Jan 2012 23:59:07 +0100 (CET) Received: by ceviche.home (Postfix, from userid 20848) id 22C906614B; Sun, 1 Jan 2012 17:59:05 -0500 (EST) From: Stefan Monnier To: Aidan Kehoe Subject: Re: bug#10416: 24.0.92; #'test-completion is inconsistent with symbol hash keys in COLLECTION Message-ID: References: <20224.27302.821804.284656@parhasard.net> Date: Sun, 01 Jan 2012 17:59:05 -0500 In-Reply-To: <20224.27302.821804.284656@parhasard.net> (Aidan Kehoe's message of "Sun, 1 Jan 2012 14:16:06 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 10416 Cc: 10416@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > (try-completion "del-alist" #s(hash-table size 145 test equal rehash-size 1.5 rehash-threshold 0.8 data (del-alist hello "delay-mode-hooks" everyone "delete" everyone))) > => t ;; as expected and documented > (all-completions "del-alist" #s(hash-table size 145 test equal rehash-size 1.5 rehash-threshold 0.8 data (del-alist hello "delay-mode-hooks" everyone "delete" everyone))) > => ("del-alist") ;; as expected and documented These are bugs. The Elisp manual is pretty clear about it: If COLLECTION is a hash table, then the keys that are strings are the possible completions. Other keys are ignored. -- Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 01 19:14:57 2012 Received: (at 10416) by debbugs.gnu.org; 2 Jan 2012 00:14:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhVYH-0000ri-GR for submit@debbugs.gnu.org; Sun, 01 Jan 2012 19:14:57 -0500 Received: from zeus.asclepian.ie ([78.47.46.212]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhVYE-0000rW-7T for 10416@debbugs.gnu.org; Sun, 01 Jan 2012 19:14:55 -0500 Received: by zeus.asclepian.ie (Postfix, from userid 1002) id 3B59F82D4AC; Mon, 2 Jan 2012 00:11:41 +0000 (GMT) From: Aidan Kehoe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-ID: <20224.63037.191716.31567@parhasard.net> Date: Mon, 2 Jan 2012 00:11:41 +0000 To: Stefan Monnier Subject: Re: bug#10416: 24.0.92; #'test-completion is inconsistent with symbol hash keys in COLLECTION In-Reply-To: References: <20224.27302.821804.284656@parhasard.net> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta31) "ginger" 7c383c5784ed+ XEmacs Lucid (x86_64-unknown-freebsd8.2) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 10416 Cc: 10416@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) Ar an ch=C3=A9ad l=C3=A1 de m=C3=AD Eanair, scr=C3=ADobh Stefan Monnier:= =20 > > (try-completion "del-alist" #s(hash-table size 145 test equal rehas= h-size 1.5 rehash-threshold 0.8 data (del-alist hello "delay-mode-hooks" = everyone "delete" everyone))) > > =3D> t ;; as expected and documented >=20 > > (all-completions "del-alist" #s(hash-table size 145 test equal reha= sh-size 1.5 rehash-threshold 0.8 data (del-alist hello "delay-mode-hooks"= everyone "delete" everyone))) > > =3D> ("del-alist") ;; as expected and documented >=20 > These are bugs. The Elisp manual is pretty clear about it: >=20 > If COLLECTION is a hash table, then the keys that are strings are > the possible completions. Other keys are ignored. And the docstrings of #'try-completion and #'all-completion are equally clear, and contradict that. They both say the following: =E2=80=98If COLLECTION is a hash-table, all the keys that are strings or = symbols are the possible completions.=E2=80=99 --=20 =E2=80=98Iodine deficiency was endemic in parts of the UK until, through = what has been described as =E2=80=9Can unplanned and accidental public health triumph=E2= =80=9D, iodine was added to cattle feed to improve milk production in the 1930s.=E2=80=99 (EN Pearce, Lancet, June 2011) From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 01 19:24:36 2012 Received: (at 10416) by debbugs.gnu.org; 2 Jan 2012 00:24:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhVhc-00015U-Bh for submit@debbugs.gnu.org; Sun, 01 Jan 2012 19:24:36 -0500 Received: from zeus.asclepian.ie ([78.47.46.212]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhVha-00015N-6x for 10416@debbugs.gnu.org; Sun, 01 Jan 2012 19:24:34 -0500 Received: by zeus.asclepian.ie (Postfix, from userid 1002) id EA33E82D1DE; Mon, 2 Jan 2012 00:21:23 +0000 (GMT) From: Aidan Kehoe MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-ID: <20224.63619.923297.817329@parhasard.net> Date: Mon, 2 Jan 2012 00:21:23 +0000 To: Stefan Monnier Subject: Re: bug#10416: 24.0.92; #'test-completion is inconsistent with symbol hash keys in COLLECTION In-Reply-To: References: <20224.27302.821804.284656@parhasard.net> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta31) "ginger" 7c383c5784ed+ XEmacs Lucid (x86_64-unknown-freebsd8.2) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 10416 Cc: 10416@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) Ar an ch=C3=A9ad l=C3=A1 de m=C3=AD Eanair, scr=C3=ADobh Stefan Monnier:= =20 > > (try-completion "del-alist" #s(hash-table size 145 test equal rehas= h-size 1.5 rehash-threshold 0.8 data (del-alist hello "delay-mode-hooks" = everyone "delete" everyone))) > > =3D> t ;; as expected and documented >=20 > > (all-completions "del-alist" #s(hash-table size 145 test equal reha= sh-size 1.5 rehash-threshold 0.8 data (del-alist hello "delay-mode-hooks"= everyone "delete" everyone))) > > =3D> ("del-alist") ;; as expected and documented >=20 > These are bugs. The Elisp manual is pretty clear about it: >=20 > If COLLECTION is a hash table, then the keys that are strings are > the possible completions. Other keys are ignored. Also, throwing an error on encountering a symbol key (as #'test-completio= n does) is not what that paragraph describes. --=20 =E2=80=98Iodine deficiency was endemic in parts of the UK until, through = what has been described as =E2=80=9Can unplanned and accidental public health triumph=E2= =80=9D, iodine was added to cattle feed to improve milk production in the 1930s.=E2=80=99 (EN Pearce, Lancet, June 2011) From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 03 17:10:46 2012 Received: (at 10416) by debbugs.gnu.org; 3 Jan 2012 22:10:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RiCZB-0003U8-RC for submit@debbugs.gnu.org; Tue, 03 Jan 2012 17:10:45 -0500 Received: from smtp-03.vtx.ch ([194.38.175.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RiCZ9-0003Tz-Kh for 10416@debbugs.gnu.org; Tue, 03 Jan 2012 17:10:44 -0500 Received: from ceviche.home (dyn.144-85-205-173.dsl.vtx.ch [144.85.205.173]) by smtp-03.vtx.ch (VTX Services SA) with ESMTP id B3F4F297210; Tue, 3 Jan 2012 23:07:21 +0100 (CET) Received: by ceviche.home (Postfix, from userid 20848) id D0B1F6614B; Tue, 3 Jan 2012 17:07:20 -0500 (EST) From: Stefan Monnier To: Aidan Kehoe Subject: Re: bug#10416: 24.0.92; #'test-completion is inconsistent with symbol hash keys in COLLECTION Message-ID: References: <20224.27302.821804.284656@parhasard.net> <20224.63037.191716.31567@parhasard.net> Date: Tue, 03 Jan 2012 17:07:20 -0500 In-Reply-To: <20224.63037.191716.31567@parhasard.net> (Aidan Kehoe's message of "Mon, 2 Jan 2012 00:11:41 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 10416 Cc: 10416@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) >> If COLLECTION is a hash table, then the keys that are strings are >> the possible completions. Other keys are ignored. > And the docstrings of #'try-completion and #'all-completion are equally > clear, and contradict that. They both say the following: > =E2=80=98If COLLECTION is a hash-table, all the keys that are strings or = symbols > are the possible completions.=E2=80=99 Right. So we clearly need to fix the doc. Maybe also the code. But in the mean time I think the contradictory docs basically mean "stay away from symbols as keys for completion hash-tables". Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 07 23:42:28 2016 Received: (at 10416) by debbugs.gnu.org; 8 Jun 2016 03:42:28 +0000 Received: from localhost ([127.0.0.1]:59428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAUNw-0005Nm-1X for submit@debbugs.gnu.org; Tue, 07 Jun 2016 23:42:28 -0400 Received: from mail-oi0-f42.google.com ([209.85.218.42]:34638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAUNu-0005NZ-7l for 10416@debbugs.gnu.org; Tue, 07 Jun 2016 23:42:26 -0400 Received: by mail-oi0-f42.google.com with SMTP id e72so308721673oib.1 for <10416@debbugs.gnu.org>; Tue, 07 Jun 2016 20:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=OLZP7Nj44HaYicl/fHoM730eyrhgLhQKfZ+RRtXYw+U=; b=EH9ffr3fJDvKQN0HB8XJRZzijTKIMSPvoJYVo1/1YA2mCjMWhGqYNyzq0h3GwBydQc VLFeV3uH3MbDH75c9GDfdpEH1tALKYPdqufPbGJlhJNHCmFKyY21kS3LeKEUCznKFhWG +qBofD4PUDz4MrBF2dbMIsW0Aq+ffnyjDBhCKbOnsht4bBboHDqecPCeb5V7ZwqRBchq d6M48FZfRIPplGJD6rVWdUTtWu/aZcvWoS3NueBSdTBxCnT/KR6alABYVvV1cGHYay+9 nkPKttax11JfunmePlYX9ngD+q3Bhtsnnev+oYxyP7Q5zwIF41o69P38sh2sTojUHWho +Ejw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=OLZP7Nj44HaYicl/fHoM730eyrhgLhQKfZ+RRtXYw+U=; b=i0KRNFU5o6Ah0GAWTxXXvAoxsIg3uMlrbT/2cCyIyO5YFDFDw1X8yKB+Qzhz9w397O 1FjQKADxHyun17FE2e82612AcRkj7xlIF5rxNugUtd/1Klg2+WfUt1kaeayNtj2kkKia humRP1Mm8VPXk9WD0XT7w8mgS6RiYnapS/8z8PJ62/i99u57anTxldkqsD7o9h/BerEq KZIfW5/HkmXRklgHj5/UGzOm7sCuOLcoEINlTfSl18vRqVKiJo/nQ3wnw5bAQ+9gpDDX o0/kLHLvtWSvVLe2UwUpicX8sILtMFYxcLJFM0EiTOqlXZZ29UDJtIjYrVIJq5Yq10lP nu/w== X-Gm-Message-State: ALyK8tLotV6hbmILTJM5nXwDDHO1rx8qniHy5LpFCv55fAcVirt3qOxzD1R94PfUXQymIpXP1XYSVEq1Vsbj9w== X-Received: by 10.157.51.74 with SMTP id u10mr1764500otd.124.1465357340635; Tue, 07 Jun 2016 20:42:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.5.168 with HTTP; Tue, 7 Jun 2016 20:42:20 -0700 (PDT) From: Noam Postavsky Date: Tue, 7 Jun 2016 23:42:20 -0400 X-Google-Sender-Auth: m92NbX3xwQkMMAcTOuOv5Ip96X8 Message-ID: Subject: 24.0.92; #'test-completion is inconsistent with symbol hash keys in COLLECTION To: 10416@debbugs.gnu.org Content-Type: multipart/mixed; boundary=001a113e27fac2140b0534bc17ed X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 10416 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --001a113e27fac2140b0534bc17ed Content-Type: text/plain; charset=UTF-8 tag 10416 + patch quit In 24.5 the 3rd case is fixed, but the docs are still contradictory as of 25.0.94. Here is a patch to make manual agree with code and docstrings. --001a113e27fac2140b0534bc17ed Content-Type: text/x-diff; charset=US-ASCII; name="0001-Fix-documentation-of-completion-functions.patch" Content-Disposition: attachment; filename="0001-Fix-documentation-of-completion-functions.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ip6buhas0 RnJvbSBkYzI1Yjk4YmY5MGI2OGI3OGM4YjNiYWY0ZGNjMGJiYzYwOWJkMmQyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOb2FtIFBvc3RhdnNreSA8bnBvc3RhdnNAZ21haWwuY29tPgpE YXRlOiBUdWUsIDcgSnVuIDIwMTYgMjM6Mzc6MDUgLTA0MDAKU3ViamVjdDogW1BBVENIXSBGaXgg ZG9jdW1lbnRhdGlvbiBvZiBjb21wbGV0aW9uIGZ1bmN0aW9ucwoKU28gdGhhdCB0aGUgYmVoYXZp b3IgbWF0Y2hlcyB0aGUgbWF0Y2ggY29kZSAoYW5kIGRvY3N0cmluZ3MpLgoKKiBkb2MvbGlzcHJl Zi9taW5pYnVmLnRleGkgKEJhc2ljIENvbXBsZXRpb24pOiBTeW1ib2wga2V5cyBvZiBoYXNoIHRh YmxlCmFyZSBub3QgaWdub3JlZC4KLS0tCiBkb2MvbGlzcHJlZi9taW5pYnVmLnRleGkgfCA0ICsr LS0KIDEgZmlsZSBjaGFuZ2VkLCAyIGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pCgpkaWZm IC0tZ2l0IGEvZG9jL2xpc3ByZWYvbWluaWJ1Zi50ZXhpIGIvZG9jL2xpc3ByZWYvbWluaWJ1Zi50 ZXhpCmluZGV4IDZmNDEwOTAuLjFmYTI1MzYgMTAwNjQ0Ci0tLSBhL2RvYy9saXNwcmVmL21pbmli dWYudGV4aQorKysgYi9kb2MvbGlzcHJlZi9taW5pYnVmLnRleGkKQEAgLTczMyw4ICs3MzMsOCBA QCBCYXNpYyBDb21wbGV0aW9uCiBJZiBAdmFye2NvbGxlY3Rpb259IGlzIGFuIG9iYXJyYXkgKEBw eHJlZntDcmVhdGluZyBTeW1ib2xzfSksIHRoZSBuYW1lcwogb2YgYWxsIHN5bWJvbHMgaW4gdGhl IG9iYXJyYXkgZm9ybSB0aGUgc2V0IG9mIHBlcm1pc3NpYmxlIGNvbXBsZXRpb25zLgogCi1JZiBA dmFye2NvbGxlY3Rpb259IGlzIGEgaGFzaCB0YWJsZSwgdGhlbiB0aGUga2V5cyB0aGF0IGFyZSBz dHJpbmdzCi1hcmUgdGhlIHBvc3NpYmxlIGNvbXBsZXRpb25zLiAgT3RoZXIga2V5cyBhcmUgaWdu b3JlZC4KK0lmIEB2YXJ7Y29sbGVjdGlvbn0gaXMgYSBoYXNoIHRhYmxlLCB0aGVuIHRoZSBrZXlz IHRoYXQgYXJlIHN0cmluZ3Mgb3IKK3N5bWJvbHMgYXJlIHRoZSBwb3NzaWJsZSBjb21wbGV0aW9u cy4gIE90aGVyIGtleXMgYXJlIGlnbm9yZWQuCiAKIFlvdSBjYW4gYWxzbyB1c2UgYSBmdW5jdGlv biBhcyBAdmFye2NvbGxlY3Rpb259LiAgVGhlbiB0aGUgZnVuY3Rpb24gaXMKIHNvbGVseSByZXNw b25zaWJsZSBmb3IgcGVyZm9ybWluZyBjb21wbGV0aW9uOyBAY29kZXt0cnktY29tcGxldGlvbn0K LS0gCjIuOC4wCgo= --001a113e27fac2140b0534bc17ed-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 18 12:32:16 2016 Received: (at 10416) by debbugs.gnu.org; 18 Jun 2016 16:32:16 +0000 Received: from localhost ([127.0.0.1]:45326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEJAN-0008PJ-UJ for submit@debbugs.gnu.org; Sat, 18 Jun 2016 12:32:16 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:33757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEJAL-0008Oz-7X for 10416@debbugs.gnu.org; Sat, 18 Jun 2016 12:32:14 -0400 Received: by mail-oi0-f65.google.com with SMTP id e205so18686623oig.0 for <10416@debbugs.gnu.org>; Sat, 18 Jun 2016 09:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=DD9a2WXC650GUO39kRA5Ttmp+jKyuDV28w65YmEBtN8=; b=YsVMcsdtHcgEKNdrOn3T0/u13FA89WetuTYXVEkolfkDqCS1xKeAdhA/eqBC7keQnl KUyQtawQxIKCgOjEkC3ULFMwYG66PJYzL+RlyTJ3GOeYP3Wky4zRXiYvTCG26h/gGB0M PK6cBz+cfrhwmhPAyUCJp7tTKI4F26P2/JwwKSzr04sdMG6Nn4O+KhE3NFv9BqFWqdeP 2z6MAEJFZDnpwtWnTIGbt5FvV6/I3vUiCMrjP3AMOVHL7409HFfF2t6Cd37EyLZqZ0N7 qHcoMVlhMQMdrUwQMJfAUN3y1oBVivjuKv3RoGUfAsPkEHqg72CGWyv890RXi/OvPDEP b0PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=DD9a2WXC650GUO39kRA5Ttmp+jKyuDV28w65YmEBtN8=; b=j55Z1EgOr6696YcBhpE6CAEZYxAdPfQSJJqPoOEaXzhQlSg/6hu/qW+YvqCkIVsSdW 9N3VQx1q7oPX0/gQp/SMAaDs93SzvggHZGZ3CUPEdkHN43CFzUkvoY9QePFIgUSe7NNB lIk3Gc1U7oBQ9IgWLbZZ3MAC8vko4b9TPzkkI12E9H5A0nq9mgq6XDKqGkiiKFUHjbnc ABalhkpgVf1vyDAQvwYMSAL7mCPtlubgWcGbv9xBkYiOQH5A8K/7OiSdqO+VNkh5kLzn n0u8YZulP0vcU1OPwkOkifzPSaQ/55OcGruWpEn2GfdYP1D6smR0BJDrZyH52DOTJRdf jINg== X-Gm-Message-State: ALyK8tIb1KhXNcZW4YTRABRC2S0dU0arFa84toRHbkKg8UbvuHZrNykvMttActCz/2GJtvzVbRy4cMQK6ZFuSQ== X-Received: by 10.157.24.118 with SMTP id t51mr2871309ott.92.1466267527633; Sat, 18 Jun 2016 09:32:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.52.238 with HTTP; Sat, 18 Jun 2016 09:32:07 -0700 (PDT) From: Noam Postavsky Date: Sat, 18 Jun 2016 12:32:07 -0400 X-Google-Sender-Auth: vzX2ONstmU4-a6Ir-A3PUXA90ME Message-ID: Subject: Re: bug#10416: 24.0.92; #'test-completion is inconsistent with symbol hash keys in COLLECTION To: 10416@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 10416 Cc: Aidan Kehoe , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) The code has meanwhile been changed to handle symbol hash keys in 24.4 (a8036e40 "* src/minibuf.c (Ftest_completion): Ignore non-string/symbol keys in hash tables."). Should we update the manual to match the docstring and code now? From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 18 13:19:59 2016 Received: (at 10416) by debbugs.gnu.org; 18 Jun 2016 17:19:59 +0000 Received: from localhost ([127.0.0.1]:45345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEJuZ-0001IP-G3 for submit@debbugs.gnu.org; Sat, 18 Jun 2016 13:19:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEJuY-0001IA-9y for 10416@debbugs.gnu.org; Sat, 18 Jun 2016 13:19:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEJuP-0002l1-8y for 10416@debbugs.gnu.org; Sat, 18 Jun 2016 13:19:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEJuA-0002hn-92; Sat, 18 Jun 2016 13:19:34 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1879 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bEJu8-00087e-BD; Sat, 18 Jun 2016 13:19:32 -0400 Date: Sat, 18 Jun 2016 20:20:36 +0300 Message-Id: <83wplm9zx7.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: (message from Noam Postavsky on Sat, 18 Jun 2016 12:32:07 -0400) Subject: Re: bug#10416: 24.0.92; #'test-completion is inconsistent with symbol hash keys in COLLECTION References: <20224.27302.821804.284656@parhasard.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 10416 Cc: kehoea@parhasard.net, 10416@debbugs.gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > From: Noam Postavsky > Date: Sat, 18 Jun 2016 12:32:07 -0400 > Cc: Aidan Kehoe , > Stefan Monnier > > Should we update the manual to match the docstring and code now? Yes, as always. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 18 15:10:05 2016 Received: (at 10416-done) by debbugs.gnu.org; 18 Jun 2016 19:10:05 +0000 Received: from localhost ([127.0.0.1]:45441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bELd7-0005pP-2N for submit@debbugs.gnu.org; Sat, 18 Jun 2016 15:10:05 -0400 Received: from mail-oi0-f54.google.com ([209.85.218.54]:34932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bELd5-0005on-Bq for 10416-done@debbugs.gnu.org; Sat, 18 Jun 2016 15:10:03 -0400 Received: by mail-oi0-f54.google.com with SMTP id a64so7527853oii.2 for <10416-done@debbugs.gnu.org>; Sat, 18 Jun 2016 12:10:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=xxA7CHJgTgo0tmwGjbJuTMmqrQFTSa0goK20wQo3mH8=; b=eKfcQiwE/DkfqTOkq6c9vxtUomT8AA+bzXNnKUROmryWhMkwhz0/OOo20rL585dT0I 9oTj6reyss0jLCK3b+V8COzHYwkkw7Sspcu1pivpujHVuqg8xKHNXAlmox4vU9tMm1QH zc6/AeiF/t1Z1HXuRSQ7KpM9dIih7HVqtafJ+j4PdS6VBzvIA+tuFZfq3b9frOW+OFXb IDxuRa+ZOS3zruCDGyuVcUr7RcSFMnn2Dg7Vgpvkr0UaYW5KSSgYcQtLaxt3RlJtgHGF Q7GRvc8EFQ82tyFy8pvQqRj+QGwaRDYYBnAUKHoKVc05IwDuQ2c/1L3ruZyCq5kpBvlF WFpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=xxA7CHJgTgo0tmwGjbJuTMmqrQFTSa0goK20wQo3mH8=; b=VftNA0dGD7pDIJe6zpA2lnfMCIB1Ht1mNfxNVr7qMRbXvOcegRQUjmLuj5tuxrEsMB un/+NkflN7isiLrUhHiIMoP+0bqJOZJDrbsGno4aAZs9IGH0ykUZ5/8XhZJHHCWVaNov kfsF56LcaqvDFJlVXnmUihQdQKq3Tbo2GVf6+fT55IQDILkhHEWFqNaIxQwDLeJhfgkK b7I3i4eaTVgGqIS6MIXD0GauhH0X9hfJeXfsDcwEMHHA6DZ7DaOhYiFlt23drVYbBM68 QHHuNzjxbQG3yKFuvculM28vFJB9pGaHdd2f8AMRYmHTMpNuiQWwaJfkgBwarJLKKkqT x2Ug== X-Gm-Message-State: ALyK8tKM1FXky1dfh2jIHoy0yg0Do0YQqxJGOWskXllU+VcxmHTxJie6wk3Ig/gCODAinyBr4cuzVzjvcQ4BmA== X-Received: by 10.157.29.10 with SMTP id m10mr5186375otm.196.1466276997724; Sat, 18 Jun 2016 12:09:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.52.238 with HTTP; Sat, 18 Jun 2016 12:09:57 -0700 (PDT) In-Reply-To: <83wplm9zx7.fsf@gnu.org> References: <20224.27302.821804.284656@parhasard.net> <83wplm9zx7.fsf@gnu.org> From: Noam Postavsky Date: Sat, 18 Jun 2016 15:09:57 -0400 X-Google-Sender-Auth: Ff2_YvXT2xcgKHJ_A-yV1KLW-LQ Message-ID: Subject: Re: bug#10416: 24.0.92; #'test-completion is inconsistent with symbol hash keys in COLLECTION To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 10416-done Cc: Aidan Kehoe , 10416-done@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Version: 24.4 On Sat, Jun 18, 2016 at 1:20 PM, Eli Zaretskii wrote: >> From: Noam Postavsky >> Date: Sat, 18 Jun 2016 12:32:07 -0400 >> Cc: Aidan Kehoe , >> Stefan Monnier >> >> Should we update the manual to match the docstring and code now? > > Yes, as always. > > Thanks. Okay, I pushed the manual patch to emacs-25 (d1efbafd). From unknown Fri Aug 15 20:53:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 17 Jul 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator