From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam K M Subject: Re: Argument to org-insert-subheading should be optional [7.01trans] Date: Thu, 26 Aug 2010 10:48:58 +0530 Message-ID: <871v9mkl31.fsf@noorul.maa.corp.collab.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=55270 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OoUt3-0002wh-2a for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 01:20:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OoUt1-0007kb-6b for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 01:20:28 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:62706) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OoUt0-0007kV-VZ for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 01:20:27 -0400 Received: by pzk33 with SMTP id 33so894489pzk.0 for ; Wed, 25 Aug 2010 22:20:26 -0700 (PDT) In-Reply-To: (M. Creidieki Crouch's message of "Wed, 25 Aug 2010 11:28:29 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "M. Creidieki Crouch" Cc: emacs-orgmode@gnu.org "M. Creidieki Crouch" writes: > The (org-insert-subheading arg) function in org.el should probably have > "arg" as an optional argument. It's used only as a parameter to > (org-insert-heading (&optional force-heading invisible-ok)), so it > doesn't make much sense as a mandatory parameter. > > I believe that this is also true of (org-insert-todo-subheading arg). > > I'm sorry for not submitting a patch, I'm still just learning lisp. > > -- Creidieki M. Crouch Both of them are interactive "P" functions. Please take a look at 'interactive' definition. C-h f interactive Thanks and Regards Noorul