From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Zimmerman Newsgroups: gmane.emacs.help Subject: Re: elint and the byte-compiler Date: Fri, 26 Jun 2015 16:15:15 -0700 Message-ID: <20150626230651.23492.070D4029@ahiker.mooo.com> References: <87y4j6lbci.fsf@nl106-137-147.student.uu.se> <20150626170404.21195.3842694D@ahiker.mooo.com> <87pp4iksv9.fsf@nl106-137-147.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1435360548 26034 80.91.229.3 (26 Jun 2015 23:15:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jun 2015 23:15:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 27 01:15:37 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Z8cqI-0002jA-4r for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Jun 2015 01:15:30 +0200 Original-Received: from localhost ([::1]:34019 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8cqH-0007bI-Eb for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Jun 2015 19:15:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8cq7-0007b2-Gd for help-gnu-emacs@gnu.org; Fri, 26 Jun 2015 19:15:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8cq6-00056V-Dd for help-gnu-emacs@gnu.org; Fri, 26 Jun 2015 19:15:19 -0400 Original-Received: from disorder-1-pt.tunnel.tserv3.fmt2.ipv6.he.net ([2001:470:1f04:51a::2]:37895 helo=acedia.primate.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8cq6-00053x-1A for help-gnu-emacs@gnu.org; Fri, 26 Jun 2015 19:15:18 -0400 Original-Received: from acedia.primate.net (localhost [127.0.0.1]) by acedia.primate.net (8.14.9/8.14.9/Debian-1) with ESMTP id t5QNFG5L022325 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 26 Jun 2015 16:15:16 -0700 Original-Received: (from itz@localhost) by acedia.primate.net (8.14.9/8.14.9/Submit) id t5QNFGaC022320 for help-gnu-emacs@gnu.org; Fri, 26 Jun 2015 16:15:16 -0700 X-Authentication-Warning: acedia.primate.net: itz set sender to itz@buug.org using -f Original-Received: from itz by ahiker.mooo.com with local (Exim 4.80) (envelope-from ) id 1Z8cq3-00067f-69 for help-gnu-emacs@gnu.org; Fri, 26 Jun 2015 16:15:15 -0700 Content-Disposition: inline In-Reply-To: <87pp4iksv9.fsf@nl106-137-147.student.uu.se> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:470:1f04:51a::2 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105209 Archived-At: On 2015-06-27 00:27 +0200, Emanuel Berg wrote: Emanuel> only then if I set the variable before that, is there a danger Emanuel> what is loaded will in it's own init process write over what I Emanuel> already set? Ian> Not if the loaded module uses defvar ... Emanuel> Is there some fast way of finding out other than checking the Emanuel> source for each module and variable? Any code which sets global variables unconditionally probably cannot make it past code review and into Emacs proper, so I wouldn't worry about this possibility for modules that come with Emacs. For others, I would try byte-compiling them with a virgin Emacs (ie. one started with -q). If they misbehave they should cause exactly the same warning. -- Please *no* private copies of mailing list or newsgroup messages. Rule 420: All persons more than eight miles high to leave the court.