From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathaniel Cunningham Subject: orgstruct: broken global visibility cycling, when in comments Date: Fri, 14 Jun 2013 23:30:10 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0160a478a2f2dc04df29d199 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uni7z-0001Pk-AB for emacs-orgmode@gnu.org; Sat, 15 Jun 2013 00:30:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uni7w-0004Pw-BJ for emacs-orgmode@gnu.org; Sat, 15 Jun 2013 00:30:15 -0400 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:33570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uni7w-0004Pe-4i for emacs-orgmode@gnu.org; Sat, 15 Jun 2013 00:30:12 -0400 Received: by mail-la0-f42.google.com with SMTP id eb20so1116937lab.15 for ; Fri, 14 Jun 2013 21:30:10 -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: emacs-orgmode@gnu.org --089e0160a478a2f2dc04df29d199 Content-Type: text/plain; charset=ISO-8859-1 I'm attempting to use orgstruct minor mode in emacs-lisp-mode (org 8.0.3 in recent Aquamacs and in vanilla Emacs 24.3.1). I find: - cycling an individual headline using tab key works fine - global cycling via S-Tab (when on a headline) to more expanded visibility (e.g. OVERVIEW --> CONTENTS or CONTENTS --> SHOW ALL) works fine - global cycling via S-Tab (when on a headline) to more limited visibility fails without error (echo area still reports OVERVIEW or CONTENTS, etc.) I have orgstruct-heading-prefix-regexp set to "^;;". Example buffer contents that fail global cycling to narrower scope: ;; Testcase for orgstruct-mode in emacs-lisp-mode ;;* top level headline 1 ;;** 2nd level headline A (setq var2 "value2") ;;** 2nd level headline B (setq var3 "value3") ;;** 2nd level headline C (setq var4 "value4") ;;* top level headline 2 (setq var5 "value5") I find no trouble with global cycling if I remove the ";;" comment characters in all headlines and set orgstruct-heading-prefix-regexp to nil. I suspect this is a bug; but perhaps I'm doing something wrong? Thanks for any help. Cheers, Nathaniel --089e0160a478a2f2dc04df29d199 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I'm attempting to use orgstruct minor mode in emacs-li= sp-mode (org 8.0.3 in recent Aquamacs and in vanilla Emacs 24.3.1). =A0I fi= nd:
- cycling an individual headline using tab key works fine
-= global cycling via S-Tab (when on a headline) to more expanded visibility = (e.g. OVERVIEW --> CONTENTS or CONTENTS --> SHOW ALL) works fine
-=A0global cycling via S-Tab (when on a headline) to more limite= d visibility fails without error (echo area still reports OVERVIEW or CONTE= NTS, etc.)

I have orgstruct-heading-pre= fix-regexp set to "^;;". =A0
Example buffer contents that fail global cycling to narrower scope:

;; Testcase for orgstruct-mode in emacs-lisp-mode
;;* top level headline 1
;;** 2nd level headline A
(setq var2 "value2")
;;** 2nd level headline B
(setq var3 "value3")
;;** 2nd level headline C
(setq var4 "value4")
;;* top level headline 2<= /div>
(setq var5 "value5")

<= div style>I find no trouble with global cycling if I remove the ";;&qu= ot; comment characters in all headlines and set orgstruct-heading-prefix-re= gexp to nil.

I suspect this is a bug; but perhaps = I'm doing something wrong? =A0Thanks for any help.

=
Cheers,
Nathaniel
--089e0160a478a2f2dc04df29d199--