emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem with autoloads
@ 2011-06-26 20:14 suvayu ali
  2011-06-27 16:51 ` Michael Markert
  0 siblings, 1 reply; 460+ messages in thread
From: suvayu ali @ 2011-06-26 20:14 UTC (permalink / raw)
  To: org-mode mailing list

Hi,

After I updated yesterday I have been having this problem. This is how
I compile:

$ make cleanall && make all

and I load org from my init file like this:

;; the org repo is at ~/build/org-mode
(add-to-list 'load-path (expand-file-name "~/build/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name "~/build/org-mode/contrib/lisp"))

(require 'org-install)

Now every time something needs to be loaded say org-latex during latex export
or org-table when turning on orgtbl minor mode, I get errors like these:

(file-error "Cannot open load file" "lisp/org")

I see lisp/org-install.el has autoloads like these:

(autoload 'org-mode "lisp/org" ...)

I have faced this once earlier, not sure how I resolved it back then. What am
I doing wrong here?

--
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 460+ messages in thread
* [new exporter] ignoring a headline on export to PDF via latex
@ 2013-03-05 14:43 Eric S Fraga
  2013-03-05 15:38 ` Suvayu Ali
  2013-03-05 22:41 ` Nicolas Goaziou
  0 siblings, 2 replies; 460+ messages in thread
From: Eric S Fraga @ 2013-03-05 14:43 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I used to use the following to ignore a headline when exporting to PDF:

#+begin_src emacs-lisp
(defun my-e-latex-headline (headline contents info)
  (if (member "ignoreheading" (org-element-property :tags headline)) contents
    (org-latex-headline headline contents info)))
(add-to-list 'org-latex-translate-alist '(headline . my-e-latex-headline))
#+end_src

With the new exporter, this no longer works.

On the mailing list, I found this thread from a couple of months ago:

http://comments.gmane.org/gmane.emacs.orgmode/62742

but I do not want to create a new backend just for this.  Is there an
equivalent solution to the above with the new exporter?  Nicolas, you do
imply that there is but you leave it as an exercise for the reader.  As
much as I appreciate the pedagogical nature of your response, this
reader is not up to the task and a solution would be greatly
appreciated!

Thanks,
eric

-- 
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)

^ permalink raw reply	[flat|nested] 460+ messages in thread
* How to improve Org startup time?
@ 2013-01-29 20:49 Sebastien Vauban
  2013-01-29 21:14 ` Daimrod
                   ` (3 more replies)
  0 siblings, 4 replies; 460+ messages in thread
From: Sebastien Vauban @ 2013-01-29 20:49 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

Please find here an enriched log of the packages which are loaded for Org, and
the time it takes.

--8<---------------cut here---------------start------------->8---
[2013-01-29 21:20:18] (info) +-> Requiring `appt'...
[2013-01-29 21:20:18] (info)   +-> Requiring `diary-lib'...
[2013-01-29 21:20:18] (info)     +-> Requiring `calendar'...
[2013-01-29 21:20:18] (info) Loading c:/Program Files (x86)/emacs-24.2.91/lisp/calendar/cal-loaddefs.el...
[2013-01-29 21:20:18] (info)       +-> Requiring `cal-menu'...
[2013-01-29 21:20:18] (info)         +-> Requiring `calendar'... already loaded
[2013-01-29 21:20:18] (info)       +-> Requiring `cal-menu'... c:/Program Files (x86)/emacs-24.2.91/lisp/calendar/cal-menu.elc (loaded in 0.08 s)
[2013-01-29 21:20:18] (info)     +-> Requiring `calendar'... c:/Program Files (x86)/emacs-24.2.91/lisp/calendar/calendar.elc (loaded in 0.33 s)
[2013-01-29 21:20:18] (info) Loading c:/Program Files (x86)/emacs-24.2.91/lisp/calendar/diary-loaddefs.el...
[2013-01-29 21:20:19] (info)   +-> Requiring `diary-lib'... c:/Program Files (x86)/emacs-24.2.91/lisp/calendar/diary-lib.elc (loaded in 0.55 s)
[2013-01-29 21:20:19] (info) +-> Requiring `appt'... c:/Program Files (x86)/emacs-24.2.91/lisp/calendar/appt.elc (loaded in 0.64 s)
[2013-01-29 21:20:19] (info) Enable appointment reminders...
[2013-01-29 21:20:19] Appointment reminders enabled (no diary file found)
[2013-01-29 21:20:19] (info) Enable appointment reminders... Done
[2013-01-29 21:20:19] (info) +-> Requiring `org-clock'...
[2013-01-29 21:20:19] (info)   +-> Requiring `org-exp'...
[2013-01-29 21:20:19] (info)     +-> Requiring `org'...
[2013-01-29 21:20:19] (info)       +-> Requiring `cl'... already loaded
[2013-01-29 21:20:19] (info)       +-> Requiring `gnus-sum'...
[2013-01-29 21:20:19] (info)         +-> Requiring `gnus'...
[2013-01-29 21:20:19] (info)           +-> Requiring `wid-edit'... c:/Program Files (x86)/emacs-24.2.91/lisp/wid-edit.elc (loaded in 0.08 s)
[2013-01-29 21:20:19] (info)           +-> Requiring `mm-util'...
[2013-01-29 21:20:19] (info)             +-> Requiring `mail-prsvr'... d:/home/sva/Public/Repositories/gnus/lisp/mail-prsvr.elc (loaded in 0.02 s)
[2013-01-29 21:20:19] (info)             +-> Requiring `timer'... already loaded
[2013-01-29 21:20:19] (info)           +-> Requiring `mm-util'... d:/home/sva/Public/Repositories/gnus/lisp/mm-util.elc (loaded in 0.14 s)
[2013-01-29 21:20:19] (info)           +-> Requiring `nnheader'...
[2013-01-29 21:20:19] (info)             +-> Requiring `mail-utils'... c:/Program Files (x86)/emacs-24.2.91/lisp/mail/mail-utils.elc (loaded in 0.05 s)
[2013-01-29 21:20:19] (info)             +-> Requiring `mm-util'... already loaded
[2013-01-29 21:20:19] (info)             +-> Requiring `gnus-util'...
[2013-01-29 21:20:19] (info)               +-> Requiring `time-date'... already loaded
[2013-01-29 21:20:19] (info)             +-> Requiring `gnus-util'... d:/home/sva/Public/Repositories/gnus/lisp/gnus-util.elc (loaded in 0.08 s)
[2013-01-29 21:20:19] (info)           +-> Requiring `nnheader'... d:/home/sva/Public/Repositories/gnus/lisp/nnheader.elc (loaded in 0.16 s)
[2013-01-29 21:20:19] (info)           +-> Requiring `gnus-compat'...
[2013-01-29 21:20:19] (info)             +-> Requiring `help-fns'... already loaded
[2013-01-29 21:20:19] (info)             +-> Requiring `url'...
[2013-01-29 21:20:19] (info)               +-> Requiring `mailcap'... d:/home/sva/Public/Repositories/gnus/lisp/mailcap.elc (loaded in 0.02 s)
[2013-01-29 21:20:19] (info)               +-> Requiring `url-vars'... c:/Program Files (x86)/emacs-24.2.91/lisp/url/url-vars.elc (loaded in 0.05 s)
[2013-01-29 21:20:19] (info)               +-> Requiring `url-cookie'...
[2013-01-29 21:20:19] (info)                 +-> Requiring `url-util'...
[2013-01-29 21:20:19] (info)                   +-> Requiring `url-parse'...
[2013-01-29 21:20:19] (info)                     +-> Requiring `url-vars'... already loaded
[2013-01-29 21:20:19] (info)                     +-> Requiring `auth-source'...
[2013-01-29 21:20:19] (info)                       +-> Requiring `password-cache'...
[2013-01-29 21:20:20] (info)                       +-> Requiring `password-cache'... d:/home/sva/Public/Repositories/gnus/lisp/password-cache.elc (loaded in 0.03 s)
[2013-01-29 21:20:20] (info)                       +-> Requiring `mm-util'... already loaded
[2013-01-29 21:20:20] (info)                       +-> Requiring `gnus-util'... already loaded
[2013-01-29 21:20:20] (info)                       +-> Requiring `eieio'...
[2013-01-29 21:20:20] (info)                         +-> Requiring `bytecomp'...
[2013-01-29 21:20:20] (info)                           +-> Requiring `backquote'... already loaded
[2013-01-29 21:20:20] (info)                           +-> Requiring `macroexp'... already loaded
[2013-01-29 21:20:20] (info)                           +-> Requiring `cconv'... c:/Program Files (x86)/emacs-24.2.91/lisp/emacs-lisp/cconv.elc (loaded in 0.05 s)
[2013-01-29 21:20:20] (info)                         +-> Requiring `bytecomp'... already loaded
[2013-01-29 21:20:20] (info)                         +-> Requiring `macroexp'... already loaded
[2013-01-29 21:20:20] (info)                         +-> Requiring `bytecomp'... already loaded [9 times]
[2013-01-29 21:20:20] (info)                       +-> Requiring `eieio'... c:/Program Files (x86)/emacs-24.2.91/lisp/emacs-lisp/eieio.elc (loaded in 0.45 s)
[2013-01-29 21:20:20] (info)                     +-> Requiring `auth-source'... d:/home/sva/Public/Repositories/gnus/lisp/auth-source.elc (loaded in 0.56 s)
[2013-01-29 21:20:20] (info)                   +-> Requiring `url-parse'... c:/Program Files (x86)/emacs-24.2.91/lisp/url/url-parse.elc (loaded in 0.67 s)
[2013-01-29 21:20:20] (info)                   +-> Requiring `url-vars'... already loaded
[2013-01-29 21:20:20] (info)                 +-> Requiring `url-util'... c:/Program Files (x86)/emacs-24.2.91/lisp/url/url-util.elc (loaded in 0.73 s)
[2013-01-29 21:20:20] (info)                 +-> Requiring `url-parse'... already loaded
[2013-01-29 21:20:20] (info)                 +-> Requiring `url-domsuf'... c:/Program Files (x86)/emacs-24.2.91/lisp/url/url-domsuf.elc (loaded in 0.03 s)
[2013-01-29 21:20:20] (info)               +-> Requiring `url-cookie'... c:/Program Files (x86)/emacs-24.2.91/lisp/url/url-cookie.elc (loaded in 0.83 s)
[2013-01-29 21:20:20] (info)               +-> Requiring `url-history'...
[2013-01-29 21:20:20] (info)                 +-> Requiring `url-parse'... already loaded
[2013-01-29 21:20:20] (info)               +-> Requiring `url-history'... c:/Program Files (x86)/emacs-24.2.91/lisp/url/url-history.elc (loaded in 0.05 s)
[2013-01-29 21:20:20] (info)               +-> Requiring `url-expand'...
[2013-01-29 21:20:20] (info)                 +-> Requiring `url-methods'...
[2013-01-29 21:20:20] (info)                   +-> Requiring `url-parse'... already loaded
[2013-01-29 21:20:20] (info)                 +-> Requiring `url-methods'... c:/Program Files (x86)/emacs-24.2.91/lisp/url/url-methods.elc (loaded in 0.03 s)
[2013-01-29 21:20:20] (info)                 +-> Requiring `url-util'... already loaded
[2013-01-29 21:20:20] (info)                 +-> Requiring `url-parse'... already loaded
[2013-01-29 21:20:20] (info)               +-> Requiring `url-expand'... c:/Program Files (x86)/emacs-24.2.91/lisp/url/url-expand.elc (loaded in 0.13 s)
[2013-01-29 21:20:20] (info)               +-> Requiring `url-privacy'...
[2013-01-29 21:20:20] (info)                 +-> Requiring `url-vars'... already loaded
[2013-01-29 21:20:20] (info)               +-> Requiring `url-privacy'... c:/Program Files (x86)/emacs-24.2.91/lisp/url/url-privacy.elc (loaded in 0.05 s)
[2013-01-29 21:20:20] (info)               +-> Requiring `url-methods'... already loaded
[2013-01-29 21:20:21] (info)               +-> Requiring `url-proxy'...
[2013-01-29 21:20:21] (info)                 +-> Requiring `url-parse'... already loaded
[2013-01-29 21:20:21] (info)               +-> Requiring `url-proxy'... c:/Program Files (x86)/emacs-24.2.91/lisp/url/url-proxy.elc (loaded in 0.03 s)
[2013-01-29 21:20:21] (info)               +-> Requiring `url-parse'... already loaded
[2013-01-29 21:20:21] (info)               +-> Requiring `url-util'... already loaded
[2013-01-29 21:20:21] (info)             +-> Requiring `url'... c:/Program Files (x86)/emacs-24.2.91/lisp/url/url.elc (loaded in 1.34 s)
[2013-01-29 21:20:21] (info)           +-> Requiring `gnus-compat'... d:/home/sva/Public/Repositories/gnus/lisp/gnus-compat.elc (loaded in 1.38 s)
[2013-01-29 21:20:21] (info)           +-> Requiring `gnus-util'... already loaded
[2013-01-29 21:20:21] (info)           +-> Requiring `nnheader'... already loaded
[2013-01-29 21:20:21] (info)           +-> Requiring `gnus-ems'... d:/home/sva/Public/Repositories/gnus/lisp/gnus-ems.elc (loaded in 0.05 s)
[2013-01-29 21:20:21] (info)         +-> Requiring `gnus'... d:/home/sva/Public/Repositories/gnus/lisp/gnus.elc (loaded in 1.98 s)
[2013-01-29 21:20:21] (info)         +-> Requiring `gnus-group'...
[2013-01-29 21:20:21] (info)           +-> Requiring `gnus'... already loaded
[2013-01-29 21:20:21] (info)           +-> Requiring `gnus-start'...
[2013-01-29 21:20:21] (info)             +-> Requiring `gnus'... already loaded
[2013-01-29 21:20:21] (info)             +-> Requiring `gnus-win'...
[2013-01-29 21:20:21] (info)               +-> Requiring `gnus'... already loaded
[2013-01-29 21:20:21] (info)               +-> Requiring `gnus-util'... already loaded
[2013-01-29 21:20:21] (info)             +-> Requiring `gnus-win'... d:/home/sva/Public/Repositories/gnus/lisp/gnus-win.elc (loaded in 0.03 s)
[2013-01-29 21:20:21] (info)             +-> Requiring `gnus-int'...
[2013-01-29 21:20:21] (info)               +-> Requiring `gnus'... already loaded
[2013-01-29 21:20:21] (info)               +-> Requiring `message'...
[2013-01-29 21:20:21] (info)                 +-> Requiring `mailheader'... c:/Program Files (x86)/emacs-24.2.91/lisp/mail/mailheader.elc (loaded in 0.09 s)
[2013-01-29 21:20:21] (info)                 +-> Requiring `gmm-utils'... d:/home/sva/Public/Repositories/gnus/lisp/gmm-utils.elc (loaded in 0.03 s)
[2013-01-29 21:20:21] (info)                 +-> Requiring `mail-utils'... already loaded
[2013-01-29 21:20:21] (info)                 +-> Requiring `mailabbrev'... c:/Program Files (x86)/emacs-24.2.91/lisp/mail/mailabbrev.elc (loaded in 0.06 s)
[2013-01-29 21:20:21] (info)                 +-> Requiring `mail-parse'...
[2013-01-29 21:20:21] (info)                   +-> Requiring `mail-prsvr'... already loaded
[2013-01-29 21:20:21] (info)                   +-> Requiring `ietf-drums'...
[2013-01-29 21:20:21] (info)                     +-> Requiring `mm-util'... already loaded
[2013-01-29 21:20:21] (info)                   +-> Requiring `ietf-drums'... d:/home/sva/Public/Repositories/gnus/lisp/ietf-drums.elc (loaded in 0.03 s)
[2013-01-29 21:20:21] (info)                   +-> Requiring `rfc2231'...
[2013-01-29 21:20:21] (info)                     +-> Requiring `ietf-drums'... already loaded
[2013-01-29 21:20:21] (info)                     +-> Requiring `rfc2047'...
[2013-01-29 21:20:21] (info)                       +-> Requiring `mm-util'... already loaded
[2013-01-29 21:20:21] (info)                       +-> Requiring `ietf-drums'... already loaded
[2013-01-29 21:20:21] (info)                       +-> Requiring `mail-prsvr'... already loaded
[2013-01-29 21:20:21] (info)                       +-> Requiring `rfc2045'...
[2013-01-29 21:20:21] (info)                         +-> Requiring `ietf-drums'... already loaded
[2013-01-29 21:20:21] (info)                       +-> Requiring `rfc2045'... d:/home/sva/Public/Repositories/gnus/lisp/rfc2045.elc (loaded in 0.03 s)
[2013-01-29 21:20:21] (info)                     +-> Requiring `rfc2047'... d:/home/sva/Public/Repositories/gnus/lisp/rfc2047.elc (loaded in 0.11 s)
[2013-01-29 21:20:21] (info)                   +-> Requiring `rfc2231'... d:/home/sva/Public/Repositories/gnus/lisp/rfc2231.elc (loaded in 0.14 s)
[2013-01-29 21:20:21] (info)                   +-> Requiring `rfc2047'... already loaded
[2013-01-29 21:20:21] (info)                   +-> Requiring `rfc2045'... already loaded
[2013-01-29 21:20:21] (info)                 +-> Requiring `mail-parse'... d:/home/sva/Public/Repositories/gnus/lisp/mail-parse.elc (loaded in 0.20 s)
[2013-01-29 21:20:21] (info)                 +-> Requiring `mml'...
[2013-01-29 21:20:21] (info)                   +-> Requiring `mm-util'... already loaded
[2013-01-29 21:20:21] (info)                   +-> Requiring `mm-bodies'...
[2013-01-29 21:20:21] (info)                     +-> Requiring `mm-util'... already loaded
[2013-01-29 21:20:21] (info)                     +-> Requiring `rfc2047'... already loaded
[2013-01-29 21:20:21] (info)                     +-> Requiring `mm-encode'...
[2013-01-29 21:20:21] (info)                       +-> Requiring `mail-parse'... already loaded
[2013-01-29 21:20:21] (info)                     +-> Requiring `mm-encode'... d:/home/sva/Public/Repositories/gnus/lisp/mm-encode.elc (loaded in 0.02 s)
[2013-01-29 21:20:21] (info)                   +-> Requiring `mm-bodies'... d:/home/sva/Public/Repositories/gnus/lisp/mm-bodies.elc (loaded in 0.06 s)
[2013-01-29 21:20:21] (info)                   +-> Requiring `mm-encode'... already loaded
[2013-01-29 21:20:21] (info)                   +-> Requiring `mm-decode'...
[2013-01-29 21:20:21] (info)                     +-> Requiring `mail-parse'... already loaded
[2013-01-29 21:20:21] (info)                     +-> Requiring `mm-bodies'... already loaded
[2013-01-29 21:20:22] (info)                   +-> Requiring `mm-decode'... d:/home/sva/Public/Repositories/gnus/lisp/mm-decode.elc (loaded in 0.08 s)
[2013-01-29 21:20:22] (info)                   +-> Requiring `mml-sec'... d:/home/sva/Public/Repositories/gnus/lisp/mml-sec.elc (loaded in 0.02 s)
[2013-01-29 21:20:22] (info)                 +-> Requiring `mml'... d:/home/sva/Public/Repositories/gnus/lisp/mml.elc (loaded in 0.23 s)
[2013-01-29 21:20:22] (info)                 +-> Requiring `rfc822'... c:/Program Files (x86)/emacs-24.2.91/lisp/mail/rfc822.elc (loaded in 0.05 s)
[2013-01-29 21:20:22] (info)                 +-> Requiring `format-spec'... d:/home/sva/Public/Repositories/gnus/lisp/format-spec.elc (loaded in 0.06 s)
[2013-01-29 21:20:22] (info)                 +-> Requiring `idna'...
[2013-01-29 21:20:22] (info)               +-> Requiring `message'... d:/home/sva/Public/Repositories/gnus/lisp/message.elc (loaded in 1.00 s)
[2013-01-29 21:20:22] (info)               +-> Requiring `gnus-range'... d:/home/sva/Public/Repositories/gnus/lisp/gnus-range.elc (loaded in 0.02 s)
[2013-01-29 21:20:22] (info)             +-> Requiring `gnus-int'... d:/home/sva/Public/Repositories/gnus/lisp/gnus-int.elc (loaded in 1.11 s)
[2013-01-29 21:20:22] (info)             +-> Requiring `gnus-spec'...
[2013-01-29 21:20:22] (info)               +-> Requiring `gnus'... already loaded
[2013-01-29 21:20:22] (info)             +-> Requiring `gnus-spec'... d:/home/sva/Public/Repositories/gnus/lisp/gnus-spec.elc (loaded in 0.03 s)
[2013-01-29 21:20:22] (info)             +-> Requiring `gnus-range'... already loaded
[2013-01-29 21:20:22] (info)             +-> Requiring `gnus-util'... already loaded
[2013-01-29 21:20:22] (info)           +-> Requiring `gnus-start'... d:/home/sva/Public/Repositories/gnus/lisp/gnus-start.elc (loaded in 1.27 s)
[2013-01-29 21:20:22] (info)           +-> Requiring `nnmail'...
[2013-01-29 21:20:22] (info)             +-> Requiring `gnus'... already loaded
[2013-01-29 21:20:22] (info)             +-> Requiring `nnheader'... already loaded
[2013-01-29 21:20:22] (info)             +-> Requiring `message'... already loaded
[2013-01-29 21:20:22] (info)             +-> Requiring `gnus-util'... already loaded
[2013-01-29 21:20:22] (info)             +-> Requiring `mail-source'...
[2013-01-29 21:20:22] (info)               +-> Requiring `format-spec'... already loaded
[2013-01-29 21:20:22] (info)               +-> Requiring `mm-util'... already loaded
[2013-01-29 21:20:22] (info)               +-> Requiring `message'... already loaded
[2013-01-29 21:20:22] (info)             +-> Requiring `mail-source'... d:/home/sva/Public/Repositories/gnus/lisp/mail-source.elc (loaded in 0.05 s)
[2013-01-29 21:20:22] (info)             +-> Requiring `mm-util'... already loaded
[2013-01-29 21:20:22] (info)             +-> Requiring `gnus-int'... already loaded
[2013-01-29 21:20:22] (info)           +-> Requiring `nnmail'... d:/home/sva/Public/Repositories/gnus/lisp/nnmail.elc (loaded in 0.14 s)
[2013-01-29 21:20:22] (info)           +-> Requiring `gnus-spec'... already loaded
[2013-01-29 21:20:22] (info)           +-> Requiring `gnus-int'... already loaded
[2013-01-29 21:20:22] (info)           +-> Requiring `gnus-range'... already loaded
[2013-01-29 21:20:22] (info)           +-> Requiring `gnus-win'... already loaded
[2013-01-29 21:20:22] (info)           +-> Requiring `gnus-undo'...
[2013-01-29 21:20:22] (info)             +-> Requiring `gnus-util'... already loaded
[2013-01-29 21:20:22] (info)             +-> Requiring `gnus'... already loaded
[2013-01-29 21:20:22] (info)           +-> Requiring `gnus-undo'... d:/home/sva/Public/Repositories/gnus/lisp/gnus-undo.elc (loaded in 0.03 s)
[2013-01-29 21:20:22] (info)           +-> Requiring `gmm-utils'... already loaded
[2013-01-29 21:20:22] (info)           +-> Requiring `time-date'... already loaded
[2013-01-29 21:20:22] (info)           +-> Requiring `gnus-ems'... already loaded
[2013-01-29 21:20:22] (info)         +-> Requiring `gnus-group'... d:/home/sva/Public/Repositories/gnus/lisp/gnus-group.elc (loaded in 1.61 s)
[2013-01-29 21:20:22] (info)         +-> Requiring `gnus-spec'... already loaded
[2013-01-29 21:20:22] (info)         +-> Requiring `gnus-range'... already loaded
[2013-01-29 21:20:22] (info)         +-> Requiring `gnus-int'... already loaded
[2013-01-29 21:20:22] (info)         +-> Requiring `gnus-undo'... already loaded
[2013-01-29 21:20:22] (info)         +-> Requiring `gnus-util'... already loaded
[2013-01-29 21:20:22] (info)         +-> Requiring `gmm-utils'... already loaded
[2013-01-29 21:20:22] (info)         +-> Requiring `mm-decode'... already loaded
[2013-01-29 21:20:22] (info)         +-> Requiring `nnoo'...
[2013-01-29 21:20:22] (info)           +-> Requiring `nnheader'... already loaded
[2013-01-29 21:20:22] (info)         +-> Requiring `nnoo'... d:/home/sva/Public/Repositories/gnus/lisp/nnoo.elc (loaded in 0.02 s)
[2013-01-29 21:20:23] (info)       +-> Requiring `gnus-sum'... d:/home/sva/Public/Repositories/gnus/lisp/gnus-sum.elc (loaded in 3.92 s)
[2013-01-29 21:20:23] (info)       +-> Requiring `calendar'... already loaded
[2013-01-29 21:20:23] (info)       +-> Requiring `find-func'... c:/Program Files (x86)/emacs-24.2.91/lisp/emacs-lisp/find-func.elc (loaded in 0.06 s)
[2013-01-29 21:20:23] (info)       +-> Requiring `format-spec'... already loaded
[2013-01-29 21:20:23] (info) Loading d:/home/sva/Public/Repositories/org-mode/lisp/org-loaddefs.el...
[2013-01-29 21:20:23] (info)       +-> Requiring `org-macs'... d:/home/sva/Public/Repositories/org-mode/lisp/org-macs.el (loaded in 0.03 s)
[2013-01-29 21:20:23] (info)       +-> Requiring `org-compat'...
[2013-01-29 21:20:23] (info)         +-> Requiring `cl'... already loaded
[2013-01-29 21:20:23] (info)         +-> Requiring `org-macs'... already loaded
[2013-01-29 21:20:23] (info)       +-> Requiring `org-compat'... d:/home/sva/Public/Repositories/org-mode/lisp/org-compat.el (loaded in 0.05 s)
[2013-01-29 21:20:23] (info)       +-> Requiring `ob-emacs-lisp'...
[2013-01-29 21:20:23] (info)         +-> Requiring `ob'...
[2013-01-29 21:20:23] (info)           +-> Requiring `ob-eval'...
[2013-01-29 21:20:23] (info)             +-> Requiring `cl'... already loaded
[2013-01-29 21:20:23] (info)           +-> Requiring `ob-eval'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-eval.el (loaded in 0.03 s)
[2013-01-29 21:20:23] (info)           +-> Requiring `ob-core'...
[2013-01-29 21:20:23] (info)             +-> Requiring `cl'... already loaded
[2013-01-29 21:20:23] (info)             +-> Requiring `ob-eval'... already loaded
[2013-01-29 21:20:23] (info)             +-> Requiring `org-macs'... already loaded
[2013-01-29 21:20:23] (info)             +-> Requiring `org-compat'... already loaded
[2013-01-29 21:20:23] (info)           +-> Requiring `ob-core'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-core.el (loaded in 0.19 s)
[2013-01-29 21:20:23] (info)           +-> Requiring `ob-comint'...
[2013-01-29 21:20:23] (info)             +-> Requiring `ob-core'... already loaded
[2013-01-29 21:20:23] (info)             +-> Requiring `org-compat'... already loaded
[2013-01-29 21:20:23] (info)             +-> Requiring `comint'...
[2013-01-29 21:20:23] (info)               +-> Requiring `ring'... c:/Program Files (x86)/emacs-24.2.91/lisp/emacs-lisp/ring.elc (loaded in 0.06 s)
[2013-01-29 21:20:23] (info)               +-> Requiring `ansi-color'... c:/Program Files (x86)/emacs-24.2.91/lisp/ansi-color.elc (loaded in 0.03 s)
[2013-01-29 21:20:24] (info)               +-> Requiring `regexp-opt'... already loaded
[2013-01-29 21:20:24] (info)             +-> Requiring `comint'... c:/Program Files (x86)/emacs-24.2.91/lisp/comint.elc (loaded in 0.20 s)
[2013-01-29 21:20:24] (info)             +-> Requiring `cl'... already loaded
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-comint'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-comint.el (loaded in 0.34 s)
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-exp'...
[2013-01-29 21:20:24] (info)             +-> Requiring `ob-core'... already loaded
[2013-01-29 21:20:24] (info)             +-> Requiring `cl'... already loaded
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-exp'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-exp.el (loaded in 0.03 s)
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-keys'...
[2013-01-29 21:20:24] (info)             +-> Requiring `ob-core'... already loaded
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-keys'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-keys.el (loaded in 0.03 s)
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-table'...
[2013-01-29 21:20:24] (info)             +-> Requiring `ob-core'... already loaded
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-table'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-table.el (loaded in 0.03 s)
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-lob'...
[2013-01-29 21:20:24] (info)             +-> Requiring `cl'... already loaded
[2013-01-29 21:20:24] (info)             +-> Requiring `ob-core'... already loaded
[2013-01-29 21:20:24] (info)             +-> Requiring `ob-table'... already loaded
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-lob'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-lob.el (loaded in 0.03 s)
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-ref'...
[2013-01-29 21:20:24] (info)             +-> Requiring `ob-core'... already loaded
[2013-01-29 21:20:24] (info)             +-> Requiring `cl'... already loaded
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-ref'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-ref.el (loaded in 0.03 s)
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-tangle'...
[2013-01-29 21:20:24] (info)             +-> Requiring `org-src'...
[2013-01-29 21:20:24] (info)               +-> Requiring `org-macs'... already loaded
[2013-01-29 21:20:24] (info)               +-> Requiring `org-compat'... already loaded
[2013-01-29 21:20:24] (info)               +-> Requiring `ob-keys'... already loaded
[2013-01-29 21:20:24] (info)               +-> Requiring `ob-comint'... already loaded
[2013-01-29 21:20:24] (info)               +-> Requiring `cl'... already loaded
[2013-01-29 21:20:24] (info)             +-> Requiring `org-src'... d:/home/sva/Public/Repositories/org-mode/lisp/org-src.el (loaded in 0.13 s)
[2013-01-29 21:20:24] (info)             +-> Requiring `cl'... already loaded
[2013-01-29 21:20:24] (info)           +-> Requiring `ob-tangle'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-tangle.el (loaded in 0.16 s)
[2013-01-29 21:20:24] (info)         +-> Requiring `ob'... d:/home/sva/Public/Repositories/org-mode/lisp/ob.el (loaded in 0.98 s)
[2013-01-29 21:20:24] (info)       +-> Requiring `ob-emacs-lisp'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-emacs-lisp.el (loaded in 0.98 s)
[2013-01-29 21:20:24] (info)       +-> Requiring `org-version'... d:/home/sva/Public/Repositories/org-mode/lisp/org-version.el (loaded in 0.00 s)
[2013-01-29 21:20:24] (info)       +-> Requiring `outline'... c:/Program Files (x86)/emacs-24.2.91/lisp/outline.elc (loaded in 0.06 s)
[2013-01-29 21:20:24] (info)       +-> Requiring `noutline'... already loaded
[2013-01-29 21:20:24] (info)       +-> Requiring `time-date'... already loaded
[2013-01-29 21:20:24] (info)       +-> Requiring `easymenu'... already loaded
[2013-01-29 21:20:24] (info)       +-> Requiring `overlay'... already loaded
[2013-01-29 21:20:24] (info)       +-> Requiring `org-entities'...
[2013-01-29 21:20:24] (info)         +-> Requiring `org-macs'... already loaded
[2013-01-29 21:20:24] (info)         +-> Requiring `cl'... already loaded
[2013-01-29 21:20:24] (info)       +-> Requiring `org-entities'... d:/home/sva/Public/Repositories/org-mode/lisp/org-entities.el (loaded in 0.09 s)
[2013-01-29 21:20:24] (info)       +-> Requiring `org-faces'...
[2013-01-29 21:20:24] (info)         +-> Requiring `org-macs'... already loaded
[2013-01-29 21:20:24] (info)         +-> Requiring `org-compat'... already loaded
[2013-01-29 21:20:25] (info)       +-> Requiring `org-faces'... d:/home/sva/Public/Repositories/org-mode/lisp/org-faces.el (loaded in 0.13 s)
[2013-01-29 21:20:25] (info)       +-> Requiring `org-list'...
[2013-01-29 21:20:25] (info)         +-> Requiring `cl'... already loaded
[2013-01-29 21:20:25] (info)         +-> Requiring `org-macs'... already loaded
[2013-01-29 21:20:25] (info)         +-> Requiring `org-compat'... already loaded
[2013-01-29 21:20:25] (info)       +-> Requiring `org-list'... d:/home/sva/Public/Repositories/org-mode/lisp/org-list.el (loaded in 0.17 s)
[2013-01-29 21:20:25] (info)       +-> Requiring `org-pcomplete'...
[2013-01-29 21:20:25] (info)         +-> Requiring `cl'... already loaded
[2013-01-29 21:20:25] (info)         +-> Requiring `org-macs'... already loaded
[2013-01-29 21:20:25] (info)         +-> Requiring `org-compat'... already loaded
[2013-01-29 21:20:25] (info)         +-> Requiring `pcomplete'...
[2013-01-29 21:20:25] (info)           +-> Requiring `comint'... already loaded
[2013-01-29 21:20:25] (info)         +-> Requiring `pcomplete'... c:/Program Files (x86)/emacs-24.2.91/lisp/pcomplete.elc (loaded in 0.05 s)
[2013-01-29 21:20:25] (info)       +-> Requiring `org-pcomplete'... d:/home/sva/Public/Repositories/org-mode/lisp/org-pcomplete.el (loaded in 0.11 s)
[2013-01-29 21:20:25] (info)       +-> Requiring `org-src'... already loaded
[2013-01-29 21:20:25] (info)       +-> Requiring `org-footnote'...
[2013-01-29 21:20:25] (info)         +-> Requiring `cl'... already loaded
[2013-01-29 21:20:25] (info)         +-> Requiring `org-macs'... already loaded
[2013-01-29 21:20:25] (info)         +-> Requiring `org-compat'... already loaded
[2013-01-29 21:20:25] (info)       +-> Requiring `org-footnote'... d:/home/sva/Public/Repositories/org-mode/lisp/org-footnote.el (loaded in 0.13 s)
[2013-01-29 21:20:25] (info)       +-> Requiring `ob'... already loaded
[2013-01-29 21:20:25] (info)       +-> Requiring `font-lock'... already loaded
[2013-01-29 21:20:25] (info)       +-> Requiring `macroexp'... already loaded [2 times]
[2013-01-29 21:20:26] (info)       +-> Requiring `help-fns'... already loaded [2 times]
[2013-01-29 21:20:26] (info)       +-> Requiring `bytecomp'... already loaded
[2013-01-29 21:20:26] (info)       +-> Requiring `warnings'... c:/Program Files (x86)/emacs-24.2.91/lisp/emacs-lisp/warnings.elc (loaded in 0.05 s)
[2013-01-29 21:20:26] (info)       +-> Requiring `help-fns'... already loaded [2 times]
[2013-01-29 21:20:26] (info)       +-> Requiring `macroexp'... already loaded [2 times]
[2013-01-29 21:20:26] (info)       +-> Requiring `help-fns'... already loaded [2 times]
[2013-01-29 21:20:26] (info)       +-> Requiring `bytecomp'... already loaded
[2013-01-29 21:20:26] (info)       +-> Requiring `warnings'... already loaded
[2013-01-29 21:20:26] (info)       +-> Requiring `help-fns'... already loaded [2 times]
[2013-01-29 21:20:26] (info)     +-> Requiring `org'... d:/home/sva/Public/Repositories/org-mode/lisp/org.el (loaded in 7.30 s)
[2013-01-29 21:20:26] (info)     +-> Requiring `org-macs'... already loaded
[2013-01-29 21:20:26] (info)     +-> Requiring `org-agenda'...
[2013-01-29 21:20:26] (info)       +-> Requiring `org'... already loaded
[2013-01-29 21:20:26] (info)       +-> Requiring `org-macs'... already loaded
[2013-01-29 21:20:26] (info)       +-> Requiring `cl'... already loaded
[2013-01-29 21:20:26] (info)       +-> Requiring `macroexp'... already loaded
[2013-01-29 21:20:27] (info)       +-> Requiring `help-fns'... already loaded [2 times]
[2013-01-29 21:20:27] (info)       +-> Requiring `bytecomp'... already loaded
[2013-01-29 21:20:27] (info)       +-> Requiring `warnings'... already loaded
[2013-01-29 21:20:27] (info)       +-> Requiring `help-fns'... already loaded [2 times]
[2013-01-29 21:20:27] (info)       +-> Requiring `org-bbdb'...
[2013-01-29 21:20:27] (info)         +-> Requiring `org'... already loaded
[2013-01-29 21:20:27] (info)         +-> Requiring `cl'... already loaded
[2013-01-29 21:20:27] (info)       +-> Requiring `org-bbdb'... d:/home/sva/Public/Repositories/org-mode/lisp/org-bbdb.el (loaded in 0.05 s)
[2013-01-29 21:20:27] (info)       +-> Requiring `org-bibtex'...
[2013-01-29 21:20:27] (info)         +-> Requiring `org'... already loaded
[2013-01-29 21:20:27] (info)         +-> Requiring `bibtex'...
[2013-01-29 21:20:27] (info)           +-> Requiring `button'... already loaded
[2013-01-29 21:20:27] (info)         +-> Requiring `bibtex'... c:/Program Files (x86)/emacs-24.2.91/lisp/textmodes/bibtex.elc (loaded in 0.17 s)
[2013-01-29 21:20:27] (info)         +-> Requiring `cl'... already loaded
[2013-01-29 21:20:27] (info)         +-> Requiring `org-compat'... already loaded
[2013-01-29 21:20:27] (info)       +-> Requiring `org-bibtex'... d:/home/sva/Public/Repositories/org-mode/lisp/org-bibtex.el (loaded in 0.25 s)
[2013-01-29 21:20:27] (info)       +-> Requiring `org-docview'...
[2013-01-29 21:20:27] (info)         +-> Requiring `org'... already loaded
[2013-01-29 21:20:27] (info)       +-> Requiring `org-docview'... d:/home/sva/Public/Repositories/org-mode/lisp/org-docview.el (loaded in 0.02 s)
[2013-01-29 21:20:27] (info)       +-> Requiring `org-gnus'...
[2013-01-29 21:20:27] (info)         +-> Requiring `org'... already loaded
[2013-01-29 21:20:27] (info)         +-> Requiring `gnus-util'... already loaded
[2013-01-29 21:20:27] (info)         +-> Requiring `gnus-sum'... already loaded
[2013-01-29 21:20:27] (info)       +-> Requiring `org-gnus'... d:/home/sva/Public/Repositories/org-mode/lisp/org-gnus.el (loaded in 0.03 s)
[2013-01-29 21:20:27] (info)       +-> Requiring `org-info'...
[2013-01-29 21:20:27] (info)         +-> Requiring `org'... already loaded
[2013-01-29 21:20:27] (info)       +-> Requiring `org-info'... d:/home/sva/Public/Repositories/org-mode/lisp/org-info.el (loaded in 0.03 s)
[2013-01-29 21:20:27] (info)       +-> Requiring `org-jsinfo'...
[2013-01-29 21:20:27] (info)         +-> Requiring `org-exp'...
[2013-01-29 21:20:27] (info)           +-> Requiring `org'... already loaded
[2013-01-29 21:20:27] (info)           +-> Requiring `org-macs'... already loaded
[2013-01-29 21:20:27] (info)           +-> Requiring `org-agenda'... already loaded
[2013-01-29 21:20:27] (info)           +-> Requiring `ob-exp'... already loaded
[2013-01-29 21:20:27] (info)           +-> Requiring `org-src'... already loaded
[2013-01-29 21:20:27] (info)           +-> Requiring `cl'... already loaded
[2013-01-29 21:20:27] (info)           +-> Requiring `macroexp'... already loaded [2 times]
[2013-01-29 21:20:27] (info)         +-> Requiring `org-exp'... d:/home/sva/Public/Repositories/org-mode/lisp/org-exp.el (loaded in 0.24 s)
[2013-01-29 21:20:27] (info)         +-> Requiring `org-html'...
[2013-01-29 21:20:27] (info)           +-> Requiring `org-exp'... already loaded
[2013-01-29 21:20:27] (info)           +-> Requiring `format-spec'... already loaded
[2013-01-29 21:20:27] (info)           +-> Requiring `cl'... already loaded
[2013-01-29 21:20:27] (info)         +-> Requiring `org-html'... d:/home/sva/Public/Repositories/org-mode/lisp/org-html.el (loaded in 0.09 s)
[2013-01-29 21:20:27] (info)       +-> Requiring `org-jsinfo'... d:/home/sva/Public/Repositories/org-mode/lisp/org-jsinfo.el (loaded in 0.38 s)
[2013-01-29 21:20:27] (info)       +-> Requiring `org-irc'...
[2013-01-29 21:20:27] (info)         +-> Requiring `org'... already loaded
[2013-01-29 21:20:27] (info)       +-> Requiring `org-irc'... d:/home/sva/Public/Repositories/org-mode/lisp/org-irc.el (loaded in 0.11 s)
[2013-01-29 21:20:28] (info)       +-> Requiring `org-mew'...
[2013-01-29 21:20:28] (info)         +-> Requiring `org'... already loaded
[2013-01-29 21:20:28] (info)       +-> Requiring `org-mew'... d:/home/sva/Public/Repositories/org-mode/lisp/org-mew.el (loaded in 0.01 s)
[2013-01-29 21:20:28] (info)       +-> Requiring `org-mhe'...
[2013-01-29 21:20:28] (info)         +-> Requiring `org'... already loaded
[2013-01-29 21:20:28] (info)       +-> Requiring `org-mhe'... d:/home/sva/Public/Repositories/org-mode/lisp/org-mhe.el (loaded in 0.02 s)
[2013-01-29 21:20:28] (info)       +-> Requiring `org-rmail'...
[2013-01-29 21:20:28] (info)         +-> Requiring `org'... already loaded
[2013-01-29 21:20:28] (info)       +-> Requiring `org-rmail'... d:/home/sva/Public/Repositories/org-mode/lisp/org-rmail.el (loaded in 0.02 s)
[2013-01-29 21:20:28] (info)       +-> Requiring `org-vm'...
[2013-01-29 21:20:28] (info)         +-> Requiring `org'... already loaded
[2013-01-29 21:20:28] (info)       +-> Requiring `org-vm'... d:/home/sva/Public/Repositories/org-mode/lisp/org-vm.el (loaded in 0.03 s)
[2013-01-29 21:20:28] (info)       +-> Requiring `org-w3m'...
[2013-01-29 21:20:28] (info)         +-> Requiring `org'... already loaded
[2013-01-29 21:20:28] (info)       +-> Requiring `org-w3m'... d:/home/sva/Public/Repositories/org-mode/lisp/org-w3m.el (loaded in 0.03 s)
[2013-01-29 21:20:28] (info)       +-> Requiring `org-wl'...
[2013-01-29 21:20:28] (info)         +-> Requiring `org'... already loaded
[2013-01-29 21:20:28] (info)       +-> Requiring `org-wl'... d:/home/sva/Public/Repositories/org-mode/lisp/org-wl.el (loaded in 0.03 s)
[2013-01-29 21:20:28] (info)       +-> Requiring `image'... already loaded
[2013-01-29 21:20:28] (info) Loading c:/Program Files (x86)/emacs-24.2.91/lisp/vc/vc-git.elc...
Loading vc-git...done
[2013-01-29 21:20:28] (info)       +-> Requiring `vc-git'... already loaded [2 times]
[2013-01-29 21:20:30] (info)       +-> Requiring `cl'... already loaded
[2013-01-29 21:20:30] (info)       +-> Requiring `org'... already loaded
[2013-01-29 21:20:46] (info)       +-> Requiring `diary-lib'... already loaded [2 times]
[2013-01-29 21:20:46] No event to add
[2013-01-29 21:20:46] (info)     +-> Requiring `org-agenda'... d:/home/sva/Public/Repositories/org-mode/lisp/org-agenda.el (loaded in 19.70 s)
[2013-01-29 21:20:46] (info)     +-> Requiring `ob-exp'... already loaded
[2013-01-29 21:20:46] (info)     +-> Requiring `org-src'... already loaded
[2013-01-29 21:20:46] (info)     +-> Requiring `cl'... already loaded
[2013-01-29 21:20:46] (info)     +-> Requiring `macroexp'... already loaded [2 times]
[2013-01-29 21:20:46] (info)   +-> Requiring `org-exp'... d:/home/sva/Public/Repositories/org-mode/lisp/org-exp.el (loaded in 27.17 s)
[2013-01-29 21:20:46] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:46] (info) +-> Requiring `org-clock'... already loaded
[2013-01-29 21:20:46] (info) +-> Requiring `org-habit'...
[2013-01-29 21:20:46] (info)   +-> Requiring `org'... already loaded
[2013-01-29 21:20:46] (info)   +-> Requiring `org-agenda'... already loaded
[2013-01-29 21:20:46] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:46] (info) +-> Requiring `org-habit'... d:/home/sva/Public/Repositories/org-mode/lisp/org-habit.el (loaded in 0.05 s)
[2013-01-29 21:20:46] (info) +-> Requiring `org-protocol'...
[2013-01-29 21:20:46] (info)   +-> Requiring `org'... already loaded
[2013-01-29 21:20:46] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:46] (info) +-> Requiring `org-protocol'... d:/home/sva/Public/Repositories/org-mode/lisp/org-protocol.el (loaded in 0.05 s)
[2013-01-29 21:20:46] (info) Found 36 entries in `org-agenda-files'
[2013-01-29 21:20:47] (info) +-> Requiring `org-e-ascii'...
[2013-01-29 21:20:47] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:47] (info)   +-> Requiring `org-export'...
[2013-01-29 21:20:47] (info)     +-> Requiring `cl'... already loaded
[2013-01-29 21:20:47] (info)     +-> Requiring `org-element'... already loaded
[2013-01-29 21:20:47] (info)     +-> Requiring `ob-exp'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `org-export'... d:/home/sva/Public/Repositories/org-mode/contrib/lisp/org-export.el (loaded in 0.27 s)
[2013-01-29 21:20:48] (info)   +-> Requiring `org-e-publish'...
[2013-01-29 21:20:48] (info)     +-> Requiring `cl'... already loaded
[2013-01-29 21:20:48] (info)     +-> Requiring `format-spec'... already loaded
[2013-01-29 21:20:48] (info)     +-> Requiring `org-export'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `org-e-publish'... d:/home/sva/Public/Repositories/org-mode/contrib/lisp/org-e-publish.el (loaded in 0.08 s)
[2013-01-29 21:20:48] (info)   +-> Requiring `macroexp'... already loaded
[2013-01-29 21:20:48] (info) +-> Requiring `org-e-ascii'... d:/home/sva/Public/Repositories/org-mode/contrib/lisp/org-e-ascii.el (loaded in 0.52 s)
[2013-01-29 21:20:48] (info) +-> Requiring `org-e-html'...
[2013-01-29 21:20:48] (info)   +-> Requiring `org-export'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `org-e-publish'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `format-spec'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `table'...
[2013-01-29 21:20:48] (info)     +-> Requiring `regexp-opt'... already loaded
[2013-01-29 21:20:48] (info)     +-> Requiring `easymenu'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `table'... c:/Program Files (x86)/emacs-24.2.91/lisp/textmodes/table.elc (loaded in 0.14 s)
[2013-01-29 21:20:48] (info)   +-> Requiring `help-fns'... already loaded [3 times]
[2013-01-29 21:20:48] (info) +-> Requiring `org-e-html'... d:/home/sva/Public/Repositories/org-mode/contrib/lisp/org-e-html.el (loaded in 0.36 s)
[2013-01-29 21:20:48] (info) +-> Requiring `org-e-latex'...
[2013-01-29 21:20:48] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `org-export'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `org-e-publish'... already loaded
[2013-01-29 21:20:48] (info) +-> Requiring `org-e-latex'... d:/home/sva/Public/Repositories/org-mode/contrib/lisp/org-e-latex.el (loaded in 0.09 s)
[2013-01-29 21:20:48] (info) +-> Requiring `org-e-beamer'...
[2013-01-29 21:20:48] (info)   +-> Requiring `org-e-latex'... already loaded
[2013-01-29 21:20:48] (info) +-> Requiring `org-e-beamer'... d:/home/sva/Public/Repositories/org-mode/contrib/lisp/org-e-beamer.el (loaded in 0.06 s)
[2013-01-29 21:20:48] (info) +-> Requiring `org-e-odt'...
[2013-01-29 21:20:48] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `table'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `format-spec'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `org-export'... already loaded
[2013-01-29 21:20:48] (info)   +-> Requiring `org-compat'... already loaded
[2013-01-29 21:20:48] Debug (org-e-odt): Searching for OpenDocument styles files...
[2013-01-29 21:20:48] Debug (org-e-odt): Trying d:/home/sva/Public/Repositories/org-mode/etc/styles/...
[2013-01-29 21:20:48] Debug (org-e-odt): Using styles under d:/home/sva/Public/Repositories/org-mode/etc/styles/
[2013-01-29 21:20:48] Debug (org-e-odt): Searching for OpenDocument schema files...
[2013-01-29 21:20:48] Debug (org-e-odt): Trying d:/home/sva/Public/Repositories/org-mode/etc/schema/...
[2013-01-29 21:20:48] Debug (org-e-odt): Using schema files under d:/home/sva/Public/Repositories/org-mode/etc/schema/
[2013-01-29 21:20:49] (info)   +-> Requiring `help-fns'... already loaded [3 times]
[2013-01-29 21:20:49] (info) +-> Requiring `org-e-odt'... d:/home/sva/Public/Repositories/org-mode/contrib/lisp/org-e-odt.el (loaded in 0.31 s)
[2013-01-29 21:20:49] (info) +-> Requiring `ob-R'...
[2013-01-29 21:20:49] (info)   +-> Requiring `ob'... already loaded
[2013-01-29 21:20:49] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:49] (info) +-> Requiring `ob-R'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-R.el (loaded in 0.05 s)
[2013-01-29 21:20:49] (info) +-> Requiring `ob-awk'...
[2013-01-29 21:20:49] (info)   +-> Requiring `ob'... already loaded
[2013-01-29 21:20:49] (info)   +-> Requiring `org-compat'... already loaded
[2013-01-29 21:20:49] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:49] (info) +-> Requiring `ob-awk'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-awk.el (loaded in 0.03 s)
[2013-01-29 21:20:49] (info) +-> Requiring `ob-calc'...
[2013-01-29 21:20:49] (info)   +-> Requiring `ob'... already loaded
[2013-01-29 21:20:49] (info)   +-> Requiring `calc'...
[2013-01-29 21:20:49] (info)     +-> Requiring `calc-macs'... c:/Program Files (x86)/emacs-24.2.91/lisp/calc/calc-macs.elc (loaded in 0.17 s)
[2013-01-29 21:20:49] (info) Loading c:/Program Files (x86)/emacs-24.2.91/lisp/calc/calc-loaddefs.el...
[2013-01-29 21:20:49] (info)   +-> Requiring `calc'... c:/Program Files (x86)/emacs-24.2.91/lisp/calc/calc.elc (loaded in 0.38 s)
[2013-01-29 21:20:49] (info)   +-> Requiring `calc-trail'...
[2013-01-29 21:20:49] (info)     +-> Requiring `calc-ext'...
[2013-01-29 21:20:49] (info)       +-> Requiring `calc'... already loaded
[2013-01-29 21:20:49] (info)       +-> Requiring `calc-macs'... already loaded
[2013-01-29 21:20:49] (info)     +-> Requiring `calc-ext'... c:/Program Files (x86)/emacs-24.2.91/lisp/calc/calc-ext.elc (loaded in 0.22 s)
[2013-01-29 21:20:49] (info)     +-> Requiring `calc-macs'... already loaded
[2013-01-29 21:20:49] (info)   +-> Requiring `calc-trail'... c:/Program Files (x86)/emacs-24.2.91/lisp/calc/calc-trail.elc (loaded in 0.30 s)
[2013-01-29 21:20:49] (info)   +-> Requiring `calc-store'...
[2013-01-29 21:20:50] (info)     +-> Requiring `calc-ext'... already loaded
[2013-01-29 21:20:50] (info)     +-> Requiring `calc-macs'... already loaded
[2013-01-29 21:20:50] (info)   +-> Requiring `calc-store'... c:/Program Files (x86)/emacs-24.2.91/lisp/calc/calc-store.elc (loaded in 0.09 s)
[2013-01-29 21:20:50] (info) +-> Requiring `ob-calc'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-calc.el (loaded in 0.81 s)
[2013-01-29 21:20:50] (info) +-> Requiring `ob-ditaa'...
[2013-01-29 21:20:50] (info)   +-> Requiring `ob'... already loaded
[2013-01-29 21:20:50] (info)   +-> Requiring `org-compat'... already loaded
[2013-01-29 21:20:50] (info) +-> Requiring `ob-ditaa'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-ditaa.el (loaded in 0.03 s)
[2013-01-29 21:20:50] (info) +-> Requiring `ob-dot'...
[2013-01-29 21:20:50] (info)   +-> Requiring `ob'... already loaded
[2013-01-29 21:20:50] (info) +-> Requiring `ob-dot'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-dot.el (loaded in 0.02 s)
[2013-01-29 21:20:50] (info) +-> Requiring `ob-emacs-lisp'... already loaded
[2013-01-29 21:20:50] (info) +-> Requiring `ob-gnuplot'...
[2013-01-29 21:20:50] (info)   +-> Requiring `ob'... already loaded
[2013-01-29 21:20:50] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:50] (info) +-> Requiring `ob-gnuplot'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-gnuplot.el (loaded in 0.03 s)
[2013-01-29 21:20:50] (info) +-> Requiring `ob-latex'...
[2013-01-29 21:20:50] (info)   +-> Requiring `ob'... already loaded
[2013-01-29 21:20:50] (info) +-> Requiring `ob-latex'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-latex.el (loaded in 0.03 s)
[2013-01-29 21:20:50] (info) +-> Requiring `ob-ledger'...
[2013-01-29 21:20:50] (info)   +-> Requiring `ob'... already loaded
[2013-01-29 21:20:50] (info) +-> Requiring `ob-ledger'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-ledger.el (loaded in 0.02 s)
[2013-01-29 21:20:50] (info) +-> Requiring `ob-org'...
[2013-01-29 21:20:50] (info)   +-> Requiring `ob'... already loaded
[2013-01-29 21:20:50] (info) +-> Requiring `ob-org'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-org.el (loaded in 0.02 s)
[2013-01-29 21:20:50] (info) +-> Requiring `ob-python'...
[2013-01-29 21:20:50] (info)   +-> Requiring `ob'... already loaded
[2013-01-29 21:20:50] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:50] (info) +-> Requiring `ob-python'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-python.el (loaded in 0.03 s)
[2013-01-29 21:20:50] (info) +-> Requiring `ob-sh'...
[2013-01-29 21:20:50] (info)   +-> Requiring `ob'... already loaded
[2013-01-29 21:20:50] (info)   +-> Requiring `shell'...
[2013-01-29 21:20:50] (info)     +-> Requiring `comint'... already loaded
[2013-01-29 21:20:50] (info)     +-> Requiring `pcomplete'... already loaded
[2013-01-29 21:20:50] (info)   +-> Requiring `shell'... c:/Program Files (x86)/emacs-24.2.91/lisp/shell.elc (loaded in 0.16 s)
[2013-01-29 21:20:50] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:50] (info) +-> Requiring `ob-sh'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-sh.el (loaded in 0.19 s)
[2013-01-29 21:20:50] (info) +-> Requiring `ob-sql'...
[2013-01-29 21:20:50] (info)   +-> Requiring `ob'... already loaded
[2013-01-29 21:20:50] (info)   +-> Requiring `cl'... already loaded
[2013-01-29 21:20:50] (info) +-> Requiring `ob-sql'... d:/home/sva/Public/Repositories/org-mode/lisp/ob-sql.el (loaded in 0.03 s)
--8<---------------cut here---------------end--------------->8---

In particular, you'll see that *16 seconds* are "lost" between 21:20:30 and
21:20:46. They correspond to the executiong of just *one line*:

#+begin_src emacs-lisp
  (org-agenda-to-appt)
#+end_src

This may have something to do with my big amount of Org files in
`org-agenda-files': 36 at this point. But is that so big??

OK, let's find a way to delay that computation (filling in the calendar
system with today's appointments) up to when org-agenda will be loaded, with
the following block of code:

#+begin_src emacs-lisp
(eval-after-load "org-agenda"
 '(when org-agenda-files
      (org-agenda-to-appt)))
#+end_src

Results?  No change, nothing...

Why?  Because, as you can see in the above tree, org-agenda is in fact already
loaded, hence the eval-after-load running as well.

Call tree for org-agenda:

                             Requiring `org'...
[2013-01-29 21:20:19] (info) +-> Requiring `org-clock'...
[2013-01-29 21:20:19] (info)   +-> Requiring `org-exp'...
[2013-01-29 21:20:26] (info)     +-> Requiring `org-agenda'...

I must admit I don't understand[1] why `org-agenda' must be called during Org
startup.

I would like to have:

- the minimal Org config loaded when opening any .org file; IOW, certainly not
  the agenda files!

- all files in `org-agenda-files' when calling any agenda view (C-c a ...)

- the current clocked file when resume Org's clock mechanism.

I'm ready to look at where to cut branches of the Org tree, if that does make
sense to you. Does it?

Best regards,
  Seb

[1] Don't assume it's not related to some problem in my config. But, for this
point, AFAIU, it's not the case.

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 460+ messages in thread
* [bug] latex fragment preview with dvipng ignores :foreground specification
@ 2013-01-25 23:02 Eric S Fraga
  0 siblings, 0 replies; 460+ messages in thread
From: Eric S Fraga @ 2013-01-25 23:02 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I am trying to use org-tree-slide for an interactive session I have to
facilitate soon.  This works quite well, in a geeky kind of way ;-)

However, I do want to display a couple of equations and using latex
fragments is the most appealing mechanism.  When I try to use
org-preview-latex-fragment, the latex image is
generated.  Unfortunately, as I use a black background on my display, I
cannot see the fragment as it is being generated with black text on a
transparent background by default.  Note, I am using dvipng for the
image conversion.

I can customise org-format-latex-options to fix this, or so I
thought.  No matter what I do, the resulting latex fragment has black
text.  The problem appears to be that the -fg option to dvipng does not
work so it doesn't matter how I customise org-format-latex-options.

Can anybody suggest a workaround (without changing the actual latex
itself)?  I can customise the above variable to set the background for
latex images to white, which at least allows the equations to be seen,
but this is a mildly ugly solution.  :( And ruins any geek street cred I
might have had ;-)

Thanks,
eric

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_7.9.3d-874-gf11acc

^ permalink raw reply	[flat|nested] 460+ messages in thread
* From latest maint/master, no need to (require 'org-install)
@ 2012-10-02 13:15 Bastien
  2012-10-02 13:38 ` Torsten Wagner
                   ` (3 more replies)
  0 siblings, 4 replies; 460+ messages in thread
From: Bastien @ 2012-10-02 13:15 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

there is no need to (require 'org-install) anymore from the maint
and master branches.

When using the Org distribution that comes with Emacs, Emacs will add
Org's autoloaded core functions to [emacs]/lisp/loaddefs.el and the rest
of the autoloaded functions to [emacs]/lisp/org/org-loaddefs.el.  This
is an improvement over the present situation, where *all* autoloaded
functions where added to Emacs' loaddefs.el -- too much.  This is not
yet in Emacs trunk but will be in Emacs 24.3.

When getting Org as a .tar.gz/.zip archive file, you'll have a file
org-loaddefs.el in the lisp/ directory -- this file is now loaded when
org.el is loaded.

When getting Org from ELPA (either "org" or "org-plus-contrib"),
org-loaddefs.el will also be in the load-path.

When getting Org from git, you *HAVE* to created org-loaddefs.el with
`make autoloads' (which is also run by a simple `make'), otherwise
some needed functions will not be autoloaded.

You can check whether org-loaddefs.el has been correctly been loaded
with M-x org-version RET.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 460+ messages in thread
* Error when changing todo-state [7.8.11]
@ 2012-06-20  7:24 salome.soedergran
  2012-06-20 15:21 ` Eric S Fraga
  2012-06-20 17:08 ` Charles Philip Chan
  0 siblings, 2 replies; 460+ messages in thread
From: salome.soedergran @ 2012-06-20  7:24 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I recently upgraded to emacs24 and org 7.8.11. Since this upgrade, when I set or change a todo-state, I get an error message (void-variable state). The desired todo-state is being set all the same. I guess there's some kind of conflict between my config and the new org-version -- but what is it and what can I do about it?
Please find the backtrace and parts of my init-file below.

Best, Salome


BACKTRACE
Debugger entered--Lisp error: (void-variable state)
  (member state org-done-keywords)
  (if (member state org-done-keywords) (progn (org-make-checklist-export) (org-reset-checkbox-state-maybe)))
  (when (member state org-done-keywords) (org-make-checklist-export) (org-reset-checkbox-state-maybe))
  org-checklist()
  run-hooks(org-after-todo-state-change-hook)
  byte-code("\306\307!\210\310\b!\203\x0f\0\311\225Sb\210\310\312	\313Q!\204\x1c\0\310\314!\210\302 \x1a\315 ^[\302 \x1c\316\216\317\320\321\307\211$*\x1d\x0e@\x1e@\x0eA\x1eA\x0eB\x1eB\x0eC\311\232\203I\0\320\x16C\322\202K\0\x0eD\x1eD\323\324!\x1eE\311\224\x1eF\325\x0eE!\x1eG\326\x0eG\x0eH\"\211\x1eIA@\x1eJ\327\x0eI8\x1eK\330\x0eI8\x1eL\x0eE\206{\0\331\x1eM\307\x1eN\x0eE\x0eO\235\211\x1ePA\x1eQ\x0eR\203\264\0\x0eC\332\232\203\236\0\x0eS\333=\204\257\0\x0eC\204\264\0\x0eS\203\264\0\x0eS\333=\204\264\0\334 \202	\x02\x0eC\335\232\203\322\0\x0eS\203\305\0\x0eR\204\322\0\336\337\340\341\x0eO\"\320\307$\202	\x02\x0eC\342=\203\357\0\x0eE\203\351\0\x0eQ\205	\x02\x0eQ@\202	\x02\x0eO@\202	\x02\x0eC\343=\203 \x01\x0eP\x0eO\232?\205	\x02\x0eE\203\x13\x01\344\x0eOG\x0eQG\345#\x0eO8\202	\x02\x0eO\x1eT\346\x0eT!@)\202	\x02\x0eS\307=\2035\x01\x0eC\347\232\2035\x01\320\211\x16C\206	\x02\x0eC\203\271\x01\x0eC\331\232\203E\x01\320\202	\x02\x0eC\350=\203P\x01\320\202	\x02\x0eC\351=\203b\x01\x0eK\206	\x02\x0eU@\202	\x02\x0eC\352=\203y\x01\x0eG\x0eV\235A@\206	\x02\x0eV@\202	\x02\x0eC\353=\203\227\x01\354\x0eV!\x1eV\x0eG\x0eV\235A@\206\223\x01\x0eV@)\202	\x02\x0eC\x0eO\235@\206	\x02\x0eC;\203\256\x01\355\356\x0eC\"\202	\x02\357\x0eC!S\x0eO8\202	\x02\x0eP\204\311\x01\x0eG\206	\x02\x0eO@\202	\x02\x0eE\x0eL\232\203\325\x01\320\202	\x02\x0eQ\204\336\x01\320\202	\x02\x0eJ\360>\203\x06\x02\x0eW\x0eX=\203\363\x01\x0eQ@\202	\x02\x0eQG\311V\205	\x02\x0eK\206	\x02\x0eU@\202	\x02\x0eQ@\x1eY\361\362\x0eY\x0eM#\206\x17\x02\x0eY\211\x1eY\203%\x02\363\x0eY\363Q\202&\x02\363\x1eZ\364\365\366\x0eE\367\x0eY\370\v\257\b\x1e[\320\211\x1e\\\x1e]\x0e;\203~\x02\x0eE\x0eU\235?\x16^\212\302 \x1c\371\216\212\214~\210\372\373\x0e[\"-\204~\x02\374\375!\203m\x02\355\376\x0eE\x0eY#\210\202~\x02\377\376\x0eE\x0eY#\210\201g\0\201h\0\320\"\210\201i\0\n!\210\201j\0\x0eZ\307\211#\210\201k\0\x0eF!\204\242\x02\377\201l\0\201m\0\x0eZ!\"\210\x0eG\204\306\x02\325\x0eY!\x16G\326\x0eG\x0eH\"\211\x16IA@\x16J\327\x0eI8\x16K\330\x0eI8\x16L\x0eC\201n\0>\203\370\x02\377\201o\0\344\x0e_G\201p\0\326\x0eY\x0e_\"\x0e_>G#\x0e_G\201q\0\201r\0\326\x0eY\x0e_\"\363#$\210\x0eY\x0eU\235?\x16^\x0eY\x0eU\235\205\x0e\x03\x0eE\x0eU\235?\x16]\r\203\x1a\x03\201s\0\r!\210\x0eB\204$\x03\x0e@\203\305\x03\x0eD\307=\204\305\x03\x0eC\201t\0>\204\305\x03\326\x0eY\x0eB\"A@\206G\x03\345\326\x0eE\x0eB\"8\211\x16\\\322=\203[\x03\x0eD\322=\203[\x03\201u\0\x16\\\x0eY\203z\x03\x0eY\x0e`\235\203z\x03\x0eE\x0e`\235\204z\x03\201v\0\320\211\201w\0#\210\x0e]\203\252\x03\x0e@\203\252\x03\201v\0\201w\0\201x\0 \"\210\x0e\\\204\252\x03\x0e@\322=\203\252\x03\201y\0\351\x0eY\x0eE\201z\0\322%\210\x0eY\203\305\x03\x0e\\\203\305\x03\201y\0\201{\0\x0eY\x0eE\201z\0\x0e\\%\210\201|\0\x0eY!\210\x0ea\203\335\x03\x0eb\204\335\x03\201}\0\320\307\"\210\x0ec\203\347\x03\201~\0 \210\201\x7f\0\201\200\0!\210\x0eC\203\x02\x04\x0eY\x0eU\235\204\x02\x04\325\x0eY!\x16G\201\201\0\315 \201\202\0 \201\203\0\x0eG$\210\x0e]\2036\x04\201\204\0\201d\0!\203/\x04\302 \x1c\201\205\0\216\201\206\0 \x16d*\201\207\0\x0eY!\210\201\210\0 \203r\x04n\204r\x04\212\201\211\0\324!\210\310\x0ee!)\203r\x04`\345\211\225\206Y\x04\324\225\\W\203r\x04\345\225\206e\x04\324\225b\210\310\363!\203r\x04\201\212\0 \210\x0ef\205\202\x04\212\201\213\0\201f\0\x0e[\").\x18\207" [org-outline-regexp org-todo-regexp match-data startpos save-match-data-internal logging org-back-to-heading t looking-at 0 " +" "\\( +\\|[ 	]*$\\)" "\\(?: *\\|[ 	]*$\\)" point-at-bol ((byte-code "\301\b\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) org-entry-get nil "LOGGING" note match-string 1 org-get-todo-sequence-head assoc 3 4 "" (4) prefix org-fast-todo-selection (4) org-icompleting-read "State: " mapcar #[(x) "\bC\207" [x] 1] right left - 2 last (4) none done nextset previousset reverse error "State `%s' not valid in this file" prefix-numeric-value (type priority) run-hook-with-args-until-success ...] 10)
  org-todo(nil)
  call-interactively(org-todo nil nil)


Emacs  : GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2)
 of 2012-06-16 on platinum, modified by Debian
Package: Org-mode version 7.8.11

INIT-FILE (part)
(setq
 org-clock-persist 'history
 org-agenda-window-setup 'current-window
 org-goto-max-level 10
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
 org-tab-first-hook '(org-hide-block-toggle-maybe
		      org-src-native-tab-command-maybe
		      org-babel-hide-result-toggle-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
		  org-cycle-show-empty-lines
		  org-optimize-window-after-visibility-change)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-speed-command-hook '(org-speed-command-default-hook
			  org-babel-speed-command-hook)
 org-show-following-heading t
 org-agenda-restore-windows-after-quit t
 org-babel-pre-tangle-hook '(save-buffer)
 org-occur-hook '(org-first-headline-recenter)
 org-export-interblocks '((src org-babel-exp-non-block-elements))
 org-cycle-separator-lines 0
 org-use-sub-superscripts nil
 org-clock-out-remove-zero-time-clocks t
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-hide-leading-stars t
 org-log-into-drawer "LOGBOOK"
 org-columns-default-format "%25ITEM(Details) %15TAGS(Context) %7TODO(To Do) %5Effort(Time){:} %6CLOCKSUM(Clock){Total}"
 org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
 org-show-siblings nil
 org-checklist-export-function 'org-export-as-ascii
 org-attach-method '(link)
 org-blank-before-new-entry '((heading) (plain-list-item))
 org-global-properties '(("Effort_ALL" .
			  "0 0:10 0:30 1:00 2:00 3:00 4:00 6:00 8:00")
			 )
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-agenda-prefix-format '((agenda . "%?-12t% s") (timeline . "  % s")
			    (todo . "%-12:c") (tags . "%-12:c %i")
			    (search . " %i %-12:c"))
 org-agenda-skip-deadline-if-done t
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-mode-hook '((lambda nil (local-set-key [f11] (quote org2blog/wp-mode)))
		 org-clock-load
		 #[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook org-show-block-all
		    append local]
		   5]
		 #[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook
		    org-babel-show-result-all append local]
		   5]
		 org-babel-result-hide-spec org-babel-hide-all-hashes
		 (lambda nil (subword-mode 1)))
 org-export-latex-low-levels '("\\begin{itemize}" "\\end{itemize}" "\\item %s")
 org-show-hierarchy-above t
 org-agenda-remove-tags t
 org-clock-idle-time 15
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
			       org-beamer-auto-fragile-frames
			       org-beamer-place-default-actions-for-lists)
 org-export-html-coding-system 'utf-8
 org-agenda-repeating-timestamp-show-all nil
 org-tags-column -75
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-cycle-emulate-tab '(whitestart)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-todo-keywords '((sequence "APPT(a!)" "NEXT(n!)" "WAITING(w@)" "INBOX(i)"
		      "|" "DONE(d!)" "CANCELLED(c!)" "MAYBE/LATER(m!)")
		     )
 org-agenda-weekend-days '(0)
 org-agenda-files '("~/org/gtd.org")
 org-drawers '("ZIEL" "PROPERTIES" "LOGBOOK" "CLOCK")
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
		     org-src-mode-configure-edit-buffer)
 org-after-todo-state-change-hook '(org-checklist org-clock-out-if-current)
 org-bbdb-anniversary-format-alist '(("birthday" lambda (name years suffix)
				      (concat "[[bbdb:" name "][" name
				       "]] ist " (number-to-string years)
				       " Jahre alt")
				      )
				     ("wedding" lambda (name years suffix)
				      (concat "[[bbdb:" name "][" name "]]"
				       (number-to-string years)
				       ". Hochzeitstag")
				      )
				     )
 org-agenda-tags-todo-honor-ignore-options t
 org-confirm-shell-link-function 'yes-or-no-p
 )

^ permalink raw reply	[flat|nested] 460+ messages in thread
* [bug] org-habit-show-all-today undefined
@ 2012-05-29  3:37 Eric S Fraga
  0 siblings, 0 replies; 460+ messages in thread
From: Eric S Fraga @ 2012-05-29  3:37 UTC (permalink / raw)
  To: emacs-orgmode

With the most recent update to org,

,----
| Author: Max Mikhanosha <max@openchat.com>
| Date:   Mon May 28 14:55:32 2012 -0400
| 
|     Add ability to show all (even unscheduled) habits on today agenda, by
|     setting `org-habit-show-all-today' to t.
|     
|     * lisp/org-agenda.el (defvar org-habit-show-all-today): new variable
|     (org-agenda-get-scheduled): show all habits if user wants it
|     * lisp/org-habit.el (defcustom org-habit-show-all-today): new variable
`----

I get the following error as soon as I try to view my agenda.  I don't
use habits at all.

,----
| Debugger entered--Lisp error: (void-variable org-habit-show-all-today)
|   (and todayp org-habit-show-all-today (setq did-habit-check-p t) (setq habitp (and (functionp (quote org-is-habit-p)) (org-is-habit-p))))
|   (or (and (< diff 0) (< (abs diff) org-scheduled-past-days) (and todayp (not org-agenda-only-exact-dates))) (= diff 0) (and todayp org-habit-show-all-today (setq did-habit-check-p t) (setq habitp (and (functionp (quote org-is-habit-p)) (org-is-habit-p)))))
|   (if (or (and (< diff 0) (< (abs diff) org-scheduled-past-days) (and todayp (not org-agenda-only-exact-dates))) (= diff 0) (and todayp org-habit-show-all-today (setq did-habit-check-p t) (setq habitp (and (functionp (quote org-is-habit-p)) (org-is-habit-p))))) (progn (save-excursion (setq donep (member todo-state org-done-keywords)) (if (and donep (or org-agenda-skip-scheduled-if-done (not (= diff 0)) (and (functionp ...) (org-is-habit-p)))) (setq txt nil) (setq habitp (if did-habit-check-p habitp (and (functionp ...) (org-is-habit-p)))) (setq category (org-get-category) org-category-pos (get-text-property (point) (quote org-category-position))) (if (not (re-search-backward "^\\*+[ 	]+" nil t)) (setq txt org-agenda-no-heading-message) (goto-char (match-end 0)) (setq pos1 (match-beginning 0)) (if habitp (if (or ... ...) (throw :skip nil)) (if (and ... ...) (throw :skip nil))) (setq tags (org-get-tags-at)) (setq head (buffer-substring-no-properties (point) (progn ... ...))) (if (string-match " \\([012]?[0-9]:[0-9][0-9]\\)" s) (setq timestr (concat ... " ")) (setq timestr (quote time))) (setq txt (org-agenda-format-item (if ... ... ...) head category tags (if ... nil timestr) nil habitp)))) (when txt (setq face (cond ((and ... pastschedp) (quote org-scheduled-previously)) (todayp (quote org-scheduled-today)) (t (quote org-scheduled))) habitp (and habitp (org-habit-parse-todo))) (org-add-props txt props (quote undone-face) face (quote face) (if donep (quote org-agenda-done) face) (quote org-marker) (org-agenda-new-marker pos) (quote org-hd-marker) (org-agenda-new-marker pos1) (quote type) (if pastschedp "past-scheduled" "scheduled") (quote date) (if pastschedp d2 date) (quote priority) (if habitp (org-habit-get-priority habitp) (+ 94 (- 5 diff) (org-get-priority txt))) (quote org-category) category (quote org-category-position) org-category-pos (quote org-habit-p) habitp (quote todo-state) todo-state) (push txt ee)))))
|   (when (or (and (< diff 0) (< (abs diff) org-scheduled-past-days) (and todayp (not org-agenda-only-exact-dates))) (= diff 0) (and todayp org-habit-show-all-today (setq did-habit-check-p t) (setq habitp (and (functionp (quote org-is-habit-p)) (org-is-habit-p))))) (save-excursion (setq donep (member todo-state org-done-keywords)) (if (and donep (or org-agenda-skip-scheduled-if-done (not (= diff 0)) (and (functionp (quote org-is-habit-p)) (org-is-habit-p)))) (setq txt nil) (setq habitp (if did-habit-check-p habitp (and (functionp (quote org-is-habit-p)) (org-is-habit-p)))) (setq category (org-get-category) org-category-pos (get-text-property (point) (quote org-category-position))) (if (not (re-search-backward "^\\*+[ 	]+" nil t)) (setq txt org-agenda-no-heading-message) (goto-char (match-end 0)) (setq pos1 (match-beginning 0)) (if habitp (if (or (not org-habit-show-habits) (and ... org-habit-show-habits-only-for-today)) (throw :skip nil)) (if (and (or ... ...) (setq mm ...)) (throw :skip nil))) (setq tags (org-get-tags-at)) (setq head (buffer-substring-no-properties (point) (progn (skip-chars-forward "^\n") (point)))) (if (string-match " \\([012]?[0-9]:[0-9][0-9]\\)" s) (setq timestr (concat (substring s ...) " ")) (setq timestr (quote time))) (setq txt (org-agenda-format-item (if (= diff 0) (car org-agenda-scheduled-leaders) (format ... ...)) head category tags (if (not ...) nil timestr) nil habitp)))) (when txt (setq face (cond ((and (not habitp) pastschedp) (quote org-scheduled-previously)) (todayp (quote org-scheduled-today)) (t (quote org-scheduled))) habitp (and habitp (org-habit-parse-todo))) (org-add-props txt props (quote undone-face) face (quote face) (if donep (quote org-agenda-done) face) (quote org-marker) (org-agenda-new-marker pos) (quote org-hd-marker) (org-agenda-new-marker pos1) (quote type) (if pastschedp "past-scheduled" "scheduled") (quote date) (if pastschedp d2 date) (quote priority) (if habitp (org-habit-get-priority habitp) (+ 94 (- 5 diff) (org-get-priority txt))) (quote org-category) category (quote org-category-position) org-category-pos (quote org-habit-p) habitp (quote todo-state) todo-state) (push txt ee))))
|   (catch :skip (org-agenda-skip) (setq s (match-string 1) txt nil pos (1- (match-beginning 1)) todo-state (save-match-data (org-get-todo-state)) show-all (or (eq org-agenda-repeating-timestamp-show-all t) (member todo-state org-agenda-repeating-timestamp-show-all)) d2 (org-time-string-to-absolute (match-string 1) d1 (quote past) show-all (current-buffer) pos) diff (- d2 d1)) (setq pastschedp (and todayp (< diff 0))) (setq did-habit-check-p nil) (when (or (and (< diff 0) (< (abs diff) org-scheduled-past-days) (and todayp (not org-agenda-only-exact-dates))) (= diff 0) (and todayp org-habit-show-all-today (setq did-habit-check-p t) (setq habitp (and (functionp (quote org-is-habit-p)) (org-is-habit-p))))) (save-excursion (setq donep (member todo-state org-done-keywords)) (if (and donep (or org-agenda-skip-scheduled-if-done (not (= diff 0)) (and (functionp ...) (org-is-habit-p)))) (setq txt nil) (setq habitp (if did-habit-check-p habitp (and (functionp ...) (org-is-habit-p)))) (setq category (org-get-category) org-category-pos (get-text-property (point) (quote org-category-position))) (if (not (re-search-backward "^\\*+[ 	]+" nil t)) (setq txt org-agenda-no-heading-message) (goto-char (match-end 0)) (setq pos1 (match-beginning 0)) (if habitp (if (or ... ...) (throw :skip nil)) (if (and ... ...) (throw :skip nil))) (setq tags (org-get-tags-at)) (setq head (buffer-substring-no-properties (point) (progn ... ...))) (if (string-match " \\([012]?[0-9]:[0-9][0-9]\\)" s) (setq timestr (concat ... " ")) (setq timestr (quote time))) (setq txt (org-agenda-format-item (if ... ... ...) head category tags (if ... nil timestr) nil habitp)))) (when txt (setq face (cond ((and ... pastschedp) (quote org-scheduled-previously)) (todayp (quote org-scheduled-today)) (t (quote org-scheduled))) habitp (and habitp (org-habit-parse-todo))) (org-add-props txt props (quote undone-face) face (quote face) (if donep (quote org-agenda-done) face) (quote org-marker) (org-agenda-new-marker pos) (quote org-hd-marker) (org-agenda-new-marker pos1) (quote type) (if pastschedp "past-scheduled" "scheduled") (quote date) (if pastschedp d2 date) (quote priority) (if habitp (org-habit-get-priority habitp) (+ 94 (- 5 diff) (org-get-priority txt))) (quote org-category) category (quote org-category-position) org-category-pos (quote org-habit-p) habitp (quote todo-state) todo-state) (push txt ee)))))
|   (while (re-search-forward regexp nil t) (catch :skip (org-agenda-skip) (setq s (match-string 1) txt nil pos (1- (match-beginning 1)) todo-state (save-match-data (org-get-todo-state)) show-all (or (eq org-agenda-repeating-timestamp-show-all t) (member todo-state org-agenda-repeating-timestamp-show-all)) d2 (org-time-string-to-absolute (match-string 1) d1 (quote past) show-all (current-buffer) pos) diff (- d2 d1)) (setq pastschedp (and todayp (< diff 0))) (setq did-habit-check-p nil) (when (or (and (< diff 0) (< (abs diff) org-scheduled-past-days) (and todayp (not org-agenda-only-exact-dates))) (= diff 0) (and todayp org-habit-show-all-today (setq did-habit-check-p t) (setq habitp (and (functionp ...) (org-is-habit-p))))) (save-excursion (setq donep (member todo-state org-done-keywords)) (if (and donep (or org-agenda-skip-scheduled-if-done (not ...) (and ... ...))) (setq txt nil) (setq habitp (if did-habit-check-p habitp (and ... ...))) (setq category (org-get-category) org-category-pos (get-text-property (point) (quote org-category-position))) (if (not (re-search-backward "^\\*+[ 	]+" nil t)) (setq txt org-agenda-no-heading-message) (goto-char (match-end 0)) (setq pos1 (match-beginning 0)) (if habitp (if ... ...) (if ... ...)) (setq tags (org-get-tags-at)) (setq head (buffer-substring-no-properties ... ...)) (if (string-match " \\([012]?[0-9]:[0-9][0-9]\\)" s) (setq timestr ...) (setq timestr ...)) (setq txt (org-agenda-format-item ... head category tags ... nil habitp)))) (when txt (setq face (cond (... ...) (todayp ...) (t ...)) habitp (and habitp (org-habit-parse-todo))) (org-add-props txt props (quote undone-face) face (quote face) (if donep (quote org-agenda-done) face) (quote org-marker) (org-agenda-new-marker pos) (quote org-hd-marker) (org-agenda-new-marker pos1) (quote type) (if pastschedp "past-scheduled" "scheduled") (quote date) (if pastschedp d2 date) (quote priority) (if habitp (org-habit-get-priority habitp) (+ 94 ... ...)) (quote org-category) category (quote org-category-position) org-category-pos (quote org-habit-p) habitp (quote todo-state) todo-state) (push txt ee))))))
|   (let* ((props (list (quote org-not-done-regexp) org-not-done-regexp (quote org-todo-regexp) org-todo-regexp (quote org-complex-heading-regexp) org-complex-heading-regexp (quote done-face) (quote org-agenda-done) (quote mouse-face) (quote highlight) (quote help-echo) (format "mouse-2 or RET jump to org file %s" (abbreviate-file-name buffer-file-name)))) (regexp org-scheduled-time-regexp) (todayp (org-agenda-todayp date)) (d1 (calendar-absolute-from-gregorian date)) mm (deadline-position-alist (mapcar (lambda (a) (and (setq mm (get-text-property 0 ... a)) (cons (marker-position mm) a))) deadline-results)) d2 diff pos pos1 category org-category-pos tags donep ee txt head pastschedp todo-state face timestr s habitp show-all did-habit-check-p) (goto-char (point-min)) (while (re-search-forward regexp nil t) (catch :skip (org-agenda-skip) (setq s (match-string 1) txt nil pos (1- (match-beginning 1)) todo-state (save-match-data (org-get-todo-state)) show-all (or (eq org-agenda-repeating-timestamp-show-all t) (member todo-state org-agenda-repeating-timestamp-show-all)) d2 (org-time-string-to-absolute (match-string 1) d1 (quote past) show-all (current-buffer) pos) diff (- d2 d1)) (setq pastschedp (and todayp (< diff 0))) (setq did-habit-check-p nil) (when (or (and (< diff 0) (< (abs diff) org-scheduled-past-days) (and todayp (not org-agenda-only-exact-dates))) (= diff 0) (and todayp org-habit-show-all-today (setq did-habit-check-p t) (setq habitp (and ... ...)))) (save-excursion (setq donep (member todo-state org-done-keywords)) (if (and donep (or org-agenda-skip-scheduled-if-done ... ...)) (setq txt nil) (setq habitp (if did-habit-check-p habitp ...)) (setq category (org-get-category) org-category-pos (get-text-property ... ...)) (if (not ...) (setq txt org-agenda-no-heading-message) (goto-char ...) (setq pos1 ...) (if habitp ... ...) (setq tags ...) (setq head ...) (if ... ... ...) (setq txt ...))) (when txt (setq face (cond ... ... ...) habitp (and habitp ...)) (org-add-props txt props (quote undone-face) face (quote face) (if donep ... face) (quote org-marker) (org-agenda-new-marker pos) (quote org-hd-marker) (org-agenda-new-marker pos1) (quote type) (if pastschedp "past-scheduled" "scheduled") (quote date) (if pastschedp d2 date) (quote priority) (if habitp ... ...) (quote org-category) category (quote org-category-position) org-category-pos (quote org-habit-p) habitp (quote todo-state) todo-state) (push txt ee)))))) (nreverse ee))
|   org-agenda-get-scheduled(nil)
|   (setq rtn (org-agenda-get-scheduled deadline-results))
|   (cond ((and (eq arg :todo) (equal date (calendar-gregorian-from-absolute (org-today)))) (setq rtn (org-agenda-get-todos)) (setq results (append results rtn))) ((eq arg :timestamp) (setq rtn (org-agenda-get-blocks)) (setq results (append results rtn)) (setq rtn (org-agenda-get-timestamps deadline-results)) (setq results (append results rtn))) ((eq arg :sexp) (setq rtn (org-agenda-get-sexps)) (setq results (append results rtn))) ((eq arg :scheduled) (setq rtn (org-agenda-get-scheduled deadline-results)) (setq results (append results rtn))) ((eq arg :closed) (setq rtn (org-agenda-get-progress)) (setq results (append results rtn))) ((eq arg :deadline) (setq rtn (org-agenda-get-deadlines)) (setq deadline-results (copy-sequence rtn)) (setq results (append results rtn))))
|   (while (setq arg (pop args)) (cond ((and (eq arg :todo) (equal date (calendar-gregorian-from-absolute (org-today)))) (setq rtn (org-agenda-get-todos)) (setq results (append results rtn))) ((eq arg :timestamp) (setq rtn (org-agenda-get-blocks)) (setq results (append results rtn)) (setq rtn (org-agenda-get-timestamps deadline-results)) (setq results (append results rtn))) ((eq arg :sexp) (setq rtn (org-agenda-get-sexps)) (setq results (append results rtn))) ((eq arg :scheduled) (setq rtn (org-agenda-get-scheduled deadline-results)) (setq results (append results rtn))) ((eq arg :closed) (setq rtn (org-agenda-get-progress)) (setq results (append results rtn))) ((eq arg :deadline) (setq rtn (org-agenda-get-deadlines)) (setq deadline-results (copy-sequence rtn)) (setq results (append results rtn)))))
|   (save-restriction (if org-agenda-restrict (narrow-to-region org-agenda-restrict-begin org-agenda-restrict-end) (widen)) (while (setq arg (pop args)) (cond ((and (eq arg :todo) (equal date (calendar-gregorian-from-absolute (org-today)))) (setq rtn (org-agenda-get-todos)) (setq results (append results rtn))) ((eq arg :timestamp) (setq rtn (org-agenda-get-blocks)) (setq results (append results rtn)) (setq rtn (org-agenda-get-timestamps deadline-results)) (setq results (append results rtn))) ((eq arg :sexp) (setq rtn (org-agenda-get-sexps)) (setq results (append results rtn))) ((eq arg :scheduled) (setq rtn (org-agenda-get-scheduled deadline-results)) (setq results (append results rtn))) ((eq arg :closed) (setq rtn (org-agenda-get-progress)) (setq results (append results rtn))) ((eq arg :deadline) (setq rtn (org-agenda-get-deadlines)) (setq deadline-results (copy-sequence rtn)) (setq results (append results rtn))))))
|   (save-excursion (save-restriction (if org-agenda-restrict (narrow-to-region org-agenda-restrict-begin org-agenda-restrict-end) (widen)) (while (setq arg (pop args)) (cond ((and (eq arg :todo) (equal date (calendar-gregorian-from-absolute ...))) (setq rtn (org-agenda-get-todos)) (setq results (append results rtn))) ((eq arg :timestamp) (setq rtn (org-agenda-get-blocks)) (setq results (append results rtn)) (setq rtn (org-agenda-get-timestamps deadline-results)) (setq results (append results rtn))) ((eq arg :sexp) (setq rtn (org-agenda-get-sexps)) (setq results (append results rtn))) ((eq arg :scheduled) (setq rtn (org-agenda-get-scheduled deadline-results)) (setq results (append results rtn))) ((eq arg :closed) (setq rtn (org-agenda-get-progress)) (setq results (append results rtn))) ((eq arg :deadline) (setq rtn (org-agenda-get-deadlines)) (setq deadline-results (copy-sequence rtn)) (setq results (append results rtn)))))))
|   (let ((case-fold-search nil)) (save-excursion (save-restriction (if org-agenda-restrict (narrow-to-region org-agenda-restrict-begin org-agenda-restrict-end) (widen)) (while (setq arg (pop args)) (cond ((and (eq arg :todo) (equal date ...)) (setq rtn (org-agenda-get-todos)) (setq results (append results rtn))) ((eq arg :timestamp) (setq rtn (org-agenda-get-blocks)) (setq results (append results rtn)) (setq rtn (org-agenda-get-timestamps deadline-results)) (setq results (append results rtn))) ((eq arg :sexp) (setq rtn (org-agenda-get-sexps)) (setq results (append results rtn))) ((eq arg :scheduled) (setq rtn (org-agenda-get-scheduled deadline-results)) (setq results (append results rtn))) ((eq arg :closed) (setq rtn (org-agenda-get-progress)) (setq results (append results rtn))) ((eq arg :deadline) (setq rtn (org-agenda-get-deadlines)) (setq deadline-results (copy-sequence rtn)) (setq results (append results rtn))))))))
|   (save-current-buffer (set-buffer buffer) (unless (derived-mode-p (quote org-mode)) (error "Agenda file %s is not in `org-mode'" file)) (let ((case-fold-search nil)) (save-excursion (save-restriction (if org-agenda-restrict (narrow-to-region org-agenda-restrict-begin org-agenda-restrict-end) (widen)) (while (setq arg (pop args)) (cond ((and ... ...) (setq rtn ...) (setq results ...)) ((eq arg :timestamp) (setq rtn ...) (setq results ...) (setq rtn ...) (setq results ...)) ((eq arg :sexp) (setq rtn ...) (setq results ...)) ((eq arg :scheduled) (setq rtn ...) (setq results ...)) ((eq arg :closed) (setq rtn ...) (setq results ...)) ((eq arg :deadline) (setq rtn ...) (setq deadline-results ...) (setq results ...))))))) results)
|   (with-current-buffer buffer (unless (derived-mode-p (quote org-mode)) (error "Agenda file %s is not in `org-mode'" file)) (let ((case-fold-search nil)) (save-excursion (save-restriction (if org-agenda-restrict (narrow-to-region org-agenda-restrict-begin org-agenda-restrict-end) (widen)) (while (setq arg (pop args)) (cond ((and ... ...) (setq rtn ...) (setq results ...)) ((eq arg :timestamp) (setq rtn ...) (setq results ...) (setq rtn ...) (setq results ...)) ((eq arg :sexp) (setq rtn ...) (setq results ...)) ((eq arg :scheduled) (setq rtn ...) (setq results ...)) ((eq arg :closed) (setq rtn ...) (setq results ...)) ((eq arg :deadline) (setq rtn ...) (setq deadline-results ...) (setq results ...))))))) results)
|   (if (not buffer) (list (format "ORG-AGENDA-ERROR: No such org-file %s" file)) (with-current-buffer buffer (unless (derived-mode-p (quote org-mode)) (error "Agenda file %s is not in `org-mode'" file)) (let ((case-fold-search nil)) (save-excursion (save-restriction (if org-agenda-restrict (narrow-to-region org-agenda-restrict-begin org-agenda-restrict-end) (widen)) (while (setq arg (pop args)) (cond (... ... ...) (... ... ... ... ...) (... ... ...) (... ... ...) (... ... ...) (... ... ... ...)))))) results))
|   (let* ((org-startup-folded nil) (org-startup-align-all-tables nil) (buffer (if (file-exists-p file) (org-get-agenda-file-buffer file) (error "No such file %s" file))) arg results rtn deadline-results) (if (not buffer) (list (format "ORG-AGENDA-ERROR: No such org-file %s" file)) (with-current-buffer buffer (unless (derived-mode-p (quote org-mode)) (error "Agenda file %s is not in `org-mode'" file)) (let ((case-fold-search nil)) (save-excursion (save-restriction (if org-agenda-restrict (narrow-to-region org-agenda-restrict-begin org-agenda-restrict-end) (widen)) (while (setq arg ...) (cond ... ... ... ... ... ...))))) results)))
|   org-agenda-get-day-entries("~/s/notes/notes.org" (5 29 2012) :deadline :scheduled :timestamp)
`----

thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1 + Ma Gnus v0.6

^ permalink raw reply	[flat|nested] 460+ messages in thread
* AUCTeX conflicting with org-mode
@ 2012-03-07  0:31 suvayu ali
  2012-03-07  5:08 ` Yagnesh Raghava Yakkala
  0 siblings, 1 reply; 460+ messages in thread
From: suvayu ali @ 2012-03-07  0:31 UTC (permalink / raw)
  To: org-mode mailing list

Hi,

I am having conflicts AUCTeX when I try to open plain latex files after
I exporting an org file to latex. These are the exact steps.

1. Start Emacs as: emacs -q (so that the site files load and I have
   auctex available).
2. Open any org file and export to latex, C-c C-e l.
3. Open another plain latex file.

At this point I see this backtrace:

Debugger entered--Lisp error: (void-variable TeX-master)
  #[nil "\301\302 !\203
  \303=\203  \304\305\211\306#\210\307\306!\207" [TeX-master
file-exists-p buffer-file-name shared TeX-master-file nil t
TeX-update-style] 4]()
  run-hooks(find-file-hook)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer velo-links.tex>
"~/graphics/velo-links.tex" nil nil "~/graphics/velo-links.tex"
(263573 64770))
  find-file-noselect("~/graphics/velo-links.tex" nil nil t)
  find-file("~/graphics/velo-links.tex" t)
  call-interactively(find-file nil nil)

Since removing the auctex site files out of the site-lisp directory
resolves the conflict I am assuming the problem stems from my auctex
installation.

Can someone help me trouble shoot this?

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 460+ messages in thread
* OrgMode - Export Simple Chinese text to Latex/PDF
@ 2012-02-08  9:07 Haisheng Wu
  2012-02-09  1:56 ` suvayu ali
  0 siblings, 1 reply; 460+ messages in thread
From: Haisheng Wu @ 2012-02-08  9:07 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: freizl

[-- Attachment #1: Type: text/plain, Size: 882 bytes --]

Hi guys,
  What I'd like to do is exporting a Chinese file into latex then convert
to a pdf file.
  It failed to display Chinese characters then I search google for help and
finding I need CJK package according to this post.
  http://www.math.nus.edu.sg/aslaksen/cs/cjk.html

  Unfortunately it is not that simple to make a UTF8 encoding file which I
have.
  Then I found another way is like this:
\documentclass{article}
\usepackage{CJK}
\begin{document}
\begin{CJK}{UTF8}{gbsn}
非常感 test
\end{CJK} (this is a test)
\end{document}

  Therefore I add those two lines into the org file:
#+LaTeX_HEADER: \usepackage{CJK}
#+LaTeX_HEADER: \begin{CJK}{UTF8}{gbsn}

  it WORKS.
  However, you might already notice, the `\begin` command is not closed
when I check with the generated tex file.
  Any hints / suggestions on this case?

Thanks a lot.
-Simon

[-- Attachment #2: Type: text/html, Size: 1823 bytes --]

^ permalink raw reply	[flat|nested] 460+ messages in thread
* Variable settings in .emacs VS cross device portability.
@ 2012-01-30 16:13 Yu
  2012-01-31  0:42 ` Thomas S. Dye
                   ` (2 more replies)
  0 siblings, 3 replies; 460+ messages in thread
From: Yu @ 2012-01-30 16:13 UTC (permalink / raw)
  To: org-mode mailing list

Hello!

I was wondering if there is a possibility to make org-files fully
portable in behaviour (especially when exporting) between different
emacs installations.

When reading the mailing list or other writing about org-mode,
commonly suggestions of the type "just add (setq org-foo bar) to your
.emacs". This however creates a dependency on the local setup of the
variables, which likely will be a problem, when sharing the file with
someone.

My current solution is to use a template file with #+BIND: and
#+PROPERTY: lines in a setup section rather than setting anything in
configuration files.

However, is there some way to turn a user-variable dependent file into
a portable file? I was thinking of something along the lines of
"dumping user-specified variables into a list of #+BIND lines" and, if
necessary, the magic "-*- var: value -*-" line at the start of the
file (or, less elegant because of spreading options across different
positions in the file) the commented "local variables" structure near
the end of the file. The latter two variants only apply if I am right
about #+BIND lines applying only during export (whereas the magic
emacs lines should create buffer-local bindings).

king regards, Yu

^ permalink raw reply	[flat|nested] 460+ messages in thread
* Can't have tags with a dash
@ 2011-10-12 17:37 Marcelo de Moraes Serpa
  2011-10-12 18:02 ` suvayu ali
  0 siblings, 1 reply; 460+ messages in thread
From: Marcelo de Moraes Serpa @ 2011-10-12 17:37 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

Hi guys,

I've noticed org can't handle a single tag with a dash in it. If I try to
tag an item with 'payment-integration' for example, org turns it into two
tags - ':payment:integration'. Is that intended?

Cheers,

- Marcelo.

[-- Attachment #2: Type: text/html, Size: 325 bytes --]

^ permalink raw reply	[flat|nested] 460+ messages in thread
* Latex Export: Place Caption Below Table
@ 2011-09-28 11:26 Jakob Lombacher
  2011-09-28 15:07 ` Eric S Fraga
  0 siblings, 1 reply; 460+ messages in thread
From: Jakob Lombacher @ 2011-09-28 11:26 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

if I export a document to latex, the caption of a table is always on the top.

How can I place it at the bottom? Is there a parameter to config it?

Thanks

Jakob

Examaple

#+LABEL: tbl:asdf
#+CAPTION: ?????
| | |

"leads to:"
---------------

\begin{table}[htb]
\caption{?????} \label{tbl:datenstrukturen}
.....
\end{table}

I need:
----------

\begin{table}[htb]
.....
\caption{?????} \label{tbl:datenstrukturen}
\end{table}

^ permalink raw reply	[flat|nested] 460+ messages in thread
* Problem with BEGIN_SRC export-as-latex and FORTRAN code
@ 2011-06-21 13:33 Nick Papior Andersen
  2011-06-21 15:26 ` [bug] Latex export of lists (was Re: Problem with BEGIN_SRC export-as-latex and FORTRAN code) Eric S Fraga
  2011-06-21 16:51 ` Problem with BEGIN_SRC export-as-latex and FORTRAN code Eric Schulte
  0 siblings, 2 replies; 460+ messages in thread
From: Nick Papior Andersen @ 2011-06-21 13:33 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 787 bytes --]

Hi all

I have attached a sample which produces a wrong output in my org-mode
installation. Both the output TeX file and the org file are attached.

The wrong doing happens when i do "org-export-as-latex". The output tex file
has removed a certain string length (i counted 23) and inserted some from
the code below as a description in the item field (which it shouldn't do as
we are in an enumerate environment).

I have version 7.01g, i have had troubles to install the newest 7.5 org-mode
version so i cant say if it does the same there. But i have searched the
changes list for export on latex source. It didn't seem to have had any
changes as far as this bug.

I know that i probably shouldn't denote FORTRAN code as C code, but is that
internally differentiated?

Kind regards Nick

[-- Attachment #1.2: Type: text/html, Size: 975 bytes --]

[-- Attachment #2: latex-org-export-bug.zip --]
[-- Type: application/zip, Size: 1113 bytes --]

^ permalink raw reply	[flat|nested] 460+ messages in thread
* latex checkboxes
@ 2011-06-16 22:09 Skip Collins
  2011-06-16 22:52 ` Nick Dokos
  2011-06-16 23:23 ` Thomas S. Dye
  0 siblings, 2 replies; 460+ messages in thread
From: Skip Collins @ 2011-06-16 22:09 UTC (permalink / raw)
  To: emacs-orgmode

There is a couple of problems with the way checkboxes are typeset in LaTeX.

- [ ] a
- [X] b
- [-] c

is translated to the LaTeX

\begin{itemize}
\item $\Box$ a
\item $\boxtimes$ b
\item $\boxminus$ c
\end{itemize}

The first problem is that \Box is not the same size as \boxtimes or \boxminus .
The correct symbol to use from the amssymb package is \square which
matches the other two symbols.

Another problem is that these symbols were intended to be mathematical
binary operators, and are therefore rather small for the purposes of a
checkbox. I suggest that LaTeX output could be modified to something
like:

\setbox0=\hbox{\LARGE$\square$}
\begin{itemize}
\item {\parbox[][][c]{\wd0}{\LARGE$\square$}} a
\item {\parbox[][][c]{\wd0}{\LARGE$\boxtimes$}} b
\item {\parbox[][][c]{\wd0}{\LARGE$\boxminus$}} c
\end{itemize}

The parbox ensures that the checkbox is nicely centered with the first
line of text.

Another nice-to-have feature would be to use the checkbox as a label
for list items in non-enumerated lists. Currently, the list bullet
appears as visual clutter next to the checkbox.

^ permalink raw reply	[flat|nested] 460+ messages in thread
* C-c - broken
@ 2011-06-06 13:44 Marvin Doyley
  2011-06-06 17:15 ` Nicolas Goaziou
                   ` (2 more replies)
  0 siblings, 3 replies; 460+ messages in thread
From: Marvin Doyley @ 2011-06-06 13:44 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 448 bytes --]

Hi there,

I use to use C-c - to convert headlines to plain list, but for some reason
when I do this it tries to make a table of content, see below

TABLE-OF-CONTENTS on ~/Documents/General/O/org/planner.org
SPC=view TAB=goto RET=goto+hide [q]uit [r]escan [l]abels [f]ollow [x]r
[?]Help
------------------------------------------------------------------------------


Does anybody now how to fix this (i.e., get it to behave the old way)

Thanks
M

[-- Attachment #2: Type: text/html, Size: 523 bytes --]

^ permalink raw reply	[flat|nested] 460+ messages in thread
* How to display a diary entry in agenda week view only "today"
@ 2011-04-11  6:52 Rainer Stengele
  2011-04-11  8:36 ` Suvayu Ali
  0 siblings, 1 reply; 460+ messages in thread
From: Rainer Stengele @ 2011-04-11  6:52 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

In one of my org agenda files I have

#+CATEGORY: Sunrise
&%%(diary-sunrise-sunset)

Now, when I am in weekly agenda view the sunrise-sunset shows under every day.
This is kind of too much line noise and distracting for me - I would like to only see the entry for "today".

Is there a way to restrict the display of such a diary entry in the weekly agenda view to only today?

Regards,
Rainer

^ permalink raw reply	[flat|nested] 460+ messages in thread
* [Link] Missing referenced page in Org-beamer
@ 2011-03-25 21:26 Sébastien Vauban
  2011-03-25 23:39 ` Eric S Fraga
  0 siblings, 1 reply; 460+ messages in thread
From: Sébastien Vauban @ 2011-03-25 21:26 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Eric,

Check this out in section 4.3 of
http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html
(last line).

Best regards,
  Seb

-- 
Sébastien Vauban

^ permalink raw reply	[flat|nested] 460+ messages in thread
* Outlook replacement
@ 2011-03-25 18:56 Henri-Paul Indiogine
  2011-03-25 20:57 ` Chris Malone
  2011-03-25 21:06 ` John Hendy
  0 siblings, 2 replies; 460+ messages in thread
From: Henri-Paul Indiogine @ 2011-03-25 18:56 UTC (permalink / raw)
  To: emacs-orgmode

Greetings!

A few days ago I noticed a headline somewhere, possibly
http://linuxtoday.com or http://lxer.com, that read "an Outlook
replacement for Linux".

Then I thought, I have an Emacs gnus frame next to a frame with my
agenda.org.   I guess that is my "Outlook replacement".  Also, regularly I
export my agenda to Google Calendar.   So, I am not missing anything
from Outlook.  Yes, I know, I can not schedule appointments in a
corporate setting, but I work more or less alone.

Best,
Henri-Paul



-- 
Henri-Paul Indiogine
Email: hindiogine@gmail.com
Running: Ubuntu Linux 10.10, Emacs 24.0.50.1, org-mode 7.4

^ permalink raw reply	[flat|nested] 460+ messages in thread
* orgmode BEAMER scaling image
@ 2011-03-24 16:35 Gilberto
  2011-03-24 17:26 ` John Hendy
  2011-03-24 19:18 ` Eric S Fraga
  0 siblings, 2 replies; 460+ messages in thread
From: Gilberto @ 2011-03-24 16:35 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 469 bytes --]

In his org-mode beamer tutorial, Eric Fraga (very useful tutorial BTW, thanks) gives an example of using an image, and writes

> I have added an attribute to the image to tell LaTeX to scale the image to the full width of the column.


Can I add a similar attribute to my images without having to tweak the .tex file? In other words, can I directly do that in org beamer mode?

Gilberto Conde
ah.gilberto.c@gmail.com
___________________________________




[-- Attachment #2: Type: text/html, Size: 2189 bytes --]

^ permalink raw reply	[flat|nested] 460+ messages in thread
* Future Worg publishing failure :)
@ 2011-03-18  7:35 Nick Dokos
  2011-03-18 10:10 ` Bastien
  0 siblings, 1 reply; 460+ messages in thread
From: Nick Dokos @ 2011-03-18  7:35 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: nicholas.dokos

org-glossary.org contains the following text at one point:

... The number of days is
14.

Current org code takes the 14. as an item in a numbered list.  When
exporting to HTML, this causes an error in org-html-export-list-line -
hence the subject line. It's not a problem right now but it will be when
orgmode.org gets the updated version. I reformatted the line to avoid
the awkward newline, so the future publishing failure will not
happen. I'll let Nicolas worry about what should be done about the
error.

Nick

Org-mode version 7.5 (release_7.5.77.g74268.dirty)

Here's the backtrace of the error:

Debugger entered--Lisp error: (args-out-of-range #("14." 0 3 (fontified t list-item 11895 list-struct ((11895 0 "14." nil nil nil 11899)) list-prevs ((11895)) list-context nil)) 9 10)
  match-string(3 #("14." 0 3 (fontified t list-item 11895 list-struct ((11895 0 "14." nil nil nil 11899)) list-prevs ((11895)) list-context nil)))
  (let* ((checkbox (match-string 3 line)) (desc-tag (or (match-string 4 line) "???")) (body (or (match-string 5 line) "")) (list-beg (org-list-get-list-begin pos struct prevs)) (firstp (= list-beg pos)) (type (funcall get-type list-beg struct prevs)) (counter (let ((count-tmp (org-list-get-counter pos struct))) (cond ((not count-tmp) nil) ((string-match "[A-Za-z]" count-tmp) (- (string-to-char ...) 64)) ((string-match "[0-9]+" count-tmp) count-tmp))))) (when firstp (org-close-par-maybe) (insert (format "<%sl>\n" type))) (insert (cond ((equal type "d") (format "<dt>%s</dt><dd>" desc-tag)) ((and (equal type "o") counter) (format "<li value=\"%s\">" counter)) (t "<li>"))) (when checkbox (setq body (concat (cond ((string-match "X" checkbox) "<code>[X]</code> ") ((string-match " " checkbox) "<c
 ode>[&nbsp;]</code> ") (t "<code>[-]</code> ")) body))) body)
  (cond ((assq pos struct) (string-match (concat "[ 	]*\\(\\S-+[ 	]+\\)" "\\(?:\\[@\\(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\]\\)?" "\\(?:\\(\\[[ X-]\\]\\)[ 	]+\\)?" "\\(?:\\(.*\\)[ 	]+::[ 	]+\\)?" "\\(.*\\)") line) (let* ((checkbox (match-string 3 line)) (desc-tag (or (match-string 4 line) "???")) (body (or (match-string 5 line) "")) (list-beg (org-list-get-list-begin pos struct prevs)) (firstp (= list-beg pos)) (type (funcall get-type list-beg struct prevs)) (counter (let ((count-tmp ...)) (cond (... nil) (... ...) (... count-tmp))))) (when firstp (org-close-par-maybe) (insert (format "<%sl>\n" type))) (insert (cond ((equal type "d") (format "<dt>%s</dt><dd>" desc-tag)) ((and (equal type "o") counter) (format "<li value=\"%s\">" counter)) (t "<li>"))) (when checkbox (setq body (concat (con
 d (... "<code>[X]</code> ") (... "<code>[&nbsp;]</code> ") (t "<code>[-]</code> ")) body))) body)) ((equal "ORG-LIST-END-MARKER" line) (throw (quote nextline) nil)) (t line))
  (let* ((get-type (function (lambda (pos struct prevs) (let ((type ...)) (cond (... "o") (... "d") (t "u")))))) (get-closings (function (lambda (pos) (let (out) (catch (quote exit) (mapc ... struct)) out))))) (mapc (lambda (e) (let* ((lastp (= (org-list-get-last-item e struct prevs) e)) (first-item (org-list-get-list-begin e struct prevs)) (type (funcall get-type first-item struct prevs))) (org-close-par-maybe) (org-close-li type) (when lastp (insert (format "</%sl>\n" type)) (org-open-par)))) (funcall get-closings pos)) (cond ((assq pos struct) (string-match (concat "[ 	]*\\(\\S-+[ 	]+\\)" "\\(?:\\[@\\(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\]\\)?" "\\(?:\\(\\[[ X-]\\]\\)[ 	]+\\)?" "\\(?:\\(.*\\)[ 	]+::[ 	]+\\)?" "\\(.*\\)") line) (let* ((checkbox (match-string 3 line)) (desc-tag (or (match
 -string 4 line) "???")) (body (or (match-string 5 line) "")) (list-beg (org-list-get-list-begin pos struct prevs)) (firstp (= list-beg pos)) (type (funcall get-type list-beg struct prevs)) (
 counter (let (...) (cond ... ... ...)))) (when firstp (org-close-par-maybe) (insert (format "<%sl>\n" type))) (insert (cond ((equal type "d") (format "<dt>%s</dt><dd>" desc-tag)) ((and ... counter) (format "<li value=\"%s\">" counter)) (t "<li>"))) (when checkbox (setq body (concat (cond ... ... ...) body))) body)) ((equal "ORG-LIST-END-MARKER" line) (throw (quote nextline) nil)) (t line)))
  org-html-export-list-line(#("14." 0 3 (fontified t list-item 11895 list-struct ((11895 0 "14." nil nil nil 11899)) list-prevs ((11895)) list-context nil)) 11895 ((11895 0 "14." nil nil nil 11899)) ((11895)))
  (setq line (org-html-export-list-line line (get-text-property 0 (quote list-item) line) (get-text-property 0 (quote list-struct) line) (get-text-property 0 (quote list-prevs) line)))
  (progn (setq line (org-html-export-list-line line (get-text-property 0 (quote list-item) line) (get-text-property 0 (quote list-struct) line) (get-text-property 0 (quote list-prevs) line))))
  (if (get-text-property 0 (quote list-item) line) (progn (setq line (org-html-export-list-line line (get-text-property 0 (quote list-item) line) (get-text-property 0 (quote list-struct) line) (get-text-property 0 (quote list-prevs) line)))))
  (when (get-text-property 0 (quote list-item) line) (setq line (org-html-export-list-line line (get-text-property 0 (quote list-item) line) (get-text-property 0 (quote list-struct) line) (get-text-property 0 (quote list-prevs) line))))
  (cond ((string-match "^\\(\\*+\\)[ 	]+\\(.*\\)" line) (setq level (org-tr-level (- (match-end 1) (match-beginning 1) level-offset)) txt (match-string 2 line)) (if (string-match quote-re0 txt) (setq txt (replace-match "" t t txt))) (if (<= level (max umax umax-toc)) (setq head-count (+ head-count 1))) (setq first-heading-pos (or first-heading-pos (point))) (org-html-level-start level txt umax (and org-export-with-toc (<= level umax)) head-count) (when (string-match quote-re line) (org-close-par-maybe) (insert "<pre>") (setq inquote t))) ((and org-export-with-tables (string-match "^\\([ 	]*\\)\\(|\\|\\+-+\\+\\)" line)) (when (not table-open) (setq table-open t table-buffer nil table-orig-buffer nil)) (setq table-buffer (cons line table-buffer) table-orig-buffer (cons origline table-orig-bu
 ffer)) (when (or (not lines) (not (string-match "^\\([ 	]*\\)\\(|\\|\\+-+\\+\\)" (car lines)))) (setq table-open nil table-buffer (nreverse table-buffer) table-orig-buffer (nreverse table-or
 ig-buffer)) (org-close-par-maybe) (insert (org-format-table-html table-buffer table-orig-buffer)))) (t (when (get-text-property 0 (quote list-item) line) (setq line (org-html-export-list-line line (get-text-property 0 (quote list-item) line) (get-text-property 0 (quote list-struct) line) (get-text-property 0 (quote list-prevs) line)))) (when (string-match "^[ 	]*-\\{5,\\}[ 	]*$" line) (if org-par-open (insert "\n</p>\n<hr/>\n<p>\n") (insert "\n<hr/>\n")) (throw (quote nextline) nil)) (if (string-match "^ [-+*]-\\|^[ 	]*$" line) (org-open-par)) (when org-export-with-footnotes (when (and (boundp (quote footnote-section-tag-regexp)) (string-match (concat "^" footnote-section-tag-regexp) line)) (throw (quote nextline) nil)) (when (string-match "^[ 	]*\\[\\([0-9]+\\)\\]" line) (org-close-par-m
 aybe) (let ((n (match-string 1 line))) (setq org-par-open t line (replace-match (format ... n n n) t t line))))) (cond ((string-match "\\\\\\\\[ 	]*$" line) (setq line (replace-match "<br/>"
  t t line))) (org-export-preserve-breaks (setq line (concat line "<br/>")))) (let ((start 0)) (while (and org-par-open (string-match "\\\\par\\>" line start)) (if (not (get-text-property (match-beginning 0) (quote org-protected) line)) (setq line (replace-match "</p ><p >" t t line))) (setq start (match-end 0)))) (insert line "\n")))
  (catch (quote nextline) (when (and inquote (string-match "^\\*+ " line)) (insert "</pre>\n") (org-open-par) (setq inquote nil)) (when inquote (insert (org-html-protect line) "\n") (throw (quote nextline) nil)) (when (and org-export-with-fixed-width (string-match "^[ 	]*:\\(\\([ 	]\\|$\\)\\(.*\\)\\)" line)) (when (not infixed) (setq infixed t) (org-close-par-maybe) (insert "<pre class=\"example\">\n")) (insert (org-html-protect (match-string 3 line)) "\n") (when (or (not lines) (not (string-match "^[ 	]*:\\(\\([ 	]\\|$\\)\\(.*\\)\\)" (car lines)))) (setq infixed nil) (insert "</pre>\n") (org-open-par)) (throw (quote nextline) nil)) (when (and (get-text-property 0 (quote org-protected) line) (not (< (or (next-single-property-change 0 (quote org-protected) line) 10000) (length line)))) (let
  (par (ind (get-text-property 0 (quote original-indentation) line))) (when (re-search-backward "\\(<p>\\)\\([ 	
\n]*\\)\\=" (- (point) 100) t) (setq par (match-string 1)) (replace-match "\\2
 \n")) (insert line "\n") (while (and lines (or (= (length ...) 0) (not ind) (equal ind (get-text-property 0 ... ...))) (or (= (length ...) 0) (get-text-property 0 (quote org-protected) (car lines)))) (insert (pop lines) "\n")) (and par (insert "<p>\n"))) (throw (quote nextline) nil)) (when (equal "ORG-BLOCKQUOTE-START" line) (org-close-par-maybe) (insert "<blockquote>\n") (org-open-par) (throw (quote nextline) nil)) (when (equal "ORG-BLOCKQUOTE-END" line) (org-close-par-maybe) (insert "\n</blockquote>\n") (org-open-par) (throw (quote nextline) nil)) (when (equal "ORG-VERSE-START" line) (org-close-par-maybe) (insert "\n<p class=\"verse\">\n") (setq org-par-open t) (setq inverse t) (throw (quote nextline) nil)) (when (equal "ORG-VERSE-END" line) (insert "</p>\n") (setq org-par-open nil) (or
 g-open-par) (setq inverse nil) (throw (quote nextline) nil)) (when (equal "ORG-CENTER-START" line) (org-close-par-maybe) (insert "\n<div style=\"text-align: center\">") (org-open-par) (throw
  (quote nextline) nil)) (when (equal "ORG-CENTER-END" line) (org-close-par-maybe) (insert "\n</div>") (org-open-par) (throw (quote nextline) nil)) (run-hooks (quote org-export-html-after-blockquotes-hook)) (when inverse (let ((i (org-get-string-indentation line))) (if (> i 0) (setq line (concat (mapconcat (quote identity) (make-list ... "\\nbsp") "") " " (org-trim line)))) (unless (string-match "\\\\\\\\[ 	]*$" line) (setq line (concat line "\\\\"))))) (setq start 0) (while (string-match "<<<?\\([^<>]*\\)>>>?\\((INVISIBLE)\\)?[ 	]*\n?" line start) (cond ((get-text-property (match-beginning 1) (quote org-protected) line) (setq start (match-end 1))) ((match-end 2) (setq line (replace-match (format "@<a name=\"%s\" id=\"%s\">@</a>" (org-solidify-link-text ...) (org-solidify-link-text ...)) t
  t line))) ((and org-export-with-toc (equal (string-to-char line) 42)) (setq line (replace-match (concat "@<span class=\"target\">" (match-string 1 line) "@</span> ") t t line))) (t (setq li
 ne (replace-match (concat "@<a name=\"" (org-solidify-link-text ...) "\" class=\"target\">" (match-string 1 line) "@</a> ") t t line))))) (setq line (org-html-handle-time-stamps line)) (or (string-match org-table-hline-regexp line) (setq line (org-html-expand line))) (setq line (org-html-handle-links line opt-plist)) (if (and (string-match org-todo-line-regexp line) (match-beginning 2)) (setq line (concat (substring line 0 (match-beginning 2)) "<span class=\"" (if (member (match-string 2 line) org-done-keywords) "done" "todo") " " (match-string 2 line) "\"> " (org-export-html-get-todo-kwd-class-name (match-string 2 line)) "</span>" (substring line (match-end 2))))) (when org-export-with-footnotes (setq start 0) (while (string-match "\\([^* 	].*?\\)\\[\\([0-9]+\\)\\]" line start) (if (get-
 text-property (match-beginning 2) (quote org-protected) line) (setq start (match-end 2)) (let ((n (match-string 2 line)) extra a) (if (setq a (assoc n footref-seen)) (progn (setcdr a ...) (s
 etq extra ...)) (setq extra "") (push (cons n 1) footref-seen)) (setq line (replace-match (format ... ... n extra n n) t t line)))))) (cond ((string-match "^\\(\\*+\\)[ 	]+\\(.*\\)" line) (setq level (org-tr-level (- (match-end 1) (match-beginning 1) level-offset)) txt (match-string 2 line)) (if (string-match quote-re0 txt) (setq txt (replace-match "" t t txt))) (if (<= level (max umax umax-toc)) (setq head-count (+ head-count 1))) (setq first-heading-pos (or first-heading-pos (point))) (org-html-level-start level txt umax (and org-export-with-toc (<= level umax)) head-count) (when (string-match quote-re line) (org-close-par-maybe) (insert "<pre>") (setq inquote t))) ((and org-export-with-tables (string-match "^\\([ 	]*\\)\\(|\\|\\+-+\\+\\)" line)) (when (not table-open) (setq table-open 
 t table-buffer nil table-orig-buffer nil)) (setq table-buffer (cons line table-buffer) table-orig-buffer (cons origline table-orig-buffer)) (when (or (not lines) (not (string-match "^\\([ 	]
 *\\)\\(|\\|\\+-+\\+\\)" (car lines)))) (setq table-open nil table-buffer (nreverse table-buffer) table-orig-buffer (nreverse table-orig-buffer)) (org-close-par-maybe) (insert (org-format-table-html table-buffer table-orig-buffer)))) (t (when (get-text-property 0 (quote list-item) line) (setq line (org-html-export-list-line line (get-text-property 0 (quote list-item) line) (get-text-property 0 (quote list-struct) line) (get-text-property 0 (quote list-prevs) line)))) (when (string-match "^[ 	]*-\\{5,\\}[ 	]*$" line) (if org-par-open (insert "\n</p>\n<hr/>\n<p>\n") (insert "\n<hr/>\n")) (throw (quote nextline) nil)) (if (string-match "^ [-+*]-\\|^[ 	]*$" line) (org-open-par)) (when org-export-with-footnotes (when (and (boundp (quote footnote-section-tag-regexp)) (string-match (concat "^" fo
 otnote-section-tag-regexp) line)) (throw (quote nextline) nil)) (when (string-match "^[ 	]*\\[\\([0-9]+\\)\\]" line) (org-close-par-maybe) (let ((n ...)) (setq org-par-open t line (replace-m
 atch ... t t line))))) (cond ((string-match "\\\\\\\\[ 	]*$" line) (setq line (replace-match "<br/>" t t line))) (org-export-preserve-breaks (setq line (concat line "<br/>")))) (let ((start 0)) (while (and org-par-open (string-match "\\\\par\\>" line start)) (if (not (get-text-property ... ... line)) (setq line (replace-match "</p ><p >" t t line))) (setq start (match-end 0)))) (insert line "\n"))))
  (while (setq line (pop lines) origline line) (catch (quote nextline) (when (and inquote (string-match "^\\*+ " line)) (insert "</pre>\n") (org-open-par) (setq inquote nil)) (when inquote (insert (org-html-protect line) "\n") (throw (quote nextline) nil)) (when (and org-export-with-fixed-width (string-match "^[ 	]*:\\(\\([ 	]\\|$\\)\\(.*\\)\\)" line)) (when (not infixed) (setq infixed t) (org-close-par-maybe) (insert "<pre class=\"example\">\n")) (insert (org-html-protect (match-string 3 line)) "\n") (when (or (not lines) (not (string-match "^[ 	]*:\\(\\([ 	]\\|$\\)\\(.*\\)\\)" (car lines)))) (setq infixed nil) (insert "</pre>\n") (org-open-par)) (throw (quote nextline) nil)) (when (and (get-text-property 0 (quote org-protected) line) (not (< (or (next-single-property-change 0 ... line) 1
 0000) (length line)))) (let (par (ind (get-text-property 0 (quote original-indentation) line))) (when (re-search-backward "\\(<p>\\)\\([ 	
\n]*\\)\\=" (- (point) 100) t) (setq par (match-str
 ing 1)) (replace-match "\\2\n")) (insert line "\n") (while (and lines (or (= ... 0) (not ind) (equal ind ...)) (or (= ... 0) (get-text-property 0 ... ...))) (insert (pop lines) "\n")) (and par (insert "<p>\n"))) (throw (quote nextline) nil)) (when (equal "ORG-BLOCKQUOTE-START" line) (org-close-par-maybe) (insert "<blockquote>\n") (org-open-par) (throw (quote nextline) nil)) (when (equal "ORG-BLOCKQUOTE-END" line) (org-close-par-maybe) (insert "\n</blockquote>\n") (org-open-par) (throw (quote nextline) nil)) (when (equal "ORG-VERSE-START" line) (org-close-par-maybe) (insert "\n<p class=\"verse\">\n") (setq org-par-open t) (setq inverse t) (throw (quote nextline) nil)) (when (equal "ORG-VERSE-END" line) (insert "</p>\n") (setq org-par-open nil) (org-open-par) (setq inverse nil) (throw (quot
 e nextline) nil)) (when (equal "ORG-CENTER-START" line) (org-close-par-maybe) (insert "\n<div style=\"text-align: center\">") (org-open-par) (throw (quote nextline) nil)) (when (equal "ORG-C
 ENTER-END" line) (org-close-par-maybe) (insert "\n</div>") (org-open-par) (throw (quote nextline) nil)) (run-hooks (quote org-export-html-after-blockquotes-hook)) (when inverse (let ((i (org-get-string-indentation line))) (if (> i 0) (setq line (concat (mapconcat ... ... "") " " (org-trim line)))) (unless (string-match "\\\\\\\\[ 	]*$" line) (setq line (concat line "\\\\"))))) (setq start 0) (while (string-match "<<<?\\([^<>]*\\)>>>?\\((INVISIBLE)\\)?[ 	]*\n?" line start) (cond ((get-text-property (match-beginning 1) (quote org-protected) line) (setq start (match-end 1))) ((match-end 2) (setq line (replace-match (format "@<a name=\"%s\" id=\"%s\">@</a>" ... ...) t t line))) ((and org-export-with-toc (equal (string-to-char line) 42)) (setq line (replace-match (concat "@<span class=\"target
 \">" ... "@</span> ") t t line))) (t (setq line (replace-match (concat "@<a name=\"" ... "\" class=\"target\">" ... "@</a> ") t t line))))) (setq line (org-html-handle-time-stamps line)) (or
  (string-match org-table-hline-regexp line) (setq line (org-html-expand line))) (setq line (org-html-handle-links line opt-plist)) (if (and (string-match org-todo-line-regexp line) (match-beginning 2)) (setq line (concat (substring line 0 (match-beginning 2)) "<span class=\"" (if (member (match-string 2 line) org-done-keywords) "done" "todo") " " (match-string 2 line) "\"> " (org-export-html-get-todo-kwd-class-name (match-string 2 line)) "</span>" (substring line (match-end 2))))) (when org-export-with-footnotes (setq start 0) (while (string-match "\\([^* 	].*?\\)\\[\\([0-9]+\\)\\]" line start) (if (get-text-property (match-beginning 2) (quote org-protected) line) (setq start (match-end 2)) (let ((n ...) extra a) (if (setq a ...) (progn ... ...) (setq extra "") (push ... footref-seen)) (s
 etq line (replace-match ... t t line)))))) (cond ((string-match "^\\(\\*+\\)[ 	]+\\(.*\\)" line) (setq level (org-tr-level (- (match-end 1) (match-beginning 1) level-offset)) txt (match-stri
 ng 2 line)) (if (string-match quote-re0 txt) (setq txt (replace-match "" t t txt))) (if (<= level (max umax umax-toc)) (setq head-count (+ head-count 1))) (setq first-heading-pos (or first-heading-pos (point))) (org-html-level-start level txt umax (and org-export-with-toc (<= level umax)) head-count) (when (string-match quote-re line) (org-close-par-maybe) (insert "<pre>") (setq inquote t))) ((and org-export-with-tables (string-match "^\\([ 	]*\\)\\(|\\|\\+-+\\+\\)" line)) (when (not table-open) (setq table-open t table-buffer nil table-orig-buffer nil)) (setq table-buffer (cons line table-buffer) table-orig-buffer (cons origline table-orig-buffer)) (when (or (not lines) (not (string-match "^\\([ 	]*\\)\\(|\\|\\+-+\\+\\)" ...))) (setq table-open nil table-buffer (nreverse table-buffer) ta
 ble-orig-buffer (nreverse table-orig-buffer)) (org-close-par-maybe) (insert (org-format-table-html table-buffer table-orig-buffer)))) (t (when (get-text-property 0 (quote list-item) line) (s
 etq line (org-html-export-list-line line (get-text-property 0 ... line) (get-text-property 0 ... line) (get-text-property 0 ... line)))) (when (string-match "^[ 	]*-\\{5,\\}[ 	]*$" line) (if org-par-open (insert "\n</p>\n<hr/>\n<p>\n") (insert "\n<hr/>\n")) (throw (quote nextline) nil)) (if (string-match "^ [-+*]-\\|^[ 	]*$" line) (org-open-par)) (when org-export-with-footnotes (when (and (boundp ...) (string-match ... line)) (throw (quote nextline) nil)) (when (string-match "^[ 	]*\\[\\([0-9]+\\)\\]" line) (org-close-par-maybe) (let (...) (setq org-par-open t line ...)))) (cond ((string-match "\\\\\\\\[ 	]*$" line) (setq line (replace-match "<br/>" t t line))) (org-export-preserve-breaks (setq line (concat line "<br/>")))) (let ((start 0)) (while (and org-par-open (string-match "\\\\par\
 \>" line start)) (if (not ...) (setq line ...)) (setq start (match-end 0)))) (insert line "\n")))))
  (let ((case-fold-search nil) (org-odd-levels-only odd)) (mapc (lambda (x) (set (make-local-variable (nth 2 x)) (plist-get opt-plist (car x)))) org-export-plist-vars) (setq umax (if arg (prefix-numeric-value arg) org-export-headline-levels)) (setq umax-toc (if (integerp org-export-with-toc) (min org-export-with-toc umax) umax)) (unless body-only (insert (format "%s\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n               \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\nlang=\"%s\" xml:lang=\"%s\">\n<head>\n<title>%s</title>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=%s\"/>\n<meta name=\"generator\" content=\"Org-mode\"/>\n<meta name=\"generated\" content=\"%s\"/>\n<meta name=\"author\" content=\"%s
 \"/>\n<meta name=\"description\" content=\"%s\"/>\n<meta name=\"keywords\" content=\"%s\"/>\n%s\n%s\n</head>\n<body>\n<div id=\"content\">\n%s\n" (format (or (and (stringp org-export-html-xm
 l-declaration) org-export-html-xml-declaration) (cdr (assoc html-extension org-export-html-xml-declaration)) (cdr (assoc "html" org-export-html-xml-declaration)) "") (or charset "iso-8859-1")) language language title (or charset "iso-8859-1") date author description keywords style mathjax (if (or link-up link-home) (concat (format org-export-html-home/up-format (or link-up link-home) (or link-home link-up)) "\n") ""))) (when (plist-get opt-plist :html-preamble) (let ((html-pre (plist-get opt-plist :html-preamble))) (cond ((stringp html-pre) (insert (format-spec html-pre ...))) ((functionp html-pre) (funcall html-pre opt-plist)) (t (insert (format-spec ... ...))))))) (if (and org-export-with-toc (not body-only)) (progn (push (format "<h%d>%s</h%d>\n" org-export-html-toplevel-hlevel (nth 3 
 lang-words) org-export-html-toplevel-hlevel) thetoc) (push "<div id=\"text-table-of-contents\">\n" thetoc) (push "<ul>\n<li>" thetoc) (setq lines (mapcar (quote (lambda (line) (if ... ...) l
 ine)) lines)) (while (> org-last-level (1- org-min-level)) (setq org-last-level (1- org-last-level)) (push "</li>\n</ul>\n" thetoc)) (push "</div>\n" thetoc) (setq thetoc (if have-headings (nreverse thetoc) nil)))) (setq head-count 0) (org-init-section-numbers) (org-open-par) (while (setq line (pop lines) origline line) (catch (quote nextline) (when (and inquote (string-match "^\\*+ " line)) (insert "</pre>\n") (org-open-par) (setq inquote nil)) (when inquote (insert (org-html-protect line) "\n") (throw (quote nextline) nil)) (when (and org-export-with-fixed-width (string-match "^[ 	]*:\\(\\([ 	]\\|$\\)\\(.*\\)\\)" line)) (when (not infixed) (setq infixed t) (org-close-par-maybe) (insert "<pre class=\"example\">\n")) (insert (org-html-protect (match-string 3 line)) "\n") (when (or (not li
 nes) (not (string-match "^[ 	]*:\\(\\([ 	]\\|$\\)\\(.*\\)\\)" ...))) (setq infixed nil) (insert "</pre>\n") (org-open-par)) (throw (quote nextline) nil)) (when (and (get-text-property 0 (quo
 te org-protected) line) (not (< (or ... 10000) (length line)))) (let (par (ind (get-text-property 0 ... line))) (when (re-search-backward "\\(<p>\\)\\([ 	
\n]*\\)\\=" (- ... 100) t) (setq par (match-string 1)) (replace-match "\\2\n")) (insert line "\n") (while (and lines (or ... ... ...) (or ... ...)) (insert (pop lines) "\n")) (and par (insert "<p>\n"))) (throw (quote nextline) nil)) (when (equal "ORG-BLOCKQUOTE-START" line) (org-close-par-maybe) (insert "<blockquote>\n") (org-open-par) (throw (quote nextline) nil)) (when (equal "ORG-BLOCKQUOTE-END" line) (org-close-par-maybe) (insert "\n</blockquote>\n") (org-open-par) (throw (quote nextline) nil)) (when (equal "ORG-VERSE-START" line) (org-close-par-maybe) (insert "\n<p class=\"verse\">\n") (setq org-par-open t) (setq inverse t) (throw (quote nextline) nil)) (when (equal "ORG-VERSE-END" line) (insert "</p>\n") (setq org-par-open nil) (org-open-par) (setq inverse nil) (throw (quote nextline
 ) nil)) (when (equal "ORG-CENTER-S
 TART" line) (org-close-par-maybe) (insert "\n<div style=\"text-align: center\">") (org-open-par) (throw (quote nextline) nil)) (when (equal "ORG-CENTER-END" line) (org-close-par-maybe) (insert "\n</div>") (org-open-par) (throw (quote nextline) nil)) (run-hooks (quote org-export-html-after-blockquotes-hook)) (when inverse (let ((i (org-get-string-indentation line))) (if (> i 0) (setq line (concat ... " " ...))) (unless (string-match "\\\\\\\\[ 	]*$" line) (setq line (concat line "\\\\"))))) (setq start 0) (while (string-match "<<<?\\([^<>]*\\)>>>?\\((INVISIBLE)\\)?[ 	]*\n?" line start) (cond ((get-text-property (match-beginning 1) (quote org-protected) line) (setq start (match-end 1))) ((match-end 2) (setq line (replace-match ... t t line))) ((and org-export-with-toc (equal ... 42)) (setq 
 line (replace-match ... t t line))) (t (setq line (replace-match ... t t line))))) (setq line (org-html-handle-time-stamps line)) (or (string-match org-table-hline-regexp line) (setq line (o
 rg-html-expand line))) (setq line (org-html-handle-links line opt-plist)) (if (and (string-match org-todo-line-regexp line) (match-beginning 2)) (setq line (concat (substring line 0 (match-beginning 2)) "<span class=\"" (if (member ... org-done-keywords) "done" "todo") " " (match-string 2 line) "\"> " (org-export-html-get-todo-kwd-class-name (match-string 2 line)) "</span>" (substring line (match-end 2))))) (when org-export-with-footnotes (setq start 0) (while (string-match "\\([^* 	].*?\\)\\[\\([0-9]+\\)\\]" line start) (if (get-text-property (match-beginning 2) (quote org-protected) line) (setq start (match-end 2)) (let (... extra a) (if ... ... ... ...) (setq line ...))))) (cond ((string-match "^\\(\\*+\\)[ 	]+\\(.*\\)" line) (setq level (org-tr-level (- ... ... level-offset)) txt (mat
 ch-string 2 line)) (if (string-match quote-re0 txt) (setq txt (replace-match "" t t txt))) (if (<= level (max umax umax-toc)) (setq head-count (+ head-count 1))) (setq first-heading-pos (or 
 first-heading-pos (point))) (org-html-level-start level txt umax (and org-export-with-toc (<= level umax)) head-count) (when (string-match quote-re line) (org-close-par-maybe) (insert "<pre>") (setq inquote t))) ((and org-export-with-tables (string-match "^\\([ 	]*\\)\\(|\\|\\+-+\\+\\)" line)) (when (not table-open) (setq table-open t table-buffer nil table-orig-buffer nil)) (setq table-buffer (cons line table-buffer) table-orig-buffer (cons origline table-orig-buffer)) (when (or (not lines) (not ...)) (setq table-open nil table-buffer (nreverse table-buffer) table-orig-buffer (nreverse table-orig-buffer)) (org-close-par-maybe) (insert (org-format-table-html table-buffer table-orig-buffer)))) (t (when (get-text-property 0 (quote list-item) line) (setq line (org-html-export-list-line line 
 ... ... ...))) (when (string-match "^[ 	]*-\\{5,\\}[ 	]*$" line) (if org-par-open (insert "\n</p>\n<hr/>\n<p>\n") (insert "\n<hr/>\n")) (throw (quote nextline) nil)) (if (string-match "^ [-+
 *]-\\|^[ 	]*$" line) (org-open-par)) (when org-export-with-footnotes (when (and ... ...) (throw ... nil)) (when (string-match "^[ 	]*\\[\\([0-9]+\\)\\]" line) (org-close-par-maybe) (let ... ...))) (cond ((string-match "\\\\\\\\[ 	]*$" line) (setq line ...)) (org-export-preserve-breaks (setq line ...))) (let ((start 0)) (while (and org-par-open ...) (if ... ...) (setq start ...))) (insert line "\n"))))) (when inquote (insert "</pre>\n") (org-open-par)) (org-html-level-start 1 nil umax (and org-export-with-toc (<= level umax)) head-count) (when (and (> umax 0) first-heading-pos) (insert "</div>\n")) (save-excursion (goto-char (point-min)) (while (re-search-forward "<p class=\"footnote\">[^"<p class=\"email\">" email "</p>\n")) (when (plist-get opt-plist :creator-info) (insert "<p class=\"cr
 eator\">" ...)) (insert html-validation-link "\n</div>")) (t (insert "<div id=\"postamble\">\n") (insert (format-spec ... ...)) (insert "</div>")))))) (if org-export-html-with-timestamp (ins
 ert org-export-html-html-helper-timestamp)) (unless body-only (insert "\n</div>\n</body>\n</html>\n")) (unless (plist-get opt-plist :buffer-will-be-killed) (normal-mode) (if (eq major-mode (default-value (quote major-mode))) (html-mode))) (goto-char (point-min)) (when thetoc (if (or (re-search-forward "<p>\\s-*\\[TABLE-OF-CONTENTS\\]\\s-*</p>" nil t) (re-search-forward "\\[TABLE-OF-CONTENTS\\]" nil t)) (progn (goto-char (match-beginning 0)) (replace-match "")) (goto-char first-heading-pos) (when (looking-at "\\s-*</p>") (goto-char (match-end 0)) (insert "\n"))) (insert "<div id=\"table-of-contents\">\n") (let ((beg (point))) (mapc (quote insert) thetoc) (insert "</div>\n") (while (re-search-backward "<li>[ 
\n	]*</li>\n?" beg t) (replace-match "")))) (goto-char (point-min)) (while (re-search-forward "<p>[ 
\n	]*</p>" nil t) (replace-match "")) (goto-char (point-min)) (goto-char (point-min)) (let (beg end n) (while (setq beg (next-single-property-change (point) (quote org-whi
 tespace))) (setq n (get-text-property beg (quote org-whitespace)) end (next-single-property-change beg (quote org-whitespace))) (goto-char beg) (delete-region beg end) (insert (format "<span style=\"visibility:hidden;\">%s</span>" (make-string n 120))))) (goto-char (point-min)) (when (looking-at "\\s-+\n") (replace-match "")) (remove-text-properties (point-min) (point-max) (quote (display t))) (run-hooks (quote org-export-html-final-hook)) (or to-buffer (save-buffer)) (goto-char (point-min)) (or (org-export-push-to-kill-ring "HTML") (message "Exporting... done")) (if (eq to-buffer (quote string)) (prog1 (buffer-substring (point-min) (point-max)) (kill-buffer (current-buffer))) (current-buffer)))
  (let* ((opt-plist (org-export-process-option-filters (org-combine-plists (org-default-export-plist) ext-plist (org-infile-export-plist)))) (body-only (or body-only (plist-get opt-plist :body-only))) (style (concat (if (plist-get opt-plist :style-include-default) org-export-html-style-default) (plist-get opt-plist :style) (plist-get opt-plist :style-extra) "\n" (if (plist-get opt-plist :style-include-scripts) org-export-html-scripts))) (html-extension (plist-get opt-plist :html-extension)) valid thetoc have-headings first-heading-pos (odd org-odd-levels-only) (region-p (org-region-active-p)) (rbeg (and region-p (region-beginning))) (rend (and region-p (region-end))) (subtree-p (if (plist-get opt-plist :ignore-subtree-p) nil (when region-p (save-excursion (goto-char rbeg) (and (org-at-head
 ing-p) (>= ... rend)))))) (level-offset (if subtree-p (save-excursion (goto-char rbeg) (+ (funcall outline-level) (if org-odd-levels-only 1 0))) 0)) (opt-plist (setq org-export-opt-plist (if
  subtree-p (org-export-add-subtree-options opt-plist rbeg) opt-plist))) (org-current-export-dir (or pub-dir (org-export-directory :html opt-plist))) (org-current-export-file buffer-file-name) (level 0) (line "") (origline "") txt todo (umax nil) (umax-toc nil) (filename (if to-buffer nil (expand-file-name (concat (file-name-sans-extension (or ... ...)) "." html-extension) (file-name-as-directory (or pub-dir (org-export-directory :html opt-plist)))))) (current-dir (if buffer-file-name (file-name-directory buffer-file-name) default-directory)) (buffer (if to-buffer (cond ((eq to-buffer (quote string)) (get-buffer-create "*Org HTML Export*")) (t (get-buffer-create to-buffer))) (find-file-noselect filename))) (org-levels-open (make-vector org-level-max nil)) (date (plist-get opt-plist :date))
  (author (plist-get opt-plist :author)) (html-validation-link (or org-export-html-validation-link "")) (title (org-html-expand (or (and subtree-p (org-export-get-title-from-subtree)) (plist-
 get opt-plist :title) (and (not body-only) (not (plist-get opt-plist :skip-before-1st-heading)) (org-export-grab-title-from-buffer)) (and buffer-file-name (file-name-sans-extension (file-name-nondirectory buffer-file-name))) "UNTITLED"))) (link-up (and (plist-get opt-plist :link-up) (string-match "\\S-" (plist-get opt-plist :link-up)) (plist-get opt-plist :link-up))) (link-home (and (plist-get opt-plist :link-home) (string-match "\\S-" (plist-get opt-plist :link-home)) (plist-get opt-plist :link-home))) (dummy (setq opt-plist (plist-put opt-plist :title title))) (html-table-tag (plist-get opt-plist :html-table-tag)) (quote-re0 (concat "^[ 	]*" org-quote-string "\\>")) (quote-re (concat "^\\(\\*+\\)\\([ 	]+" org-quote-string "\\>\\)")) (inquote nil) (infixed nil) (inverse nil) (email (plis
 t-get opt-plist :email)) (language (plist-get opt-plist :language)) (keywords (plist-get opt-plist :keywords)) (description (plist-get opt-plist :description)) (lang-words nil) (head-count 0
 ) cnt (start 0) (coding-system (and (boundp (quote buffer-file-coding-system)) buffer-file-coding-system)) ...) (let ((inhibit-read-only t)) (org-unmodified (remove-text-properties (point-min) (point-max) (quote (:org-license-to-kill t))))) (message "Exporting...") (setq org-min-level (org-get-min-level lines level-offset)) (setq org-last-level org-min-level) (org-init-section-numbers) (cond ((and date (string-match "%" date)) (setq date (format-time-string date))) (date) (t (setq date (format-time-string "%Y-%m-%d %T %Z")))) (setq lang-words (or (assoc language org-export-language-setup) (assoc "en" org-export-language-setup))) (set-buffer buffer) (let ((inhibit-read-only t)) (erase-buffer)) (fundamental-mode) (org-install-letbind) (and (fboundp (quote set-buffer-file-coding-system)) (se
 t-buffer-file-coding-system coding-system-for-write)) (let ((case-fold-search nil) (org-odd-levels-only odd)) (mapc (lambda (x) (set (make-local-variable (nth 2 x)) (plist-get opt-plist (car
  x)))) org-export-plist-vars) (setq umax (if arg (prefix-numeric-value arg) org-export-headline-levels)) (setq umax-toc (if (integerp org-export-with-toc) (min org-export-with-toc umax) umax)) (unless body-only (insert (format "%s\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n               \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\"\nlang=\"%s\" xml:lang=\"%s\">\n<head>\n<title>%s</title>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=%s\"/>\n<meta name=\"generator\" content=\"Org-mode\"/>\n<meta name=\"generated\" content=\"%s\"/>\n<meta name=\"author\" content=\"%s\"/>\n<meta name=\"description\" content=\"%s\"/>\n<meta name=\"keywords\" content=\"%s\"/>\n%s\n%s\n</head>\n<body>\n<div id=\"content\"
 >\n%s\n" (format (or (and ... org-export-html-xml-declaration) (cdr ...) (cdr ...) "") (or charset "iso-8859-1")) language language title (or charset "iso-8859-1") date author description ke
 ywords style mathjax (if (or link-up link-home) (concat (format org-export-html-home/up-format ... ...) "\n") ""))) (when (plist-get opt-plist :html-preamble) (let ((html-pre (plist-get opt-plist :html-preamble))) (cond ((stringp html-pre) (insert ...)) ((functionp html-pre) (funcall html-pre opt-plist)) (t (insert ...)))))) (if (and org-export-with-toc (not body-only)) (progn (push (format "<h%d>%s</h%d>\n" org-export-html-toplevel-hlevel (nth 3 lang-words) org-export-html-toplevel-hlevel) thetoc) (push "<div id=\"text-table-of-contents\">\n" thetoc) (push "<ul>\n<li>" thetoc) (setq lines (mapcar (quote (lambda ... ... line)) lines)) (while (> org-last-level (1- org-min-level)) (setq org-last-level (1- org-last-level)) (push "</li>\n</ul>\n" thetoc)) (push "</div>\n" thetoc) (setq thetoc
  (if have-headings (nreverse thetoc) nil)))) (setq head-count 0) (org-init-section-numbers) (org-open-par) (while (setq line (pop lines) origline line) (catch (quote nextline) (when (and inq
 uote (string-match "^\\*+ " line)) (insert "</pre>\n") (org-open-par) (setq inquote nil)) (when inquote (insert (org-html-protect line) "\n") (throw (quote nextline) nil)) (when (and org-export-with-fixed-width (string-match "^[ 	]*:\\(\\([ 	]\\|$\\)\\(.*\\)\\)" line)) (when (not infixed) (setq infixed t) (org-close-par-maybe) (insert "<pre class=\"example\">\n")) (insert (org-html-protect (match-string 3 line)) "\n") (when (or (not lines) (not ...)) (setq infixed nil) (insert "</pre>\n") (org-open-par)) (throw (quote nextline) nil)) (when (and (get-text-property 0 (quote org-protected) line) (not (< ... ...))) (let (par (ind ...)) (when (re-search-backward "\\(<p>\\)\\([ 	
\n]*\\)\\=" ... t) (setq par ...) (replace-match "\\2\n")) (insert line "\n") (while (and lines ... ...) (insert ... "\n")) (and par (insert "<p>\n"))) (throw (quote nextline) nil)) (when (equal "ORG-BLOCKQUOTE-START" line) (org-close-par-maybe) (insert "<blockquote>\n") (org-open-par) (throw (quote nextl
 ine) nil)) (when (equal "ORG-BLOCKQUOTE-END" line) (org-close-par-maybe) (insert "\n</blockquote>\n") (org-open-par) (throw (quote nextline) nil)) (when (equal "ORG-VERSE-START" line) (org-close-par-maybe) (insert "\n<p class=\"verse\">\n") (setq org-par-open t) (setq inverse t) (throw (quote nextline) nil)) (when (equal "ORG-VERSE-END" line) (insert "</p>\n") (setq org-par-open nil) (org-open-par) (setq inverse nil) (throw (quote nextline) nil)) (when (equal "ORG-CENTER-START" line) (org-close-par-maybe) (insert "\n<div style=\"text-align: center\">") (org-open-par) (throw (quote nextline) nil)) (when (equal "ORG-CENTER-END" line) (org-close-par-maybe) (insert "\n</div>") (org-open-par) (throw (quote nextline) nil)) (run-hooks (quote org-export-html-after-blockquotes-hook)) (when inverse
  (let ((i ...)) (if (> i 0) (setq line ...)) (unless (string-match "\\\\\\\\[ 	]*$" line) (setq line ...)))) (setq start 0) (while (string-match "<<<?\\([^<>]*\\)>>>?\\((INVISIBLE)\\)?[ 	]*\
 n?" line start) (cond ((get-text-property ... ... line) (setq start ...)) ((match-end 2) (setq line ...)) ((and org-export-with-toc ...) (setq line ...)) (t (setq line ...)))) (setq line (org-html-handle-time-stamps line)) (or (string-match org-table-hline-regexp line) (setq line (org-html-expand line))) (setq line (org-html-handle-links line opt-plist)) (if (and (string-match org-todo-line-regexp line) (match-beginning 2)) (setq line (concat (substring line 0 ...) "<span class=\"" (if ... "done" "todo") " " (match-string 2 line) "\"> " (org-export-html-get-todo-kwd-class-name ...) "</span>" (substring line ...)))) (when org-export-with-footnotes (setq start 0) (while (string-match "\\([^* 	].*?\\)\\[\\([0-9]+\\)\\]" line start) (if (get-text-property ... ... line) (setq start ...) (let .
 .. ... ...)))) (cond ((string-match "^\\(\\*+\\)[ 	]+\\(.*\\)" line) (setq level (org-tr-level ...) txt (match-string 2 line)) (if (string-match quote-re0 txt) (setq txt ...)) (if (<= level 
 ...) (setq head-count ...)) (setq first-heading-pos (or first-heading-pos ...)) (org-html-level-start level txt umax (and org-export-with-toc ...) head-count) (when (string-match quote-re line) (org-close-par-maybe) (insert "<pre>") (setq inquote t))) ((and org-export-with-tables (string-match "^\\([ 	]*\\)\\(|\\|\\+-+\\+\\)" line)) (when (not table-open) (setq table-open t table-buffer nil table-orig-buffer nil)) (setq table-buffer (cons line table-buffer) table-orig-buffer (cons origline table-orig-buffer)) (when (or ... ...) (setq table-open nil table-buffer ... table-orig-buffer ...) (org-close-par-maybe) (insert ...))) (t (when (get-text-property 0 ... line) (setq line ...)) (when (string-match "^[ 	]*-\\{5,\\}[ 	]*$" line) (if org-par-open ... ...) (throw ... nil)) (if (string-match
  "^ [-+*]-\\|^[ 	]*$" line) (org-open-par)) (when org-export-with-footnotes (when ... ...) (when ... ... ...)) (cond (... ...) (org-export-preserve-breaks ...)) (let (...) (while ... ... ...
 )) (insert line "\n"))))) (when inquote (insert "</pre>\n") (org-open-par)) (org-html-level-start 1 nil umax (and org-export-with-toc (<= level umax)) head-count) (when (and (> umax 0) first-heading-pos) (insert "</div>\n")) (save-excursion (goto-char (point-min)) (while (re-search-forward "<p class=\"footnote\">[^footnotes (insert (format org-export-html-footnotes-section (nth 4 lang-words) (mapconcat (quote identity) (nreverse footnotes) "\n")) "\n")) (let ((bib (org-export-html-get-bibliography))) (when bib (insert "\n" bib "\n"))) (unless body-only (let ((html-post (plist-get opt-plist :html-postamble)) (email (mapconcat (lambda ... ...) (split-string email ",+ *") ", ")) (creator-info (concat "Org version " org-version " with Emacs version " (number-to-string emacs-major-version)))) 
 (when (plist-get opt-plist :html-postamble) (cond ((stringp html-post) (insert "<div id=\"postamble\">\n") (insert ...) (insert "</div>")) ((functionp html-post) (funcall html-post opt-plist
 )) ((eq html-post ...) (insert "<div id=\"postamble\">\n") (when ... ...) (when ... ...) (when ... ...) (when ... ...) (insert html-validation-link "\n</div>")) (t (insert "<div id=\"postamble\">\n") (insert ...) (insert "</div>")))))) (if org-export-html-with-timestamp (insert org-export-html-html-helper-timestamp)) (unless body-only (insert "\n</div>\n</body>\n</html>\n")) (unless (plist-get opt-plist :buffer-will-be-killed) (normal-mode) (if (eq major-mode (default-value (quote major-mode))) (html-mode))) (goto-char (point-min)) (when thetoc (if (or (re-search-forward "<p>\\s-*\\[TABLE-OF-CONTENTS\\]\\s-*</p>" nil t) (re-search-forward "\\[TABLE-OF-CONTENTS\\]" nil t)) (progn (goto-char (match-beginning 0)) (replace-match "")) (goto-char first-heading-pos) (when (looking-at "\\s-*</p>"
 ) (goto-char (match-end 0)) (insert "\n"))) (insert "<div id=\"table-of-contents\">\n") (let ((beg (point))) (mapc (quote insert) thetoc) (insert "</div>\n") (while (re-search-backward "<li>
 [ 
\n	]*</li>\n?" beg t) (replace-match "")))) (goto-char (point-min)) (while (re-search-forward "<p>[ 
\n	]*</p>" nil t) (replace-match "")) (goto-char (point-min)) (goto-char (point-min)) (let (beg end n) (while (setq beg (next-single-property-change (point) (quote org-whitespace))) (setq n (get-text-property beg (quote org-whitespace)) end (next-single-property-change beg (quote org-whitespace))) (goto-char beg) (delete-region beg end) (insert (format "<span style=\"visibility:hidden;\">%s</span>" (make-string n 120))))) (goto-char (point-min)) (when (looking-at "\\s-+\n") (replace-match "")) (remove-text-properties (point-min) (point-max) (quote (display t))) (run-hooks (quote org-export-html-final-hook)) (or to-buffer (save-buffer)) (goto-char (point-min)) (or (org-export-push-to-kill-ring "HTML") (message "Exporting... done")) (if (eq to-buffer (quote string)) (prog1 (buffer-substring 
 (point-min) (point-max)) (kill-buffer (current-buffer))) (current-buffer))))
  org-export-as-html(nil)
  call-interactively(org-export-as-html)
  org-export(nil)
  call-interactively(org-export nil nil)

^ permalink raw reply	[flat|nested] 460+ messages in thread
* Title page in latex export
@ 2011-03-04 10:05 Suvayu Ali
  2011-03-04 10:48 ` Camille persson
  2011-03-04 15:45 ` Nick Dokos
  0 siblings, 2 replies; 460+ messages in thread
From: Suvayu Ali @ 2011-03-04 10:05 UTC (permalink / raw)
  To: Org mode mailing list

Hi Orgers,

I am trying to write my thesis as per my university style. It requires
I use the \title{Thesis title} command before the

\begin{document}
...
\end{document}

Is there any way to do that? Thanks for any thoughts.

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 460+ messages in thread
* Selective export of table columns
@ 2010-11-23  8:38 Suvayu Ali
  2010-11-23 13:18 ` Nick Dokos
  0 siblings, 1 reply; 460+ messages in thread
From: Suvayu Ali @ 2010-11-23  8:38 UTC (permalink / raw)
  To: emacs

Hi,

I recently was in a situation where I had tables like these,


|    | smear param | \chi^2/DoF  | \chi^2/DoF |
| Sl |  caloE perp | perp before | perp after |
|----+-------------+-------------+------------|
|  3 |       3.008 | 8/13        | 8.3/13     |
|  2 |       3.508 | 8/13        | 8.2/13     |
|  0 |       4.008 | 8/13        | 8.3/13     |
|  4 |       4.508 | 8.1/13      | 8.4/13     |


Now the 1st and 2nd column are something for my reference and I don't
want to export them to my presentation slides. So is there an option for
selective export of table columns? If not can someone give any hints how
I might try to achieve that? I am just learning some lisp, so maybe this
could be a good practice. :)

Thanks for any insights.

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 460+ messages in thread
* Bibtex and latex export
@ 2010-09-15 16:00 Rafael Calsaverini
  2010-09-15 19:00 ` Rafael Calsaverini
  0 siblings, 1 reply; 460+ messages in thread
From: Rafael Calsaverini @ 2010-09-15 16:00 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1178 bytes --]

Hi there,

I'm trying to use org-mode to compose latex documents and I'm having a
problem with bibtex. When I export to pdf with C-c C-e p, pdflatex runs and
everything works gracefully with respect to the latex code (the output is
even prettier than I used to have patience to do only with latex), but
bibtex isn't called.

I tried to fiddle with org-exp-bibtex, which is nice, but apparently it
don't call bibtex either.

I tried to edit the function that calls pdflatex to include a call to
bibtex, but to be honest I know zero about lisp, so I couldn't even edit a
simple list of commands. :P (I must be the only emacs user in the world that
can't write or read lisp... it would be swell if I could use haskell to
extend emacs instead of lisp :P).

How should I go about automatically including a call to bibtex whenever I
want to export my org document as a pdf?

Thanks for your time, and sorry to bore you with simple questions...
---
Rafael Calsaverini
Dep. de Física Geral, Sala 336
Instituto de Física - Universidade de São Paulo

rafael.calsaverini@gmail.com
http://stoa.usp.br/calsaverini/weblog
CEL: (11) 7525-6222
USP: (11) 3091-6803

[-- Attachment #1.2: Type: text/html, Size: 1465 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 460+ messages in thread