From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: checkdoc-batch.el v.3 Date: Wed, 12 May 2010 11:10:42 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273677060 16931 80.91.229.12 (12 May 2010 15:11:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 May 2010 15:11:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kevin Ryde Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 12 17:10:59 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OCDaL-0003wX-BN for ged-emacs-devel@m.gmane.org; Wed, 12 May 2010 17:10:57 +0200 Original-Received: from localhost ([127.0.0.1]:48101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCDaK-0007JE-H8 for ged-emacs-devel@m.gmane.org; Wed, 12 May 2010 11:10:56 -0400 Original-Received: from [140.186.70.92] (port=40524 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCDaB-0007Iw-3u for emacs-devel@gnu.org; Wed, 12 May 2010 11:10:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCDa9-0007A5-2b for emacs-devel@gnu.org; Wed, 12 May 2010 11:10:46 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:40363 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCDa8-00079v-BS for emacs-devel@gnu.org; Wed, 12 May 2010 11:10:44 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAGph6ktMCqBp/2dsb2JhbACeLHK7NYUSBIww X-IronPort-AV: E=Sophos;i="4.53,215,1272859200"; d="scan'208";a="64035579" Original-Received: from 76-10-160-105.dsl.teksavvy.com (HELO pastel.home) ([76.10.160.105]) by ironport2-out.pppoe.ca with ESMTP; 12 May 2010 11:10:43 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E754980B1; Wed, 12 May 2010 11:10:42 -0400 (EDT) In-Reply-To: (Kevin Ryde's message of "Wed, 12 May 2010 08:55:46 +1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124724 Archived-At: > This spot of code runs M-x checkdoc in "batch" style, giving a report of > problems instead of going through interactively fixing them. This sounds desirable. > The implementation is diabolical, That sounds less so. I generally like checkdoc, but it's too much in-your-face for my taste. If you're interested, it would be wonderful if you could change it so it doesn't signal errors all the time, but just messages/warnings instead. The intention would be: - make it possible/bearable to enable checkdoc-mode unconditionally (so M-C-x will always check your docstrings, whether you want it or not, which clearly requires reducing substantially the in-your-faceness factor). - solve the problem you mention that rejecting one suggestion can make you miss subsequent ones. - make something like checkdoc-batch possible without resorting to a diabolical implementation. Stefan