[O] Removing TODO overviews (e.g., [3/5]) on export?
I am preparing a presentation using Org and Beamer. This time -- for the first time -- I am marking the slides as TODO items. I have the org export options set so the TODO keywords don't wind up in the LaTeX export, (todo:nil) and d:nil to make sure my status logging drawer is not included. This all works fine. My slides are level 2 headings, and I use top level headings to mark sections. But if I capture an overview of the work on slides in a section, e.g., * TODO [3/5] Section 1 ** DONE A slide ** TODO Another slide ** TODO another slide ** DONE A slide ** DONE A slide the LaTeX export exports the [5/7] into the section headings, where it then appears in transition slides to mark new sections. I don't see any export option in the manual or the mailing list archives for turning this off. Have I missed such an option? Greg smime.p7s Description: S/MIME cryptographic signature
Re: [O] Bug: Org-mode don't recognizes footnote references inside a #BEGIN_VERSE--#END_VERSE block [7.8.03]
Hello, oitofe...@gmail.com (Bruno Félix Rezende Ribeiro) writes: Org-mode don't recognizes the footnote reference inside the #+BEGIN_VERSE--#+END_VERSE block. This should be fixed now. Thanks for the report. Regards, -- Nicolas Goaziou
Re: [O] orgmode and auctex
It's been working for me so far so I think I'll stick with it. Thanks for all your help. Chris. On 24 February 2012 06:34, Nick Dokos nicholas.do...@hp.com wrote: Christopher Witte ch...@witte.net.au wrote: Hi all, (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil) (make-variable-buffer-local 'TeX-master) ;; I think this is need because the variable is not buffer local until Auctex is active (defun org-mode-reftex-setup () (setq TeX-master t) (load-library reftex) (and (buffer-file-name) (file-exists-p (buffer-file-name)) (progn (reftex-parse-all) (reftex-set-cite-format [[cite:%l][%l]]))) (define-key org-mode-map (kbd C-c )) 'reftex-citation) (define-key org-mode-map (kbd C-c () 'org-mode-reftex-search)) (add-hook 'org-mode-hook 'org-mode-reftex-setup) This appears to work for me. This should make the buffer local version of TeX-master t for all org buffer and keep it the default otherwise. Is this a good way to work around this problem? I think so - at least, I can't think of a better way. Nick
Re: [O] Location of OpenDocument style files should be configurable
Ulrich ps: Makefiles are beyond my jurisdiction. I will let Bastien act on your patch(es). Looks like my earlier patch hasn't been applied for 7.8.03. :( I have applied the patch below. This should be available in the next release.. Cheers, Ulrich From 274fc9a41d7e573bc67a85ffad046ca163dc6452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= u...@gentoo.org Date: Mon, 2 Jan 2012 22:00:38 +0100 Subject: [PATCH] Support DESTDIR in Makefile. --- Makefile | 19 +++ 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 642b21f..b6ad567 100644 --- a/Makefile +++ b/Makefile @@ -253,18 +253,21 @@ g: lisp/org-odt.elc: BATCH_EXTRA = -eval (setq org-odt-data-dir (expand-file-name \$(datadir)\)) install-lisp: $(LISPFILES) $(ELCFILES) - if [ ! -d $(lispdir) ]; then $(MKDIR) $(lispdir); else true; fi ; - $(CP) $(LISPFILES) $(lispdir) - $(CP) $(ELCFILES) $(lispdir) + if [ ! -d $(DESTDIR)$(lispdir) ]; then \ + $(MKDIR) $(DESTDIR)$(lispdir); else true; fi ; + $(CP) $(LISPFILES) $(DESTDIR)$(lispdir) + $(CP) $(ELCFILES) $(DESTDIR)$(lispdir) install-info: $(INFOFILES) - if [ ! -d $(infodir) ]; then $(MKDIR) $(infodir); else true; fi ; - $(CP) $(INFOFILES) $(infodir) - $(INSTALL_INFO) --infodir=$(infodir) $(INFOFILES) + if [ ! -d $(DESTDIR)$(infodir) ]; then \ + $(MKDIR) $(DESTDIR)$(infodir); else true; fi ; + $(CP) $(INFOFILES) $(DESTDIR)$(infodir) + $(INSTALL_INFO) --infodir=$(DESTDIR)$(infodir) $(INFOFILES) install-data: $(DATAFILES) - if [ ! -d $(datadir) ]; then $(MKDIR) $(datadir); else true; fi ; - $(CP) $(DATAFILES) $(datadir) + if [ ! -d $(DESTDIR)$(datadir) ]; then \ + $(MKDIR) $(DESTDIR)$(datadir); else true; fi ; + $(CP) $(DATAFILES) $(DESTDIR)$(datadir) autoloads: lisp/org-install.el
Re: [O] Location of OpenDocument style files should be configurable
Ulrich Btw, I have not applied the other patch that you submitted here. http://lists.gnu.org/archive/html/emacs-orgmode/2012-01/msg5.html Only make install copies the OpenDocument styles files. So, your approach of setting the value during compilation seems a bit strange to me. I have a feeling that your other patch - the one that I have committed - suffices to address the specific packaging workflow on Gentoo side. There is lots of water that has flown under the Ganges since we last discussed. It is possible that you are quite happy with tweaking `org-odt-data-dir' in your site installation file. Btw, I am open to discussion if you still feel strongly about the patch referenced above. It is possible that I haven't understood what you have been saying. Jambunathan K.
[O] Bug: Duration subtraction gives bad values [7.8.03 (release_7.8.03.421.g61f83.dirty)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. If I create a table formula to subtract two durations: (e.g. $6=$5-$4;T), if the answer is negative (e.g. The value in column $4 is larger than $5), it is wrong. Emacs : GNU Emacs 23.3.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2011-10-25 on braeburn.aquamacs.org - Aquamacs Distribution 2.4 Package: Org-mode version 7.8.03 (release_7.8.03.421.g61f83.dirty)
Re: [O] Links to Gnus articles don't export correctly
Jason: I just noticed that behavior. Take a look at [[http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-17-2-2][latex export tutorial]]. Just override defaults from org-gnus.el #+begin_src lisp (org-add-link-type gnus 'org-gnus-open) #+end_src -- Mikhail
[O] Frames and the agenda
Hey guys, So, I would like to keep a sort of dashboard in a osx virtual desktop - basically having emacs frames with different todo lists for reference at quick glance: http://minus.com/mlgjv21R4 The problem is that the agenda is global to the emacs instance and won't allow me to show a filter view in one frame and another in the other (i.e: One frame showing all my personal TODOs and the other showing all TODOs related to my job.). I could have those lists in separate files, but my configuration now has all todos in a big gtd.org file. Is there a way to have differente filters in different frames? If not, any thoughts on how I could accomplish this idea? Thanks, Marcelo.
Re: [O] Frames and the agenda
Check out my multiple-agenda-buffers branch from http://github.com/7max/org-mode Its designed exactly for that (multiple independent agenda buffers living together). to enable it use, M-x org-toggle-sticky-agenda You will have to set different agenda names for different agenda views in your org-agenda-custom-commands variable like so: (setq org-agenda-custom-commands '((a Agenda and NEXT (priority) ((agenda ((org-agenda-span 'day))) (tags-todo /!NEXT ((org-agenda-overriding-header Next Tasks) (org-agenda-tags-todo-honor-ignore-options t) (org-agenda-todo-ignore-scheduled t) (org-agenda-todo-ignore-deadlines t) (org-tags-match-list-sublevels t) (org-agenda-sorting-strategy '(priority-down category-keep) ((org-agenda-buffer-name *Agenda*))) (t TODO entries todo ((org-agenda-buffer-name *Todo List*) Carsten suggested that this will eventually get merged, but I think people may be afraid, as it's a bit of a major change, converting most agenda related variables to buffer local, and at least initially had a several bugs, which took me a few weeks to catch and fix. But I've been running on this branch for a month+, and quality of my org-moding had greatly improved, since now all my agendas pop-out immediately instead of rebuilding for several seconds. At Fri, 24 Feb 2012 12:38:39 -0600, Marcelo de Moraes Serpa wrote: Hey guys, So, I would like to keep a sort of dashboard in a osx virtual desktop - basically having emacs frames with different todo lists for reference at quick glance: http://minus.com/mlgjv21R4 The problem is that the agenda is global to the emacs instance and won't allow me to show a filter view in one frame and another in the other (i.e: One frame showing all my personal TODOs and the other showing all TODOs related to my job.). I could have those lists in separate files, but my configuration now has all todos in a big gtd.org file. Is there a way to have differente filters in different frames? If not, any thoughts on how I could accomplish this idea? Thanks, Marcelo.
[O] \section*{}
Does anybody now how to force org-latex-export to do \section*{name} rather than \section{name} ? thanks M
Re: [O] \section*{}
Marvin Doyley marvin...@gmail.com wrote: Does anybody now how to force org-latex-export to do \section*{name} rather than \section{name} ? #+OPTIONS: num:nil Nick
Re: [O] \section*{}
Thanks nick, Can I use this to suppress the numbering selectively For example, lets say I have * Intro * Results * Figures and Tables Can I use this to suppress numbering of Figures and Tables only ? cheers M On Fri, Feb 24, 2012 at 4:14 PM, Nick Dokos nicholas.do...@hp.com wrote: Marvin Doyley marvin...@gmail.com wrote: Does anybody now how to force org-latex-export to do \section*{name} rather than \section{name} ? #+OPTIONS: num:nil Nick
Re: [O] \section*{}
Marvin Doyley marvin...@gmail.com wrote: Thanks nick, Can I use this to suppress the numbering selectively For example, lets say I have * Intro * Results * Figures and Tables Can I use this to suppress numbering of Figures and Tables only ? Not that I know of: it's all or nothing. Nick cheers M On Fri, Feb 24, 2012 at 4:14 PM, Nick Dokos nicholas.do...@hp.com wrote: Marvin Doyley marvin...@gmail.com wrote: Does anybody now how to force org-latex-export to do \section*{name} rather than \section{name} ? #+OPTIONS: num:nil Nick Alternatives:
[O] COMMENT in links
Hi, Org people. When I save a * COMMENT Header with `C-c l' and re-insert it elsewhere through `C-c C-l', the COMMENT bit is part of the link contents and display. I may want to quickly refer to such a header from another Org file even if I do not publish it nor its contents. Then, at some later time, I may decide to publish it, which is done through `C-c ;' on the header line to remove the COMMENT word. Then, I have to adjust existing links, which is a bit annoying. For such cases at least, it would be convenient if COMMENT was ignored when the link is being saved, and also when searching for the link while following it, the same way as it already works for TODO-like keywords. If you consider this suggestion seems reasonable, publishing or not publishing a header and its contents may be quickly effected by a mere `C-c ;' without any need of further revising links. Moreover, at least in my opinion, links look neater without the COMMENT word on them. François
Re: [O] notifications for todo items
=?utf-8?Q?Peter_M=C3=BCnster?= pmli...@free.fr wrote: On Thu, Feb 23 2012, Nick Dokos wrote: what does this do that appt.el (and its org interface) does not? Sorry, I've totally forgotten to write about my motivation, to create such an org-notify module. Here a summary: - different warning periods for different todo-types - fine grained warning periods (smallest unit is second) - continue notifications, when deadline is overdue - easy modification of timestamps (just one click, to say let's do it tomorrow) - switch from todo to done by clicking on the notification window - configurable notification types (email, notifications-notify, beep, etc.) - configurable notification period - configurable notification duration - crescendo notifications (be more aggressive, when time gets closer to deadline) There was a little thread about this subject: http://thread.gmane.org/gmane.emacs.orgmode/48832 Example usage: (org-notify-add 'appt '(:time -1s :period 20s :duration 10 :actions (org-notify-action-message org-notify-action-ding)) '(:time 15m :period 2m :duration 100 :actions org-notify-action-notify) '(:time 2h :period 5m :actions org-notify-action-message) '(:time 1d :actions org-notify-action-email)) This means for todo-items with `notify' property set to `appt': 1 day before deadline, send a reminder-email, 2 hours before deadline, start to send messages every 5 minutes, then, 15 minutes before deadline, start to pop up notification windows every 2 minutes. The timeout of the window is set to 100 seconds. Finally, when deadline is overdue, send messages and make noise. A quick first impression: orgntf-process seems expensive. It seems to take 100% of one core (I've got a quad-core processor) for three or four seconds every fifty seconds. Unfortunately, the core is the same one that's running emacs, so emacs stops responding for those three or four seconds. I have disabled org-notify for now. Nick
[O] odt-export fails
Hello: This is on Windows 7 Emacs 23.3.1, org-version 7.8.03. (I installed org-mode inside cygwin's shell). Here is the backtrace: Debugger entered--Lisp error: (error Unable to create odt file (12)) signal(error (Unable to create odt file (12))) error(Unable to create odt file (%S) 12) (or (zerop exitcode) (ignore (message %s err-string)) (error Unable to create odt file (%S) exitcode)) (lambda (cmd) ... stuff deleted org-odt-save-as-outfile(c:/Users/977315/Documents/projects/low-pressure-flow/workbooks/shh+cvd-design-tool-proposal/cvd-modeling-proposal.odt ... more stuff deleted ... org-do-lparse(nil nil nil nil nil nil) org-lparse(odt odt nil nil nil nil nil nil) org-export-as-odt(nil) call-interactively(org-export-as-odt) org-export(nil) call-interactively(org-export nil nil) The backtrace refers to a a non-existent odt file (see call to org-odt-save-as-outfile). Does the call stack look ok to you? Thanks, Mirko
Re: [O] COMMENT in links
Agreed; I think the same is useful for priorities and things like ARCHIVE. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com
Re: [O] Beamer confusion: environments are ignored
At Fri, 24 Feb 2012 09:34:11 +0800, James Harkins wrote: Still, though, if there is nothing wrong with Carsten's example presentation and it renders incorrectly, then I suppose it's a bug. Shall I file a bug report? There is a reproducer here: http://article.gmane.org/gmane.emacs.orgmode/52631 Can someone confirm? Bug or not? Progress. Following instructions to prepare for a bug report, I tried a minimal-org set up and suddenly the blocks render as expected. Then I realized... the older org version that I started with (the one bundled with Emacs) didn't include a beamer class for LaTeX export, so I copied a definition for it from somewhere online and put it in ~/.emacs. Next test: Remove the customization of org-export-latex-classes and try again... and the blocks behave correctly. So, no bug. Sorry for noise. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal. -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks
[O] Bug: Org-mode don't export to html footnotes references inside footnotes as such. [7.8.03]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. Consider the following org code: -- This is only a text.[1] [1] This is a text body's footnote.[2] [2] This is a footnote's footnote. -- When org-mode exports this code to html, despite the fact that footnote 2 is present in the final document, it don't exports footnote 2 reference as a link to footnote 2; it's exported just like plain text. Emacs : GNU Emacs 23.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2012-02-08 on felix-laptop Package: Org-mode version 7.8.03 current state: == (setq org-log-done nil org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-todo-keyword-faces '((DOWNLOADING :foreground dark blue :weight bold) (ERROR :foreground red :weight bold)) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-metaup-hook '(org-babel-load-in-session-maybe) org-footnote-section nil org-footnote-tag-for-non-org-mode-files nil org-after-todo-state-change-hook '(org-clock-out-if-current) org-footnote-fill-after-inline-note-extraction t org-footnote-auto-label 'plain org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-email-link-description-format Email %c: %s org-mode-hook '(turn-on-auto-fill turn-on-flyspell turn-on-font-lock #[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) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-emphasis-regexp-components '( ('\{ - .,:!?;'\)}\\ \n,\' . 10) org-confirm-elisp-link-function 'yes-or-no-p org-export-interblocks '((src org-babel-exp-non-block-elements)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-occur-hook '(org-first-headline-recenter) org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) 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-metadown-hook '(org-babel-pop-to-session-maybe) org-export-blocks '((src org-babel-exp-src-block nil) (export-comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) ) -- ,= ,-_-. =. Bruno Félix Rezende Ribeiro (oitofelix) ((_/)o o(\_)) Uns o chamam de super-vaca... `-'(. .)`-' Outros de hyper-touro... \_/ Eu o chamo simplesmente: meta-gnu!
[O] [PATCH] Fix task cloning for repeating tasks
org.el (org-clone-subtree-with-time-shift): Fix task cloning for repeating tasks using .+n and ++n syntax Tasks with repeaters using .+n and ++n syntax retain the repeater in all of the clones causing duplicate tasks. These tasks are now handled the same as the regular repeating task using +n syntax. --- lisp/org.el |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index a81f7fc..f24c69f 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -7946,7 +7946,7 @@ the following will happen: repeater intact. - the start days in the repeater in the original entry will be shifted to past the last clone. -I this way you can spell out a number of instances of a repeating task, +In this way you can spell out a number of instances of a repeating task, and still retain the repeater to cover future instances of the task. (interactive nNumber of clones to produce: \nsDate shift per clone (e.g. +1w, empty to copy unchanged): ) (let (beg end template task idprop @@ -7973,7 +7973,7 @@ and still retain the repeater to cover future instances of the task. (setq end (point)) (setq template (buffer-substring beg end)) (when (and doshift - (string-match [^\n]+ \\+[0-9]+[dwmy][^\n]* template)) + (string-match [^\n]+ [.+]?\\+[0-9]+[dwmy][^\n]* template)) (delete-region beg end) (setq end beg) (setq nmin 0 nmax (1+ nmax) n-no-remove nmax)) @@ -8004,7 +8004,7 @@ and still retain the repeater to cover future instances of the task. (while (re-search-forward org-ts-regexp nil t) (save-excursion (goto-char (match-beginning 0)) - (if (looking-at [^\n]+\\( +\\+[0-9]+[dwmy]\\)) + (if (looking-at [^\n]+\\( +[.+]?\\+[0-9]+[dwmy]\\)) (delete-region (match-beginning 1) (match-end 1))) (setq task (buffer-string))) (insert task)) -- 1.7.9.48.g85da4d
[O] [PATCH] Fix task cloning for repeating tasks
* org.el (org-clone-subtree-with-time-shift): Fix task cloning for repeating tasks using .+n and ++n syntax Tasks with repeaters using .+n and ++n syntax retain the repeater in all of the clones causing duplicate tasks. These tasks are now handled the same as the regular repeating task using +n syntax. --- Doh! Let's fix the changelog entry... (missing * in the previous version) -Bernt lisp/org.el |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index a81f7fc..f24c69f 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -7946,7 +7946,7 @@ the following will happen: repeater intact. - the start days in the repeater in the original entry will be shifted to past the last clone. -I this way you can spell out a number of instances of a repeating task, +In this way you can spell out a number of instances of a repeating task, and still retain the repeater to cover future instances of the task. (interactive nNumber of clones to produce: \nsDate shift per clone (e.g. +1w, empty to copy unchanged): ) (let (beg end template task idprop @@ -7973,7 +7973,7 @@ and still retain the repeater to cover future instances of the task. (setq end (point)) (setq template (buffer-substring beg end)) (when (and doshift - (string-match [^\n]+ \\+[0-9]+[dwmy][^\n]* template)) + (string-match [^\n]+ [.+]?\\+[0-9]+[dwmy][^\n]* template)) (delete-region beg end) (setq end beg) (setq nmin 0 nmax (1+ nmax) n-no-remove nmax)) @@ -8004,7 +8004,7 @@ and still retain the repeater to cover future instances of the task. (while (re-search-forward org-ts-regexp nil t) (save-excursion (goto-char (match-beginning 0)) - (if (looking-at [^\n]+\\( +\\+[0-9]+[dwmy]\\)) + (if (looking-at [^\n]+\\( +[.+]?\\+[0-9]+[dwmy]\\)) (delete-region (match-beginning 1) (match-end 1))) (setq task (buffer-string))) (insert task)) -- 1.7.9.48.g85da4d
[O] problems invoking org-agenda
Maybe this is too esoteric for anyone to know, but I'm struggling and I can't figure this out. The time is Aquamacs 2.4. The place is org-mode 7.8.03. When I try to invoke org-agenda (C-c a a --- i.e. Agenda for current week or day), I get the error message: Args out of range: #( work : 0 14 org-category work tags nil org-highest-priority 65 or-lowest priority 67 time-of-day nil ...)), 0, 20 As far as I know I don't have any categories or priorities. Has anyone seen this before?
[O] [babel] FYI: documentation for picolisp added to worg
Hi List, I added the documentation page for the org babel language picolisp to worg. You can find it here: http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-picolisp.html -- cheers, Thorsten
Re: [O] \section*{}
but, you can always do this: , | ** sec 1 | | bla | | #+LaTeX: \section*{sec2} ` Tomy Marvin Doyley marvin...@gmail.com writes: Thanks nick, Can I use this to suppress the numbering selectively For example, lets say I have * Intro * Results * Figures and Tables Can I use this to suppress numbering of Figures and Tables only ? cheers M On Fri, Feb 24, 2012 at 4:14 PM, Nick Dokos nicholas.do...@hp.com wrote: Marvin Doyley marvin...@gmail.com wrote: Does anybody now how to force org-latex-export to do \section*{name} rather than \section{name} ? #+OPTIONS: num:nil Nick -- Thomas A. Gerds -- Assoc. Prof. Department of Biostatistics University of Copenhagen, Øster Farimagsgade 5, 1014 Copenhagen, Denmark Office: CSS-15.2.07 (Gamle Kommunehospital) tel: 35327914 (sec: 35327901)
Re: [O] problems invoking org-agenda
Peter Salazar cycleofs...@gmail.com wrote: Maybe this is too esoteric for anyone to know, but I'm struggling and I can't figure this out. The time is Aquamacs 2.4. The place is org-mode 7.8.03. When I try to invoke org-agenda (C-c a a --- i.e. Agenda for current week or day), I get the error message: Args out of range: #( work : 0 14 org-category work tags nil org-highest-priority 65 or-lowest priority 67 time-of-day nil ...)), 0, 20 As far as I know I don't have any categories or priorities. Has anyone seen this before? It's probably because of a bad customization. To make sure, run with a minimal .emacs that just loads org and *none* of your customizations, something as simple as the following (with obvious adjustments for your setup): --8---cut here---start-8--- ;;; -*- mode: emacs-lisp -*- ;;; constant part (add-to-list 'load-path (expand-file-name ~/src/emacs/org/org-mode/lisp)) (add-to-list 'auto-mode-alist '(\\.\\(org\\|org_archive\\|txt\\)$ . org-mode)) (require 'org-install) (setq debug-on-error t) (setq debug-on-quit t) (setq eval-expression-print-length nil) (setq eval-expression-print-level nil) (global-set-key \C-cl 'org-store-link) (global-set-key \C-ca 'org-agenda) --8---cut here---end---8--- Save this in your home directory as minimal.org.el and start emacs with emacs -q -l ~/minimal.org.el and then do C-c a a - do you get the error? Probably not. The second thing you should do (this in your full emacs session, where you get the error) is M-x toggle-debug-on-error RET and then C-c a a to trigger the error - but now it will produce a backtrace which should tell you where the error occurred. If you can't figure it out, post the backtrace to the list. Nick