emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: plain lists folded by default
Date: Tue, 04 Feb 2014 14:18:41 -0500	[thread overview]
Message-ID: <87lhxqvg8e.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 52F1376A.8040303@parisdescartes.fr

Rémy Abergel <remy.abergel@parisdescartes.fr> writes:

> Hi Org users,
>
> do you know how to make plain lists folded by default?
> ...
> Currently I need to manually fold the item one by one.

Try this (but do read the doc for org-cycle-include-plain-lists
for some caveats):

--8<---------------cut here---------------start------------->8---
#+STARTUP: overview

* Section 1

A paragraph here.

+ item 1 :: description
  some long text here
+ item 1.1 :: description comes here
  let us say that a long text comes here
+ item 1.2 :: description
  again let us say that a long text comes here.
+ item 2 :: some text

Another paragraph here.

* Section 2

when I unfold Section 1, I get what you can see above (plain lists are
unfolded), but I would like to get (by default) something like

* My section

A paragraph here.

 + item 1 :: description...
 + item 2 :: some text

 Another paragraph here.

* Another section

Currently I need to manually fold the item one by one.


# Local Variables:
# org-cycle-include-plain-lists: integrate
# End:
--8<---------------cut here---------------end--------------->8---

> Eventually being able to do cycling (by pressing [TAB] several time on
> section 1 in order to fold/unfold the items) would also be nice.
>

I think you get that for free.

-- 
Nick

  reply	other threads:[~2014-02-04 19:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-15 13:04 auto-fill-mode for text changes (plain-lists) indentation Rémy Abergel
2014-01-15 20:29 ` Andreas Leha
2014-02-04 18:54   ` plain lists folded by default Rémy Abergel
2014-02-04 19:18     ` Nick Dokos [this message]
2014-02-04 20:41     ` Nick Dokos
2014-02-04 21:36       ` Rémy Abergel
2014-02-04 22:12         ` Nick Dokos
2014-01-17  9:07 ` auto-fill-mode for text changes (plain-lists) indentation Bastien
2014-01-17 14:54   ` Rémy Abergel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lhxqvg8e.fsf@alphaville.bos.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).