[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] (org-insert-headline '(4)) should insert new headline before point
From: |
York Zhao |
Subject: |
[O] (org-insert-headline '(4)) should insert new headline before point |
Date: |
Thu, 3 Apr 2014 18:59:52 -0400 |
Hi list,
(org-insert-headline '(4)) used to insert new heading before point. But this had
broken recently. According to the docstring, this command inserts new
heading at the end of the parent subtree ONLY if two universal prefix
arguments is given, not one. Here's the reproducer:
--8<---------------cut here---------------start------------->8---
emacs -Q -L path/to/org-mode/lisp/ --eval \
"(let ((buf (get-buffer-create \"test-org\")))
(with-current-buffer buf
(org-mode)
(insert \"* headline 1\")
(goto-char (line-beginning-position))
(org-insert-heading '(4)))
(switch-to-buffer buf))"
--8<---------------cut here---------------end--------------->8---
Thanks
- [O] (org-insert-headline '(4)) should insert new headline before point,
York Zhao <=
- Re: [O] (org-insert-headline '(4)) should insert new headline before point, York Zhao, 2014/04/04
- Re: [O] (org-insert-headline '(4)) should insert new headline before point, Bastien, 2014/04/17
- Re: [O] (org-insert-headline '(4)) should insert new headline before point, York Zhao, 2014/04/20
- Re: [O] (org-insert-headline '(4)) should insert new headline before point, Nicolas Goaziou, 2014/04/21
- Re: [O] (org-insert-headline '(4)) should insert new headline before point, Bastien, 2014/04/22
- Re: [O] (org-insert-headline '(4)) should insert new headline before point, Leonard Randall, 2014/04/23
- Re: [O] (org-insert-headline '(4)) should insert new headline before point, Leonard Randall, 2014/04/23
- Re: [O] (org-insert-headline '(4)) should insert new headline before point, Eric Abrahamsen, 2014/04/25
- Re: [O] (org-insert-headline '(4)) should insert new headline before point, Bastien, 2014/04/25