From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 11 04:46:53 2016 Received: (at submit) by debbugs.gnu.org; 11 Dec 2016 09:46:53 +0000 Received: from localhost ([127.0.0.1]:37518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cG0ia-00015Q-OY for submit@debbugs.gnu.org; Sun, 11 Dec 2016 04:46:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cG0iZ-00015C-8B for submit@debbugs.gnu.org; Sun, 11 Dec 2016 04:46:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cG0iS-00040U-MU for submit@debbugs.gnu.org; Sun, 11 Dec 2016 04:46:45 -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.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57671) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cG0iS-00040O-Ib for submit@debbugs.gnu.org; Sun, 11 Dec 2016 04:46:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG0iQ-0007GM-UU for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2016 04:46:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cG0iM-0003yv-25 for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2016 04:46:42 -0500 Received: from mail-wj0-f174.google.com ([209.85.210.174]:35814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cG0iL-0003yc-R2 for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2016 04:46:37 -0500 Received: by mail-wj0-f174.google.com with SMTP id v7so48540669wjy.2 for ; Sun, 11 Dec 2016 01:46:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version; bh=xaNHy3qYt3LQG4qiiGRif0sVxrXSTBXjNycrdECnAEE=; b=SmHkGp3+fGUk70Tz8ERbz6I1GkcVb8nvvIRMHEduVOAucZ+ZLFm1Xc2uOybuebzfL/ 6yp5b33mI2sAm+xwCOoCrv5m+3Jy1cRYPZZDmIwW/ALT5LpDKJPwuHSibnCG07QfeyB/ szsWNA2jTAtAuag85L0WoeSgfFqM2H1j87xq1ZaIVYRh7XLTLIJXSRCnfq9AtC9T41LM APeFhfiSLU55iu2kK5HuHSOxkyVbjdn2MZyMjVmqkyiQiPbw6TqGQpetFXGp/Bfn+UqS 4lkXz5wsDmKMa9WV08t+mItYY3s/P6G/etp8r882yjr4yWsxEG+I4BurPeikAL19bKCS 1EKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=xaNHy3qYt3LQG4qiiGRif0sVxrXSTBXjNycrdECnAEE=; b=JD/zQpXDsTGNGHkj0+lqgW63IK07/bSHNw/w7NYA93tXayjaVrjLVCVaF1Uv2kLOOM HR0mG0zpv2k/Uz/wkaz8mDbd9aWUBYqEQqT1eVOQggdw8vCVO7a//iV/6LVotD8+KEJd DrXX8MbymDiRVfkgXpd5/hs3EZgwW1E7f1eUizGaiyBCtTwEGB6ZLWDoGWS9fIJmocYx LD0rop7l4O2F6g97OhHdys6slps5t88Z1JB2o4SMUjoC39G4HMFeAxLqBWyenQiIoRNA +Ab8UFTKmrPfWKgrxFqlH39zMr24I9f8d7XlwB2UxOGJwyNTpR0C/ip5NaFgkJFV+sC4 b9AQ== X-Gm-Message-State: AKaTC00QhhkkSKOcgZR5xGi05bNC4sSGtC6DMLmMq4xN4QAoCcgtMtdGtqqWUriz9fpdZA== X-Received: by 10.194.191.201 with SMTP id ha9mr75775561wjc.205.1481449536518; Sun, 11 Dec 2016 01:45:36 -0800 (PST) Received: from phst-glaptop2 (46.128.198.151.dynamic.cablesurf.de. [46.128.198.151]) by smtp.gmail.com with ESMTPSA id a13sm29774577wma.18.2016.12.11.01.45.35 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sun, 11 Dec 2016 01:45:35 -0800 (PST) From: Philipp To: bug-gnu-emacs@gnu.org Subject: 26.0.50; It shouldn't be possible to set the function cell of nil and t Date: Sun, 11 Dec 2016 10:41:13 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit 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: -3.8 (---) You can set the function cell of nil and t using `fset' and friends. But you can't call the `nil' function using (nil) (it does work with (t)). I think that attempting to set the function cell of nil and t is almost always a bug -- probably the programmer wanted to set a real symbol, but some of the constants got passed. I propose to signal an error (e.g. `setting-constant') whenever the function cell of nil and t is modified; maybe the same should happen for keywords. In GNU Emacs 26.0.50.5 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2016-12-10 built on localhost Repository revision: dc62ea38e36b5de47893a60a76d66b7a79bf6437 Windowing system distributor 'The X.Org Foundation', version 11.0.11702000 System Description: Ubuntu 14.04 LTS Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --enable-checking --enable-check-lisp-object-type 'CFLAGS=-O0 -ggdb3'' Configured features: XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t 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 Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv bytecomp byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 97085 5586) (symbols 48 20041 0) (miscs 40 331 105) (strings 32 17859 3593) (string-bytes 1 580498) (vectors 16 13985) (vector-slots 8 448755 7198) (floats 8 179 25) (intervals 56 201 0) (buffers 976 11) (heap 1024 47360 1053)) From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 11 13:39:08 2016 Received: (at 25166) by debbugs.gnu.org; 11 Dec 2016 18:39:08 +0000 Received: from localhost ([127.0.0.1]:38408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cG91g-0003wE-H3 for submit@debbugs.gnu.org; Sun, 11 Dec 2016 13:39:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cG91f-0003vm-4m for 25166@debbugs.gnu.org; Sun, 11 Dec 2016 13:39:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cG91Z-0005Ur-0u for 25166@debbugs.gnu.org; Sun, 11 Dec 2016 13:39:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 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]:45784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG91X-0005UO-Em; Sun, 11 Dec 2016 13:38:59 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cG91V-0000BW-So; Sun, 11 Dec 2016 13:38:57 -0500 From: Glenn Morris To: Philipp Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t References: X-Spook: INS Task Force NBIC Hurricane Recovery Lockdown Weapons X-Ran: Lee~[qjz,gkx&Ad)=.V+Y^3::+~^9`n4[s,=~JxN=7:T`T8H"t3H[N+]4`YZ`)b{;UI4uQ X-Hue: brightblack X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 11 Dec 2016 13:38:57 -0500 In-Reply-To: (Philipp's message of "Sun, 11 Dec 2016 10:41:13 +0100") Message-ID: <5f7f76ia4e.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain 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: -8.0 (--------) X-Debbugs-Envelope-To: 25166 Cc: 25166@debbugs.gnu.org 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: -8.0 (--------) Philipp wrote: > You can set the function cell of nil and t using `fset' and friends. > But you can't call the `nil' function using (nil) (it does work with > (t)). I think that attempting to set the function cell of nil and t is > almost always a bug -- probably the programmer wanted to set a real > symbol, but some of the constants got passed. I propose to signal an > error (e.g. `setting-constant') whenever the function cell of nil and t > is modified; maybe the same should happen for keywords. I just did this yesterday... See https://debbugs.gnu.org/25110, ba8e883, and 3fd4433. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 11 13:39:21 2016 Received: (at control) by debbugs.gnu.org; 11 Dec 2016 18:39:21 +0000 Received: from localhost ([127.0.0.1]:38411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cG91s-0003wi-PY for submit@debbugs.gnu.org; Sun, 11 Dec 2016 13:39:20 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44153) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cG91q-0003wU-UJ for control@debbugs.gnu.org; Sun, 11 Dec 2016 13:39:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cG91l-0005XG-CL for control@debbugs.gnu.org; Sun, 11 Dec 2016 13:39:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 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]:45785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG91l-0005XC-8t for control@debbugs.gnu.org; Sun, 11 Dec 2016 13:39:13 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cG91k-0000EX-Ux for control@debbugs.gnu.org; Sun, 11 Dec 2016 13:39:13 -0500 Subject: control message for bug 25166 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sun, 11 Dec 2016 13:39:12 -0500 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: -8.0 (--------) X-Debbugs-Envelope-To: control 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: -8.0 (--------) forcemerge 25110 25166 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 15:23:45 2016 Received: (at control) by debbugs.gnu.org; 12 Dec 2016 20:23:45 +0000 Received: from localhost ([127.0.0.1]:39631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGX8T-00075Z-7j for submit@debbugs.gnu.org; Mon, 12 Dec 2016 15:23:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53041) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGX8R-00075N-N8 for control@debbugs.gnu.org; Mon, 12 Dec 2016 15:23:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGX8M-0006On-1z for control@debbugs.gnu.org; Mon, 12 Dec 2016 15:23:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.0 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]:34351) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGX8L-0006Oj-Vh for control@debbugs.gnu.org; Mon, 12 Dec 2016 15:23:38 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cGX8L-00071x-KO for control@debbugs.gnu.org; Mon, 12 Dec 2016 15:23:37 -0500 Subject: control message for bug 25166 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 12 Dec 2016 15:23:37 -0500 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: -8.1 (--------) X-Debbugs-Envelope-To: control 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: -8.1 (--------) unmerge 25166 From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 12 15:26:00 2016 Received: (at 25166) by debbugs.gnu.org; 12 Dec 2016 20:26:00 +0000 Received: from localhost ([127.0.0.1]:39641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGXAd-00079t-Sl for submit@debbugs.gnu.org; Mon, 12 Dec 2016 15:26:00 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGXAc-00079g-Bn for 25166@debbugs.gnu.org; Mon, 12 Dec 2016 15:25:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGXAT-0007HJ-7e for 25166@debbugs.gnu.org; Mon, 12 Dec 2016 15:25:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGXAP-0007G6-Ip; Mon, 12 Dec 2016 15:25:45 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cGXAO-0007Y6-Uy; Mon, 12 Dec 2016 15:25:45 -0500 From: Glenn Morris To: Philipp Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t References: <5f7f76ia4e.fsf@fencepost.gnu.org> X-Spook: Agfa Venezuela class struggle AVN HAMASMOIS anthrax Dick X-Ran: GhlY9~qc,f;?M1~q^VBBj|DFY0$ie4dS7)/AR60LBmZ&]$"S&uIr/2"O&;%yFXv6<|cHd* X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 12 Dec 2016 15:25:44 -0500 In-Reply-To: <5f7f76ia4e.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 11 Dec 2016 13:38:57 -0500") Message-ID: <1hpokwx5br.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain 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: -8.1 (--------) X-Debbugs-Envelope-To: 25166 Cc: 25166@debbugs.gnu.org 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: -8.1 (--------) Glenn Morris wrote: > Philipp wrote: > >> You can set the function cell of nil and t using `fset' and friends. >> But you can't call the `nil' function using (nil) (it does work with >> (t)). I think that attempting to set the function cell of nil and t is >> almost always a bug -- probably the programmer wanted to set a real >> symbol, but some of the constants got passed. I propose to signal an >> error (e.g. `setting-constant') whenever the function cell of nil and t >> is modified; maybe the same should happen for keywords. > > I just did this yesterday... > See https://debbugs.gnu.org/25110, ba8e883, and 3fd4433. And now see also ffb1302. :) Anyway, I only did "nil", since as you say "t" can actually be called as a function. But you are right that it's probably unintended. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 26 14:29:35 2016 Received: (at 25166) by debbugs.gnu.org; 26 Dec 2016 19:29:36 +0000 Received: from localhost ([127.0.0.1]:55951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cLaxj-0005pU-NZ for submit@debbugs.gnu.org; Mon, 26 Dec 2016 14:29:35 -0500 Received: from mail-wm0-f45.google.com ([74.125.82.45]:36659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cLaxi-0005pG-0q for 25166@debbugs.gnu.org; Mon, 26 Dec 2016 14:29:34 -0500 Received: by mail-wm0-f45.google.com with SMTP id c85so63796790wmi.1 for <25166@debbugs.gnu.org>; Mon, 26 Dec 2016 11:29:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ch19O+ziUl3dIKA5UwckPkr15lSiwTnc36UAk103BAU=; b=DZv2GrQzq8DLNkzXwtXlui/7F41zVENFHZtIzZ55QtubwqjlO6DtW8WpflI0sMU3Mv vDRx/6O3SDSo7ioRjfylkoqnAQEHRedPFcgyenPCgEoYipYiUJmakCZVCl7Xo7ly7/IP N497kvG4TsxlxI2p2iKGq+hmNdEQEn9mhZPu3RCHWIAK+IvXTke4E78seBWyefSxYPF2 ktb1D/zyp5uEy9dhphU9t3ug+yQD14E+2Tz/2RgvojZDFTRu1GwpY6FPHxpQK6HzslRa CO+z7FOXYZRfHYW1BIgTL1ezkMT+GfsVKkZLQeqYwkGtPxVX9IEbb0BDSfT6CIy5QbJg OIdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ch19O+ziUl3dIKA5UwckPkr15lSiwTnc36UAk103BAU=; b=GzQ2AEdYpaKZzjzyH0Vs8yP/wJ+55eol2CVarzxGQVHvbWA3JXOKQhrhL03NlobnWp 8Gc2ukSFiyLPqxyblLla35HUt8+4hX3w436MZi4OhH70qjEtyxNVKfUH0k+Vvwq2pTRB sc2lwZSNixXugNqdVzp94eHb+Ok8AZRswFl1v8ADpfl0JZrzyFMH8suyzUDjCI8cphGO my266FdjGEA4h0JrRdkMdYN3LFU14U/2MjyXBZqc6RUCPvErcHQpPnBLFMPaKZioaaBa fs2fo/zYZrxBcAj+wQB44eHmz/4u0xL5+KQy2L+sFRpYIXkch6zPpjdyVI88al9JjbZU Jt8Q== X-Gm-Message-State: AIkVDXIoh7oCRyexs3fDyYZEzcROweozEMjlXvw5jSevsxt59vvBIs5q0PLKyPssMs+IorXnbD13B1D0mja/Tw== X-Received: by 10.28.216.65 with SMTP id p62mr25717282wmg.92.1482780568213; Mon, 26 Dec 2016 11:29:28 -0800 (PST) MIME-Version: 1.0 References: <5f7f76ia4e.fsf@fencepost.gnu.org> <1hpokwx5br.fsf@fencepost.gnu.org> In-Reply-To: <1hpokwx5br.fsf@fencepost.gnu.org> From: Philipp Stephani Date: Mon, 26 Dec 2016 19:29:17 +0000 Message-ID: Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t To: Glenn Morris Content-Type: multipart/alternative; boundary=001a114706940c5edd054494c1f1 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 25166 Cc: 25166@debbugs.gnu.org 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.2 (/) --001a114706940c5edd054494c1f1 Content-Type: text/plain; charset=UTF-8 Glenn Morris schrieb am Mo., 12. Dez. 2016 um 21:25 Uhr: > Glenn Morris wrote: > > > Philipp wrote: > > > >> You can set the function cell of nil and t using `fset' and friends. > >> But you can't call the `nil' function using (nil) (it does work with > >> (t)). I think that attempting to set the function cell of nil and t is > >> almost always a bug -- probably the programmer wanted to set a real > >> symbol, but some of the constants got passed. I propose to signal an > >> error (e.g. `setting-constant') whenever the function cell of nil and t > >> is modified; maybe the same should happen for keywords. > > > > I just did this yesterday... > > See https://debbugs.gnu.org/25110, ba8e883, and 3fd4433. > > And now see also ffb1302. :) > Anyway, I only did "nil", since as you say "t" can actually be called as > a function. But you are right that it's probably unintended. > > Thanks! Interestingly the behavior was already added in 1994 (commit c15c5d408d696928862ca2848a359231e373556c), but apparently reverted later. I'd suggest to simply reinstate that commit. --001a114706940c5edd054494c1f1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Glenn = Morris <rgm@gnu.org> schrieb am Mo= ., 12. Dez. 2016 um 21:25=C2=A0Uhr:
Glenn Morris wrote:

> Philipp wrote:
>
>> You can set the function cell of nil and t using `fset' and fr= iends.
>> But you can't call the `nil' function using (nil) (it does= work with
>> (t)).=C2=A0 I think that attempting to set the function cell of ni= l and t is
>> almost always a bug -- probably the programmer wanted to set a rea= l
>> symbol, but some of the constants got passed.=C2=A0 I propose to s= ignal an
>> error (e.g. `setting-constant') whenever the function cell of = nil and t
>> is modified; maybe the same should happen for keywords.
>
> I just did this yesterday...
> See https://debbugs.gnu.org/25110, ba8e883= , and 3fd4433.

And now see also ffb1302. :)
Anyway, I only did "nil", since as you say "t" can actu= ally be called as
a function. But you are right that it's probably unintended.


Thanks! Interestin= gly the behavior was already added in 1994 (commit c15c5d408d696928862ca284= 8a359231e373556c), but apparently reverted later. I'd suggest to simply= reinstate that commit.=C2=A0
--001a114706940c5edd054494c1f1-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 26 14:41:20 2016 Received: (at 25166) by debbugs.gnu.org; 26 Dec 2016 19:41:20 +0000 Received: from localhost ([127.0.0.1]:55957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cLb95-000679-RZ for submit@debbugs.gnu.org; Mon, 26 Dec 2016 14:41:20 -0500 Received: from mail-wj0-f169.google.com ([209.85.210.169]:36065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cLb93-00066u-OG for 25166@debbugs.gnu.org; Mon, 26 Dec 2016 14:41:18 -0500 Received: by mail-wj0-f169.google.com with SMTP id c11so99856520wjx.3 for <25166@debbugs.gnu.org>; Mon, 26 Dec 2016 11:41:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VXV/iPJn0SS+WXChxSJn+QPJSsCH6hT+8XQq1C76hWg=; b=KOPqtzGVUxzBGWPm+U2JL7CM1fD8rMVXQOmVfuXV4IrGKbAfzGw6eQqeAlbp/Te1G/ mTldbKgJKx7lZ6CK5vMFZGi7K3l8+0FqJQ3o4Ir4M7E15xVGUCGntfOddctpRR0nxW+r GRW00pQAdYj4DimVwNbrEzH2aRYELcQTnmfhxGEM5tJhOXvve2b3Azym3IY/JiZdcxrh kFU6h6FcAe2Qu8B2WASq9oYJeRgs4HnAXBKyXJYUdfF+mFNSYBqGGP+aVD+snpSp5F7Y 59HSABn0pcL+PKhU/cEZY5YWhOtl1HVX3iDlyVI0e2RTq8dJDXqFIpcqcn3XWawaBtX9 AScA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VXV/iPJn0SS+WXChxSJn+QPJSsCH6hT+8XQq1C76hWg=; b=VXgcdJZsPrD6ERjnyQiLLHAo99zvdW4OWtCWt8rXSxQ6YcJdmjry5fCcaPp4uFjkR5 dQQGUBsf7yRlOGSkOLuMGEFXN4OL0hPvno3ajjfqVkV7lV7t8owfVJpEU4oMt1ggGwyq 9Nb5VPH0/fraV2HRQyAnqdxieyuejsTiOALhx4QY25iUOjbDSXWGj0jKALzAw9AZYqZW 1SDRDjPEnxeWzo9zrKYlNbgJZX2I7Hyvmc1FNs7Gx6XTjNdcWKYHBZeFsLzVJq0DH6TG uGlMImPW8Ir+hNIBSpGA6a+YkP52n6HTMSleB8Lb8Tnj2AViEDGEFSAy3hSEMKHN6Hm3 be0w== X-Gm-Message-State: AIkVDXIzUEln4m6bB/s9AOvAv1v2OuKt1hRwYkzDFQq2uFscjnrqRjtoS3IYiNLF7hwAuK4ql9e1JNw4MzPAyw== X-Received: by 10.194.58.7 with SMTP id m7mr12434914wjq.73.1482781271661; Mon, 26 Dec 2016 11:41:11 -0800 (PST) MIME-Version: 1.0 References: <5f7f76ia4e.fsf@fencepost.gnu.org> <1hpokwx5br.fsf@fencepost.gnu.org> In-Reply-To: From: Philipp Stephani Date: Mon, 26 Dec 2016 19:41:00 +0000 Message-ID: Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t To: Glenn Morris Content-Type: multipart/mixed; boundary=047d7b86cf3efa3993054494eaa0 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 25166 Cc: 25166@debbugs.gnu.org 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.2 (/) --047d7b86cf3efa3993054494eaa0 Content-Type: multipart/alternative; boundary=047d7b86cf3efa398d054494ea9e --047d7b86cf3efa398d054494ea9e Content-Type: text/plain; charset=UTF-8 Philipp Stephani schrieb am Mo., 26. Dez. 2016 um 20:29 Uhr: > Glenn Morris schrieb am Mo., 12. Dez. 2016 um 21:25 Uhr: > > Glenn Morris wrote: > > > Philipp wrote: > > > >> You can set the function cell of nil and t using `fset' and friends. > >> But you can't call the `nil' function using (nil) (it does work with > >> (t)). I think that attempting to set the function cell of nil and t is > >> almost always a bug -- probably the programmer wanted to set a real > >> symbol, but some of the constants got passed. I propose to signal an > >> error (e.g. `setting-constant') whenever the function cell of nil and t > >> is modified; maybe the same should happen for keywords. > > > > I just did this yesterday... > > See https://debbugs.gnu.org/25110, ba8e883, and 3fd4433. > > And now see also ffb1302. :) > Anyway, I only did "nil", since as you say "t" can actually be called as > a function. But you are right that it's probably unintended. > > > Thanks! Interestingly the behavior was already added in 1994 (commit > c15c5d408d696928862ca2848a359231e373556c), but apparently reverted later. > I'd suggest to simply reinstate that commit. > Here's a patch. --047d7b86cf3efa398d054494ea9e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Philip= p Stephani <p.stephani2@gmail.c= om> schrieb am Mo., 26. Dez. 2016 um 20:29=C2=A0Uhr:
Glenn Morris &= lt;rgm= @gnu.org> schrieb am Mo., 12. Dez. 2016 um 21:25=C2=A0Uhr:
Glenn Morris = wrote:

> Philipp wrote:
>
>> You can set the function cell of nil and t using `fset' and fr= iends.
>> But you can't call the `nil' function using (nil) (it does= work with
>> (t)).=C2=A0 I think that attempting to set the function cell of ni= l and t is
>> almost always a bug -- probably the programmer wanted to set a rea= l
>> symbol, but some of the constants got passed.=C2=A0 I propose to s= ignal an
>> error (e.g. `setting-constant') whenever the function cell of = nil and t
>> is modified; maybe the same should happen for keywords.
>
> I just did this yesterday...
> See https://debbugs.gnu.org/25110, ba8e883= , and 3fd4433.

And now see also ffb1302. :)
Anyway, I only did "nil", since as you say "t" can actu= ally be called as
a function. But you are right that it's probably unintended.


Thanks! Interestingly = the behavior was already added in 1994 (commit c15c5d408d696928862ca2848a35= 9231e373556c), but apparently reverted later. I'd suggest to simply rei= nstate that commit.=C2=A0

Here's a patch.=C2=A0
--047d7b86cf3efa398d054494ea9e-- --047d7b86cf3efa3993054494eaa0 Content-Type: text/plain; charset=US-ASCII; name="0001-Prevent-setting-the-function-cell-of-t-Bug-25166.txt" Content-Disposition: attachment; filename="0001-Prevent-setting-the-function-cell-of-t-Bug-25166.txt" Content-Transfer-Encoding: base64 Content-ID: <1593ca6627e30ff6b181> X-Attachment-Id: 1593ca6627e30ff6b181 RnJvbSA1ZTQ3ZjRmMmFmNDQyODVmYzg3NzkwNmM1Yzc2ODlmNjZlODBiYWY2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXBwIFN0ZXBoYW5pIDxwaHN0QGdvb2dsZS5jb20+CkRh dGU6IE1vbiwgMjYgRGVjIDIwMTYgMjA6Mzg6MDQgKzAxMDAKU3ViamVjdDogW1BBVENIXSBQcmV2 ZW50IHNldHRpbmcgdGhlIGZ1bmN0aW9uIGNlbGwgb2YgdCAoQnVnIzI1MTY2KQoKUmVzdG9yZSBi ZWhhdmlvciBvZiBjb21taXQgYzE1YzVkNDA4ZDY5NjkyODg2MmNhMjg0OGEzNTkyMzFlMzczNTU2 YywKYW5kIG1ha2UgJ2ZzZXQnIGNvbnNpc3RlbnQgd2l0aCAnZm1ha3VuYm91bmQnLgoKKiBzcmMv ZGF0YS5jIChGZnNldCk6IEFsc28gZGlzYWxsb3cgc2V0dGluZyB0aGUgZnVuY3Rpb24gY2VsbCBv ZiB0LgoqIHRlc3Qvc3JjL2RhdGEtdGVzdHMuZWwgKGRhdGEtdGVzdHMtZnNldC1mbWFrdW5ib3Vu ZCk6IEFkZCB1bml0IHRlc3QuCi0tLQogc3JjL2RhdGEuYyAgICAgICAgICAgICB8IDIgKy0KIHRl c3Qvc3JjL2RhdGEtdGVzdHMuZWwgfCA3ICsrKysrKysKIDIgZmlsZXMgY2hhbmdlZCwgOCBpbnNl cnRpb25zKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvc3JjL2RhdGEuYyBiL3NyYy9k YXRhLmMKaW5kZXggODIxZmMzNzkzNy4uMGZlNGJkZjU5MCAxMDA2NDQKLS0tIGEvc3JjL2RhdGEu YworKysgYi9zcmMvZGF0YS5jCkBAIC03MzQsNyArNzM0LDcgQEAgREVGVU4gKCJmc2V0IiwgRmZz ZXQsIFNmc2V0LCAyLCAyLCAwLAogICByZWdpc3RlciBMaXNwX09iamVjdCBmdW5jdGlvbjsKICAg Q0hFQ0tfU1lNQk9MIChzeW1ib2wpOwogICAvKiBQZXJoYXBzIG5vdCBxdWl0ZSB0aGUgcmlnaHQg ZXJyb3Igc2lnbmFsLCBidXQgc2VlbXMgZ29vZCBlbm91Z2guICAqLwotICBpZiAoTklMUCAoc3lt Ym9sKSkKKyAgaWYgKE5JTFAgKHN5bWJvbCkgfHwgRVEgKHN5bWJvbCwgUXQpKQogICAgIHhzaWdu YWwxIChRc2V0dGluZ19jb25zdGFudCwgc3ltYm9sKTsKIAogICBmdW5jdGlvbiA9IFhTWU1CT0wg KHN5bWJvbCktPmZ1bmN0aW9uOwpkaWZmIC0tZ2l0IGEvdGVzdC9zcmMvZGF0YS10ZXN0cy5lbCBi L3Rlc3Qvc3JjL2RhdGEtdGVzdHMuZWwKaW5kZXggNzU3NTIyZTM5OS4uMmRhYmE5MWI4ZiAxMDA2 NDQKLS0tIGEvdGVzdC9zcmMvZGF0YS10ZXN0cy5lbAorKysgYi90ZXN0L3NyYy9kYXRhLXRlc3Rz LmVsCkBAIC00NTAsMyArNDUwLDEwIEBAIGJpbmRpbmctdGVzdC1zb21lLWxvY2FsCiAgICAgICAo cmVtb3ZlLXZhcmlhYmxlLXdhdGNoZXIgJ2RhdGEtdGVzdHMtbHZhciBjb2xsZWN0LXdhdGNoLWRh dGEpCiAgICAgICAoc2V0cSBkYXRhLXRlc3RzLWx2YXIgNikKICAgICAgIChzaG91bGQgKG51bGwg d2F0Y2gtZGF0YSkpKSkpCisKKyhlcnQtZGVmdGVzdCBkYXRhLXRlc3RzLWZzZXQtZm1ha3VuYm91 bmQgKCkKKyAgIlRlc3QgdGhhdCBCdWcjMjUxNjYgaXMgZml4ZWQuIgorICAoc2hvdWxkLWVycm9y IChmc2V0IG5pbCAjJ2NhcikgOnR5cGUgJ3NldHRpbmctY29uc3RhbnQpCisgIChzaG91bGQtZXJy b3IgKGZzZXQgdCAjJ2NhcikgOnR5cGUgJ3NldHRpbmctY29uc3RhbnQpCisgIChzaG91bGQtZXJy b3IgKGZtYWt1bmJvdW5kIG5pbCkgOnR5cGUgJ3NldHRpbmctY29uc3RhbnQpCisgIChzaG91bGQt ZXJyb3IgKGZtYWt1bmJvdW5kIHQpIDp0eXBlICdzZXR0aW5nLWNvbnN0YW50KSkKLS0gCjIuMTEu MAoK --047d7b86cf3efa3993054494eaa0-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 26 14:48:09 2016 Received: (at 25166) by debbugs.gnu.org; 26 Dec 2016 19:48:10 +0000 Received: from localhost ([127.0.0.1]:55963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cLbFh-0006HP-M9 for submit@debbugs.gnu.org; Mon, 26 Dec 2016 14:48:09 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cLbFf-0006HC-Q1 for 25166@debbugs.gnu.org; Mon, 26 Dec 2016 14:48:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLbFX-0005bz-Ir for 25166@debbugs.gnu.org; Mon, 26 Dec 2016 14:48:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLbFX-0005bv-FX; Mon, 26 Dec 2016 14:47:59 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4859 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cLbFU-0008WO-Fy; Mon, 26 Dec 2016 14:47:58 -0500 Date: Mon, 26 Dec 2016 21:47:21 +0200 Message-Id: <83wpemwjzq.fsf@gnu.org> From: Eli Zaretskii To: Philipp Stephani , Stefan Monnier In-reply-to: (message from Philipp Stephani on Mon, 26 Dec 2016 19:29:17 +0000) Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t References: <5f7f76ia4e.fsf@fencepost.gnu.org> <1hpokwx5br.fsf@fencepost.gnu.org> 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: -8.1 (--------) X-Debbugs-Envelope-To: 25166 Cc: rgm@gnu.org, 25166@debbugs.gnu.org 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: -8.1 (--------) > From: Philipp Stephani > Date: Mon, 26 Dec 2016 19:29:17 +0000 > Cc: 25166@debbugs.gnu.org > > And now see also ffb1302. :) > Anyway, I only did "nil", since as you say "t" can actually be called as > a function. But you are right that it's probably unintended. > > Thanks! Interestingly the behavior was already added in 1994 (commit > c15c5d408d696928862ca2848a359231e373556c), but apparently reverted later. I'd suggest to simply > reinstate that commit. It was reverted in 32e5c58ca969ec30d31520da52c9866cafa62927. Perhaps Stefan could tell why he did that (the log message doesn't say). From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 27 10:15:35 2016 Received: (at 25166) by debbugs.gnu.org; 27 Dec 2016 15:15:35 +0000 Received: from localhost ([127.0.0.1]:57181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cLtTT-0002MB-1N for submit@debbugs.gnu.org; Tue, 27 Dec 2016 10:15:35 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:33615) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cLtTP-0002M2-WA for 25166@debbugs.gnu.org; Tue, 27 Dec 2016 10:15:33 -0500 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id uBRFFTaF007853; Tue, 27 Dec 2016 10:15:30 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 6CBA5AE10D; Tue, 27 Dec 2016 10:15:29 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t Message-ID: References: <5f7f76ia4e.fsf@fencepost.gnu.org> <1hpokwx5br.fsf@fencepost.gnu.org> <83wpemwjzq.fsf@gnu.org> Date: Tue, 27 Dec 2016 10:15:29 -0500 In-Reply-To: <83wpemwjzq.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 26 Dec 2016 21:47:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 3 Rules triggered GEN_SPAM_FEATRE=0.1, EDT_SA_DN_PASS=0, RV5901=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5901> : inlines <5609> : streams <1726483> : uri <2347955> X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: 25166 Cc: rgm@gnu.org, Philipp Stephani , 25166@debbugs.gnu.org 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: -4.4 (----) > It was reverted in 32e5c58ca969ec30d31520da52c9866cafa62927. Perhaps > Stefan could tell why he did that (the log message doesn't say). Because there doesn't seem to be any good reason to single out nil and t in this respect and because those things aren't terribly dangerous. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 27 17:49:25 2016 Received: (at 25166) by debbugs.gnu.org; 27 Dec 2016 22:49:25 +0000 Received: from localhost ([127.0.0.1]:57361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cM0Yf-0007zP-7v for submit@debbugs.gnu.org; Tue, 27 Dec 2016 17:49:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cM0Yd-0007zD-GM for 25166@debbugs.gnu.org; Tue, 27 Dec 2016 17:49:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cM0YV-0003Bh-CH for 25166@debbugs.gnu.org; Tue, 27 Dec 2016 17:49:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cM0YV-0003BO-8u; Tue, 27 Dec 2016 17:49:15 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3036 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cM0YT-0006BY-Nq; Tue, 27 Dec 2016 17:49:14 -0500 Date: Wed, 28 Dec 2016 00:49:04 +0200 Message-Id: <834m1pvvhb.fsf@gnu.org> From: Eli Zaretskii To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Tue, 27 Dec 2016 10:15:29 -0500) Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t References: <5f7f76ia4e.fsf@fencepost.gnu.org> <1hpokwx5br.fsf@fencepost.gnu.org> <83wpemwjzq.fsf@gnu.org> 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: -8.1 (--------) X-Debbugs-Envelope-To: 25166 Cc: rgm@gnu.org, p.stephani2@gmail.com, 25166@debbugs.gnu.org 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: -8.1 (--------) > From: Stefan Monnier > Cc: Philipp Stephani , rgm@gnu.org, > 25166@debbugs.gnu.org > Date: Tue, 27 Dec 2016 10:15:29 -0500 > > > It was reverted in 32e5c58ca969ec30d31520da52c9866cafa62927. Perhaps > > Stefan could tell why he did that (the log message doesn't say). > > Because there doesn't seem to be any good reason to single out nil and > t in this respect and because those things aren't terribly dangerous. So therefore we shouldn't reinstate that now. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 27 18:11:33 2016 Received: (at 25166) by debbugs.gnu.org; 27 Dec 2016 23:11:33 +0000 Received: from localhost ([127.0.0.1]:57376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cM0u5-0008VR-KC for submit@debbugs.gnu.org; Tue, 27 Dec 2016 18:11:33 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:23670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cM0u3-0008VE-K3 for 25166@debbugs.gnu.org; Tue, 27 Dec 2016 18:11:32 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BgNQAu3EVY/+UVNJ1dGgEBAQECAQEBAQgBAQEBgzgBAQEBAR+EW4VUnAImAZZehhkDBAICghFDEQECAQEBAQEBAWIoQhIBhBQBBAFWIxALNBIUGA0kiHoIrRSLRAEBAQEGAgEkixmKKQWPfIpqknMBiCaGOpIPNSF4Ew6EEIFjIIYxgnwBAQE X-IPAS-Result: A0BgNQAu3EVY/+UVNJ1dGgEBAQECAQEBAQgBAQEBgzgBAQEBAR+EW4VUnAImAZZehhkDBAICghFDEQECAQEBAQEBAWIoQhIBhBQBBAFWIxALNBIUGA0kiHoIrRSLRAEBAQEGAgEkixmKKQWPfIpqknMBiCaGOpIPNSF4Ew6EEIFjIIYxgnwBAQE X-IronPort-AV: E=Sophos;i="5.33,749,1477972800"; d="scan'208";a="284257896" Received: from 157-52-21-229.cpe.teksavvy.com (HELO pastel.home) ([157.52.21.229]) by smtp.teksavvy.com with ESMTP; 27 Dec 2016 18:11:25 -0500 Received: by pastel.home (Postfix, from userid 20848) id 4AFEE64F62; Tue, 27 Dec 2016 18:11:25 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t Message-ID: References: <5f7f76ia4e.fsf@fencepost.gnu.org> <1hpokwx5br.fsf@fencepost.gnu.org> <83wpemwjzq.fsf@gnu.org> <834m1pvvhb.fsf@gnu.org> Date: Tue, 27 Dec 2016 18:11:25 -0500 In-Reply-To: <834m1pvvhb.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 28 Dec 2016 00:49:04 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 25166 Cc: rgm@gnu.org, p.stephani2@gmail.com, 25166@debbugs.gnu.org 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.3 (/) >> Because there doesn't seem to be any good reason to single out nil and >> t in this respect and because those things aren't terribly dangerous. > So therefore we shouldn't reinstate that now. Yes, that's my opinion. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 10:45:02 2017 Received: (at 25166) by debbugs.gnu.org; 1 May 2017 14:45:02 +0000 Received: from localhost ([127.0.0.1]:49731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5CZR-0008Ao-Ns for submit@debbugs.gnu.org; Mon, 01 May 2017 10:45:01 -0400 Received: from mail-wr0-f171.google.com ([209.85.128.171]:33085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5CZQ-0008AL-OH for 25166@debbugs.gnu.org; Mon, 01 May 2017 10:45:01 -0400 Received: by mail-wr0-f171.google.com with SMTP id w50so64469012wrc.0 for <25166@debbugs.gnu.org>; Mon, 01 May 2017 07:45:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bVfUh6zmhZSn42eX0iE1viagQBPcA0D0018W4JeoXoo=; b=swjiJ8GWuxec1sEtsjYWyW6ByYclHOQLRh9pGf2+gpxgqXMnL3rnzO+m3N/ZIMxsgl oA+tpxTegO6mZVrHlZtSNk3dPhCy97BQLC6RA7JTKZ2Asj3cl4amUvSvp60aVtGK9z+g UeUeTPLwrpK1hnyeP33ezXUa2lUVExwP4TvOZbLUckkRzQ/r1X0YbW+B0Fydcct1umpC K2n4dPPeBovw9UNZ0v9E+SOXHPYEXcaejLz7G6a8J3fKUt7BZBa6OhkebnBCGSdg4Y06 GsRzs163ssejQ/nlKb4pycKOKV0TLBYARdXMCNkkp/K8U3QVKT2Sy/MoMjqgnMDvzuq6 EmMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bVfUh6zmhZSn42eX0iE1viagQBPcA0D0018W4JeoXoo=; b=OQPeagpb9vgN0kfnPg8hzix6NKN4sPg2GgUll4t8gqtWFsX+usa+wUrCqfD5uMocU7 ydCeA4f1QrZV6F6Ml3dxqum83ca8EYhMoXUnGX1DISN+0uxWLcg+PzdabOBWWu5iw4i0 +YZOHIgX612vSYuy/9yRvgy7Emrf6zyVSSc96CtOpcm/fLNJoNbID/8ZgVIxkaiW0mso V1nEAMMdQTAj8TWtL6+G++8lp/shoREZ42VgPkYIFpAiNphWGRnm/s0APTi/ofild4pj bJzUZv9f3xzZ+MuCdKLkLPB76KeuPYOr6aOKXErCus+NENpD8MvM39KxzMOrLjNrOz/K k6FA== X-Gm-Message-State: AN3rC/5nlW047QynfyabogwrPJoAcI3cWORWIjKmpXAKB0gC7s3SMN+/ V2s/IsoUIqNAZGI+bZ9HkjOtnSLKHQ== X-Received: by 10.223.148.35 with SMTP id 32mr9781139wrq.175.1493649895146; Mon, 01 May 2017 07:44:55 -0700 (PDT) MIME-Version: 1.0 References: <5f7f76ia4e.fsf@fencepost.gnu.org> <1hpokwx5br.fsf@fencepost.gnu.org> <83wpemwjzq.fsf@gnu.org> <834m1pvvhb.fsf@gnu.org> In-Reply-To: From: Philipp Stephani Date: Mon, 01 May 2017 14:44:44 +0000 Message-ID: Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t To: Stefan Monnier , Eli Zaretskii Content-Type: multipart/alternative; boundary=94eb2c0d21c26b4b7b054e7777e6 X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 25166 Cc: rgm@gnu.org, 25166@debbugs.gnu.org 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: -2.5 (--) --94eb2c0d21c26b4b7b054e7777e6 Content-Type: text/plain; charset=UTF-8 Stefan Monnier schrieb am Mi., 28. Dez. 2016 um 00:11 Uhr: > >> Because there doesn't seem to be any good reason to single out nil and > >> t in this respect and because those things aren't terribly dangerous. > > So therefore we shouldn't reinstate that now. > > Yes, that's my opinion. > > > Well, my opinion is obviously different, so the maintainer should decide. --94eb2c0d21c26b4b7b054e7777e6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Stefan= Monnier <monnier@iro.umontr= eal.ca> schrieb am Mi., 28. Dez. 2016 um 00:11=C2=A0Uhr:
>> Because there doesn't seem to be = any good reason to single out nil and
>> t in this respect and because those things aren't terribly dan= gerous.
> So therefore we shouldn't reinstate that now.

Yes, that's my opinion.



Well, my opinion is obviously differen= t, so the maintainer should decide.=C2=A0
--94eb2c0d21c26b4b7b054e7777e6-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 11:13:21 2017 Received: (at 25166) by debbugs.gnu.org; 1 May 2017 15:13:21 +0000 Received: from localhost ([127.0.0.1]:49798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5D0r-0002Bz-3v for submit@debbugs.gnu.org; Mon, 01 May 2017 11:13:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40949) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5D0o-0002Bn-Vm for 25166@debbugs.gnu.org; Mon, 01 May 2017 11:13:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5D0g-0001r0-QB for 25166@debbugs.gnu.org; Mon, 01 May 2017 11:13:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5D0g-0001qw-Mv; Mon, 01 May 2017 11:13:10 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4615 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d5D0e-0008ON-HL; Mon, 01 May 2017 11:13:10 -0400 Date: Mon, 01 May 2017 18:12:33 +0300 Message-Id: <83ziewipb2.fsf@gnu.org> From: Eli Zaretskii To: Philipp Stephani In-reply-to: (message from Philipp Stephani on Mon, 01 May 2017 14:44:44 +0000) Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t References: <5f7f76ia4e.fsf@fencepost.gnu.org> <1hpokwx5br.fsf@fencepost.gnu.org> <83wpemwjzq.fsf@gnu.org> <834m1pvvhb.fsf@gnu.org> 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: -5.0 (-----) X-Debbugs-Envelope-To: 25166 Cc: rgm@gnu.org, 25166@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: -5.0 (-----) > From: Philipp Stephani > Date: Mon, 01 May 2017 14:44:44 +0000 > Cc: rgm@gnu.org, 25166@debbugs.gnu.org > > Stefan Monnier schrieb am Mi., 28. Dez. 2016 um 00:11 Uhr: > > >> Because there doesn't seem to be any good reason to single out nil and > >> t in this respect and because those things aren't terribly dangerous. > > So therefore we shouldn't reinstate that now. > > Yes, that's my opinion. > > Well, my opinion is obviously different, so the maintainer should decide. One maintainer has already decided, see above. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 27 13:59:34 2017 Received: (at 25166) by debbugs.gnu.org; 27 Oct 2017 17:59:34 +0000 Received: from localhost ([127.0.0.1]:37630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e88us-000176-3P for submit@debbugs.gnu.org; Fri, 27 Oct 2017 13:59:34 -0400 Received: from mail-wr0-f180.google.com ([209.85.128.180]:54798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e88uq-00016p-2p for 25166@debbugs.gnu.org; Fri, 27 Oct 2017 13:59:32 -0400 Received: by mail-wr0-f180.google.com with SMTP id o44so6861183wrf.11 for <25166@debbugs.gnu.org>; Fri, 27 Oct 2017 10:59:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Zv352qJWUmZcuOD+84kFK83drHWjX51CwmbNgPzIEZU=; b=EGE94xoCBnX5jeMqeRRupl10yajbaRzkqghiFqMM18BMEuxR6nCOHiqb3YhtLuKdDY km0uUiYSKFhk0YsLOw0WR0TOtB9Az683F8JwEpvjarVYxVVisRt5mt/TDljTrOw5KDkc Zom6n0P80VrREB7voARAt5VQGHvSSaSfc/Qd9Szp3qVTYrEo/Y0Q6ISJhwpZIG8fEFRe EdpFpfUUYZFb4W5QtBNEIx8g1Xz3HWgOja/09baQrbQHPiWBk617Nrkx2W81Z6pKBRLb hHwve/gVrTrxGnKt0wKLHgoJKhM4fF2xySPpocA3OAj6IFzG7dBl80+8MpnLvY7amhLX V/GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Zv352qJWUmZcuOD+84kFK83drHWjX51CwmbNgPzIEZU=; b=q2NlWKSh9XXCUiVN4HbdKRUXQafg3ecQ0iwFqsZGK6jwXbncLI653GbFbPDfkjn8St hHN8JdaJN84qatxX3E+JuLbJ2QZpLGRi0TTzOi6tyjWx3h0NVM5KeIQb2SAavfa6PtGM omcGGk5dxTbLeKfHj2gddLi0aY0TG7qsfBnUT6CNbrrWy4gNm303K2LJDFsH9PaH343h C/04bwruve4wG+GDVCUz2sxOi4/ENZwdrgCTd8gWboPfVbdH6UnFCpVHC8MTttcUoWHw pQsPx75MnAmz58VwFma/l/Q4N6nSqUjMzRtvIoDF5ZxM56H02Tal5dfRc63YRbFam4W5 AOew== X-Gm-Message-State: AMCzsaViTgpvh61RtfR1+2zuM3Dk7nDPYc//vdOyJPuGyqKrv10Wy3qL Z+gHgkOvXsnxwePPSRFiJfIIYhZpL4RBhID+VlQ= X-Google-Smtp-Source: ABhQp+QzcaIZTpWATR/pfDmiJsGsqrmV5lRAFBWAt1qM6ufQMnvEqufM2vVWOQp/EYA8ZYmsOSOJ2kIDRv/FCVgqOYU= X-Received: by 10.223.131.65 with SMTP id 59mr1076909wrd.66.1509127166351; Fri, 27 Oct 2017 10:59:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.146.227 with HTTP; Fri, 27 Oct 2017 10:59:25 -0700 (PDT) In-Reply-To: <83ziewipb2.fsf@gnu.org> References: <5f7f76ia4e.fsf@fencepost.gnu.org> <1hpokwx5br.fsf@fencepost.gnu.org> <83wpemwjzq.fsf@gnu.org> <834m1pvvhb.fsf@gnu.org> <83ziewipb2.fsf@gnu.org> From: Noam Postavsky Date: Fri, 27 Oct 2017 13:59:25 -0400 X-Google-Sender-Auth: Bh8zskRrifljuUMcoO7StFHl-Ng Message-ID: Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t To: Eli Zaretskii Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 25166 Cc: Philipp Stephani , 25166@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: -2.1 (--) # fset of nil is already covered in Bug#25110 retitle 25166 It shouldn't be possible to set the function cell of t tags 25166 wontfix close 25166 quit On Mon, May 1, 2017 at 11:12 AM, Eli Zaretskii wrote: >> From: Philipp Stephani >> Date: Mon, 01 May 2017 14:44:44 +0000 >> Cc: rgm@gnu.org, 25166@debbugs.gnu.org >> >> Stefan Monnier schrieb am Mi., 28. Dez. 2016 um 00:11 Uhr: >> >> >> Because there doesn't seem to be any good reason to single out nil and >> >> t in this respect and because those things aren't terribly dangerous. >> > So therefore we shouldn't reinstate that now. >> >> Yes, that's my opinion. >> >> Well, my opinion is obviously different, so the maintainer should decide. > > One maintainer has already decided, see above. Seems final enough, closing as wontfix. PS for an example of why singling out nil makes sense (but this doesn't apply to t) see [1]. Summary: (autoload #'nil "something" nil t) silently succeeds but makes forward-word, backward-word, etc, (fail to) funcall nil. [1]: https://github.com/jwiegley/use-package/issues/512 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 28 12:17:07 2017 Received: (at 25166) by debbugs.gnu.org; 28 Oct 2017 16:17:07 +0000 Received: from localhost ([127.0.0.1]:39388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8TnH-0008Ni-92 for submit@debbugs.gnu.org; Sat, 28 Oct 2017 12:17:07 -0400 Received: from pmta11.teksavvy.com ([76.10.157.34]:52556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8TnF-0008N3-5b for 25166@debbugs.gnu.org; Sat, 28 Oct 2017 12:17:06 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2ErEwADrfRZ/4XnjBhbGwEBAQMBAQEJA?= =?us-ascii?q?QEBg1+BUoNYhViEeY8sgXyYUwqFOwKES0MUAQIBAQEBAQEBA2gohR4BBAF5BQs?= =?us-ascii?q?LDQEmEhQYMYouCKowIQKKWgEBAQEGAiaDLoIHhmaLBwWiA5Z4AYlmKIcilhCBO?= =?us-ascii?q?TYigWg0IQgygy6DEIFqJYxbAQEB?= X-IPAS-Result: =?us-ascii?q?A2ErEwADrfRZ/4XnjBhbGwEBAQMBAQEJAQEBg1+BUoNYhVi?= =?us-ascii?q?EeY8sgXyYUwqFOwKES0MUAQIBAQEBAQEBA2gohR4BBAF5BQsLDQEmEhQYMYouC?= =?us-ascii?q?KowIQKKWgEBAQEGAiaDLoIHhmaLBwWiA5Z4AYlmKIcilhCBOTYigWg0IQgygy6?= =?us-ascii?q?DEIFqJYxbAQEB?= X-IronPort-AV: E=Sophos;i="5.44,309,1505793600"; d="scan'208";a="7946529" Received: from unknown (HELO ceviche.home) ([24.140.231.133]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Oct 2017 12:16:28 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 4E41F66233; Sat, 28 Oct 2017 12:16:28 -0400 (EDT) From: Stefan Monnier To: Noam Postavsky Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t Message-ID: References: <5f7f76ia4e.fsf@fencepost.gnu.org> <1hpokwx5br.fsf@fencepost.gnu.org> <83wpemwjzq.fsf@gnu.org> <834m1pvvhb.fsf@gnu.org> <83ziewipb2.fsf@gnu.org> Date: Sat, 28 Oct 2017 12:16:28 -0400 In-Reply-To: (Noam Postavsky's message of "Fri, 27 Oct 2017 13:59:25 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 25166 Cc: Eli Zaretskii , 25166@debbugs.gnu.org, Philipp Stephani 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.3 (/) > PS for an example of why singling out nil makes sense (but this > doesn't apply to t) see [1]. > Summary: (autoload #'nil "something" nil t) silently succeeds but > makes forward-word, backward-word, etc, (fail to) funcall nil. Why would someone do (autoload #'nil "something" nil t) ? Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 28 12:46:07 2017 Received: (at 25166) by debbugs.gnu.org; 28 Oct 2017 16:46:07 +0000 Received: from localhost ([127.0.0.1]:39403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8UFL-0000gc-14 for submit@debbugs.gnu.org; Sat, 28 Oct 2017 12:46:07 -0400 Received: from mail-io0-f169.google.com ([209.85.223.169]:49244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8UFJ-0000fs-IW for 25166@debbugs.gnu.org; Sat, 28 Oct 2017 12:46:05 -0400 Received: by mail-io0-f169.google.com with SMTP id n137so18829788iod.6 for <25166@debbugs.gnu.org>; Sat, 28 Oct 2017 09:46:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=tp2LEN6umgs2rQsneqYMjmPnfwgb/bonqzj29KDHcos=; b=X5KdSJxo3DwWhtLUlJGtHaxqIpXDNEraPZIw3vGiER/tQncOmlhOufcu9eugxHy4Oc ef6GoGE72zKd/6X1NsRvgCsBuQBcJURfsZ5ycNoKIUJN/NGoLKyVUAV/1pcbAT6iGm9Y XFm7Omg+KJvknPPXxsjXyBrm1aj9MkhedJJNrTa5Ez70OI3Qx50Lypng7knd1UOuzcuk hgM1txc72amMLBp6w3kOMZAGfKbKa7WcrE5qCc1tQ43FLr2D+7k5iyLH1Re6czxetpj3 O6B9AmSkWDAeckQiuQj9E0a5Y25dcMGyPkEesmf7zyRWLVwQjet79+Vr/NW/Yra1SNci r+Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=tp2LEN6umgs2rQsneqYMjmPnfwgb/bonqzj29KDHcos=; b=P08E9RQ3xPJmbGzIo5hQaDHqewhF4SFZrnXWo+KyVnf8fjuM2roAHs345Md4akDb+p Sr9SN0e2n2mlMMHrdXhMLCLVrjdsLcBuxnA6AX6Ai105pE9+DhTJnDTAukmyrFrSn4qg CXkGq8edGl4PzG/hgckh40iIpXoz+602/FnlImzNK/p7Vkfo+EmqSFOUKOJcMoePEsZe EtrdTrr59AqeFntue3QJIB4E2jdnr59XCwfkwvH1fnttTTwAbUlNksO6gGJp9Id+JSY2 QwZim0C1scBD7/sMSU0SPdk6cllDTg510UWXx8S5c/oeA6LP9FVeIRFqB0ZQTmQyDwWk JgJg== X-Gm-Message-State: AMCzsaXE9ZtLKn+MwBtA/DED1507JeiaQmc9Hdig4bl0Z1NMvmZJ0X+J DUiMFrSPkLgP2Lb67daO6Fo= X-Google-Smtp-Source: ABhQp+TWKVZJApmbX1xfHSMjw44U+3X1PcbLTXbT+yqUiPbigIOK8E1ALGREYWABVAItDsSf8Tfpug== X-Received: by 10.107.202.3 with SMTP id a3mr4918046iog.10.1509209159902; Sat, 28 Oct 2017 09:45:59 -0700 (PDT) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id a29sm2121814itj.8.2017.10.28.09.45.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Oct 2017 09:45:58 -0700 (PDT) From: Noam Postavsky To: Stefan Monnier Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t References: <5f7f76ia4e.fsf@fencepost.gnu.org> <1hpokwx5br.fsf@fencepost.gnu.org> <83wpemwjzq.fsf@gnu.org> <834m1pvvhb.fsf@gnu.org> <83ziewipb2.fsf@gnu.org> Date: Sat, 28 Oct 2017 12:45:57 -0400 In-Reply-To: (Stefan Monnier's message of "Sat, 28 Oct 2017 12:16:28 -0400") Message-ID: <87r2tnb4qi.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 25166 Cc: Eli Zaretskii , 25166@debbugs.gnu.org, Philipp Stephani 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: -2.1 (--) Stefan Monnier writes: >> PS for an example of why singling out nil makes sense (but this >> doesn't apply to t) see [1]. >> Summary: (autoload #'nil "something" nil t) silently succeeds but >> makes forward-word, backward-word, etc, (fail to) funcall nil. > > Why would someone do (autoload #'nil "something" nil t) ? By accident. It's a bug in use-package. (use-package foo-pkg :commands ) Creates autoloads for all the commands in , which can be a symbol, or a list of symbols. But nil is also a symbol, so passing an empty list makes an autoload for nil (because use-package checks for symbolp before listp), rather than making autoloads for 0 commands. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 29 14:10:52 2017 Received: (at 25166) by debbugs.gnu.org; 29 Oct 2017 18:10:52 +0000 Received: from localhost ([127.0.0.1]:40847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8s2u-0002S5-BG for submit@debbugs.gnu.org; Sun, 29 Oct 2017 14:10:52 -0400 Received: from alt34.smtp-out.videotron.ca ([24.53.0.23]:3449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8s2s-0002Rt-H4 for 25166@debbugs.gnu.org; Sun, 29 Oct 2017 14:10:51 -0400 Received: from ceviche.home ([24.200.214.28]) by Videotron with SMTP id 8s2heggLzEyCj8s2iePAwa; Sun, 29 Oct 2017 14:10:43 -0400 X-Authority-Analysis: v=2.2 cv=cZ2iljLM c=1 sm=1 tr=0 a=sOTVE1tyU/pKvEx7Tx09kg==:117 a=sOTVE1tyU/pKvEx7Tx09kg==:17 a=02M-m0pO-4AA:10 a=dIb5FyHBOuMADpI-hJUA:9 Received: by ceviche.home (Postfix, from userid 20848) id CEBDA66240; Sun, 29 Oct 2017 14:10:39 -0400 (EDT) From: Stefan Monnier To: Noam Postavsky Subject: Re: bug#25166: 26.0.50; It shouldn't be possible to set the function cell of nil and t Message-ID: References: <5f7f76ia4e.fsf@fencepost.gnu.org> <1hpokwx5br.fsf@fencepost.gnu.org> <83wpemwjzq.fsf@gnu.org> <834m1pvvhb.fsf@gnu.org> <83ziewipb2.fsf@gnu.org> <87r2tnb4qi.fsf@users.sourceforge.net> Date: Sun, 29 Oct 2017 14:10:39 -0400 In-Reply-To: <87r2tnb4qi.fsf@users.sourceforge.net> (Noam Postavsky's message of "Sat, 28 Oct 2017 12:45:57 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-CMAE-Envelope: MS4wfK3rh1dY+dx611/SRq8/llo7TcRKBQdFJHuYVwNX5xrbl8xlzQaAWQVMPAsoIVF4fElg6RT6DD3hDvoNrUN87JIMospMzAwnI8sphCTFi1Lo0+E13d3g ajcuqBUDhbfkpka4YF6fY9leiEZKFLLgSXZQdudaCU0A2qb63//ZcA86YAKeyiZGFr1JL6jxyjqHWZEq9uyNyuFC52fpgw+Uz5WwmTcO7Nq/f5SgcyVKnFry SqNXwwbXINMl/xN/IxMk6ZmPVJEfKaN8G4AING5pkAZXYzmd9wS+enDAEUo1TPGpzL0h2S0bEu2wk8EjRvp87Q== X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 25166 Cc: Eli Zaretskii , 25166@debbugs.gnu.org, Philipp Stephani 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.3 (/) > By accident. It's a bug in use-package. That's a rare accident, which I assume has been fixed already (if not, it's another argument in favor of saying that it's not important). Nothing that warrants adding special error detection. Stefan From unknown Tue Aug 19 08:37:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 27 Nov 2017 12:24:05 +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