From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: set global visibility set to CONTENTS in a defun? Date: Sat, 2 Nov 2013 21:48:14 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcmnY-0007v8-St for emacs-orgmode@gnu.org; Sat, 02 Nov 2013 21:48:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcmnX-0002GH-Vb for emacs-orgmode@gnu.org; Sat, 02 Nov 2013 21:48:16 -0400 Received: from mail-qa0-x229.google.com ([2607:f8b0:400d:c00::229]:62919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcmnX-0002G7-Oh for emacs-orgmode@gnu.org; Sat, 02 Nov 2013 21:48:15 -0400 Received: by mail-qa0-f41.google.com with SMTP id f11so1420129qae.0 for ; Sat, 02 Nov 2013 18:48:14 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode I am sure it's possible to do this ,but I can't seem to figure out how to set the global visibility level of org headings to a pre-specified level in a list function. (org-global-cycle) cycles the visibility among OVERVIEW --> CONTENTS --> ALL it accepts an optional argument, but whatever I put in the argument (number, string, whatever) has the effet of setting visibility to OVERVIEW, e.g.. I'm sure there's a trick I'm missing, could someone please tell me what it is? Thanks, Matt