From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Newsgroups: gmane.emacs.bugs Subject: bug#25166: 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: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481449643 28694 195.159.176.226 (11 Dec 2016 09:47:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2016 09:47:23 +0000 (UTC) To: 25166@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 11 10:47:15 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 1cG0ix-0005nf-6C for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Dec 2016 10:47:15 +0100 Original-Received: from localhost ([::1]:54970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG0iz-0007Ip-QE for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Dec 2016 04:47:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cG0ip-0007IT-Ua for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2016 04:47:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cG0ik-00046w-Vp for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2016 04:47:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50355) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cG0ik-00046s-SC for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2016 04:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cG0ik-000163-Gd for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2016 04:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Dec 2016 09:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25166 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14814496134184 (code B ref -1); Sun, 11 Dec 2016 09:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Dec 2016 09:46:53 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) 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-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:126848 Archived-At: 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))