emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Meta-return on an empty headline breaks the headline instead of leaving it empty
@ 2010-03-23  5:13 Ryan Thompson
  2010-03-23  7:44 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan Thompson @ 2010-03-23  5:13 UTC (permalink / raw)
  To: Org-Mode List

I have found a bug. When the point is at the end of an empty headline
and you press M-RET (or C-RET) to make a new headline, it deletes all
the whitespace at the end of the empty headline first, which causes
the headline to break. I'm not sure if the correct behavior is to
leave an empty headline, or maybe just do nothing and leave the point
at the end of the empty headline without creating a new one, but the
correct thing is definitely *not* to break the headline.

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

end of thread, other threads:[~2010-03-23  7:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-23  5:13 Bug: Meta-return on an empty headline breaks the headline instead of leaving it empty Ryan Thompson
2010-03-23  7:44 ` Carsten Dominik

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).