From: Leo Ufimtsev <lufimtse@redhat.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Bug: org-toggle-heading breaks with double colon '::' list items.
Date: Wed, 6 May 2015 09:49:45 -0400 (EDT) [thread overview]
Message-ID: <762770650.10098000.1430920185337.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <CAN_Dec9BEruLh-i=gPbrRhuZT1FAcUEeBhY5mVpc2jY3S93Cug@mail.gmail.com>
Hello,
If I have a list with colons like:
- List a ::
Cheese
Bannana
- List b ::
Pineapples
Tomatoes
If I then select the entire list and call org-toggle-headings, then I would *expect* this:
* List a
Cheese
Bannana
* List b
Pineapples
Tomatoes
But instead the first item is placed on the same line as the heading:
* List a Cheese
Bannana
* List b Pineapples
Tomatoes
This is happens only with items that have colons. A workaround is not to use colons or add a dot after the colons, e.g
- List a :: .
Cheese
The use case is that I often start making lists, but as things grow turn them into headings.
I'm on Emacs 25.0.50.4 (~3 weeks old) and my org-mode is from this morning (8.3beta).
Please advise.
Thank you
Leo
next prev parent reply other threads:[~2015-05-06 13:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-04 3:02 Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)] Jay Belanger
2015-05-06 10:56 ` Rasmus
2015-05-06 13:26 ` Matt Price
2015-05-06 13:49 ` Leo Ufimtsev [this message]
2015-05-06 23:18 ` Bug: org-toggle-heading breaks with double colon '::' list items Nicolas Goaziou
2015-05-07 16:44 ` Leo Ufimtsev
2015-05-07 18:55 ` Bug: org-return-indent does not work properly with description lists (i.e ending with double colon) Leo Ufimtsev
2015-05-08 8:12 ` Nicolas Goaziou
2015-05-08 15:15 ` Leo Ufimtsev
2015-05-06 14:13 ` Bug: Table alignment [8.2.10 (release_8.2.10 @ /usr/local/src/emacs/lisp/org/)] Rasmus
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=762770650.10098000.1430920185337.JavaMail.zimbra@redhat.com \
--to=lufimtse@redhat.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).