[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode
From: |
Rasmus |
Subject: |
Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode |
Date: |
Tue, 10 Nov 2015 11:54:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi Jonas,
Jonas Bernoulli <address@hidden> writes:
> Well currently I am just using `org-cycle' + `outline-minor-mode', which
> works well enough for now. But eventually I would like to also start
> using Org's navigational commands. Unfortunately `orgstruct-mode' only
> supports org-like headings (;; * heading\n;; ** subheadng) and not
> standard Emacs headings (;;; heading\n;;;; subheading). I hope someone
> teaches `orgstruct-mode' to support the latter too. Otherwise I will
> probably give `outshine' another chance.
My init file is structured like this, and I mainly use org-cycle as well.
Note that there’s an outstanding bug related to orgstruct and
org-show-children (as I remember).
;;* TEXT MODES
;;** AUCTeX
;; ...
;;** Reftex
;; ...
;;* PROG MODES
;; ...
;;** Magit
;;...
;;...
;; Local Variables:
;; outline-regexp: ";;\\*+\\|\\`"
;; orgstruct-heading-prefix-regexp: ";;\\*+\\|\\`"
;; eval: (when after-init-time (orgstruct-mode) (org-global-cycle 3))
;; End:
Rasmus
--
Vote for Dick Taid in an election near you!
- [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, Jonas Bernoulli, 2015/11/08
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, Nicolas Goaziou, 2015/11/14
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, Jonas Bernoulli, 2015/11/18
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, Nicolas Goaziou, 2015/11/19
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, Jonas Bernoulli, 2015/11/19
- Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode, Rasmus, 2015/11/19