From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#16573: 24.3; Auctex (11.87.2) in Elpa issues hundreds of warnings on compile Date: Thu, 30 Jan 2014 08:59:11 +0100 Message-ID: <87ppn9nbn4.fsf__38419.6689505645$1391068842$gmane$org@gnu.org> References: <87a9ee8u1y.fsf@thinkpad-t61.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391068829 9711 80.91.229.3 (30 Jan 2014 08:00:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2014 08:00:29 +0000 (UTC) Cc: =?UTF-8?Q?Mos=C3=A8?= Giordano , Neil Jackson , 16573@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 30 09:00:35 2014 Return-path: Envelope-to: geb-bug-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 1W8mY7-0007Yx-4s for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jan 2014 09:00:35 +0100 Original-Received: from localhost ([::1]:46888 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mY6-0000SP-Rd for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jan 2014 03:00:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mXt-0000SG-I8 for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2014 03:00:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8mXn-0008Nv-Nu for bug-gnu-emacs@gnu.org; Thu, 30 Jan 2014 03:00:21 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8mXb-0008C6-Rm; Thu, 30 Jan 2014 03:00:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W8mXb-000064-5n; Thu, 30 Jan 2014 03:00:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-auctex@gnu.org Resent-Date: Thu, 30 Jan 2014 08:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16573 X-GNU-PR-Package: emacs,auctex X-GNU-PR-Keywords: Original-Received: via spool by 16573-submit@debbugs.gnu.org id=B16573.139106876432765 (code B ref 16573); Thu, 30 Jan 2014 08:00:02 +0000 Original-Received: (at 16573) by debbugs.gnu.org; 30 Jan 2014 07:59:24 +0000 Original-Received: from localhost ([127.0.0.1]:40810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W8mWy-0008WP-4s for submit@debbugs.gnu.org; Thu, 30 Jan 2014 02:59:24 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:49584) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W8mWt-0008WE-LN for 16573@debbugs.gnu.org; Thu, 30 Jan 2014 02:59:20 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id A5A8C1A8543; Thu, 30 Jan 2014 08:59:17 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MMI6zCql7SmB; Thu, 30 Jan 2014 08:59:17 +0100 (CET) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad-t61 (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 315781A8542; Thu, 30 Jan 2014 08:59:16 +0100 (CET) In-Reply-To: (Glenn Morris's message of "Wed, 29 Jan 2014 15:18:54 -0500") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84244 Archived-At: Glenn Morris writes: Hi Glenn, >> ;; Local Variables: >> ;; byte-compile-warnings: (free-vars unresolved) >> ;; End: >> >> That does indeed stop the unresolved function warnings but not the >> free-vars warnings. Why not? > > Personally I think this is bad practice. Why? As said, all those style files use LaTeX-* and TeX-* vars and functions defined by AUCTeX's core. However, the style files can't be required individually, but AUCTeX itself loads them dynamically depending on the \usepackages and \documentclass you use in your LaTeX document. And then it's evident that those vars/functions are defined. > Anyway, aren't you missing a "not": > > byte-compile-warnings: (not free-vars unresolved) > > ? Arg, indeed. :-) > Note that this only works since Emacs 23.1. In older Emacs it will at > best have precisely the opposite effect to the one you intend. Well, AUCTeX releases have a (setq byte-compile-warnings nil) in a custom lpath.el that's used when byte-compiling anyway. My intent is only to get rid of warnings that are actually ok just for the ELPA builds. Bye, Tassilo