Re: [O] Bug: org-toggle-heading breaks with double colon '::' list items.

2015-05-07 Thread Leo Ufimtsev


- Original Message -
 From: Nicolas Goaziou m...@nicolasgoaziou.fr
 To: Leo Ufimtsev lufim...@redhat.com
 Cc: Org Mode emacs-orgmode@gnu.org
 Sent: Wednesday, May 6, 2015 7:18:55 PM
 Subject: Re: [O] Bug: org-toggle-heading breaks with double colon '::' list   
 items.
 
 Hello,
 
 Leo Ufimtsev lufim...@redhat.com writes:
 
  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 should be fixed in 9aa69058bc4cbe3be088df9e96b18caf5359a3a8. Thank
 you.

I downloaded  tested. The fix works well. 
Thank you for the quick fix ^_^, life is much better now :-D.

 Regards,
 
 --
 Nicolas Goaziou
 
 

-- 
Leo Ufimtsev | Intern Software Engineer @ Eclipse Team



[O] Bug: org-toggle-heading breaks with double colon '::' list items.

2015-05-06 Thread Leo Ufimtsev
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




Re: [O] Bug: org-toggle-heading breaks with double colon '::' list items.

2015-05-06 Thread Nicolas Goaziou
Hello,

Leo Ufimtsev lufim...@redhat.com writes:

 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 should be fixed in 9aa69058bc4cbe3be088df9e96b18caf5359a3a8. Thank
you.


Regards,

-- 
Nicolas Goaziou