emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Is this a bug in orgstruct-mode
Date: Sun, 16 Aug 2009 12:02:33 +0100	[thread overview]
Message-ID: <m0eirc10om.fsf@cam.ac.uk> (raw)

Hi Carsten,

I find the following M-RET behaviour a bit strange.

For example, in an empty buffer with orgstruct-mode on. A list like this
can be created with 1 at the beginning of buffer and using M-RET to
insert the second item.
--------------------------------
1. one
2. two

However, if there is an empty line preceding '1. one', M-RET also
inserts a blank line between items, like this:
--------------------------------

1. one

2. two

Do you know if this is a bug?

[Tested in GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS
apple-appkit-949.54) of 2009-08-10]

Best wishes,

Leo

-- 
Emacs uptime: 5 days, 20 hours, 34 minutes, 4 seconds

             reply	other threads:[~2009-08-16 11:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-16 11:02 Leo [this message]
2009-08-18 17:43 ` Is this a bug in orgstruct-mode Leo
2009-08-18 18:59   ` Carsten Dominik
2009-08-18 22:02     ` Leo
2009-08-19  9:31       ` Carsten Dominik
2009-08-19 10:02         ` Leo

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=m0eirc10om.fsf@cam.ac.uk \
    --to=sdl.web@gmail.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).