emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Fritjof <fritjofl@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: BUG sorting function
Date: Tue, 11 Jan 2011 13:23:29 -0500	[thread overview]
Message-ID: <87pqs38fku.fsf@fastmail.fm> (raw)
In-Reply-To: <op.vo16n7hd4atv21@bicetre> (Fritjof's message of "Sun, 09 Jan 2011 21:46:46 +0100")

Fritjof <fritjofl@gmail.com> writes:

> I think i found a bug. The sorting function dosn't seem to tell the
> difference between '*bold*' and '* heading' at the beginning of a
> line,  and when a heading have *bold* tekst at the beginning of a
> line, trying to  sort will give this error: "Region to sort contains a
> level above the the  first entry"
>
> Reproduce with:
>
> * heading
> ** subheading
> *not a heading*
> some texkt
>

I can confirm this bug (using emacs from bzr and a fresh org pull).

A subtree will not sort if it contains any line beginning with a single
asterisk.

Best,
Matt

  reply	other threads:[~2011-01-11 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-09 20:46 BUG sorting function Fritjof
2011-01-11 18:23 ` Matt Lundin [this message]
2011-01-11 19:35 ` Carsten Dominik
2011-01-12 10:54   ` Giovanni Ridolfi

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=87pqs38fku.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=fritjofl@gmail.com \
    /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).