From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Raffaele Ricciardi Newsgroups: gmane.emacs.help Subject: Re: define-minor-mode: what's the purpose of the BODY argument? Date: Thu, 16 Aug 2012 18:23:03 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1345137916 25247 80.91.229.3 (16 Aug 2012 17:25:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Aug 2012 17:25:16 +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 Aug 16 19:25:16 2012 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 1T23op-0003I3-HO for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Aug 2012 19:25:15 +0200 Original-Received: from localhost ([::1]:46221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T23oo-0003vc-BG for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Aug 2012 13:25:14 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-X-Trace: individual.net sfmnboGfVkUJ25SRbdSMIgm/V5iqnU1T2JVNjkb9qIZ9GtFW+mqQNYwsAe+4khPt2M Cancel-Lock: sha1:PfO56cCNKQpHc4AlERkxUDCyX+0= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: Original-Xref: usenet.stanford.edu gnu.emacs.help:194005 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:86373 On 08/16/2012 03:05 PM, Drew Adams wrote: >> the documentation of `define-minor-mode' begins with: >> >> Macro: define-minor-mode mode doc [init-value [lighter [keymap]]] >> keyword-args... body... >> >> Then it continues with documenting what the purpose of each >> argument is, but it fails to do so for the BODY argument. So, >> what's the purpose of that argument? Is it...? > > You should not have to guess. > > To find out the answer, file a doc bug report. ;-) > Each of the arguments should be described in the doc string. > > M-x report-emacs-bug > > Well, I discovered that the argument is indeed documented, only not as prominently as the others. Therefore I missed it, also because arguments in Info mode are not highlighted the way I'm used to in Help mode. I apologize for the inconvenience.