emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Dan Davison <davison@stats.ox.ac.uk>
Cc: emacs org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Folding last plain list entry
Date: Sun, 15 Nov 2009 14:27:56 +0100	[thread overview]
Message-ID: <C4D1D43C-7F35-4912-90CA-FF9597618F40@gmail.com> (raw)
In-Reply-To: <87fx8i2rjo.fsf@stats.ox.ac.uk>

Hi Dan,

the folding implementation of plain lists is limited - it works
by assuming, for the duration of the org-cycle instance, that
these lines are just normal headlines.

I believe it would be an awful lot of work to fix this.

- Carsten

On Nov 13, 2009, at 7:44 PM, Dan Davison wrote:

> Org-cycle (tab) on the last item of a plain list folds all the rest of
> the contents in the current heading, despite
> org-empty-line-terminates-plain-lists being t. It shouldn't do that,
> right?
>
> For example
>
> (setq org-empty-line-terminates-plain-lists t)
>
> ,----
> | * h1
> |   - item 1
> |     item 1 contents
> |   - item 2
> |     item 2 contents
> |
> | Non-list stuff
> `----
>
> Now if I hit <tab> at the start of the 'item 2' line it folds like  
> this
>
> ,----
> | * h1
> |   - item 1
> |     item 1 contents
> |   - item 2
> |     item 2...
> `----
>
> Dan
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

      reply	other threads:[~2009-11-15 13:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-13 18:44 Folding last plain list entry Dan Davison
2009-11-15 13:27 ` Carsten Dominik [this message]

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=C4D1D43C-7F35-4912-90CA-FF9597618F40@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=davison@stats.ox.ac.uk \
    --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).