From: Carsten Dominik <carsten.dominik@gmail.com>
To: Harald Weis <hawei@free.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Sorting problem
Date: Thu, 3 Jan 2008 14:45:48 +0100 [thread overview]
Message-ID: <A030887D-9679-4D86-BA90-FDB25F411CA5@gmail.com> (raw)
In-Reply-To: <20080103131152.GB1717@pollux>
On Jan 3, 2008, at 2:11 PM, Harald Weis wrote:
> Sorry, Dominik, for the finger trouble. I meant to reply to
> the list only.
>
> On Thu, Jan 03, 2008 at 08:23:26AM +0100, Carsten Dominik wrote:
>>
>> On Jan 1, 2008, at 6:32 PM, Harald Weis wrote:
>>>
>>> The error message is invariably the following:
>>>
>>> Wrong number of arguments: etc
>>
>> Does it literally say "etc", or is this a place holder for
>> something else?
>
> It's a place holder. I couldn't get the (5-line) error message
> into the mouse in order to copy it. Whenever I try, it disappears.
> And I'm just finding out that the message is fortunately kept
> in the *Messages* buffer, although with lots of white space
> and other funny symbols. Annoying. Here it is:
>
> <paste>
> Sort children: [a]lpha [n]umeric [t]ime [p]riority p[r]operty
> [f]unc A/N/T/P/F means reversed:
> Sorting entries...
> org-sort-entries-or-items: Wrong number of arguments: #[(reverse
> nextrecfun endrecfun &optional startkeyfun endkeyfun)
> "deZÆV\x18Ÿª\bŸ£\x0fÇÈ!ŸšÉ
You seem to be using a version of Emacs in which the command
`sort-subr' does not yet allow the `predicate' argument as the 6th
argument to the call. Apparently this is the case in Emacs 21
that you are using - unfortunately I don't anymore have emacs 21
on my system.....
Is there a reason why you are not yet using Emacs 22?
The "funny symbols" are there because the Lisp code is compliled, read
the
Feedback section of the Org-mode manual to see to to improve on this.
>
> Apart from the fact that I cannot get sorting work, I wonder why the
> content of the children is unfolded if I only want the children
> headlines sorted ?
This is because Emacs is cutting and then re-inserting all the tree
nodes, and that would mess up the hiding anyway.
- Carsten
next prev parent reply other threads:[~2008-01-03 13:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-01 17:32 Sorting problem Harald Weis
2008-01-03 7:23 ` Carsten Dominik
2008-01-03 13:11 ` Harald Weis
2008-01-03 13:25 ` Pete Phillips
2008-01-03 13:51 ` Harald Weis
2008-01-03 23:29 ` Pete Phillips
2008-01-03 13:45 ` Carsten Dominik [this message]
2008-01-04 12:15 ` Harald Weis
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A030887D-9679-4D86-BA90-FDB25F411CA5@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=hawei@free.fr \
/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 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.