From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.help Subject: Re: (fset 'nil 'message) Date: Fri, 11 May 2018 08:39:16 -0400 Message-ID: References: <20180511053003.TxFeXgDe@smtp4p.mail.yandex.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1526042358 20007 195.159.176.226 (11 May 2018 12:39:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 May 2018 12:39:18 +0000 (UTC) Cc: Help Gnu Emacs mailing list To: rslovers@yandex.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 11 14:39:14 2018 Return-path: Envelope-to: geh-help-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 1fH7KK-00056w-R5 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2018 14:39:12 +0200 Original-Received: from localhost ([::1]:41954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fH7MR-0007NV-UM for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2018 08:41:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fH7KQ-0005cz-S4 for help-gnu-emacs@gnu.org; Fri, 11 May 2018 08:39:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fH7KP-00032m-Tk for help-gnu-emacs@gnu.org; Fri, 11 May 2018 08:39:18 -0400 Original-Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:45849) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fH7KP-00032P-Oj for help-gnu-emacs@gnu.org; Fri, 11 May 2018 08:39:17 -0400 Original-Received: by mail-oi0-x22e.google.com with SMTP id b130-v6so4557969oif.12 for ; Fri, 11 May 2018 05:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=vAZWq/WE7lofI4EELv6ZQoWUSRUIPNkAeXKm2MaS39g=; b=NOkQyPrrIDzvTJ7c2TmMm53Tw9yQzrxo6P/eWoKK79YkPkq9aGnMb0Wr54rdMaWZDo 1mE6bINdCsWJsVQTlm0FeIBDxWu3MZEl0yBOFETgkHsuvLLzuN1YEZ4SxNnXrFT1aSgS uSOmkeUgps1G7qnse1VK8C4PSxd4vT+wH69o9kYiCJX1gCk+hkiN5ErTRqPv9s3NC0Sr ZAkI8+29dsJHdFcpq/tS0Uk7MNmodAqG+7FMiD4b+rbJxL2+NG7EPLszL7ShRhwqmcmU dazNj2s0HUISoVaen9TcA4NueoBbPt1Fh620xdZMeGyppPH+YNsWhQoCSPSZAM358pOr yi7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=vAZWq/WE7lofI4EELv6ZQoWUSRUIPNkAeXKm2MaS39g=; b=BqdpUP3yaQSzNKGBlcne20ewNk2fMrZMQnwQbLMEc5UmSUK9tnpH9HYxapXm1DqSnS NQ18KdVzd3gfeCRbBwN08aPM9OxVbDdGUB8cVim/CAmTa8sQI9dg/wxIoIBTN7iIF7c+ Ktwsw4y0keKa8OAn8KJkINaC/hdFOaX2x2RtN0HaT4HhvXz0VGGMMNDCgiiNzwa9aeF5 BEf+HfOgosJQwiOCZA/E6x6sU/k3JC9DG6Iy7ssYyvTxYQrARd7ryNL5qgItycAL9H3u hHoSf3MxDVrH++Y73R8b91DaeqUrAs9uZh7RwYch+7n5eMGMoYzGXwiKD94d/SrlgqDG YDuQ== X-Gm-Message-State: ALKqPwexhkzZaAIqAsRbSwU2N2Pdj27mzIb21Gg1DYBNLVqZ2ky18ofp gP/zp2ZtKoeuDhRHfnlfDx7v58s8ggeLqbDpYKg= X-Google-Smtp-Source: AB8JxZrhtlJC9164wK+zFWRj3SRYwicrRkqy8H3ElMip2QfMpEI6yPQSKcNjvxrNgA/8PyYuduyNNesSFx+PE1R/bzM= X-Received: by 2002:aca:4a4e:: with SMTP id x75-v6mr3265645oia.211.1526042356966; Fri, 11 May 2018 05:39:16 -0700 (PDT) Original-Received: by 10.74.5.135 with HTTP; Fri, 11 May 2018 05:39:16 -0700 (PDT) In-Reply-To: <20180511053003.TxFeXgDe@smtp4p.mail.yandex.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116710 Archived-At: On 10 May 2018 at 22:30, wrote: > Today I accidentally ran (fset 'nil 'message), after that multiple > functions like forward-word, kill-word stopped working, and complained > that `Symbol=E2=80=99s function definition is void: nil'. > > After (fset 'nil 'nil) they started working again, does anybody undertand > what is going on here? Yes, after you do (fset 'nil 'message), (functionp nil) returns t, but (funcall nil) still fails. Many places do things like (when (functionp some-var) (funcall some-var)) which will cause the errors you see if `some-var' is nil. In Emacs 26, doing (fset 'nil 'message) will fail (see Bug#25110). https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25110