From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Hackney Newsgroups: gmane.emacs.devel Subject: Re: Interest in "Elisp lint"-like tool? Date: Wed, 1 Feb 2012 09:46:46 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1328112582 24406 80.91.229.3 (1 Feb 2012 16:09:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2012 16:09:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 01 17:09:41 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rsckf-0002Tz-Ed for ged-emacs-devel@m.gmane.org; Wed, 01 Feb 2012 17:09:41 +0100 Original-Received: from localhost ([::1]:53977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rsckb-0007Qp-Th for ged-emacs-devel@m.gmane.org; Wed, 01 Feb 2012 11:09:37 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:58922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsbT6-0001nE-0i for emacs-devel@gnu.org; Wed, 01 Feb 2012 09:47:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsbSw-0007rH-Nv for emacs-devel@gnu.org; Wed, 01 Feb 2012 09:47:27 -0500 Original-Received: from mail-wi0-f169.google.com ([209.85.212.169]:45494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsbSm-0007ny-6i; Wed, 01 Feb 2012 09:47:08 -0500 Original-Received: by wibhj13 with SMTP id hj13so1335231wib.0 for ; Wed, 01 Feb 2012 06:47:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=haxney.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Zm8L9QQoFbXsSU2crKuF+9uIFYXrAYPjd2u5hmK9FgI=; b=TNYqvygZWCAccNEW0IvLYmooylJWuCbW8sTTR63l+GgEuIDrvWMYt/rmWlH2V4FIdd YnpvsB5TOrRAFKTumi3tr8b8o0+P7KScvXYqwSR6r1VRZA/Pr9KWwRgwc7EULHAtuoqe TX2gv1E6Q71yHNZWFKqhgfhowlW64PpOPynwI= Original-Received: by 10.180.81.66 with SMTP id y2mr41950717wix.20.1328107626129; Wed, 01 Feb 2012 06:47:06 -0800 (PST) Original-Received: by 10.180.4.170 with HTTP; Wed, 1 Feb 2012 06:46:46 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.169 X-Mailman-Approved-At: Wed, 01 Feb 2012 11:09:36 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148091 Archived-At: Glenn Morris wrote: > (trivial comments only) > > Daniel Hackney wrote: > >> - elLint > > A bad name, since elint.el already exists. (See also lisp-mnt.el.) Ah, I wasn't aware. Again, these are merely random ideas off the top of my head; I'm sure others could come up with better (read: less cheesy and less already-taken-y) names. >> Some of these style choices seem fairly uncontroversial (like making >> sure `provide' is at the end of the file) > > It is not always possible though (to avoid recursive requires is the > usual reason). Haha, bad choice of "uncontroversial" example, then! ;) Looking at the list again, I guess none of them are truly uncontroversial, but many should be reasonably easy to agree on, like having ";;; filename.el --- What this file does" as the first line or "no trailing whitespace." The broader point is that I think it would be useful to have some guidelines on these sorts of things beyond what currently exists, and some way to enforce or "gently suggest" adherence to them. -- Daniel M. Hackney