From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: add-hook and defvar Date: Sun, 22 Feb 2015 14:18:34 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424632744 7706 80.91.229.3 (22 Feb 2015 19:19:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Feb 2015 19:19:04 +0000 (UTC) Cc: emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 22 20:18:56 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YPc3J-0002XF-Uy for ged-emacs-devel@m.gmane.org; Sun, 22 Feb 2015 20:18:54 +0100 Original-Received: from localhost ([::1]:41037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPc3J-0005fe-Ad for ged-emacs-devel@m.gmane.org; Sun, 22 Feb 2015 14:18:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPc36-0005fZ-MV for emacs-devel@gnu.org; Sun, 22 Feb 2015 14:18:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPc33-00036D-FC for emacs-devel@gnu.org; Sun, 22 Feb 2015 14:18:40 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:12725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPc33-00035X-BJ for emacs-devel@gnu.org; Sun, 22 Feb 2015 14:18:37 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsMTAPOG1lTO+LI//2dsb2JhbABbgwaDX4VTrBeUTgQCAoENRAEBAQEBAXyEDQEEAVYjBQsLDiYSFBgNJIg4CM4jAQEBAQEFAQEBAQEBHI94B4QqBYonn0uBRSKEDCCCcwEBAQ X-IPAS-Result: AsMTAPOG1lTO+LI//2dsb2JhbABbgwaDX4VTrBeUTgQCAoENRAEBAQEBAXyEDQEEAVYjBQsLDiYSFBgNJIg4CM4jAQEBAQEFAQEBAQEBHI94B4QqBYonn0uBRSKEDCCCcwEBAQ X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="111169528" Original-Received: from 206-248-178-63.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([206.248.178.63]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 22 Feb 2015 14:18:35 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id EADE6AE11C; Sun, 22 Feb 2015 14:18:34 -0500 (EST) In-Reply-To: (Artur Malabarba's message of "Sat, 21 Feb 2015 17:55:07 -0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183393 Archived-At: > There's also the disadvantage that it adds a symbol-property check to > every `defvar' call. That's a fairly significant disadvantage. Another problem is that defvar may simply never be called. Stefan