all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* behavior of (org-insert-heading-respect-content)
@ 2021-09-09 14:55 Victor A. Stoichita
  2021-09-09 18:54 ` Marco Wahl
  0 siblings, 1 reply; 10+ messages in thread
From: Victor A. Stoichita @ 2021-09-09 14:55 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I see the following behavior which seems erroneous to me :
- When I issue (org-insert-heading-respect-content) in a brand new org
  buffer, with point at point-min I get the error "Beginning of buffer"
  and no heading is inserted.
- If I write something on the 1st line, say "test", but no newline, and
  then issue (org-insert-heading-respect-content), the result is :
  "test  * " which is not a properly formatted heading
- Only if there is a newline before point does
  (org-insert-heading-respect-content) insert a proper heading. 

Am I getting something wrong or is this a bug ?

Regards,
Victor


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-09-26 20:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-09 14:55 behavior of (org-insert-heading-respect-content) Victor A. Stoichita
2021-09-09 18:54 ` Marco Wahl
2021-09-09 19:29   ` Victor A. Stoichita
2021-09-13 19:21     ` Marco Wahl
2021-09-17 15:23       ` Victor A. Stoichita
2021-09-18 13:08         ` Marco Wahl
2021-09-26 11:13           ` Bastien
2021-09-26 12:13             ` Marco Wahl
2021-09-26 12:31               ` Bastien
2021-09-26 19:57           ` Victor A. Stoichita

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.