all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Daniel Hackney <dan@haxney.org>
Cc: emacs-devel@gnu.org
Subject: Re: Interest in "Elisp lint"-like tool?
Date: Thu, 02 Feb 2012 13:38:27 -0500	[thread overview]
Message-ID: <jwvipjp2ih5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAMqXDZsROs_we5Gwsk3MPZR6OTn4LqR81tJjE4Letizqg4W=oA@mail.gmail.com> (Daniel Hackney's message of "Wed, 1 Feb 2012 09:46:46 -0500")

>>> 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! ;)

No, not at all.  It's just that for many of the conventions we'd like to
follow, there are cases where it's impractical to follow them.
So, while some may really be enforced and should generate a clear "you
need to fix this", the others should signal a gentler reminder.
I fully agree (and I think Glenn does too) that provide should be at the
end of the file, but I also agree that sometimes it's inconvenient to
do so.

Ideally, for every possible convention-warning (except for those which
should hopefully always be followed such as ";;; file --- description"),
there should be a way to write the code such that the warning is
silenced.  In the worst case, with the use of a comment or some other
explicit annotation.


        Stefan



  reply	other threads:[~2012-02-02 18:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-30 22:45 Interest in "Elisp lint"-like tool? Daniel Hackney
2012-01-31  3:53 ` Glenn Morris
2012-02-01 14:46   ` Daniel Hackney
2012-02-02 18:38     ` Stefan Monnier [this message]
2012-01-31 10:50 ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvipjp2ih5.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dan@haxney.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.