[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] org-style folding for a .emacs
From: |
Daniel Clemente |
Subject: |
Re: [Orgmode] org-style folding for a .emacs |
Date: |
Thu, 16 Jul 2009 03:02:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (gnu/linux) |
El lun, jul 13 2009 a les 23:23, Scot Becker va escriure:
> Does anyone have a recipe for easy org-style folding of an elisp file?
> I'd like to divide my .emacs into segments to make it easier to
> oversee and navigate.
I did this without needing to change variables or define new functions. Just
add at the first line:
; -*- mode: emacs-lisp; mode:outline-minor; outline-regexp:";;;;* [^ \n]" -*-
(Reopen the file to activate that).
And then start headings with ;;; (that's level 1), for instance:
;;; a
; something else
;;;; a.1
; bla
;; this is still a normal comment
;;; b
Cycle with C-tab, C-S-tab, …
-- Daniel
- Re: [Orgmode] org-style folding for a .emacs, (continued)
- Re: [Orgmode] org-style folding for a .emacs, Scot Becker, 2009/07/14
- Re: [Orgmode] org-style folding for a .emacs, Eric Schulte, 2009/07/15
- [Orgmode] Re: org-style folding for a .emacs, Sébastien Vauban, 2009/07/15
- Re: [Orgmode] Re: org-style folding for a .emacs, Eric Schulte, 2009/07/16
- [Orgmode] Re: org-style folding for a .emacs, Sébastien Vauban, 2009/07/28
- Re: [Orgmode] Re: org-style folding for a .emacs, Eric Schulte, 2009/07/31
Re: [Orgmode] org-style folding for a .emacs, Michael Zeller, 2009/07/14
Re: [Orgmode] org-style folding for a .emacs,
Daniel Clemente <=
Re: [Orgmode] org-style folding for a .emacs, Bastien, 2009/07/16