From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Wiesner Newsgroups: gmane.emacs.help Subject: Re: Iterating over all docstrings in a Lisp buffer Date: Tue, 24 Jun 2014 21:49:48 +0200 Message-ID: References: <87egyedze0.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1403639424 6854 80.91.229.3 (24 Jun 2014 19:50:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2014 19:50:24 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 24 21:50:17 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 1WzWjQ-0002cY-JA for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jun 2014 21:50:16 +0200 Original-Received: from localhost ([::1]:33585 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzWjQ-0003hU-2m for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jun 2014 15:50:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzWj8-0003fu-ON for help-gnu-emacs@gnu.org; Tue, 24 Jun 2014 15:50:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzWj2-00084H-OL for help-gnu-emacs@gnu.org; Tue, 24 Jun 2014 15:49:58 -0400 Original-Received: from vega.uberspace.de ([95.143.172.245]:56732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzWj2-00084D-Dx for help-gnu-emacs@gnu.org; Tue, 24 Jun 2014 15:49:52 -0400 Original-Received: (qmail 13014 invoked from network); 24 Jun 2014 19:49:50 -0000 Original-Received: from localhost (HELO ?IPv6:2001:a60:16cb:6701:9130:a201:f326:a740?) (127.0.0.1) by vega.uberspace.de with SMTP; 24 Jun 2014 19:49:50 -0000 In-Reply-To: <87egyedze0.fsf@web.de> X-Mailer: Apple Mail (2.1878.2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 95.143.172.245 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:98385 Archived-At: Am 24.06.2014 um 18:51 schrieb Michael Heerdegen = : > Sebastian Wiesner writes: >=20 >> Hello, >>=20 >> how would I iterate over all function/macro/variable docstrings in an >> Emacs Lisp buffer? >>=20 >> The idea is to write a command that automatically re-wraps all >> docstrings in the current buffer. I=92d like to use this as part of = a >> test suite to automatically check whether contributed code adheres to >> the Emacs Lisp style guide. >=20 > Did you notice checkdoc.el? Anyway, checkdoc-next-docstring could be > used for your iteration, I think. Great, thank you! I actually know checkdoc, but for some strange reason = I did not occur to me to take a look at it.=