From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Prefixing a function call with C-digit Date: Wed, 9 Sep 2009 14:39:05 +0200 Message-ID: <24169F30-7678-4FD6-9A57-00972C639416@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlMSB-0006NZ-O1 for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 08:39:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlMS6-0006Mt-HA for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 08:39:14 -0400 Received: from [199.232.76.173] (port=46287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlMS6-0006Mq-Aa for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 08:39:10 -0400 Received: from qw-out-1920.google.com ([74.125.92.149]:12421) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlMS5-0001wf-Vs for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 08:39:10 -0400 Received: by qw-out-1920.google.com with SMTP id 5so1447703qwf.24 for ; Wed, 09 Sep 2009 05:39:09 -0700 (PDT) In-Reply-To: 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: Raffi R Cc: emacs-orgmode@gnu.org On Sep 8, 2009, at 8:14 PM, Raffi R wrote: > Dear org users, > > I'd like to write some advice or a wrapper function for org-export > such that it defaults to a heading level of 0. Why don't you just set the variable org-export-headline-levels ? > > In org-mode normally, I can get this behaviour by pressing C-0 C-x > C-e. Looking at org.el suggested that I should be able to simply > provide the 0 as an argument, i.e. using (org-export 0). However, > org-export seems to ignore that 0. (let ((current-prefix-arg 0)) (call-interactively 'org-export)) HTH - Carsten > > Thank you very much, > - Raffi. > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode