emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* orgstruct-mode bug: cannot sort region if next line is not a structure element
@ 2009-09-24  7:23 Robin Green
  2009-09-24  8:11 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Robin Green @ 2009-09-24  7:23 UTC (permalink / raw)
  To: emacs-orgmode

In orgstruct-mode, if you have these three lines:

* TODO in a simulation, it will fail with "Future mempty: it'll never happen, buddy" if there is no ResetCmd :FIXME:
* DONE outputs simultaneous with a ResetCmd, *and* the ResetCmds themselves, might be dropped :FIXME:
-}

and you select the first two lines with the mouse, so that the cursor
(point?) is at the start of the third line, and then press C-c ^ to
sort them, orgstruct-mode complains that "this key has no function
outside structure elements".

This is with the org-mode included in emacs 23.1.

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

* Re: orgstruct-mode bug: cannot sort region if next line is not a structure element
  2009-09-24  7:23 orgstruct-mode bug: cannot sort region if next line is not a structure element Robin Green
@ 2009-09-24  8:11 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-09-24  8:11 UTC (permalink / raw)
  To: Robin Green; +Cc: emacs-orgmode


On Sep 24, 2009, at 8:23 AM, Robin Green wrote:

> In orgstruct-mode, if you have these three lines:
>
> * TODO in a simulation, it will fail with "Future mempty: it'll  
> never happen, buddy" if there is no ResetCmd :FIXME:
> * DONE outputs simultaneous with a ResetCmd, *and* the ResetCmds  
> themselves, might be dropped :FIXME:
> -}
>
> and you select the first two lines with the mouse, so that the cursor
> (point?) is at the start of the third line, and then press C-c ^ to
> sort them, orgstruct-mode complains that "this key has no function
> outside structure elements".

Well, the cursor is not on a headline!

Press C-x C-x to exchange point and mark, and then try again....

- Carsten

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

end of thread, other threads:[~2009-09-24  8:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-24  7:23 orgstruct-mode bug: cannot sort region if next line is not a structure element Robin Green
2009-09-24  8:11 ` 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).