[O] (no subject)
Im trying to create a custom agenda setup for my org-mode and I wonder how I can sort the agenda-items by date (Scheduled or deadline): newest first.I only found time-up / time-down in the parameters, but that does not seem to do what I need.Another important point would be how to handle items with no scheduled/date or deadline.. they should be placed at the end of the list.Ive been searching some time but did not find a solution. :-(Kind regardsMartin
Re: [O] Info: (org)Customizing tables in ODT export
t...@tsdye.com (Thomas S. Dye) writes: Aloha Jambu, Thanks for looking into this. Jambunathan K kjambunat...@gmail.com writes: t...@tsdye.com (Thomas S. Dye) writes: Aloha all, Section 12.8.11.4 of the info version of the Org mode manual is truncated in the middle of an emacs-lisp code block. I have trouble understanding what is it that is truncated. Would you like to share a screenshot that highlights the difference between what you see in Info manual and what you see with PDF outputs. Here it is: I am able to scroll/move up/down the info node without any issues. In the tiff file that you have attached, the section heading corresponding to 12.8.11.4 is underlined with dots. For me, there is no such dotted underline in the node. Have you tried emacs -Q Either you are having extra customizations or using an enhanced version of info (info+?) from Emacswiki or from elsewhere. I see the full file in pdf and html. All the best, Tom ps: I see that what I see in Info manual matches what is there in org.texi. (setq org-export-odt-table-styles (append org-export-odt-table-styles *--- truncated here ---* '((TableWithHeaderRowAndColumn Custom ((use-first-row-styles . t) (use-first-column-styles . t))) (TableWithFirstRowandLastRow Custom ((use-first-row-styles . t) (use-last-row-styles . t)) Org-mode version 7.9.3d (release_7.9.3d-874-gf11acc @ /Users/dk/.emacs.d/src/org-mode/lisp/), using 'make update' option in the build system. Both the html and pdf versions are OK. Only the info version is truncated. All the best, Tom --
[O] Temporally/occasionally turn off hooks?
Hi List, I copied this from Bernt Hansens set-up: ,--- | org-insert-heading-hook is a variable defined in `org.el'. | Its value is (bh/insert-heading-inactive-timestamp) | Original value was nil `--- and its often quite usefull to have a timestamp for each newly inserted todo-item (e.g.). But in other cases, like writing documents or building Org files programmatically, there is no need for heading-creation-timestamps, so I would like to turn the timestamp insertion off. I could probably use ,- | (remove-hook |'org-insert-heading-hook |'bh/insert-heading-inactive-timestamp |’LOCAL) `- to deactivate the behaviour locally, since: , | remove-hook is a compiled Lisp function in `subr.el'. | | (remove-hook HOOK FUNCTION optional LOCAL) | | Remove from the value of HOOK the function FUNCTION. | HOOK should be a symbol, and FUNCTION may be any valid function. If | FUNCTION isn't the value of HOOK, or, if FUNCTION doesn't appear in the | list of hooks to run in HOOK, then nothing is done. See `add-hook'. | | The optional third argument, LOCAL, if non-nil, says to modify | the hook's buffer-local value rather than its default value. ` but this is of course not a very generic solution for a program I want to share with others, their 'org-insert-heading-hook' might look different. Is there a way to inhibit a hook in a program, or to run it only conditionally in certain situations? -- cheers, Thorsten
Re: [O] Info: (org)Customizing tables in ODT export
Aloha Jambu, Jambunathan K kjambunat...@gmail.com writes: I am able to scroll/move up/down the info node without any issues. In the tiff file that you have attached, the section heading corresponding to 12.8.11.4 is underlined with dots. For me, there is no such dotted underline in the node. Have you tried emacs -Q Either you are having extra customizations or using an enhanced version of info (info+?) from Emacswiki or from elsewhere. This is the file created by 'make update' using the build system. I don't believe I've customized anything here beyond making 'make update' the default synonym for 'make'. I'll admit I'm not certain how or what the build system does to generate the documentation, but the files 'org', 'org.html', and 'org.pdf' were all created within a minute of one another. I don't think I'm using info+. poto:dk dk$ info --version info (GNU texinfo) 4.13 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. I'm working on a Mac. Thanks again for looking into this. All the best, Tom -- T.S. Dye Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com
Re: [O] Info: (org)Customizing tables in ODT export
Aloha Achim, Achim Gratz strom...@nexgo.de writes: Thomas S. Dye tsd at tsdye.com writes: Section 12.8.11.4 of the info version of the Org mode manual is truncated in the middle of an emacs-lisp code block. I see the full file in pdf and html. I get the complete section shown in Emacs and standalone info reader no problem. What version of TeXinfo are you using and is there any warning/error when generating the info file from the texinfo sources? I'll have to customize my bash shell to keep more of the make output. Generating the info file happens early enough that I can't scroll back to see when the info file is generated. The texinfo is from the MacTeX distribution: (/Users/dk/.emacs.d/src/org-mode/doc/./org.texi (/Users/dk/.emacs.d/src/org-mode/doc/texinfo.tex Loading texinfo [version 2012-01-03.18]: pdf, fonts, page headings, tables, conditionals, indexing, sectioning, toc, environments, defuns, macros, cross references, insertions, These are the only failures I could see in the log available to me: Output written on orgguide.pdf (47 pages, 346216 bytes). Transcript written on orgguide.log. tar: Failed to set default locale tar: Failed to set default locale I have this warning, which doesn't seem pertinent to the documentation: Generating autoloads for ob-comint.el...done Making generated-autoload-file local to *autoload-file* while let-bound! Thanks for looking into this. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
[O] Bug: ODT export and environments
Hello, I think there's a bug when exporting files to ODT using environments (center, quote etc.). Sample file: * Testing #+BEGIN_CENTER First line. Second line. #+END_CENTER When exporting that, only First line will have the correct style OrgCenter. Second line (and all subsequent ones) will have the default Text body style. Thanks and best regards -- Cássio
Re: [O] How to use org-capture with dynamic ID targets?
It works! Thanks Eric. The backquote plus ',' did the job. I now understand why my previous attempts didn't work and I can imagine what would be necessary to implement the feature I requested (not worth it). -- Darlan At Tue, 29 Jan 2013 13:26:05 +0800, Eric Abrahamsen wrote: Darlan Cavalcante Moreira darc...@gmail.com writes: At Thu, 24 Jan 2013 20:01:47 +0100, Bastien wrote: Did you tried this? (setq org-capture-templates `((f The template description table-line (id ,some_variable) this is the template content :table-line-pos II-1 :immediate-finish t))) This is something I'll have to keep in mind. However, I don't expect this to be a problem since I start Emacs everyday. It is enough for me if I can set the ID to a variable (before setting org-capture-templates) and it uses the variable value as the ID, instead of trying to interpret the variable name as the ID. In fact, even if I ever need to change the variable value after org-capture-templates was set I'm fine by just reevaluating (setq org-capture-templates ...) again so that it sees the new value. Exactly. Simple using the value of whatever list object I put there. Be it a variable value or a function that provides the. I'm fine if the value provided by a variable or a function is only read when org-capture-templates is set. My lisp knowledge is very limited to what I have seen in my Emacs initialization (and a lot of trying and error). But I have never seen @ used in lisp nor I know what terms to search for it.. All this above is pretty much exactly what you're looking for. Check out the Backquote section of the elisp manual for a pretty good introduction. If you quote using a backtick (`) rather than an apostrophe ('), you can use the comma (,) later on to evaluate variable values, see the example at top. I don't believe you need the @ here, but the manual section I mentioned explains it. I used to do this in my agenda commands, but it wasn't really practical because of the only evaluate once problem. If you restart emacs every day, that won't really be an issue for you. E
[O] Bug(?) in LaTeX export?
Hi List, when I export an Org file with Source blocks to LaTeX (:exports code), the blocks are converted into environments of package 'listings': ,-- | \lstset{language=...} | \begin{lstlisting} | (def ... ) | \end{lstlisting} `-- but: 1. the package is not loaded in the preamble (there is no \usepackage{listings}). 2. the language name in {language=XXX} is simply copied from '#+begin_src XXX' and might not be defined in the listings package. Both points cause LaTeX errors. -- cheers, Thorsten
[O] Bug report: interaction with python-mode.el
If I load a python source file using python-mode.el, and then subsequently look at a .org file using org-mode.el, I get an error: Lisp error: (wrong-type-argument stringp nil) and then I cannot see my .org file (nothing is displayed in the buffer). Specifically the steps to reproduce are: 1) run 'emacs --no-site-file --no-init-file' 2) eval (require 'python-mode) to load python-mode.el 3) find-file some/python/file.py 4) find-file some/org/file.org and I get the above error. If any of the above steps are omitted (ie, if I load python-mode.el, but don't actually look at a python file), I don't get the error. I've included a traceback below. I'm also submitting this to as a bug to org-mode (https://bugs.launchpad.net/python-mode/+bug/1108910). I've never had problems with org-mode in this vein before, and this started immediately after starting to use python-mode.el, so I suspect that the problem lies there. However, the whole traceback seems to be in org-mode code, so I'm sending this to you, as well. I'm running: OS X 10.7.5 Emacs 24.2.1 org-mode 7.8.11 python-mode 6.1.0 Backtrace attached. Thanks, Greg Debugger entered--Lisp error: (wrong-type-argument stringp nil) re-search-forward(nil nil move) outline-end-of-heading() outline-show-heading() #[nil X\205 \302 \207 [outline-level levels outline-show-heading] 2]() outline-map-region(#[nil X\205 \302 \207 [outline-level levels outline-show-heading] 2] 1 289092) hide-sublevels(1) (and level (hide-sublevels level)) (let ((level (save-excursion (goto-char (point-min)) (if (re-search-forward (concat ^ outline-regexp) nil t) (progn (goto-char (match-beginning 0)) (funcall outline-level)) (and level (hide-sublevels level))) org-overview() (cond ((and (eq last-command this-command) (eq org-cycle-global-status (quote overview))) (run-hook-with-args (quote org-pre-cycle-hook) (quote contents)) (unless ga (message CONTENTS...)) (org-content) (unless ga (message CONTENTS...done)) (setq org-cycle-global-status (quote contents)) (run-hook-with-args (quote org-cycle-hook) (quote contents))) ((and (eq last-command this-command) (eq org-cycle-global-status (quote contents))) (run-hook-with-args (quote org-pre-cycle-hook) (quote all)) (show-all) (unless ga (message SHOW ALL)) (setq org-cycle-global-status (quote all)) (run-hook-with-args (quote org-cycle-hook) (quote all))) (t (run-hook-with-args (quote org-pre-cycle-hook) (quote overview)) (org-overview) (unless ga (message OVERVIEW)) (setq org-cycle-global-status (quote overview)) (run-hook-with-args (quote org-cycle-hook) (quote overview (let ((ga (string-match \\*fontification (buffer-name (cond ((and (eq last-command this-command) (eq org-cycle-global-status (quote overview))) (run-hook-with-args (quote org-pre-cycle-hook) (quote contents)) (unless ga (message CONTENTS...)) (org-content) (unless ga (message CONTENTS...done)) (setq org-cycle-global-status (quote contents)) (run-hook-with-args (quote org-cycle-hook) (quote contents))) ((and (eq last-command this-command) (eq org-cycle-global-status (quote contents))) (run-hook-with-args (quote org-pre-cycle-hook) (quote all)) (show-all) (unless ga (message SHOW ALL)) (setq org-cycle-global-status (quote all)) (run-hook-with-args (quote org-cycle-hook) (quote all))) (t (run-hook-with-args (quote org-pre-cycle-hook) (quote overview)) (org-overview) (unless ga (message OVERVIEW)) (setq org-cycle-global-status (quote overview)) (run-hook-with-args (quote org-cycle-hook) (quote overview) org-cycle-internal-global() (cond ((equal arg (quote (16))) (setq last-command (quote dummy)) (org-set-startup-visibility) (message Startup visibility, plus VISIBILITY properties)) ((equal arg (quote (64))) (show-all) (message Entire buffer visible, including drawers)) ((org-at-table-p (quote any)) (if (org-at-table\.el-p) (message Use C-c ' to edit table.el tables) (if arg (org-table-edit-field t) (org-table-justify-field-maybe) (call-interactively (quote org-table-next-field) ((run-hook-with-args-until-success (quote org-tab-after-check-for-table-hook))) ((eq arg t) (org-cycle-internal-global)) ((and org-drawers org-drawer-regexp (save-excursion (beginning-of-line 1) (looking-at org-drawer-regexp))) (org-flag-drawer (not (get-char-property (match-end 0) (quote invisible) ((integerp arg) (save-excursion (org-back-to-heading) (outline-up-heading (if ( arg 0) (- arg) (- (funcall outline-level) arg))) (org-show-subtree))) ((and (featurep (quote org-inlinetask)) (org-inlinetask-at-task-p) (or (bolp) (not (eq org-cycle-emulate-tab (quote exc-hl-bol) (org-inlinetask-toggle-visibility)) ((org-try-cdlatex-tab)) ((and (or (and org-cycle-include-plain-lists (org-at-item-p)) (save-excursion (beginning-of-line 1) (looking-at org-outline-regexp))) (or (bolp) (not (eq org-cycle-emulate-tab (quote exc-hl-bol) (org-cycle-internal-local)) (buffer-read-only
Re: [O] Bug(?) in LaTeX export?
Aloha Thorsten, Thorsten Jolitz tjol...@googlemail.com writes: Hi List, when I export an Org file with Source blocks to LaTeX (:exports code), the blocks are converted into environments of package 'listings': What is the value of the variable org-export-latex-listings? If it is 'listings or 'minted, then there is quite a bit of setup required for all the parts to work together correctly (see http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-12). All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] Bug report: interaction with python-mode.el
Apologies, this seems to have been fixed in the latest development sources for python-mode.el. Please disregard. Thanks, Greg On Tue, Jan 29, 2013 at 3:12 PM, Greg Novak greg.no...@gmail.com wrote: If I load a python source file using python-mode.el, and then subsequently look at a .org file using org-mode.el, I get an error: Lisp error: (wrong-type-argument stringp nil) and then I cannot see my .org file (nothing is displayed in the buffer). Specifically the steps to reproduce are: 1) run 'emacs --no-site-file --no-init-file' 2) eval (require 'python-mode) to load python-mode.el 3) find-file some/python/file.py 4) find-file some/org/file.org and I get the above error. If any of the above steps are omitted (ie, if I load python-mode.el, but don't actually look at a python file), I don't get the error. I've included a traceback below. I'm also submitting this to as a bug to org-mode ( https://bugs.launchpad.net/python-mode/+bug/1108910). I've never had problems with org-mode in this vein before, and this started immediately after starting to use python-mode.el, so I suspect that the problem lies there. However, the whole traceback seems to be in org-mode code, so I'm sending this to you, as well. I'm running: OS X 10.7.5 Emacs 24.2.1 org-mode 7.8.11 python-mode 6.1.0 Backtrace attached. Thanks, Greg
Re: [O] Bug(?) in LaTeX export?
t...@tsdye.com (Thomas S. Dye) writes: Hi Tom, What is the value of the variable org-export-latex-listings? ,--- | org-export-latex-listings's value is t `--- If it is 'listings or 'minted, then there is quite a bit of setup required for all the parts to work together correctly (see http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-12). Thats quite some stuff to digest, does that hold for both, the new and the old exporter? In this case I just wanted a quick LaTeX export with the default settings, however ugly or unsatisfactoy, and I remember that this used to work. I will have a deeper look, thanks. -- cheers, Thorsten
Re: [O] Macro question with new texinfo exporter
Hello, t...@tsdye.com (Thomas S. Dye) writes: I have the following two macros: #+MACRO: markup @@info:@$1{@@$2@@info:}@@ #+MACRO: kbd {{{markup(kbd,$1)}}} When I export to texinfo using the new exporter, the following macro call triggers an error (byte-code: Wrong type argument: consp, nil): {{{kbd(C-,)}}} and so does this: {{{kbd(C-\,)}}} In fact, any number of backslashes appears to trigger the same error. I'm hoping to find @kbd{C-,} in the .texi output. I didn't try it, but it probably comes from the syntax of macros, which is a bit brittle wrt commas. We ought to modify it. Perhaps something like: {{{name arg1 arg2 with space arg3 \with\ quote}}} Regards, -- Nicolas Goaziou
[O] Date/time prompt parses '3-2' as 'Month-Day', can I configure it to parse it as 'Day-Month' ?
Hi, The date/time prompt, as described at [1], helps me a lot to quickly go over items and (re-)schedule or put a deadline to them. It has bitten me a couple of times though where I typed '3-2' where my intention was to put it at the 'third of february' and ended up with something at the 'second of march'. Is there some way I could adapt the interpretation? The date format 'd-m-y' is wired into my hands apparently. Thx, marcel [1] http://orgmode.org/manual/The-date_002ftime-prompt.html -- Marcel van der Boom -- http://hsdev.com/mvdb.vcf HS-Development BV-- http://www.hsdev.com We use bitcoin! -- http://bitcoin.org
Re: [O] Bug(?) in LaTeX export?
Hi Thorsten, Thorsten Jolitz tjol...@googlemail.com writes: t...@tsdye.com (Thomas S. Dye) writes: Hi Tom, What is the value of the variable org-export-latex-listings? ,--- | org-export-latex-listings's value is t `--- If it is 'listings or 'minted, then there is quite a bit of setup required for all the parts to work together correctly (see http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-12). Thats quite some stuff to digest, does that hold for both, the new and the old exporter? In this case I just wanted a quick LaTeX export with the default settings, however ugly or unsatisfactoy, and I remember that this used to work. I haven't exported fancy listings with the new exporter yet, so I can't answer your question. I do have org-export-latex-listings set to nil, and it gives me the results I think you're looking for--a no fuss export of some source code. The corresponding variable in the new exporter is org-e-latex-listings. Both of these variables are set to nil by default. Perhaps you are setting one of these in .emacs, or there is an old customization? All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] Macro question with new texinfo exporter
Nicolas Goaziou n.goaz...@gmail.com writes: I didn't try it, but it probably comes from the syntax of macros, which is a bit brittle wrt commas. We ought to modify it. Perhaps something like: {{{name arg1 arg2 with space arg3 \with\ quote}}} So, with the modification, I'd write {{{kbd(C-,)}}}? That would be easy on my end. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] Temporally/occasionally turn off hooks?
Thorsten Jolitz tjol...@googlemail.com writes: I copied this from Bernt Hansens set-up: ,--- | org-insert-heading-hook is a variable defined in `org.el'. | Its value is (bh/insert-heading-inactive-timestamp) | Original value was nil `--- and its often quite usefull to have a timestamp for each newly inserted todo-item (e.g.). But in other cases, like writing documents or building Org files programmatically, there is no need for heading-creation-timestamps, so I would like to turn the timestamp insertion off. I could probably use ,- | (remove-hook snip but this is of course not a very generic solution for a program I want to share with others, their 'org-insert-heading-hook' might look different. Is there a way to inhibit a hook in a program, or to run it only conditionally in certain situations? Hi Thorsten! I would leave the hook always enabled but make it smart enough to skip inserting timestamps when you don't want them. Something like the following: f9-T will toggle adding the timestamps ON and OFF f9-t will always insert a timestamp at point C-RET and M-RET will use the hook which checks if the variable bh/insert-inactive-timestamps is t before adding the timestamp, otherwise it does nothing. --8---cut here---start-8--- (global-set-key (kbd f9 T) 'bh/toggle-insert-inactive-timestamp) (global-set-key (kbd f9 t) 'bh/insert-inactive-timestamp) (defvar bh/insert-inactive-timestamp t) (defun bh/toggle-insert-inactive-timestamp () (interactive) (setq bh/insert-inactive-timestamp (not bh/insert-inactive-timestamp)) (message Heading timestamps are %s (if bh/insert-inactive-timestamp ON OFF))) (defun bh/insert-inactive-timestamp () (interactive) (org-insert-time-stamp nil t t nil nil nil)) (defun bh/insert-heading-inactive-timestamp () (save-excursion (when bh/insert-inactive-timestamp (org-return) (org-cycle) (bh/insert-inactive-timestamp (add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp 'append) --8---cut here---end---8--- Thanks for this idea :) Regards, Bernt
Re: [O] Date/time prompt parses '3-2' as 'Month-Day', can I configure it to parse it as 'Day-Month' ?
Hi Marcel, Marcel van der Boom wrote: The date/time prompt, as described at [1], helps me a lot to quickly go over items and (re-)schedule or put a deadline to them. It has bitten me a couple of times though where I typed '3-2' where my intention was to put it at the 'third of february' and ended up with something at the 'second of march'. Is there some way I could adapt the interpretation? The date format 'd-m-y' is wired into my hands apparently. Thx, marcel [1] http://orgmode.org/manual/The-date_002ftime-prompt.html Not tested, but I would try to play with: #+begin_src emacs-lisp (setq calendar-date-style 'iso) ;; or 'european #+end_src Best regards, Seb -- Sebastien Vauban
Re: [O] Date/time prompt parses '3-2' as 'Month-Day', can I configure it to parse it as 'Day-Month' ?
On Tue 29-Jan-2013 21:00 Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: Marcel van der Boom wrote: The date/time prompt, as described at [1], helps me a lot to quickly go over items and (re-)schedule or put a deadline to them. It has bitten me a couple of times though where I typed '3-2' where my intention was to put it at the 'third of february' and ended up with something at the 'second of march'. Is there some way I could adapt the interpretation? The date format 'd-m-y' is wired into my hands apparently. [...] Not tested, but I would try to play with: #+begin_src emacs-lisp (setq calendar-date-style 'iso) ;; or 'european #+end_src Thanks for the suggestion. It does not make a difference. A quick grep/glance in the org-mode code confirms that. Thanks again, marcel -- Marcel van der Boom -- http://hsdev.com/mvdb.vcf HS-Development BV-- http://www.hsdev.com We use bitcoin! -- http://bitcoin.org
[O] How to improve Org startup time?
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)
Re: [O] Date/time prompt parses '3-2' as 'Month-Day', can I configure it to parse it as 'Day-Month' ?
Marcel van der Boom mar...@hsdev.com wrote: On Tue 29-Jan-2013 21:00 Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: Marcel van der Boom wrote: The date/time prompt, as described at [1], helps me a lot to quickly go over items and (re-)schedule or put a deadline to them. It has bitten me a couple of times though where I typed '3-2' where my intention was to put it at the 'third of february' and ended up with something at the 'second of march'. Is there some way I could adapt the interpretation? The date format 'd-m-y' is wired into my hands apparently. [...] Not tested, but I would try to play with: #+begin_src emacs-lisp (setq calendar-date-style 'iso) ;; or 'european #+end_src Thanks for the suggestion. It does not make a difference. A quick grep/glance in the org-mode code confirms that. (untested) I believe you can enter dates in european dot notation: 2013.2.3 but iirc you are not allowed to leave out the year. Another possibility is feb 3 FWIW, I find ISO notation (with its left-to-right decrease in significance, mirroring that of numbers) the most sensible arrangement, and now use it almost exclusively. Nick
Re: [O] How to improve Org startup time?
Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hello, Hello Sebastien, 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? You could try to pull from the main branch and test the latest option pushed by Bastien to improve the agenda startup. This option, `org-agenda-inhibit-startup', is set by default to t so shouldn't have anything to configure. Here is the original thread: http://comments.gmane.org/gmane.emacs.orgmode/65215 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. -- Daimrod/Greg pgpxSMkRBXxEG.pgp Description: PGP signature
[O] Testing my Org installation
Hi everyone. I'm using org-mode from ELPA. 1. Which require statements should and should not be in my init file? 2. Are there any easy tests I can do to make sure everything is working properly? M-x org-version is giving me a good answer, just wondering about anything else. -- Thanks David
Re: [O] How to improve Org startup time?
Hello Daimrod, Daimrod wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: 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? You could try to pull from the main branch and test the latest option pushed by Bastien to improve the agenda startup. This option, `org-agenda-inhibit-startup', is set by default to t so shouldn't have anything to configure. Thanks for your notice -- it could (have) help(ed)... if I wasn't already (quite) up-to-date; here's the results of `git log': --8---cut here---start-8--- commit f52600a43908d5b246901780b9a761e477ec5604 Author: Eric Schulte schulte.e...@gmail.com Date: Sat Jan 26 13:58:15 2013 -0700 fix bug: tangling #+headers: lines w/prefix arg commit bb40d29b45e091f3a4226c890e1130299c4dffd4 Author: Nicolas Goaziou n.goaz...@gmail.com Date: Sat Jan 26 18:05:56 2013 +0100 org-export: Fix subtree export when parent section is empty * contrib/lisp/org-export.el (org-export--get-subtree-options): When point is at an headline and subtree export is called, make sure export properties are extracted from parent headline. * testing/lisp/test-org-export.el: Add test. commit 5e11659e66845e918a047f4a89d171f599729174 Merge: 714b372 a119649 Author: Bastien Guerry b...@altern.org Date: Sat Jan 26 15:11:21 2013 +0100 Merge branch 'maint' Conflicts: lisp/org.el commit a1196499237b6a0389fba2d21b69c34068404519 Author: Bastien Guerry b...@altern.org Date: Sat Jan 26 15:10:43 2013 +0100 org.el (org-agenda-inhibit-startup): Rename from `org-agenda-inhibit-startup-visibility-cycling' * org.el (org-agenda-inhibit-startup): Rename from `org-agenda-inhibit-startup-visibility-cycling'. (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to `org-agenda-inhibit-startup'. --8---cut here---end---8--- I must admit I did not see any improvement -- at least, even if I did not make any measures before and after that, I did not feel any improvement. Best regards, Seb -- Sebastien Vauban
Re: [O] How to improve Org startup time?
Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: 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?? I don't think so. Can you get a profile? M-x elp-instrument-package RET org-agenda RET M-x org-agenda-to-appt M-x elp-results In my (admittedly unchallenging, run-of-the-mill) setup, I get (with everything already loaded): org-agenda-to-appt1 0.053846964 0.053846964 org-agenda-prepare-buffers1 0.028483817 0.028483817 org-agenda-get-day-entries8 0.024222044 0.0030277555 org-agenda-get-scheduled 8 0.0154506449 0.0019313306 org-agenda-get-timestamps 8 0.004179949 0.0005224936 org-agenda-skip 184 0.0027937810 1.518...e-05 org-agenda-files 2 0.001386068 0.000693034 org-agenda-get-deadlines 8 0.001288303 0.0001610378 org-agenda-format-item22 0.0012140690 5.518...e-05 org-agenda-get-blocks 8 0.0007851970 9.814...e-05 org-agenda-new-marker 44 0.0006114019 1.389...e-05 org-agenda-skip-eval 368 0.0001511950 4.108...e-07 org-agenda-todayp 16 0.0001342800 8.392...e-06 org-agenda-fix-displayed-tags 22 7.2914e-053.314...e-06 org-agenda-get-category-icon 22 1.8382e-058.355...e-07 org-agenda-time-of-day-to-ampm-maybe 6 3.347e-06 5.578...e-07 A factor of 300: maybe it's real, but let's make sure first. Nick
Re: [O] How to improve Org startup time?
Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hello Daimrod, Daimrod wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: 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? You could try to pull from the main branch and test the latest option pushed by Bastien to improve the agenda startup. This option, `org-agenda-inhibit-startup', is set by default to t so shouldn't have anything to configure. Thanks for your notice -- it could (have) help(ed)... if I wasn't already (quite) up-to-date; here's the results of `git log': commit f52600a43908d5b246901780b9a761e477ec5604 Author: Eric Schulte schulte.e...@gmail.com Date: Sat Jan 26 13:58:15 2013 -0700 fix bug: tangling #+headers: lines w/prefix arg commit bb40d29b45e091f3a4226c890e1130299c4dffd4 Author: Nicolas Goaziou n.goaz...@gmail.com Date: Sat Jan 26 18:05:56 2013 +0100 org-export: Fix subtree export when parent section is empty * contrib/lisp/org-export.el (org-export--get-subtree-options): When point is at an headline and subtree export is called, make sure export properties are extracted from parent headline. * testing/lisp/test-org-export.el: Add test. commit 5e11659e66845e918a047f4a89d171f599729174 Merge: 714b372 a119649 Author: Bastien Guerry b...@altern.org Date: Sat Jan 26 15:11:21 2013 +0100 Merge branch 'maint' Conflicts: lisp/org.el commit a1196499237b6a0389fba2d21b69c34068404519 Author: Bastien Guerry b...@altern.org Date: Sat Jan 26 15:10:43 2013 +0100 org.el (org-agenda-inhibit-startup): Rename from `org-agenda-inhibit-startup-visibility-cycling' * org.el (org-agenda-inhibit-startup): Rename from `org-agenda-inhibit-startup-visibility-cycling'. (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to `org-agenda-inhibit-startup'. I must admit I did not see any improvement -- at least, even if I did not make any measures before and after that, I did not feel any improvement. Per chance, you did not forget to M-x compile ? ;) Joking aside, I'm sad it didn't any sensible improvement. -- Daimrod/Greg pgpT8YfVzH5VQ.pgp Description: PGP signature
Re: [O] Info: (org)Customizing tables in ODT export
Thomas S. Dye writes: (/Users/dk/.emacs.d/src/org-mode/doc/./org.texi (/Users/dk/.emacs.d/src/org-mode/doc/texinfo.tex Loading texinfo [version 2012-01-03.18]: pdf, fonts, page headings, tables, conditionals, indexing, sectioning, toc, environments, defuns, macros, cross references, insertions, That's the output from the start of the PDF creation, there doesn't appear to be anything obviously wrong. These are the only failures I could see in the log available to me: Output written on orgguide.pdf (47 pages, 346216 bytes). Transcript written on orgguide.log. tar: Failed to set default locale tar: Failed to set default locale So what _is_ your locale? This is an indication that either locale data is completely missing from the system or that the system libraries (glibc etc.) are different then what the exectutables run are linked against. I have this warning, which doesn't seem pertinent to the documentation: I wouldn't make that assumption, especially where makeinfo is involved. can you set LC_ALL=C or equivalently LC_ALL=POSIX and try again? Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
Re: [O] Date/time prompt parses '3-2' as 'Month-Day', can I configure it to parse it as 'Day-Month' ?
Nick Dokos writes: (untested) I believe you can enter dates in european dot notation: 2013.2.3 I don't know any place in Europe using such a format, the one that is used at least here is D[D].M[M].[YY[YY]] (but it also suffers from the same sort of potential ambiguity and confusion that plagues the american M[M]/D[D][/YY]). FWIW, I find ISO notation (with its left-to-right decrease in significance, mirroring that of numbers) the most sensible arrangement, and now use it almost exclusively. Yes (assuming this is ISO8601 we're talking about). As another bonus, it does sort correctly without jumping through burning hoops. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada
Re: [O] How to improve Org startup time?
Hi Nick, Thanks for looking into this as well! Nick Dokos wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: 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?? I don't think so. I'm sure it is, as I wrote (removed from the joined log) a message call before and after that line, and those time-stamps were 16 seconds one from the other. Can you get a profile? You're right I should use real tools for that... M-x elp-instrument-package RET org-agenda RET M-x org-agenda-to-appt M-x elp-results In my (admittedly unchallenging, run-of-the-mill) setup, I get (with everything already loaded): org-agenda-to-appt1 0.053846964 0.053846964 org-agenda-prepare-buffers1 0.028483817 0.028483817 org-agenda-get-day-entries8 0.024222044 0.0030277555 org-agenda-get-scheduled 8 0.0154506449 0.0019313306 org-agenda-get-timestamps 8 0.004179949 0.0005224936 org-agenda-skip 184 0.0027937810 1.518...e-05 org-agenda-files 2 0.001386068 0.000693034 org-agenda-get-deadlines 8 0.001288303 0.0001610378 org-agenda-format-item22 0.0012140690 5.518...e-05 org-agenda-get-blocks 8 0.0007851970 9.814...e-05 org-agenda-new-marker 44 0.0006114019 1.389...e-05 org-agenda-skip-eval 368 0.0001511950 4.108...e-07 org-agenda-todayp 16 0.0001342800 8.392...e-06 org-agenda-fix-displayed-tags 22 7.2914e-053.314...e-06 org-agenda-get-category-icon 22 1.8382e-058.355...e-07 org-agenda-time-of-day-to-ampm-maybe 6 3.347e-06 5.578...e-07 A factor of 300: maybe it's real, but let's make sure first. Here it is. I don't know how to interpret that difference, tho. --8---cut here---start-8--- org-agenda-to-appt1 19.67319.673 org-agenda-prepare-buffers1 18.86 18.86 org-agenda-get-day-entries36 0.797000 0.022138 org-agenda-files 37 0.544000 0.0147027027 org-agenda-get-scheduled 36 0.515000 0.014305 org-agenda-get-deadlines 36 0.158000 0.004388 org-agenda-skip 612 0.141000 0.0002303921 org-agenda-get-timestamps 36 0.047 0.001305 org-agenda-get-blocks 36 0.046 0.001277 org-agenda-format-item42 0.031 0.0007380952 org-agenda-skip-eval 12040.016 1.32...e-005 org-agenda-fix-displayed-tags 42 0.0 0.0 org-agenda-todayp 72 0.0 0.0 org-agenda-new-marker 89 0.0 0.0 org-agenda-deadline-face 2 0.0 0.0 org-agenda-get-category-icon 42 0.0 0.0 --8---cut here---end---8--- Best regards, Seb -- Sebastien Vauban
Re: [O] How to improve Org startup time?
Daimrod, Daimrod wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Daimrod wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: 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? You could try to pull from the main branch and test the latest option pushed by Bastien to improve the agenda startup. This option, `org-agenda-inhibit-startup', is set by default to t so shouldn't have anything to configure. Thanks for your notice -- it could (have) help(ed)... if I wasn't already (quite) up-to-date. I must admit I did not see any improvement -- at least, even if I did not make any measures before and after that, I did not feel any improvement. Per chance, you did not forget to M-x compile ? ;) Good to remind me/us with that, but, once again, no, as I do not use compiled Org files. That way, I'm sure not to forget such recompile step -- which I would definitely do once in a while! Joking aside, I'm sad it didn't any sensible improvement. Not for me. Not now, at least. But apparently well for others (Eric Fraga). And, anyway, I'm always welcoming a lot any such effort to improve stuff, even if that's not always visible as such. Best regards, Seb -- Sebastien Vauban
Re: [O] Date/time prompt parses '3-2' as 'Month-Day', can I configure it to parse it as 'Day-Month' ?
Achim Gratz strom...@nexgo.de wrote: Nick Dokos writes: (untested) I believe you can enter dates in european dot notation: 2013.2.3 I don't know any place in Europe using such a format, the one that is used at least here is D[D].M[M].[YY[YY]] (but it also suffers from the same sort of potential ambiguity and confusion that plagues the american M[M]/D[D][/YY]). Yep, I told you I use ISO almost exlusively :-) Sorry for the confusion. Nick
Re: [O] How to improve Org startup time?
Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: 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?? I don't think so. I'm sure it is, as I wrote (removed from the joined log) a message call before and after that line, and those time-stamps were 16 seconds one from the other. Small misunderstanding here: the I don't think so was a reply to the is that so big? question. Can you get a profile? You're right I should use real tools for that... M-x elp-instrument-package RET org-agenda RET M-x org-agenda-to-appt M-x elp-results In my (admittedly unchallenging, run-of-the-mill) setup, I get (with everything already loaded): org-agenda-to-appt1 0.053846964 0.053846964 org-agenda-prepare-buffers1 0.028483817 0.028483817 org-agenda-get-day-entries8 0.024222044 0.0030277555 org-agenda-get-scheduled 8 0.0154506449 0.0019313306 org-agenda-get-timestamps 8 0.004179949 0.0005224936 org-agenda-skip 184 0.0027937810 1.518...e-05 org-agenda-files 2 0.001386068 0.000693034 org-agenda-get-deadlines 8 0.001288303 0.0001610378 org-agenda-format-item22 0.0012140690 5.518...e-05 org-agenda-get-blocks 8 0.0007851970 9.814...e-05 org-agenda-new-marker 44 0.0006114019 1.389...e-05 org-agenda-skip-eval 368 0.0001511950 4.108...e-07 org-agenda-todayp 16 0.0001342800 8.392...e-06 org-agenda-fix-displayed-tags 22 7.2914e-053.314...e-06 org-agenda-get-category-icon 22 1.8382e-058.355...e-07 org-agenda-time-of-day-to-ampm-maybe 6 3.347e-06 5.578...e-07 A factor of 300: maybe it's real, but let's make sure first. Here it is. I don't know how to interpret that difference, tho. org-agenda-to-appt1 19.67319.673 org-agenda-prepare-buffers1 18.86 18.86 org-agenda-get-day-entries36 0.797000 0.022138 org-agenda-files 37 0.544000 0.0147027027 org-agenda-get-scheduled 36 0.515000 0.014305 org-agenda-get-deadlines 36 0.158000 0.004388 org-agenda-skip 612 0.141000 0.0002303921 org-agenda-get-timestamps 36 0.047 0.001305 org-agenda-get-blocks 36 0.046 0.001277 org-agenda-format-item42 0.031 0.0007380952 org-agenda-skip-eval 1204 0.016 1.32...e-005 org-agenda-fix-displayed-tags 42 0.0 0.0 org-agenda-todayp 72 0.0 0.0 org-agenda-new-marker 89 0.0 0.0 org-agenda-deadline-face 2 0.0 0.0 org-agenda-get-category-icon 42 0.0 0.0 Well, you have a bigger agenda by a factor of 4-5 and I guess a slower machine, but it all takes less than a second except for one thing: the big difference seems to be org-agend-prepare-buffers which opens the files, reads them in and gets the buffers ready. Once the files are open however, they should be cached, so doing it again should not take very long at all: is that the case? If so, my guess is that either you have a very slow disk or you have disk problems. Were things fast at some point in the past? In that case, I would worry about the disk. Also, what happens if you copy your agenda files to some other machine and try it there? If that's fast, then again I would worry about this disk. An anecdote to illustrate: at one point, it would take me a couple of minutes to log in whereas previously it was a
Re: [O] Testing my Org installation
Hi David, David Rogers davidandrewrog...@gmail.com writes: 1. Which require statements should and should not be in my init file? None. You just need to initialize the package configuration with (package-initialize) before using any Org autoloaded function in your .emacs file. 2. Are there any easy tests I can do to make sure everything is working properly? M-x org-version is giving me a good answer, just wondering about anything else. M-x org-version RET _is_ the test to run :) HTH, -- Bastien
Re: [O] Info: (org)Customizing tables in ODT export
Hi Achim, I found my way to the top of the 'make update' output. It looks like makeinfo thinks all is well (assuming its complaints would be visible here): makeinfo --no-split org.texi -o org makeinfo --html --number-sections --no-split -o org.html org.texi Achim Gratz strom...@nexgo.de writes: These are the only failures I could see in the log available to me: Output written on orgguide.pdf (47 pages, 346216 bytes). Transcript written on orgguide.log. tar: Failed to set default locale tar: Failed to set default locale So what _is_ your locale? This is an indication that either locale data is completely missing from the system or that the system libraries (glibc etc.) are different then what the exectutables run are linked against. poto:org-mode dk$ locale LANG=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_ALL= I don't know how to check system libraries, etc. I have this warning, which doesn't seem pertinent to the documentation: I wouldn't make that assumption, especially where makeinfo is involved. can you set LC_ALL=C or equivalently LC_ALL=POSIX and try again? Not quite sure how to set locale, or whether it is a good idea to make a permanent change. I tried this in my bash shell, but with the same result--the documentation gets built, but that section of the manual is truncated when I view it with info: poto:org-mode dk$ LC_ALL=C make Thanks for taking a look at this. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] How to improve Org startup time?
HI Sébastien, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: 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?? There are basically two factors that can slow down the agenda generation: the number of agenda files, the number of entries to check in all agenda files. Can you compare the time spent by the initialization process before and after commit 582cca5806 ? It should improve things sensibly, I'd be curious to know why it does not improve anything -- if that's the case. Also, do you have any hooks in org-mode-hook? Finally, org-agenda-to-appt is very slow by default, it uses org-agenda-get-day-entries and check every entry... see the docstring on how to make it check only the ones you really need. HTH! -- Bastien
[O] Quick comment on the website
Bit of an off-topic comment. The website for org-mode (http://orgmode.org/) is fantastic. It's well laid out, helpful, and beautiful to look at. Whoever's in charge of maintaining it is doing a great job! Thanks, -- Aubrey There are two types of people in the world: those who can extrapolate from incomplete data.
[O] [patch] org-mobile-edit: Fix addheading parent-level bug
I've sent some messages to this list about a bug that manifests in org-mobile (although the cause is in orgmode itself, and is not specific to org-mobile). One of those messages is a bug report, with steps to reproduce that do not depend on having MobileOrg set up (so anyone can look at it, not only MobileOrg users). The bug report hasn't been processed yet, though (I assume because Bastien and others are busy). This is a pretty serious issue for MobileOrg users, so... I have a workaround, in the attached patch. Tested and works. I call it a workaround because it doesn't actually fix the root problem, which is that org-insert-heading-respect-content doesn't do the right thing when called non-interactively on an invisible heading. If someone writes a clever lisp function that uses org-insert-heading-respect-content without explicitly showing the entry, she will run into the same problem that MobileOrg has now. So this does not supersede the bug report. It's just a band-aid so that MobileOrg users' outline structures don't get corrupted when syncing new nodes from the mobile into Emacs. Unfortunately, I've taken the issue as far as I can and I just don't understand where org-insert-heading is going wrong. In any case, corruption of the outline structure is reason enough to apply the workaround without waiting for a real fix. 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 0001-Workaround-for-an-issue-causing-new-nodes-to-be-adde.patch Description: Binary data