From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: define-minor-mode: what's the purpose of the BODY argument? Date: Thu, 16 Aug 2012 07:05:38 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1345125968 15839 80.91.229.3 (16 Aug 2012 14:06:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Aug 2012 14:06:08 +0000 (UTC) To: "'Raffaele Ricciardi'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 16 16:06:05 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 1T20i4-0006S3-Ri for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Aug 2012 16:06:04 +0200 Original-Received: from localhost ([::1]:38615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T20i3-0007Nb-K9 for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Aug 2012 10:06:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T20hr-0007NT-IM for help-gnu-emacs@gnu.org; Thu, 16 Aug 2012 10:05:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T20hl-0001uN-PO for help-gnu-emacs@gnu.org; Thu, 16 Aug 2012 10:05:51 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:50205) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T20hl-0001tM-Ho for help-gnu-emacs@gnu.org; Thu, 16 Aug 2012 10:05:45 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q7GE5hgw020426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Aug 2012 14:05:44 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q7GE5gIv007723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Aug 2012 14:05:43 GMT Original-Received: from abhmt118.oracle.com (abhmt118.oracle.com [141.146.116.70]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q7GE5gSN026086; Thu, 16 Aug 2012 09:05:42 -0500 Original-Received: from dradamslap1 (/10.159.167.242) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 16 Aug 2012 07:05:42 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac17nOrrg6O3bGJ0S06FviJcCPkm6QAGwauQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 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:86369 > 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