From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien Vauban Newsgroups: gmane.emacs.help Subject: Re: Flycheck reports are never satisfying!? Date: Thu, 28 Aug 2014 19:35:10 +0200 Organization: Sebastien Vauban Message-ID: <86a96oikkx.fsf@somewhere.org> References: <86ha0w95vp.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1409247629 6310 80.91.229.3 (28 Aug 2014 17:40:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2014 17:40:29 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Thu Aug 28 19:40:23 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 1XN3gM-0001PX-Uu for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2014 19:40:23 +0200 Original-Received: from localhost ([::1]:38351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN3gM-0000dj-J2 for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2014 13:40:22 -0400 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!aioe.org!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Injection-Info: mx05.eternal-september.org; posting-host="6f05eaee171434c896d44feeaf7179f0"; logging-data="28680"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX1+p3SXJo7fa5gbXBCXm8TTZ" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (windows-nt) X-Archive: encrypt Cancel-Lock: sha1:XOYxoPrvJzJnSMK+98ZRSCyimqs= sha1:S0H3aGN33GxRQZh2kT/AnXYWRGQ= X-Url: Under construction... Original-Xref: usenet.stanford.edu gnu.emacs.help:207202 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.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-mXXj517/zsQ@public.gmane.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:99479 Archived-At: Stefan Monnier wrote: >> Isn=E2=80=99t that what we have =E2=80=9Ewith-eval-after-load=E2=80=9C f= or? > > with-eval-after-load is there to help make startup more lazy. But it's > not particularly designed to help silence "spurious" byte-compiler warnin= gs. > > 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). That would make a lot of sense, IMHO. And for personal constructions such as: --8<---------------cut here---------------start------------->8--- (when (try-require 'blah) ...) --8<---------------cut here---------------end--------------->8--- Would there be a solution? Would replacing `try-require' by a `require' with all the necessary parameters (in order not to stop if the package is missing) be OK? --8<---------------cut here---------------start------------->8--- (when (require 'blah nil t) ...) --8<---------------cut here---------------end--------------->8--- Would this last construct work? If yes, I'm willing to use it instead of my `try-require'... Best regards, Seb --=20 Sebastien Vauban