From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Prickliness of the "invalid byte code" stuff Date: Mon, 17 Jun 2019 12:04:23 -0400 Message-ID: References: <87tvcq9b0w.fsf@igel.home> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="143006"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 17 18:29:18 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hcuVQ-000b5y-Q3 for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2019 18:29:16 +0200 Original-Received: from localhost ([::1]:49128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcuVP-0002QY-Oo for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2019 12:29:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44986) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcu7N-0005iH-L4 for emacs-devel@gnu.org; Mon, 17 Jun 2019 12:04:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hcu7M-00009B-LE; Mon, 17 Jun 2019 12:04:25 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1hcu7L-0001BL-SF; Mon, 17 Jun 2019 12:04:24 -0400 In-Reply-To: (message from Stefan Monnier on Mon, 17 Jun 2019 09:32:17 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237790 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > session. My thought was that if we could detect this specific case, > > then we could as well have emacs load that file, rather than having the > > user reload it by hand. > Yes, that usually works, but unless we reorganize the current code, we > end up having to solve a slightly different problem similar to: > (setq sm-foo (indirect-function '-)) > (load "") > (funcall sm-foo ) That is true -- but since indirect-function is called in only around 40 places, problems of this kind will be far less frequent than the problems we have now. And maybe we could fix some of those 40 places to avoid the problems, in their own way. We're talking about problems that result from an anomalous situation in which we don't do the really right thing. In such a case, a change that reduces the frequency of problems can be a good thing, even if it doesn'tmake things 100% correct. The main criterion is that the change should never cause problems in any non-anomalous situation. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)