From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: emacs rendering comparisson between emacs23 and emacs26.3 Date: Sat, 28 Mar 2020 09:54:32 -0400 Message-ID: References: <20200326193128.GC14092@ACM> <86d08y4zsx.fsf@gmail.com> <83wo768eq5.fsf@gnu.org> <838sjl7y60.fsf@gnu.org> <20200328114301.GB7449@ACM> <83o8sg7khq.fsf@gnu.org> <20200328121806.GD7449@ACM> <83lfnk7jel.fsf@gnu.org> <20200328131442.GE7449@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="105773"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , rrandresf@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 28 14:55:16 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jIBvg-000RR9-G8 for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Mar 2020 14:55:16 +0100 Original-Received: from localhost ([::1]:53330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIBvf-0005te-IB for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Mar 2020 09:55:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59138) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIBv8-0005PS-Dx for emacs-devel@gnu.org; Sat, 28 Mar 2020 09:54:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIBv7-0005L3-An for emacs-devel@gnu.org; Sat, 28 Mar 2020 09:54:42 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:52265) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jIBv3-0005Eg-Ec; Sat, 28 Mar 2020 09:54:37 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 7AFFE44F988; Sat, 28 Mar 2020 09:54:36 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 4F98E44F838; Sat, 28 Mar 2020 09:54:35 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1585403675; bh=s3VHo/gG9nNnvRFVhRlSPrFn7xNUXKaSeL9C/RJSBzk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=MKJNPmelSuoZxof8Y58M7fATysYsMvOxQjxv57tXZaGqp2hJyE3wIIBqipJOxJs5L pae1PKEJ4/QtoAsFwkggfl1Rq/mT8LO5PzKDIupuXRJC7s1YISFWCzMYPOWVWES5ES yBRhHn/ePnAjyNsjtxFwXT6xTiuROiiTZlVVur85NlLb7OZW1FjLFcAXmG8FhF5wl2 NmLsv1/JXZfJgTAXW67hhcUBT97H0/cXnZh3XMUyu1cL9VmBVx2cKmVD6lkDQedNCM abkoy12m7+EUb0zv9pnH24Y69fDoFidvGQ7tPLqWv5DcVqOkGAzoJ3HLL23Fb8VjcS 3f8CFLO/PrQiw== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7D433120912; Sat, 28 Mar 2020 09:54:34 -0400 (EDT) In-Reply-To: <20200328131442.GE7449@ACM> (Alan Mackenzie's message of "Sat, 28 Mar 2020 13:14:42 +0000") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245873 Archived-At: > Like Stefan said, aliasing make-local-hook to `ignore' will be fine. > All the relevant calls to add-hook set the LOCAL argument to t anyway. ... and even if they don't set the LOCAL argument, `make-local-hook` still doesn't make any difference. IOW, contrary to `setq` which sometimes sets the var buffer-locally and sometimes does it globally depending on whether the var has been made buffer-local, `add-hook` only uses the LOCAL argument to decide whether the hook should be affected locally or globally (with the long-standing ugly exception of those hooks that have been `make-local-variable`, which I'd love to get rid of). I changed this back in Emacs-21 ;-) Stefan