From: Carsten Dominik <dominik@science.uva.nl>
To: Ruslan Kosolapov <rkosolapov@swsoft.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: agenda csv export: three problems (batch, koi8-r and commas)
Date: Fri, 1 Jun 2007 09:07:48 +0200 [thread overview]
Message-ID: <ccb1707eb57d4922a4d880f036be4ee4@science.uva.nl> (raw)
In-Reply-To: <87y7j51h4a.fsf@kosolapov-nb.plesk.ru>
On May 31, 2007, at 11:23, Ruslan Kosolapov wrote:
>
> org-mode 4.75, emacs-snapshot (latest from debian sid)
>
> --[ 1. Problems with -batch ]--
>
> Command
> $ emacs -batch -l ~/.emacs -eval '(org-batch-agenda-csv "t")'
> fails with
> Debugger entered--Lisp error: (void-function org-batch-agenda-csv)
This function needs to be autoloaded, as you realized yourself.
Appearently you do not have
(require 'org-install)
in .emacs as the instructions require (if you are running a
downloaded version of org-mode instead of the one that comes
with Emacs. This file does install
the autoloads for all entry points, including this one.
> Command
> $ emacs -batch -l ~/.emacs -eval '(load-library "org")
> (org-batch-agenda-csv "t")'
> returns nothing useful. And I don't know why :)
The would be another solution, except that -eval takes only
a single form. So you would have to do
-eval '(progn (load-library "org") (org-batch-agenda-csv "t"))'
or
-eval '(load-library "org")' -eval '(org-batch-agenda-csv "t")'
> --[ 2. Problems with koi8-r ]--
>
> I use koi8-r for my org-file, its works well in most cases.
>
> But in csv I got junk instead koi8-r symbols. As far as I understand,
> html export works the same way, and in html I see html-entities
> instead koi8-r. In browser its look good, but not in terminal and
> perl.
>
> I tried to use utf-8, and fail too.
I don't know how to fix this. I am just using princ to send
the lines to STDOUT - if you figure out what else to do
to get better non-ascii representation there, let me know.
prev parent reply other threads:[~2007-06-01 7:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-31 9:23 agenda csv export: three problems (batch, koi8-r and commas) Ruslan Kosolapov
2007-05-31 12:27 ` Jason F. McBrayer
2007-05-31 12:59 ` Ruslan Kosolapov
2007-05-31 14:41 ` Carsten Dominik
2007-05-31 12:53 ` Ruslan Kosolapov
2007-06-01 7:07 ` Carsten Dominik [this message]
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=ccb1707eb57d4922a4d880f036be4ee4@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=rkosolapov@swsoft.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 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.