emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Ruslan Kosolapov <rkosolapov@swsoft.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Possible bug in Org-mode version 4.74
Date: Mon, 21 May 2007 10:27:22 +0200	[thread overview]
Message-ID: <2a5a3af7f05301c68a3190b0420811a7@science.uva.nl> (raw)
In-Reply-To: <87odkelqxd.fsf@kosolapov-nb.plesk.ru>


On May 21, 2007, at 6:51, Ruslan Kosolapov wrote:

>
>  CD> I have released version 4.74 of Org-mode at
>  CD> http://www.astro.uva.nl/~dominik/Tools/org/
>
> 1. I got org-mode from 
> http://staff.science.uva.nl/~dominik/Tools/org/org-4.74.tar.gz
>
> 2. I configure agenda export as follows:
> (setq org-agenda-exporter-settings
>       '((htmlize-output-type 'inline-css)))
>
> (setq org-agenda-custom-commands
>       '(("w" todo "WAITING" nil ("agenda-waiting.html"))
> 	("n" todo "NEXT" nil ("agenda-next.html"))
> 	("f" todo "FREEZED" nil ("agenda-freezed.html"))
> 	("d" "Agenda + NEXT" ((agenda) (todo "NEXT")) ("agenda+next.html"))

there is `nil' missing between the list of commands and
the list of files.  nil stands for the list of options, you
have it right in all other cases.

> 	("c" agenda "" nil ("agenda-current.html"))
> 	("I" "Ilnar tasks" ((tags "ilnar")) nil ("ilnar-tasks.html"))
> 	("R" "rk tasks" ((tags "rk")) nil ("rk-tasks.html"))
> 	))
>
> 3. Now when I press C-c a e, error appears (full errmessage in attach):
> Debugger entered--Lisp error: (void-variable nosettings)
>   (org-write-agenda "agenda-waiting.html" nosettings)

Indeed a bug, will be fixed in 4.75.

>
> Additional info:
> 1. When I use C-x C-w in agenda buffer, I get another error (full
> errmessage in second attach):
> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p 
> nil)
>   insert(nil 10 "<!-- Created by htmlize-1.30 in inline-css mode. 
> -->\n" "<html>\n  <head>\n" "    <title>" "*Org Agenda*" "</title>\n" 
> "" "")

This is another bug, thank you.  You can prevent if for the time being 
by loading htmlize before using the org stuff.  Will be fixed in 4.75 
as well.

Thanks a lot for the detailed report, quite complete!

One more thing:  I strongly advise to use absolute file names in 
org-agenda-custom-commands.

- Carsten

      reply	other threads:[~2007-05-21  8:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-13  7:35 Org-mode version 4.74 Carsten Dominik
2007-05-13 11:43 ` Leo
2007-05-13 13:02   ` Leo
2007-05-13 17:02 ` David Emery
2007-05-15 11:41   ` Carsten Dominik
2007-05-15 22:34     ` dave
2007-05-21  4:51 ` Possible bug in " Ruslan Kosolapov
2007-05-21  8:27   ` 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

  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=2a5a3af7f05301c68a3190b0420811a7@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 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).