emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Millar <millarc@verizon.net>
To: emacs-orgmode@gnu.org
Subject: Re: org-agenda-write to .org exports headings in reversed order?!
Date: Sat, 16 Aug 2014 09:10:34 -0400	[thread overview]
Message-ID: <53EF584A.3000001@verizon.net> (raw)
In-Reply-To: <D014EE5B.1EFDC%Elwood151@web.de>

Martin,





M wrote:
> Hi,
>
> I'm still experimenting with agenda export and I found that I can write an
> agenda to an org-mode file by C-x C-w     (org-agenda-write).
>
> However, if I do that and select  filename.org as target,
> I get all headings in the agenda, but the last one first and the first one
> last.
>
> Is there an option which can reverse the order to leave it as it is in the
> agenda itself?
I know very little of the wonders of emacs lisp, but I wonder if 
org-agenda.el line 3362 is the reason for this.
          (mapcar (lambda (s) (org-paste-subtree 1 s)) (reverse content))

I was using org-agenda-write several months ago; I exported to a text 
file  and the result just as you report.

Charlie Millar

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

  reply	other threads:[~2014-08-16 13:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-16  9:17 org-agenda-write to .org exports headings in reversed order?! M
2014-08-16 13:10 ` Charles Millar [this message]
2014-08-25 13:23   ` Nicolas Goaziou

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=53EF584A.3000001@verizon.net \
    --to=millarc@verizon.net \
    --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).