* Org-mode version 4.75
@ 2007-05-25 15:43 Carsten Dominik
2007-05-25 17:59 ` Leo
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Carsten Dominik @ 2007-05-25 15:43 UTC (permalink / raw)
To: emacs-orgmode
Hi,
I have released org-mode version 4.75 at
http://www.astro.uva.nl/~dominik/Tools/org
Enjoy!
- Carsten
Changes in version 4.75
-----------------------
* Overview
- Cyclic time stamps that repeat after an interval.
- Special timestamps for appointments like "every 2nd Thursday
in a month".
- Completion of link abbreviation prefixes inside `C-c C-l'.
- Replacing a region of org-mode syntax with HTML.
- iCalendar export now honors ARCHIVE etc.
- New command to add/change emphasis markers.
* Incompatible Changes
- The REPEAT(...) cookie is no longer supported, the repeater
interval now goes directly into the time stamp.
* Details
- Time stamps can contain a repeater code, like +1w for once
every week, +2d for every two days, etc. For example,
<2007-05-16 Wed 12:30 +1w>
will apply to every Wednesday, starting from the date given.
I believe this syntax was actually suggested by someone on
the mailing list, but I cannot find the email back. To
collect your credit, let me know!
- You can use an sexp diary entry (with the syntax used by the
Emacs calendar/diary) in a time stamp, like this:
*** The nerd club meets on 2nd Thursday of every month
<%%(diary-float t 4 2)>
- You can put diary-style sexp entries directly into an
org-mode file, where they will be interpreted just like they
would in the diary. For example
* Birthdays and similar stuff
#+CATEGORY: Holiday
%%(org-calendar-holiday) ; special function for holiday names
#+CATEGORY: Ann
%%(diary-anniversary 14 5 1956) Artur Dent %d is years old
%%(diary-anniversary 2 10 1869) Mahatma Gandhi
These entries must start at column 0 to be evaluated.
It turns out that evaluating the entries in an org-mode file
is actually faster than in the diary itself, because using
the diary has some overhead (creating fancy diary display,
then reading and re-interpreting the entries). I have moved
all the sexp entries from my diary into an org-mode file,
put in a few categories, and then turned off
`org-agenda-include-diary'. This has led to a noticeably
faster agenda display.
- New command `org-replace-region-by-html' that converts the
current region from org-mode syntax into HTML. For example,
you might write an itemized list in plain text in an HTML
buffer, and then invoke this command to convert it. Thanks
to Raman for this idea.
- When inserting a link with `C-c C-l', completion will now
fill in all valid link prefixes, like http or ftp, but also
link abbreviation prefixes. This is based on an idea by
Bastien.
- Highest, lowest, and default priority can be set on a
per-file basis with #+PRIORITIES: H L D
For example, to use priorities from 1 to 9, you could use
#+PRIORITIES: 1 9 9
Thanks to Dmitri Minaev for a patch to this effect.
- iCalendar export now honors (i.e. skips) subtrees marked as
ARCHIVE, COMMENT, or QUOTE.
- There is a new command to add or change the emphasis (like
bold or italic) of a piece of text. For lack of better
available keys the command is at `C-c C-x C-f', but you may
well want to choose a more convenient key like `C-c f' in
your private setup:
(add-hook 'org-load-hook
(lambda () (define-key org-mode-map "\C-cf" 'org-emphasize)))
The command will prompt for an emphasis type, and you may
reply either with the marker that triggers the emphasis, or
with the first letter of the corresponding HTML tag. For
example, to select italic, press either "/" or "i".
If there is an active region, the emphasis of this region
will be set or changed. If there is no region, only the
emphasis markers will be inserted and the cursor positioned
between them. Thanks to Bastien for proposing this feature.
- Bug fixes, everything where I have replied "fixed" on the
mailing list. Thanks to all of you for keeping these reports
coming.
<
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Org-mode version 4.75
2007-05-25 15:43 Org-mode version 4.75 Carsten Dominik
@ 2007-05-25 17:59 ` Leo
2007-05-29 7:27 ` Carsten Dominik
2007-05-26 12:58 ` Bastien
2007-05-28 6:52 ` Ruslan Kosolapov
2 siblings, 1 reply; 10+ messages in thread
From: Leo @ 2007-05-25 17:59 UTC (permalink / raw)
To: emacs-orgmode
----- Carsten Dominik (2007-05-25) wrote:-----
> I have released org-mode version 4.75 at
>
> http://www.astro.uva.nl/~dominik/Tools/org
>
> Enjoy!
>
> - Carsten
Thank you for the gift.
Emacs trunk has been open for new development so it might be good idea
to put org.el there for more testing.
Regards,
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Org-mode version 4.75
2007-05-25 15:43 Org-mode version 4.75 Carsten Dominik
2007-05-25 17:59 ` Leo
@ 2007-05-26 12:58 ` Bastien
2007-05-29 6:14 ` Carsten Dominik
2007-05-28 6:52 ` Ruslan Kosolapov
2 siblings, 1 reply; 10+ messages in thread
From: Bastien @ 2007-05-26 12:58 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1687 bytes --]
Carsten Dominik <dominik@science.uva.nl> writes:
> I have released org-mode version 4.75 at
> http://www.astro.uva.nl/~dominik/Tools/org
> Enjoy!
I did! Thanks very much.
> - When inserting a link with `C-c C-l', completion will now fill in
> all valid link prefixes, like http or ftp, but also link
> abbreviation prefixes. This is based on an idea by Bastien.
This is great stuff! A little concern though: i got used to access the
stored links by hitting the tab key after org-insert-link. Now the tab
key does the completion for prefixes (including abbreviated links), but
i had to explore a bit to guess that stored links where now accessible
through the history (with the <up> and <down> key). It's okay for me
like this, but maybe some people would prefer the previous behavior,
i.e. accessing stored links by completion with the tab key. Or maybe
a wild mix of both?
> - Highest, lowest, and default priority can be set on a per-file
> basis with #+PRIORITIES: H L D For example, to use priorities from 1
> to 9, you could use
>
> #+PRIORITIES: 1 9 9
I can't get it work. I tried to insert "#+PRIORITIES: A C B" at the end
of a minimal preambule, then to C-c C-c to refresh the buffer; here is a
backtrace in attachment.
> - iCalendar export now honors (i.e. skips) subtrees marked as
> ARCHIVE, COMMENT, or QUOTE.
Just a thought: maybe that would be more consistent to put "ARCHIVE" as
a special keyword (*before* the headline, like QUOTE or COMMENT) and not
as a tag?
> - There is a new command to add or change the emphasis (like bold or
> italic) of a piece of text.
The interface is really very nice, thanks for implementing this!
[-- Attachment #2: org-priority_backtrace.txt --]
[-- Type: text/plain, Size: 12644 bytes --]
Debugger entered--Lisp error: (wrong-type-argument arrayp 65)
aref(65 0)
(org-set-local (quote org-highest-priority) (aref (nth 0 prio) 0))
(progn (if (< ... 3) (setq prio ...)) (setq prio (mapcar ... prio)) (org-set-local (quote org-highest-priority) (aref ... 0)) (org-set-local (quote org-lowest-priority) (aref ... 0)) (org-set-local (quote org-default-priority) (aref ... 0)))
(if prio (progn (if ... ...) (setq prio ...) (org-set-local ... ...) (org-set-local ... ...) (org-set-local ... ...)))
(when prio (if (< ... 3) (setq prio ...)) (setq prio (mapcar ... prio)) (org-set-local (quote org-highest-priority) (aref ... 0)) (org-set-local (quote org-lowest-priority) (aref ... 0)) (org-set-local (quote org-default-priority) (aref ... 0)))
(let ((re ...) (splitre "[ ]+") kwds key value cat arch tags links hw dws tail sep kws1 prio) (save-excursion (save-restriction ... ... ...)) (and cat (org-set-local ... cat)) (when prio (if ... ...) (setq prio ...) (org-set-local ... ...) (org-set-local ... ...) (org-set-local ... ...)) (and arch (org-set-local ... arch)) (and links (setq org-link-abbrev-alist-local ...)) (unless kwds (setq kwds ...) (if ... ...) (setq kwds ...)) (setq kwds (nreverse kwds)) (let (inter kws) (while ... ... ... ... ... ... ...) (setq org-todo-sets ... org-todo-kwd-alist ...)) (when tags (let ... ... ... ...)))
(progn (org-set-local (quote org-todo-kwd-alist) nil) (org-set-local (quote org-todo-keywords-1) nil) (org-set-local (quote org-done-keywords) nil) (org-set-local (quote org-todo-heads) nil) (org-set-local (quote org-todo-sets) nil) (let (... ... kwds key value cat arch tags links hw dws tail sep kws1 prio) (save-excursion ...) (and cat ...) (when prio ... ... ... ... ...) (and arch ...) (and links ...) (unless kwds ... ... ...) (setq kwds ...) (let ... ... ...) (when tags ...)) (if (not org-done-keywords) (setq org-done-keywords ...)) (setq org-ds-keyword-length (+ 2 ...) org-not-done-keywords (org-delete-all org-done-keywords ...) org-todo-regexp (concat "\\<\\(" ... "\\)\\>") org-not-done-regexp (concat "\\<\\(" ... "\\)\\>") org-todo-line-regexp (concat "^\\(\\*+\\)[ ]*\\(?:\\(" ... "\\)\\>\\)? *\\(.*\\)") org-nl-done-regexp (concat "[\r\n]\\*+[ ]+" "\\(?:" ... "\\)" "\\>") org-todo-line-tags-regexp (concat "^\\(\\*+\\)[ ]*\\(?:\\(" ... "\\)\\>\\)? *\\(.*?\\([ ]:[a-zA-Z0-9:_@]+:[ ]*\\)?$\\)") org-looking-at-done-regexp (concat "^" "\\(?:" ... "\\)" "\\>") org-deadline-regexp (concat "\\<" org-deadline-string) org-deadline-time-regexp (concat "\\<" org-deadline-string " *<\\([^>]+\\)>") org-deadline-line-regexp (concat "\\<\\(" org-deadline-string "\\).*") org-scheduled-regexp (concat "\\<" org-scheduled-string) org-scheduled-time-regexp (concat "\\<" org-scheduled-string " *<\\([^>]+\\)>") org-closed-time-regexp (concat "\\<" org-closed-string " *\\[\\([^]]+\\)\\]") org-keyword-time-regexp (concat "\\<\\(" org-scheduled-string "\\|" org-deadline-string "\\|" org-closed-string "\\|" org-clock-string "\\)" " *[[<]\\([^]>]+\\)[]>]") org-keyword-time-not-clock-regexp (concat "\\<\\(" org-scheduled-string "\\|" org-deadline-string "\\|" org-closed-string "\\)" " *[[<]\\([^]>]+\\)[]>]") org-maybe-keyword-time-regexp (concat "\\(\\<\\(" org-scheduled-string "\\|" org-deadline-string "\\|" org-closed-string "\\|" org-clock-string "\\)\\)?" " *\\([[<][0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [^]\r\n>]*?[]>]\\|<%%([^\r\n>]*>\\)") org-planning-or-clock-line-re (concat "\\(?:^[ ]*\\(" org-scheduled-string "\\|" org-deadline-string "\\|" org-closed-string "\\|" org-clock-string "\\)\\>\\)")) (org-set-font-lock-defaults))
(if (org-mode-p) (progn (org-set-local ... nil) (org-set-local ... nil) (org-set-local ... nil) (org-set-local ... nil) (org-set-local ... nil) (let ... ... ... ... ... ... ... ... ... ...) (if ... ...) (setq org-ds-keyword-length ... org-not-done-keywords ... org-todo-regexp ... org-not-done-regexp ... org-todo-line-regexp ... org-nl-done-regexp ... org-todo-line-tags-regexp ... org-looking-at-done-regexp ... org-deadline-regexp ... org-deadline-time-regexp ... org-deadline-line-regexp ... org-scheduled-regexp ... org-scheduled-time-regexp ... org-closed-time-regexp ... org-keyword-time-regexp ... org-keyword-time-not-clock-regexp ... org-maybe-keyword-time-regexp ... org-planning-or-clock-line-re ...) (org-set-font-lock-defaults)))
(when (org-mode-p) (org-set-local (quote org-todo-kwd-alist) nil) (org-set-local (quote org-todo-keywords-1) nil) (org-set-local (quote org-done-keywords) nil) (org-set-local (quote org-todo-heads) nil) (org-set-local (quote org-todo-sets) nil) (let (... ... kwds key value cat arch tags links hw dws tail sep kws1 prio) (save-excursion ...) (and cat ...) (when prio ... ... ... ... ...) (and arch ...) (and links ...) (unless kwds ... ... ...) (setq kwds ...) (let ... ... ...) (when tags ...)) (if (not org-done-keywords) (setq org-done-keywords ...)) (setq org-ds-keyword-length (+ 2 ...) org-not-done-keywords (org-delete-all org-done-keywords ...) org-todo-regexp (concat "\\<\\(" ... "\\)\\>") org-not-done-regexp (concat "\\<\\(" ... "\\)\\>") org-todo-line-regexp (concat "^\\(\\*+\\)[ ]*\\(?:\\(" ... "\\)\\>\\)? *\\(.*\\)") org-nl-done-regexp (concat "[\r\n]\\*+[ ]+" "\\(?:" ... "\\)" "\\>") org-todo-line-tags-regexp (concat "^\\(\\*+\\)[ ]*\\(?:\\(" ... "\\)\\>\\)? *\\(.*?\\([ ]:[a-zA-Z0-9:_@]+:[ ]*\\)?$\\)") org-looking-at-done-regexp (concat "^" "\\(?:" ... "\\)" "\\>") org-deadline-regexp (concat "\\<" org-deadline-string) org-deadline-time-regexp (concat "\\<" org-deadline-string " *<\\([^>]+\\)>") org-deadline-line-regexp (concat "\\<\\(" org-deadline-string "\\).*") org-scheduled-regexp (concat "\\<" org-scheduled-string) org-scheduled-time-regexp (concat "\\<" org-scheduled-string " *<\\([^>]+\\)>") org-closed-time-regexp (concat "\\<" org-closed-string " *\\[\\([^]]+\\)\\]") org-keyword-time-regexp (concat "\\<\\(" org-scheduled-string "\\|" org-deadline-string "\\|" org-closed-string "\\|" org-clock-string "\\)" " *[[<]\\([^]>]+\\)[]>]") org-keyword-time-not-clock-regexp (concat "\\<\\(" org-scheduled-string "\\|" org-deadline-string "\\|" org-closed-string "\\)" " *[[<]\\([^]>]+\\)[]>]") org-maybe-keyword-time-regexp (concat "\\(\\<\\(" org-scheduled-string "\\|" org-deadline-string "\\|" org-closed-string "\\|" org-clock-string "\\)\\)?" " *\\([[<][0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [^]\r\n>]*?[]>]\\|<%%([^\r\n>]*>\\)") org-planning-or-clock-line-re (concat "\\(?:^[ ]*\\(" org-scheduled-string "\\|" org-deadline-string "\\|" org-closed-string "\\|" org-clock-string "\\)\\>\\)")) (org-set-font-lock-defaults))
org-set-regexps-and-options()
(let ((delay-mode-hooks t)) (outline-mode) (setq major-mode (quote org-mode)) (setq mode-name "Org") (progn (if ... ...) (unless ... ...) (let ... ...)) (use-local-map org-mode-map) (set-syntax-table org-mode-syntax-table) (setq local-abbrev-table org-mode-abbrev-table) (if (featurep ...) (when ... ... ... ...) (define-key org-mode-map [menu-bar headings] ...) (define-key org-mode-map [menu-bar hide] ...) (define-key org-mode-map [menu-bar show] ...)) (easy-menu-add org-org-menu) (easy-menu-add org-tbl-menu) (org-install-agenda-files-menu) (if org-descriptive-links (org-add-to-invisibility-spec ...)) (org-add-to-invisibility-spec (quote ...)) (when (featurep ...) (org-set-local ... t)) (setq outline-regexp "\\*+") (setq outline-level (quote org-outline-level)) (when (and org-ellipsis ... ... ...) (unless org-display-table ...) (set-display-table-slot org-display-table 4 ...) (setq buffer-display-table org-display-table)) (org-set-regexps-and-options) (org-set-local (quote calc-embedded-open-mode) "# ") (modify-syntax-entry 35 "<") (modify-syntax-entry 64 "w") (if org-startup-truncated (setq truncate-lines t)) (org-set-local (quote font-lock-unfontify-region-function) (quote org-unfontify-region)) (org-set-local (quote org-table-may-need-update) t) (org-add-hook (quote before-change-functions) (quote org-before-change-function) nil (quote local)) (org-add-hook (quote kill-buffer-hook) (quote org-check-running-clock) nil (quote local)) (org-set-autofill-regexps) (setq indent-line-function (quote org-indent-line-function)) (org-update-radio-target-regexp) (org-set-local (quote comment-padding) " ") (if (or ... ...) (org-add-hook ... ... ... ...) (org-set-local ... ...)) (if (and org-insert-mode-line-in-empty-file ... ...) (insert "# -*- mode: org -*-\n\n")) (unless org-inhibit-startup (when org-startup-align-all-tables ...) (cond ... ...)))
(progn (make-local-variable (quote delay-mode-hooks)) (let (...) (outline-mode) (setq major-mode ...) (setq mode-name "Org") (progn ... ... ...) (use-local-map org-mode-map) (set-syntax-table org-mode-syntax-table) (setq local-abbrev-table org-mode-abbrev-table) (if ... ... ... ... ...) (easy-menu-add org-org-menu) (easy-menu-add org-tbl-menu) (org-install-agenda-files-menu) (if org-descriptive-links ...) (org-add-to-invisibility-spec ...) (when ... ...) (setq outline-regexp "\\*+") (setq outline-level ...) (when ... ... ... ...) (org-set-regexps-and-options) (org-set-local ... "# ") (modify-syntax-entry 35 "<") (modify-syntax-entry 64 "w") (if org-startup-truncated ...) (org-set-local ... ...) (org-set-local ... t) (org-add-hook ... ... nil ...) (org-add-hook ... ... nil ...) (org-set-autofill-regexps) (setq indent-line-function ...) (org-update-radio-target-regexp) (org-set-local ... " ") (if ... ... ...) (if ... ...) (unless org-inhibit-startup ... ...)))
(delay-mode-hooks (outline-mode) (setq major-mode (quote org-mode)) (setq mode-name "Org") (progn (if ... ...) (unless ... ...) (let ... ...)) (use-local-map org-mode-map) (set-syntax-table org-mode-syntax-table) (setq local-abbrev-table org-mode-abbrev-table) (if (featurep ...) (when ... ... ... ...) (define-key org-mode-map [menu-bar headings] ...) (define-key org-mode-map [menu-bar hide] ...) (define-key org-mode-map [menu-bar show] ...)) (easy-menu-add org-org-menu) (easy-menu-add org-tbl-menu) (org-install-agenda-files-menu) (if org-descriptive-links (org-add-to-invisibility-spec ...)) (org-add-to-invisibility-spec (quote ...)) (when (featurep ...) (org-set-local ... t)) (setq outline-regexp "\\*+") (setq outline-level (quote org-outline-level)) (when (and org-ellipsis ... ... ...) (unless org-display-table ...) (set-display-table-slot org-display-table 4 ...) (setq buffer-display-table org-display-table)) (org-set-regexps-and-options) (org-set-local (quote calc-embedded-open-mode) "# ") (modify-syntax-entry 35 "<") (modify-syntax-entry 64 "w") (if org-startup-truncated (setq truncate-lines t)) (org-set-local (quote font-lock-unfontify-region-function) (quote org-unfontify-region)) (org-set-local (quote org-table-may-need-update) t) (org-add-hook (quote before-change-functions) (quote org-before-change-function) nil (quote local)) (org-add-hook (quote kill-buffer-hook) (quote org-check-running-clock) nil (quote local)) (org-set-autofill-regexps) (setq indent-line-function (quote org-indent-line-function)) (org-update-radio-target-regexp) (org-set-local (quote comment-padding) " ") (if (or ... ...) (org-add-hook ... ... ... ...) (org-set-local ... ...)) (if (and org-insert-mode-line-in-empty-file ... ...) (insert "# -*- mode: org -*-\n\n")) (unless org-inhibit-startup (when org-startup-align-all-tables ...) (cond ... ...)))
org-mode()
(let ((org-inhibit-startup t)) (org-mode))
org-mode-restart()
call-interactively(org-mode-restart)
(cond ((equal ... "TBLFM") (save-excursion ... ... ...)) (t (call-interactively ...)))
(cond ((or org-clock-overlays org-occur-highlights org-latex-fragment-image-overlays) (org-remove-clock-overlays) (org-remove-occur-highlights) (org-remove-latex-fragment-image-overlays) (message "Temporary highlights/overlays removed from current buffer")) ((and ... ...) (funcall org-finish-function)) ((org-on-target-p) (call-interactively ...)) ((org-on-heading-p) (call-interactively ...)) ((org-at-table\.el-p) (require ...) (beginning-of-line 1) (re-search-forward "|" ...) (call-interactively ...)) ((org-at-table-p) (org-table-maybe-eval-formula) (if arg ... ...) (call-interactively ...)) ((org-at-item-checkbox-p) (call-interactively ...)) ((org-at-item-p) (call-interactively ...)) ((save-excursion ... ...) (cond ... ...)) (t (error "C-c C-c can do nothing useful at this location.")))
(let ((org-enable-table-editor t)) (cond (... ... ... ... ...) (... ...) (... ...) (... ...) (... ... ... ... ...) (... ... ... ...) (... ...) (... ...) (... ...) (t ...)))
org-ctrl-c-ctrl-c(nil)
call-interactively(org-ctrl-c-ctrl-c)
[-- Attachment #3: Type: text/plain, Size: 13 bytes --]
--
Bastien
[-- Attachment #4: Type: text/plain, Size: 149 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Org-mode version 4.75
2007-05-25 15:43 Org-mode version 4.75 Carsten Dominik
2007-05-25 17:59 ` Leo
2007-05-26 12:58 ` Bastien
@ 2007-05-28 6:52 ` Ruslan Kosolapov
2007-05-28 19:49 ` Carsten Dominik
2 siblings, 1 reply; 10+ messages in thread
From: Ruslan Kosolapov @ 2007-05-28 6:52 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
CD> I have released org-mode version 4.75 at
CD> http://www.astro.uva.nl/~dominik/Tools/org
[...]
CD> - Bug fixes, everything where I have replied "fixed" on the
CD> mailing list. Thanks to all of you for keeping these reports
CD> coming.
Some notes:
1. Function org-store-agenda-views works only after:
$ diff -u org.el.orig org.el
--- org.el.orig 2007-05-28 12:34:43.000000000 +0700
+++ org.el 2007-05-28 12:35:02.000000000 +0700
@@ -14531,7 +14531,7 @@
;;;###autoload
(defun org-store-agenda-views (&rest parameters)
(interactive)
- (funcall (intern "org-batch-store-agenda-views")))
+ (org-batch-store-agenda-views))
2. I think example of htmlize-output-type setting in documentation
http://staff.science.uva.nl/~dominik/Tools/org/org.html#Exporting-Agenda-Views()
should contain warning about supported output types of used
htmlize.el because default debian's htmlize.el have no support of
'inline-css and error message about it is unclear. Something like
"NOTE: check your htmlize.el about 'inline-css supporting". Or just
fix example to 'css instead of 'inline-css :)
3. I have some strange behaviour of agenda to html export, see
details below. Maybe yours words about absolute path using should be
in docs too :)
Details/rationale for some notes:
My message about problems in agenda to html export:
http://lists.gnu.org/archive/html/emacs-orgmode/2007-05/msg00091.html
Your answer (btw, thanx, specially about "nil" missing :) ):
http://lists.gnu.org/archive/html/emacs-orgmode/2007-05/msg00095.html
I downloaded 4.75 as
http://staff.science.uva.nl/~dominik/Tools/org/org-4.75.tar.gz and
try to live with it :)
--[ 1 ]--
At first, another problem appears (I have the same config, but with
fixed "nil"): when I press C-c a e (agenda to html export) error
raise:
Debugger entered--Lisp error: (invalid-function org-batch-store-agenda-views)
org-batch-store-agenda-views()
funcall(org-batch-store-agenda-views)
org-store-agenda-views()
org.el:
;;;###autoload
(defun org-store-agenda-views (&rest parameters)
(interactive)
(funcall (intern "org-batch-store-agenda-views")))
at this org-batch-store-agenda-views is a macro, not function:
;;;###autoload
(defmacro org-batch-store-agenda-views (&rest parameters)
http://www.gnu.org/software/emacs/elisp/html_node/Calling-Functions.html:
"The argument function must be either a Lisp function or a primitive
function. Special forms and macros are not allowed"
Diff sayd me than in 4.74 org-store-agenda-views was:
(defun org-store-agenda-views (&rest parameters)
(interactive)
(org-batch-store-agenda-views))
I don't know reasons of changes here - as far as I understand,
(funcall (intern "org-batch-store-agenda-views")) have the same sense
as (org-batch-store-agenda-views), so, I rollback changes at this
place to 4.74 version.
--[ 2 ]--
After this I got the same error with htmlize.el as I reported in
2007-05/msg00091.html.
On this error you sayd "You can prevent if for the time being by
loading htmlize before using the org stuff. Will be fixed in 4.75 as
well."
I tried to load htmlize before org-mode, but error was still here.
So, I tried to investigate this issue deeply.
My .emacs contains the following code:
(setq org-agenda-exporter-settings
'((htmlize-output-type 'inline-css)))
This code copied from
http://staff.science.uva.nl/~dominik/Tools/org/org.html#Exporting-Agenda-Views
But my htmlize.el supports only 'css and 'font as htmlize-output-type.
So, (htmlize-method doctype) returns nil, and all fails with
unclear error message. After change 'inline-css to 'css all works well :)
My htmlize.el version is 1.30, in debian sid htmlize.el placed in
emacs-goodies-el package, and version is 1.27 (and this htmlize.el
also supports only 'css and 'font). Latest version is 1.34, it really
supports inline-tss.
--[ 3 ]--
Ok, now it works. But something strange happens - some of generated
files placed in another directory. In your message to me
(2007-05/msg00095.html) you sayd "I strongly advise to use absolute
file names in org-agenda-custom-commands". I don't understand, why.
But now behaviour is the following:
1. I have seven views defined:
(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")) nil ("agenda+next.html"))
("c" agenda "" nil ("agenda-current.html"))
("I" "Ilnar tasks" ((tags "ilnar")) nil ("ilnar-tasks.html"))
("R" "rk tasks" ((tags "rk")) nil ("rk-tasks.html"))
))
2. when I export agenda to html, I get:
1. agenda-waiting.html in $ORG-FILE
2. agenda-next.html in $HOME
3. agenda-freezed.html in $ORG-FILE
4. agenda+next.html in $HOME
5. agenda-current.html in $ORG-FILE
6. ilnar-tasks.html in $HOME
7. rk-tasks.html in $ORG-FILE
where $HOME is my home directory, and
$ORG-FILE is directory where my .org-file placed.
So, as you can see, behaviour looks like directory is swapped on any
next file generation :)
It's strange :)
--
Ruslan Kosolapov
Plesk QA Department Second Manager
SWsoft, Inc.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Org-mode version 4.75
2007-05-28 6:52 ` Ruslan Kosolapov
@ 2007-05-28 19:49 ` Carsten Dominik
2007-05-30 3:47 ` Ruslan Kosolapov
0 siblings, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2007-05-28 19:49 UTC (permalink / raw)
To: Ruslan Kosolapov; +Cc: emacs-orgmode
Hi Ruslan,
thank you very much for your extensive and exemplary report.
On May 28, 2007, at 8:52, Ruslan Kosolapov wrote:
>
> 1. Function org-store-agenda-views works only after:
> $ diff -u org.el.orig org.el
> --- org.el.orig 2007-05-28 12:34:43.000000000 +0700
> +++ org.el 2007-05-28 12:35:02.000000000 +0700
> @@ -14531,7 +14531,7 @@
> ;;;###autoload
> (defun org-store-agenda-views (&rest parameters)
> (interactive)
> - (funcall (intern "org-batch-store-agenda-views")))
> + (org-batch-store-agenda-views))
If I do this, then I sometimes get problems during
byte compilation. I believe I have found another solution,
which will be in 4.76.
> 2. I think example of htmlize-output-type setting in documentation
>
> http://staff.science.uva.nl/~dominik/Tools/org/org.html#Exporting-
> Agenda-Views()
> should contain warning about supported output types of used
> htmlize.el because default debian's htmlize.el have no support of
> 'inline-css
I did not know this, so I have changed the eample to 'css,
consistent with your proposal.
> 3. I have some strange behaviour of agenda to html export, see
> details below. Maybe yours words about absolute path using should be
> in docs too :)
The sentence about absolute paths that I wrote in my reply
to your previous email was because I had seen the problem
with alternating directories myself and I did not have
a quick fix. I will have a solution in the next version.
Thanks again.
- Carsten
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Org-mode version 4.75
2007-05-26 12:58 ` Bastien
@ 2007-05-29 6:14 ` Carsten Dominik
0 siblings, 0 replies; 10+ messages in thread
From: Carsten Dominik @ 2007-05-29 6:14 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode
On May 26, 2007, at 14:58, Bastien wrote:
>
>> - When inserting a link with `C-c C-l', completion will now fill in
>> all valid link prefixes, like http or ftp, but also link
>> abbreviation prefixes. This is based on an idea by Bastien.
>
> This is great stuff! A little concern though: i got used to access the
> stored links by hitting the tab key after org-insert-link. Now the tab
> key does the completion for prefixes (including abbreviated links), but
> i had to explore a bit to guess that stored links where now accessible
> through the history (with the <up> and <down> key). It's okay for me
> like this, but maybe some people would prefer the previous behavior,
> i.e. accessing stored links by completion with the tab key. Or maybe
> a wild mix of both?
Using a mix of both will probably not work well, because the only
advantage of using TAB is that, if you have only a single stored
link, it will give you that link with a single key press. I have
always disliked the completion interface for selecting stored
links - it somehow does not work well when you have several links
stored. Your proposal was therefore a welcome opportunity to
change this.
I guess the main problem is that the prompt does not clearly say
how to get to the stored links.
If you want to get to the link stored most recently, just reply RET
to the link prompt, this is even faster than TAB RET.
>
>> - Highest, lowest, and default priority can be set on a per-file
>> basis with #+PRIORITIES: H L D For example, to use priorities from 1
>> to 9, you could use
>>
>> #+PRIORITIES: 1 9 9
>
> I can't get it work. I tried to insert "#+PRIORITIES: A C B" at the
> end
> of a minimal preambule, then to C-c C-c to refresh the buffer; here is
> a
> backtrace in attachment.
Fixed, thanks.
>
>> - iCalendar export now honors (i.e. skips) subtrees marked as
>> ARCHIVE, COMMENT, or QUOTE.
>
> Just a thought: maybe that would be more consistent to put "ARCHIVE" as
> a special keyword (*before* the headline, like QUOTE or COMMENT) and
> not
> as a tag?
Yes, that would also be an options - however, a tag works just fine,
so I'll leave it at that for now.
>
>> - There is a new command to add or change the emphasis (like bold or
>> italic) of a piece of text.
>
> The interface is really very nice, thanks for implementing this!
Sure!
- Carsten
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Re: Org-mode version 4.75
2007-05-25 17:59 ` Leo
@ 2007-05-29 7:27 ` Carsten Dominik
2007-05-29 8:23 ` Leo
0 siblings, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2007-05-29 7:27 UTC (permalink / raw)
To: Leo; +Cc: emacs-orgmode
On May 25, 2007, at 19:59, Leo wrote:
>
> Emacs trunk has been open for new development so it might be good idea
> to put org.el there for more testing.
Yes. I am waiting for David and Piotr to send me updated
versions of org-publish and org-mouse, because these will
now finally be installed into the Emacs CVS tree as well.
- Carsten
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Org-mode version 4.75
2007-05-29 7:27 ` Carsten Dominik
@ 2007-05-29 8:23 ` Leo
0 siblings, 0 replies; 10+ messages in thread
From: Leo @ 2007-05-29 8:23 UTC (permalink / raw)
To: emacs-orgmode
----- Carsten Dominik (2007-05-29) wrote:-----
> On May 25, 2007, at 19:59, Leo wrote:
>
>>
>> Emacs trunk has been open for new development so it might be good idea
>> to put org.el there for more testing.
>
> Yes. I am waiting for David and Piotr to send me updated
> versions of org-publish and org-mouse, because these will
> now finally be installed into the Emacs CVS tree as well.
>
> - Carsten
I see. Thanks.
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Org-mode version 4.75
2007-05-28 19:49 ` Carsten Dominik
@ 2007-05-30 3:47 ` Ruslan Kosolapov
2007-05-30 4:29 ` Carsten Dominik
0 siblings, 1 reply; 10+ messages in thread
From: Ruslan Kosolapov @ 2007-05-30 3:47 UTC (permalink / raw)
To: emacs-orgmode
>> 1. Function org-store-agenda-views works only after:
>> $ diff -u org.el.orig org.el
>> --- org.el.orig 2007-05-28 12:34:43.000000000 +0700
>> +++ org.el 2007-05-28 12:35:02.000000000 +0700
>> @@ -14531,7 +14531,7 @@
>> ;;;###autoload
>> (defun org-store-agenda-views (&rest parameters)
>> (interactive)
>> - (funcall (intern "org-batch-store-agenda-views")))
>> + (org-batch-store-agenda-views))
CD> If I do this, then I sometimes get problems during byte
CD> compilation.
Wow %-)
I don't understand how it possible. Maybe this is a bug in emacs?
btw, my emacs (22.0.95.1, emacs-snapshot-20070303) compile org.el
with warning:
In org-get-entries-from-diary:
org.el:15439:10:Warning: `list-diary-entries' is an obsolete function;
use `diary-list-entries' instead
--
Ruslan Kosolapov
Plesk QA Department Second Manager
SWsoft, Inc.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Org-mode version 4.75
2007-05-30 3:47 ` Ruslan Kosolapov
@ 2007-05-30 4:29 ` Carsten Dominik
0 siblings, 0 replies; 10+ messages in thread
From: Carsten Dominik @ 2007-05-30 4:29 UTC (permalink / raw)
To: Ruslan Kosolapov; +Cc: emacs-orgmode
On May 30, 2007, at 5:47, Ruslan Kosolapov wrote:
>
>>> 1. Function org-store-agenda-views works only after:
>>> $ diff -u org.el.orig org.el
>>> --- org.el.orig 2007-05-28 12:34:43.000000000 +0700
>>> +++ org.el 2007-05-28 12:35:02.000000000 +0700
>>> @@ -14531,7 +14531,7 @@
>>> ;;;###autoload
>>> (defun org-store-agenda-views (&rest parameters)
>>> (interactive)
>>> - (funcall (intern "org-batch-store-agenda-views")))
>>> + (org-batch-store-agenda-views))
> CD> If I do this, then I sometimes get problems during byte
> CD> compilation.
>
> Wow %-)
> I don't understand how it possible. Maybe this is a bug in emacs?
No. org-batch-store-agenda-views is a macro, and when it is defined at
the moment of byte compilation, it will be *evaluated* at byte
compilation. I must be doing something stupid, don't know exactly why.
>
> btw, my emacs (22.0.95.1, emacs-snapshot-20070303) compile org.el
> with warning:
>
> In org-get-entries-from-diary:
> org.el:15439:10:Warning: `list-diary-entries' is an obsolete function;
> use `diary-list-entries' instead
Yes. In XEmacs, diary-list-entries does not exist, so I am using the
obsolete name to fit both Emacs dialects.
- Carsten
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-05-30 4:29 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-25 15:43 Org-mode version 4.75 Carsten Dominik
2007-05-25 17:59 ` Leo
2007-05-29 7:27 ` Carsten Dominik
2007-05-29 8:23 ` Leo
2007-05-26 12:58 ` Bastien
2007-05-29 6:14 ` Carsten Dominik
2007-05-28 6:52 ` Ruslan Kosolapov
2007-05-28 19:49 ` Carsten Dominik
2007-05-30 3:47 ` Ruslan Kosolapov
2007-05-30 4:29 ` 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).