From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Wiesner Newsgroups: gmane.emacs.help Subject: Re: Flycheck reports are never satisfying!? Date: Fri, 29 Aug 2014 11:01:53 +0200 Message-ID: <1AD23D70-3650-4985-911F-5FA1C2209876@lunaryorn.com> References: <86ha0w95vp.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1409302948 22094 80.91.229.3 (29 Aug 2014 09:02:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2014 09:02:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 29 11:02:21 2014 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 1XNI4Y-0002gD-S5 for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2014 11:02:18 +0200 Original-Received: from localhost ([::1]:40748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNI4Y-0006VU-9Q for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2014 05:02:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNI4G-0006U9-DU for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 05:02:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNI4B-0006MZ-Kf for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 05:02:00 -0400 Original-Received: from vega.uberspace.de ([95.143.172.245]:34657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNI4B-0006MA-Bl for help-gnu-emacs@gnu.org; Fri, 29 Aug 2014 05:01:55 -0400 Original-Received: (qmail 22372 invoked from network); 29 Aug 2014 09:01:53 -0000 Original-Received: from localhost (HELO lunaryorn-air.fritz.box) (127.0.0.1) by vega.uberspace.de with SMTP; 29 Aug 2014 09:01:53 -0000 In-Reply-To: X-Mailer: Apple Mail (2.1878.6) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 95.143.172.245 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:99502 Archived-At: Am 28.08.2014 um 17:48 schrieb Stefan Monnier = : >> Isn=92t that what we have =84with-eval-after-load=93 for? >=20 > with-eval-after-load is there to help make startup more lazy. But = it's > not particularly designed to help silence "spurious" byte-compiler = warnings. >=20 >> At least, that=92s what I am using in my init.el to avoid warnings = about >> free variables. >=20 > I'm surprised it works for you. I'm sorry, it doesn't, of course. I mistakenly assumed that = with-eval-after-load did that, but actually I'm using my own macro on = top of with-eval-after-load that requires the given feature during byte = compilation. I forgot about that. Please excuse the confusion. >=20 > This said, maybe the byte-compiler should treat it specially > (i.e. treat it sort of like a `require' and forcefully load the file > before processing the body of the with-eval-after-load). Couldn't with-eval-after-load just require the feature if = byte-compile-current-file is non-nil? At least, that's what I am doing in my own macro, and it works = reasonably well.=