From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Byte-compiler warnings Date: Wed, 24 Jun 2015 23:19:48 -0400 Organization: A noiseless patient Spider Message-ID: References: <87bng5qrcp.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1435202418 29341 80.91.229.3 (25 Jun 2015 03:20:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Jun 2015 03:20:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 25 05:20:17 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 1Z7xi5-0005nE-7b for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Jun 2015 05:20:17 +0200 Original-Received: from localhost ([::1]:53718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7xi4-0000lV-CN for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 23:20:16 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Injection-Info: mx02.eternal-september.org; posting-host="dcedd9c6966f9f4f1f31ce18e50f42c3"; logging-data="23783"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ut/jh1ob/b5MBi+HfomKe" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:zorXceklN33ogZqC6+1zDeZw5BY= sha1:+76zZoeHqqdwimjeCKm1R4TX6Uc= Original-Xref: usenet.stanford.edu gnu.emacs.help:212857 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:105142 Archived-At: >> Are there other tools that assist in writing good Elisp code? I know >> about checkdoc, is there anything else? > Once upon a time, there was a lot of such tools to help writing lisp > code, including code pattern matcher, expert systems, AI user models, > etc. The tendency over the year has been first to move it all into the compiler (since the kind of analysis needed to give those warnings is often useful for a compiler to generate better code as well), and then to add specialized tools again (that focus on particular coding errors). IIUC the reason to develop the newer tools separately from the compilers is because they tend to use different analyses (e.g. more superficial (paying attention to identifier names), or much more costly, or that require extra information/setup from the coders, ...). In any case, within the Elisp realm, we're still at the stage where the compiler is the most common place to add warnings. There are a few other tools (elint and checkdoc), of course. Stefan