From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: lisp/gnus/.dir-locals.el Date: Tue, 7 Sep 2010 14:16:46 +0200 Message-ID: References: <83aanyhrnz.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283861863 28766 80.91.229.12 (7 Sep 2010 12:17:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2010 12:17:43 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org, Lars Magne Ingebrigtsen , Katsumi Yamaoka To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 07 14:17:41 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Osx7M-0006Bd-67 for ged-emacs-devel@m.gmane.org; Tue, 07 Sep 2010 14:17:40 +0200 Original-Received: from localhost ([127.0.0.1]:40099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Osx7L-0004RT-93 for ged-emacs-devel@m.gmane.org; Tue, 07 Sep 2010 08:17:39 -0400 Original-Received: from [140.186.70.92] (port=41091 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Osx7B-0004QG-W1 for emacs-devel@gnu.org; Tue, 07 Sep 2010 08:17:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Osx7A-0001tt-IF for emacs-devel@gnu.org; Tue, 07 Sep 2010 08:17:29 -0400 Original-Received: from mail-pv0-f169.google.com ([74.125.83.169]:55454) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Osx7A-0001tc-CX; Tue, 07 Sep 2010 08:17:28 -0400 Original-Received: by pvc30 with SMTP id 30so3416825pvc.0 for ; Tue, 07 Sep 2010 05:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=1QwVbkjtMr8p0FIY2/EHiQEGUTlbKDeCLZtYKgVbYyQ=; b=Vs3siYj9lL+em9fIWmWnJM/TQV5eAyAy6JjmOUGaj+0Qq8UU9zDdMLrolz7QTIeZYH C2k7ZWsUEV3TlOf+Q6oYXOTh9paum6I8b51LLxLgXDeKr8swwknz2V5rXOArf7Zaz9JS wz1sxq6/Cc7gFm4cyDdobvgErD5HPCR3IQlKk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=rwEYYJTSYvgOddn4dRykjLMYBB5O6gTrkhUer2r1+XoasyKJfdnzY/4DeevN7Sj0/z O6XHvfitdHcm0kYf+UTweOAo+tTJg4co1RjcL9xbHdlQVI8Hd3CjvF4xYc2YEsWBDVMe 0b/ZvUUAq0oB0+dBFuH5yxxOTsbMaUBNs4It8= Original-Received: by 10.114.109.18 with SMTP id h18mr4834894wac.66.1283861846678; Tue, 07 Sep 2010 05:17:26 -0700 (PDT) Original-Received: by 10.114.110.12 with HTTP; Tue, 7 Sep 2010 05:16:46 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129749 Archived-At: >> At the very least, the file should be marked as "no-byte-compile", or >> something else should be done to avoid this warning. > > You could also argue that the byte-compler should know better than to > try and byte-compile a file called ".dir-locals.el" which we hence know > doesn't hold Elisp code (only Elisp data). That's special-casing the byte-compiler, when we already have a perfectly good way to tell it to ignore a file. (Not to mention that, though strongly non-recommended, the value of `dir-locals-file' could be locally different in any given project and so the name of the locals file.) =C2=A0 =C2=A0 Juanma