Re: [O] Cannot agenda - bulk shift SCHEDULED entries with repeater interval
Am 11.09.2012 15:15, schrieb Memnon Anon: Rainer Stengele rainer.steng...@online.de writes: SCHEDULED: 2012-09-10 Mo .+3w I would like to shioft the date by bulk action in the agenda B s. That does not work. SCHEDULED date stays unchanged. Is this a bug? I just tried, works as expected here with (release_7.9-24-g2cb72a). +1d = shift one day forward from now. ++1d = shift one day forward from previous schedule. I did a git pull, make clean, make autoloads and tried again - it does not work. I marke a few of these entries with m in the agenda and press B s and use the calendar interface. ENtries all stay at the same day (today). Rainer
Re: [O] Cannot agenda - bulk shift SCHEDULED entries with repeater interval
Am 12.09.2012 09:02, schrieb Rainer Stengele: Am 11.09.2012 15:15, schrieb Memnon Anon: Rainer Stengele rainer.steng...@online.de writes: SCHEDULED: 2012-09-10 Mo .+3w I would like to shioft the date by bulk action in the agenda B s. That does not work. SCHEDULED date stays unchanged. Is this a bug? I just tried, works as expected here with (release_7.9-24-g2cb72a). +1d = shift one day forward from now. ++1d = shift one day forward from previous schedule. I did a git pull, make clean, make autoloads and tried again - it does not work. I marke a few of these entries with m in the agenda and press B s and use the calendar interface. ENtries all stay at the same day (today). Rainer Actually I now see that the bulk shifting does not work anymore on any item - independant of the repeater interval. Shifting in the calendar and pressing Enter leaves the date at today. Rainer
[O] how to locate a function?
Hello everyone, Org-mode version 7.9.1 (2eb1456bfd GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN How can I know if a function is present in org and if it is loaded? Rationale: I needed to transpose a table (Resolved via the babel/emacs-lisp thanks to Tom Dye!). I read the worg page: http://orgmode.org/worg/org-hacks.html#transpose-table but it seems to me that I cannot call the function org-table-transpose-table-at-point the only completion offered by M-x org-tr is: org-tr_anspose-element. So either I am not able to find the function or the worg documentation is outdated. Maybe with git will be easy to track the org-table-transpose function... TIA Giovanni
[O] Bug: org-preview-latex-fragment does not work with pygmentize (-shell-escape missing) [with patch] [7.8.11]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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. - Dear org hackers, When using the minted package, latex requires the -shell-escape argument to call pygmentize. Due to this, org-preview-latex-fragment fails for me (used via C-c C-x C-l). If I change the function org-create-formula-image to call latex with - -shell-escape, it works for me. In MikTex --enable-write18 should do the same. Note, though, that -shell-escape is disabled for security reasons, since it can call arbitrary code ( http://scrolls.mafgani.net/2011/03/latex-shell-escape/ ) The reason why texmf does not activate shell-escape for pygmentize by default is % pygmentize - but is the filter feature insecure? ? /etc/texmf/web2c/texmf.cnf ? info: http://pygments.org/docs/filters/ I think the best solution would be to check pygmentize, maybe define a subset of the functionality (without the filters) and get it into the shell_escape_commands (setting it myself did not work for me?). But since that is not readily accessible, I adapted the preview function instead: diff -u /usr/share/emacs/site-lisp/org-mode/org.el /home/arne/org.el.new - --- /usr/share/emacs/site-lisp/org-mode/org.el2012-05-25 23:12:51.0 +0200 +++ /home/arne/org.el.new 2012-09-12 09:37:00.788632982 +0200 @@ -17075,7 +17075,7 @@ (condition-case nil (progn (cd tmpdir) - - (call-process latex nil nil nil texfile)) + (call-process latex nil nil nil -shell-escape texfile)) (error nil)) (cd dir)) (if (not (file-exists-p dvifile)) Best wishes, Arne Emacs : GNU Emacs 23.4.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-07-10 on imkpcghg Package: Org-mode version 7.8.11 current state: == (setq org-ditaa-jar-path ~/.emacs.d/private/org/ditaa0_9/ditaa0_9.jar org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-export-latex-listings 'minted org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-agenda-custom-commands '((o Agenda and TODOs ((tags KANBAN) (agenda nil) (todo ~/plan.org))) ) org-agenda-files '(~/plan.org) org-agenda-include-diary t org-babel-load-languages '((python . t) (sh . t) (emacs-lisp . t) (ditaa . t) (dot . t) (C . t) (R . t) (gnuplot . t) (org . t)) org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-tangle-lang-exts '((C++ . cpp) (python . py) (emacs-lisp . el)) org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-agenda-skip-scheduled-if-done t org-latex-to-pdf-process '(pdflatex -interaction nonstopmode - -shell-escape -output-directory %o %f bibtex $(basename %b) pdflatex -interaction nonstopmode -shell-escape -output-directory %o %f pdflatex -interaction nonstopmode -shell-escape -output-directory %o %f) 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-export-latex-packages-alist '(( color) ( minted)) org-default-notes-file ~/.emacs.d/private/org/emacs-remember-mode.org org-directory ~/.emacs.d/private/org outline-mode-hook '((lambda nil (require (quote outline-magic 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-latex-classes '((article \\documentclass[11pt]{scrartcl} (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s}) (\\paragraph{%s} . \\paragraph*{%s}) (\\subparagraph{%s} . \\subparagraph*{%s})) (report \\documentclass[11pt]{scrreprt} (\\part{%s} . \\part*{%s}) (\\chapter{%s} . \\chapter*{%s}) (\\section{%s} . \\section*{%s}) (\\subsection{%s} . \\subsection*{%s}) (\\subsubsection{%s} . \\subsubsection*{%s})
[O] [PATCH] for an unquoted list in org-e-latex
Hi, see the patch ;) PS: Do I have to sign the fsf-formula for such patches? Sry, I'm still new to the open and free software-community, but I'm willing to help, though I can't support anything financially currently. From d4401405af9e78971b728bcc03342964de397860 Mon Sep 17 00:00:00 2001 From: Philipp Kroos philipp.kr...@t-online.de Date: Wed, 12 Sep 2012 10:45:02 +0200 Subject: [PATCH] * org-e-latex.el (org-e-latex-export-block): fixed typo '(LATEX TEX) was not quoted. TINYCHANGE --- contrib/lisp/org-e-latex.el | 2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/contrib/lisp/org-e-latex.el b/contrib/lisp/org-e-latex.el index 17bdad9..a0ca7dc 100644 --- a/contrib/lisp/org-e-latex.el +++ b/contrib/lisp/org-e-latex.el @@ -1209,7 +1209,7 @@ information. (defun org-e-latex-export-block (export-block contents info) Transcode a EXPORT-BLOCK element from Org to LaTeX. CONTENTS is nil. INFO is a plist holding contextual information. - (when (member (org-element-property :type export-block) (LATEX TEX)) + (when (member (org-element-property :type export-block) '(LATEX TEX)) (org-remove-indentation (org-element-property :value export-block -- 1.7.12
[O] Is it possible to automatically set the timestamp recorded in a CLOSED: annotation to a different time than now?
Hi there! I'd like to accomplish this. If anybody can tell me at least if that's a feasible thing to do with org-mode, i'll try to develop it myself :) I log time spent in my tasks (with org-clock), which I usually leave in STARTED state (because maybe there was a bug in my code, and I'd need to spend more time with them. At the end of the week, or maybe the next week I go through all STARTED tasks and start closing them. What happens (and that's a normal behaviour) is that the task gets a CLOSED timestamp with right now's date and time. I then adjust it manually to set it to the last clocked-out timestamp (which, for me, is the last time I spent working on it). Would it possible to customize org-mode to do this? Does it even make sense? I guess I'd have to change this lines of org-todo: (when (and now-done-p org-log-done) ;; It is now done, and it was not done before (org-add-planning-info 'closed (org-current-effective-time)) (if (and (not dolog) (eq 'note org-log-done)) (org-add-log-setup 'done org-state this 'findpos 'note))) (when (and org-state dolog) ;; This is a non-nil state, and we need to log it (org-add-log-setup 'state org-state this 'findpos dolog))) To call org-current-effective-time with an extra param that takes last timestamped clock's end time and returns it instead of org-current-time. (defun org-current-effective-time () Return current time adjusted for `org-extend-today-until' variable (let* ((ct (org-current-time)) (dct (decode-time ct)) (ct1 (if (and org-use-effective-time ( (nth 2 dct) org-extend-today-until)) (encode-time 0 59 23 (1- (nth 3 dct)) (nth 4 dct) (nth 5 dct)) ct))) ct1)) How could I get last timestamped clock's end time? Thanks a lot for your help, and thanks even more for org-mode!! -- Gaizka
Re: [O] org-spreadsheet: formatting chops off units
Hi Michael, Michael Brand michael.ch.br...@gmail.com writes: Calc `defmath' is not mentioned in the Org manual or on Worg, so I suggest the attached patch for the Org manual. Applied, thanks! -- Bastien
Re: [O] [PATCH] for an unquoted list in org-e-latex
Hi Philipp, Philipp Kroos philipp.kr...@t-online.de writes: see the patch ;) Applied, thanks. Do I have to sign the fsf-formula for such patches? No. You need to sign the FSF papers if your contributions are more than 20 lines. See: http://orgmode.org/worg/org-contribute.html#sec-6-3 Sry, I'm still new to the open and free software-community, but I'm willing to help, though I can't support anything financially currently. Any kind of help is appreciated, especially patches, as it keeps the community of contributors growing. Thanks! -- Bastien
Re: [O] Cannot agenda - bulk shift SCHEDULED entries with repeater interval
Hi Rainer, Rainer Stengele rainer.steng...@online.de writes: Actually I now see that the bulk shifting does not work anymore on any item - independant of the repeater interval. This is now fixed, thanks. -- Bastien
Re: [O] how to locate a function?
Hi Giovanni, Giovanni Ridolfi wrote: How can I know if a function is present in org and if it is loaded? Rationale: I needed to transpose a table (Resolved via the babel/emacs-lisp thanks to Tom Dye!). I read the worg page: http://orgmode.org/worg/org-hacks.html#transpose-table but it seems to me that I cannot call the function org-table-transpose-table-at-point the only completion offered by M-x org-tr is: org-tr_anspose-element. So either I am not able to find the function or the worg documentation is outdated. Maybe with git will be easy to track the org-table-transpose function... C-h a org.*transpose RET returns ┏ ┃ Type RET on a type label to view its full documentation. ┃ ┃ org-table-transpose-table-at-point M-x ... RET ┃ Command: Transpose orgmode table at point and eliminate hlines. ┃ org-transpose-element M-x ... RET ┃ Command: Transpose current and previous elements, keeping blank ┃lines between. ┗ on my Org-mode version 7.9.1 (release_7.9.1-169-g2eb145 @ d:/home/sva/src/org-mode/lisp/). Best regards, Seb -- Sebastien Vauban
Re: [O] how to locate a function?
Hi, Sebastien, Sebastien Vauban wxhgmqzgw...@spammotel.com Mercoledì 12 Settembre 2012 13:30 Giovanni Ridolfi wrote: How can I know if a function is present in org and if it is loaded? C-h a org.*transpose RET thanks!! Giovanni
Re: [O] Cannot agenda - bulk shift SCHEDULED entries with repeater interval
Am 12.09.2012 12:38, schrieb Bastien: Hi Rainer, Rainer Stengele rainer.steng...@online.de writes: Actually I now see that the bulk shifting does not work anymore on any item - independant of the repeater interval. This is now fixed, thanks. Hi Bastien, agenda is no more working: (I use sticky Agendas) string-to-number: Args out of range: nil, 10, 3 Please check, Rainer
Re: [O] Cannot agenda - bulk shift SCHEDULED entries with repeater interval
Hi Rainer, Rainer Stengele rainer.steng...@online.de writes: agenda is no more working: (I use sticky Agendas) yes, related to another change, that I just fixed too. Please try again and let me know if things are okay now. Thanks! -- Bastien
Re: [O] typo in support for sidewaystable in the new latex exporter
Hi Andres, Andreas Leha andreas.l...@med.uni-goettingen.de writes: attached is a tiny patch for the new latex exporter that fixes a small typo. Applied, thanks. -- Bastien
Re: [O] bug in org-element-parse-buffer, affects new HTML exporter
Hello, Eric Schulte eric.schu...@gmx.com writes: - one :: first - two :: - second - three :: third and then call the `org-element-parse-buffer' function from within that buffer. The following error will result. This breaks the new export engine for buffers containing text like the above. This should be fixed now. Thanks for the report. Regards, -- Nicolas Goaziou
Re: [O] Quick poll - do you use the agenda more as a query interface or as your main view
Hi Marcelo, Marcelo de Moraes Serpa celose...@gmail.com writes: In fact, it would be nice if we could have an agenda view that showed items hierarchically This has been often requested and I made a step toward this. `org-agenda-prefix-format' now understands a new specifier %l. When used in a format string, it will insert X spaces for the X level of the entry. Imagine you have a file like: * NEXT Level 1 SCHEDULED: 2012-09-12 mer. ** NEXT Level 2 SCHEDULED: 2012-09-12 mer. and `org-agenda-prefix-format' is (setq org-agenda-prefix-format '((agenda . %i %-12:c%?-12t% s %l)= note the %l here (timeline . % s) (todo . %i %-12:c) (tags . %i %-12:c) (search . %i %-12:c)) Then M-x org-agenda RET a will output this: Week-agenda (W37): Monday 10 September 2012 W37 Tuesday11 September 2012 Wednesday 12 September 2012 test: Scheduled: NEXT Level 1 test: Scheduled:NEXT Level 2= added one space Thursday 13 September 2012 Friday 14 September 2012 Saturday 15 September 2012 Sunday 16 September 2012 It would be nice to toggle this display on the fly -- this is on my TODO list. Best, -- Bastien
[O] babel for ditaa-eps
Dear org hackers, I don’t know if there’s already a babel-ditaa-option for using ditaa-eps, so I modified ob-ditaa.el to use ditaa-eps and convert the result using epstopdf. Feel free to use it. ;;; ob-ditaa-eps.el --- org-babel functions for ditaa evaluation ;; Copyright (C) 2009-2012 Free Software Foundation, Inc. ;; Author: Eric Schulte und Arne Babenhauserheide ;; Keywords: literate programming, reproducible research ;; Homepage: http://orgmode.org ;; This file is part of GNU Emacs. ;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see http://www.gnu.org/licenses/. ;;; Commentary: ;; Org-Babel support for evaluating ditaa source code as eps/pdf. ;; ;; Almost verbatim copy from ob-ditaa, but with ditaa-eps and epstopdf ;; as intermediate step. ;; ;; Ditaa differs from most standard languages in that ;; ;; 1) there is no such thing as a session in ditaa ;; ;; 2) we are generally only going to return results of type file ;; ;; 3) we are adding the file and cmdline header arguments ;; ;; 4) there are no variables (at least for now) ;;; Code: (require 'ob) (defvar org-babel-default-header-args:ditaa-eps '((:results . file) (:exports . results) (:java . -Dfile.encoding=UTF-8)) Default arguments for evaluating a ditaa source block.) (defcustom org-ditaa-eps-jar-path (expand-file-name DitaaEps.jar (file-name-as-directory (expand-file-name scripts (file-name-as-directory (expand-file-name ../contrib (file-name-directory (find-library-name org))) Path to the ditaa-eps jar executable. :group 'org-babel :type 'string) (defvar org-ditaa-eps-jar-path) (defun org-babel-execute:ditaa-eps (body params) Execute a block of Ditaa code with org-babel. This function is called by `org-babel-execute-src-block'. (let* ((result-params (split-string (or (cdr (assoc :results params)) ))) (out-file ((lambda (el) (or el (error ditaa code block requires :file header argument))) (cdr (assoc :file params (cmdline (cdr (assoc :cmdline params))) (java (cdr (assoc :java params))) (in-file (org-babel-temp-file ditaa-)) (cmd0 (concat java java -jar (shell-quote-argument (expand-file-name org-ditaa-eps-jar-path)) cmdline (org-babel-process-file-name in-file) (org-babel-process-file-name (concat in-file .eps (cmd1 (concat epstopdf (org-babel-process-file-name (concat in-file .eps)) -o= (org-babel-process-file-name out-file (unless (file-exists-p org-ditaa-eps-jar-path) (error Could not find ditaa.jar at %s org-ditaa-eps-jar-path)) (with-temp-file in-file (insert body)) (message cmd0) (shell-command cmd0) (message cmd1) (shell-command cmd1) nil)) ;; signal that output has already been written to file (defun org-babel-prep-session:ditaa-eps (session params) Return an error because ditaa does not support sessions. (error Ditaa does not support sessions)) (defun ditaa-eps-mode () (artist-mode)) (provide 'ob-ditaa-eps) ;;; ob-ditaa-eps.el ends here Best wishes, Arne ;;; ob-ditaa-eps.el --- org-babel functions for ditaa evaluation ;; Copyright (C) 2009-2012 Free Software Foundation, Inc. ;; Author: Eric Schulte und Arne Babenhauserheide ;; Keywords: literate programming, reproducible research ;; Homepage: http://orgmode.org ;; This file is part of GNU Emacs. ;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see http://www.gnu.org/licenses/.
[O] bulk rescheduling change?
I'm running from git, updating every few weeks, currently on commit c276eeebeecba23913547f62cf4b8122f0e8efa9 Author: Jambunathan K kjambunat...@gmail.com Date: Wed Sep 5 03:33:16 2012 +0530 (that commit is surely not relevant to my question...). I often hope to get more done than I do, so I'm often faced with pushing scheduled items forward. I typically do this from the agenda view, with 'C-c C-s' for individual items, and markings and 'B s' for groups of items (typically, saturday-type items to a week later). I find that with individual rescheduling, I get a prompt that has no prefilled text, and can easily type '+1cr', or 'satcr'. 'B s' used to behave this way, but now the prompt is prefilled with '2012-09-12 Wed', and I have to delete that. This seems like a misfeature, because at least for me bulk-reschedulign to today is not the dominant case, and if it were . is easy to type anwyay. The info file doesn't explain this. pgppG4sIo7ffR.pgp Description: PGP signature
Re: [O] Cannot agenda - bulk shift SCHEDULED entries with repeater interval
Am 12.09.2012 15:47, schrieb Bastien: Hi Rainer, Rainer Stengele rainer.steng...@online.de writes: agenda is no more working: (I use sticky Agendas) yes, related to another change, that I just fixed too. Please try again and let me know if things are okay now. Thanks! Hi Bastien, there seems to be another problem: Debugger entered--Lisp error: (wrong-type-argument stringp 48) string-match(HIDEAGENDA\\|REFILETARGET 48) (and hide-re (string-match hide-re tg)) (or (and hide-re (string-match hide-re tg)) (and (not add-inherited) (get-text-property 0 (quote inherited) tg))) (if (or (and hide-re (string-match hide-re tg)) (and (not add-inherited) (get-text-property 0 (quote inherited) tg))) nil tg) (lambda (tg) (if (or (and hide-re (string-match hide-re tg)) (and (not add-inherited) (get-text-property 0 (quote inherited) tg))) nil tg))(48) mapcar((lambda (tg) (if (or (and hide-re (string-match hide-re tg)) (and (not add-inherited) (get-text-property 0 (quote inherited) tg))) nil tg)) 09:00) (delq nil (mapcar (lambda (tg) (if (or (and hide-re (string-match hide-re tg)) (and (not add-inherited) (get-text-property 0 (quote inherited) tg))) nil tg)) tags)) (setq tags (delq nil (mapcar (lambda (tg) (if (or (and hide-re (string-match hide-re tg)) (and (not add-inherited) (get-text-property 0 ... tg))) nil tg)) tags))) (progn (if (string-match (org-re \\([ ]+\\)\\(:[[:alnum:]_@#%:]+:\\)[ ]*$) txt) (setq txt (substring txt 0 (match-beginning 0 (setq tags (delq nil (mapcar (lambda (tg) (if (or (and hide-re ...) (and ... ...)) nil tg)) tags))) (when tags (let ((have-i (get-text-property 0 (quote inherited) (car tags))) i) (setq txt (concat txt : (mapconcat (lambda (x) (setq i ...) (if ... ... x)) tags :) (if have-i :: :)) (if (or add-inherited hide-re) (progn (if (string-match (org-re \\([ ]+\\)\\(:[[:alnum:]_@#%:]+:\\)[ ]*$) txt) (setq txt (substring txt 0 (match-beginning 0 (setq tags (delq nil (mapcar (lambda (tg) (if (or ... ...) nil tg)) tags))) (when tags (let ((have-i (get-text-property 0 (quote inherited) (car tags))) i) (setq txt (concat txt : (mapconcat (lambda ... ... ...) tags :) (if have-i :: :))) (when (or add-inherited hide-re) (if (string-match (org-re \\([ ]+\\)\\(:[[:alnum:]_@#%:]+:\\)[ ]*$) txt) (setq txt (substring txt 0 (match-beginning 0 (setq tags (delq nil (mapcar (lambda (tg) (if (or (and hide-re ...) (and ... ...)) nil tg)) tags))) (when tags (let ((have-i (get-text-property 0 (quote inherited) (car tags))) i) (setq txt (concat txt : (mapconcat (lambda (x) (setq i ...) (if ... ... x)) tags :) (if have-i :: :)) org-agenda-fix-displayed-tags(#( 0 16 (org-heading t)) 09:00 t HIDEAGENDA\\|REFILETARGET) (setq txt (org-agenda-fix-displayed-tags txt tags org-agenda-show-inherited-tags org-agenda-hide-tags-regexp)) ... Thanks, Rainer
Re: [O] [PATCH] New variable for the new latex exporter
Hello, t...@tsdye.com (Thomas S. Dye) writes: With the patch, the user can now do something like this: (setq org-e-latex-toc-and-lists-string \\tableofcontents\n\\listoffigures\n\n) which I find an improvement. Good idea. I applied a slightly different version for this patch. Thanks. Regards, -- Nicolas Goaziou
Re: [O] [PATCH] Resolve regexp ambiguity for item headers
Hello, Well... the most important point for me is that it shouldn't choke on these lines, but otherwise I'm open to suggestions. In your case, I think that the problem really comes from a bad case matching: if SUBMITTED is a keyword, ** Submitted shouldn't be matched. IOW, todo keywords are/ought to be case sensitive. My rationale for doing it this way was: * The code I looked at assumes that the headline text is there, so it's likely that it's the common assumption. * It is clearly the case that todo keywords are optional. * It is not so clear that the headline text is optional From my point of view everything is optional but todo keywords and tags bind stronger than headline's text. I.e. ** TODO :work: is an empty headline with a TODO keyword and a work tag. However: * The regular expression matches completely empty headlines, so maybe the intention is to allow matching items with just a todo keyword? Yes, it is. Note that I'm not convinced by empty headlines nor do I use them, but as an outliner, Org should accept them nonetheless. The question is: how much of the code base shares this opinion? Regards, -- Nicolas Goaziou
Re: [O] how to locate a function?
Giovanni Ridolfi giovanni.rido...@yahoo.it wrote: Hello everyone, Org-mode version 7.9.1 (2eb1456bfd GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN How can I know if a function is present in org and if it is loaded? Rationale: I needed to transpose a table (Resolved via the babel/emacs-lisp thanks to Tom Dye!). I read the worg page: http://orgmode.org/worg/org-hacks.html#transpose-table but it seems to me that I cannot call the function org-table-transpose-table-at-point the only completion offered by M-x org-tr is: org-tr_anspose-element. So either I am not able to find the function or the worg documentation is outdated. Maybe with git will be easy to track the org-table-transpose function... C-h v org-table-transpose-table-at-point RET will tell you if the function is loaded, marked for autoload but not loaded yet, or is unknown. The fact that completion did not show it means that the file containing it is not loaded and there is no autoload for this function. Your only recourse then is to load the file by hand M-x load-library RET org-table RET assuming that you know which file it is, or use one of the org-table functions that *are* marked for autoload. You can use completion to find out those C-h f org-table-TAB and then call one. Using the function will autoload it and bring in the rest of the functions defined in the file with it. Nick
Re: [O] Store org-files in a git repository?
Moritz Ulrich mor...@tarn-vedra.de writes: My dream setup would be a range of functions hooking into all sorts of org-mode hooks, automatically committing changes done via the agenda or other org functions together with a context dependent commit message. This calls for a good logging system. Something that stores any action you take on a .org file (editing an entry, marking it as DONE, clocking it, refiling it, etc.) and that you can easily *query*. For now the logs are somewhat hackish, more a casual convenience, and the actual system is not good for stable parsing. That's something I considered working on at some point, but starting this before org-element.el was complete was not a good idea. Ok, now org-element.el is complete... :) -- Bastien
[O] Quickly fold/unfold a node
Dear Emacs Orgmode users, I would like to quickly go from FOLDED to CHILDREN to FOLDED skipping the SUBTREE step in the visibility cycle (especially for the cases when CHILDREN and SUBTREE are the same). Any suggestion on how to do it would be very appreciated, thanks Giacomo Marangoni
Re: [O] Cannot agenda - bulk shift SCHEDULED entries with repeater interval
Hi Rainer, Rainer Stengele rainer.steng...@online.de writes: there seems to be another problem: I don't know how you get this error, so I cannot reproduce this. Can you tell me more? -- Bastien
Re: [O] bulk rescheduling change?
Hi Greg, Greg Troxel g...@ir.bbn.com writes: I often hope to get more done than I do, so I'm often faced with pushing scheduled items forward. I typically do this from the agenda view, with 'C-c C-s' for individual items, and markings and 'B s' for groups of items (typically, saturday-type items to a week later). I find that with individual rescheduling, I get a prompt that has no prefilled text, and can easily type '+1cr', or 'satcr'. 'B s' used to behave this way, but now the prompt is prefilled with '2012-09-12 Wed', and I have to delete that. This seems like a misfeature, because at least for me bulk-reschedulign to today is not the dominant case, and if it were . is easy to type anwyay. The info file doesn't explain this. This has been fixed earlier today -- please update. Thanks, -- Bastien
Re: [O] bulk rescheduling change?
Greg Troxel g...@ir.bbn.com wrote: I'm running from git, updating every few weeks, currently on commit c276eeebeecba23913547f62cf4b8122f0e8efa9 Author: Jambunathan K kjambunat...@gmail.com Date: Wed Sep 5 03:33:16 2012 +0530 (that commit is surely not relevant to my question...). I often hope to get more done than I do, so I'm often faced with pushing scheduled items forward. I typically do this from the agenda view, with 'C-c C-s' for individual items, and markings and 'B s' for groups of items (typically, saturday-type items to a week later). I find that with individual rescheduling, I get a prompt that has no prefilled text, and can easily type '+1cr', or 'satcr'. 'B s' used to behave this way, but now the prompt is prefilled with '2012-09-12 Wed', and I have to delete that. This seems like a misfeature, because at least for me bulk-reschedulign to today is not the dominant case, and if it were . is easy to type anwyay. The info file doesn't explain this. It *should* be the case that you shouldn't have to delete the default: just select a date from the calendar or type +2 or type a date and it should take that. But in my (rather hastily done) experiment, it seemed to ignore any such and in fact, when I tried to reschedule again the bunch of things that it rescheduled for today, it would not even stop and let me enter anything. Seems like a bug to me. Nick
Re: [O] Quickly fold/unfold a node
Hi Giacomo, Giacomo M jackja...@gmail.com writes: I would like to quickly go from FOLDED to CHILDREN to FOLDED skipping the SUBTREE step in the visibility cycle (especially for the cases when CHILDREN and SUBTREE are the same). Any suggestion on how to do it would be very appreciated, You can bind `org-show-subtree' to a key like this: (define-key org-mode-map (kbd \C-cs) 'org-show-subtree) Hitting `C-c s' will then show the complete subtree. Hitting TAB again on the headline will fold it. HTH, -- Bastien
Re: [O] org-refile failing
Nick Dokos nicholas.do...@hp.com writes: Didn't somebody else run into a refiling problem earlier today? The refile interface didn't really change in 7.9 -- but if there is anything weird, let's fix it. -- Bastien
Re: [O] org-refile failing
Marcelo de Moraes Serpa celose...@gmail.com writes: Org-mode version 7.9.1 (release_7.9.1-145-g0a6165-git @ mixed installation! /Applications/Emacs.app/Contents/Resources/lisp/org/ and /Users/fullofcaffeine/.emacs.d/vendor/org/lisp/) (Check the mixed installation! warning above, it means you don't have a clean install -- probably autoloading from another directory than the one from which you are loading.) -- Bastien
Re: [O] bulk rescheduling change?
Bastien b...@altern.org wrote: Hi Greg, Greg Troxel g...@ir.bbn.com writes: I often hope to get more done than I do, so I'm often faced with pushing scheduled items forward. I typically do this from the agenda view, with 'C-c C-s' for individual items, and markings and 'B s' for groups of items (typically, saturday-type items to a week later). I find that with individual rescheduling, I get a prompt that has no prefilled text, and can easily type '+1cr', or 'satcr'. 'B s' used to behave this way, but now the prompt is prefilled with '2012-09-12 Wed', and I have to delete that. This seems like a misfeature, because at least for me bulk-reschedulign to today is not the dominant case, and if it were . is easy to type anwyay. The info file doesn't explain this. This has been fixed earlier today -- please update. OK I just updated and I'm running into trouble: org-exp-blocks.el seems to have been deleted but org-exp.el still requires it. What's going on? Nick
Re: [O] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com writes: org-exp-blocks.el seems to have been deleted but org-exp.el still requires it. What's going on? (This is not related to the bug mentioned in this thread.) I guess Nicolas is on this, I'll not interfere here, but yes, this is a problem. -- Bastien
Re: [O] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com wrote: Bastien b...@altern.org wrote: Hi Greg, Greg Troxel g...@ir.bbn.com writes: I often hope to get more done than I do, so I'm often faced with pushing scheduled items forward. I typically do this from the agenda view, with 'C-c C-s' for individual items, and markings and 'B s' for groups of items (typically, saturday-type items to a week later). I find that with individual rescheduling, I get a prompt that has no prefilled text, and can easily type '+1cr', or 'satcr'. 'B s' used to behave this way, but now the prompt is prefilled with '2012-09-12 Wed', and I have to delete that. This seems like a misfeature, because at least for me bulk-reschedulign to today is not the dominant case, and if it were . is easy to type anwyay. The info file doesn't explain this. This has been fixed earlier today -- please update. OK I just updated and I'm running into trouble: org-exp-blocks.el seems to have been deleted but org-exp.el still requires it. What's going on? ... and after going back to before Nicolas's last four commits, I get the attached backtrace in org-agenda-list: Debugger entered--Lisp error: (wrong-type-argument wholenump -1) make-string(-1 32) (setq marker (org-agenda-new-marker beg) level (make-string (1- (org-outline-level)) 32) category (org-get-category beg) category-pos (get-text-property beg (quote org-category-position)) tags (save-excursion (org-backward-heading-same-level 0) (org-get-tags-at)) todo-state (org-get-todo-state) warntime (org-entry-get (point) APPT_WARNTIME)) (progn (setq marker (org-agenda-new-marker beg) level (make-string (1- (org-outline-level)) 32) category (org-get-category beg) category-pos (get-text-property beg (quote org-category-position)) tags (save-excursion (org-backward-heading-same-level 0) (org-get-tags-at)) todo-state (org-get-todo-state) warntime (org-entry-get (point) APPT_WARNTIME)) (dolist (r (if (stringp result) (list result) result)) (when (and org-agenda-diary-sexp-prefix (string-match org-agenda-diary-sexp-prefix r)) (setq extra (match-string 0 r) r (replace-match nil nil r))) (if (string-match \\S- r) (setq txt r) (setq txt SEXP entry returned empty string)) (setq txt (org-agenda-format-item extra txt level category tags (quote time))) (org-add-props txt props (quote org-marker) marker (quote org-category) category (quote date) date (quote todo-state) todo-state (quote org-category-position) category-pos (quote tags) tags (quote level) level (quote type) sexp (quote warntime) warntime) (push txt ee))) (if result (progn (setq marker (org-agenda-new-marker beg) level (make-string (1- (org-outline-level)) 32) category (org-get-category beg) category-pos (get-text-property beg (quote org-category-position)) tags (save-excursion (org-backward-heading-same-level 0) (org-get-tags-at)) todo-state (org-get-todo-state) warntime (org-entry-get (point) APPT_WARNTIME)) (dolist (r (if (stringp result) (list result) result)) (when (and org-agenda-diary-sexp-prefix (string-match org-agenda-diary-sexp-prefix r)) (setq extra (match-string 0 r) r (replace-match nil nil r))) (if (string-match \\S- r) (setq txt r) (setq txt SEXP entry returned empty string)) (setq txt (org-agenda-format-item extra txt level category tags (quote time))) (org-add-props txt props (quote org-marker) marker (quote org-category) category (quote date) date (quote todo-state) todo-state (quote org-category-position) category-pos (quote tags) tags (quote level) level (quote type) sexp (quote warntime) warn time) (push txt ee (when result (setq marker (org-agenda-new-marker beg) level (make-string (1- (org-outline-level)) 32) category (org-get-category beg) category-pos (get-text-property beg (quote org-category-position)) tags (save-excursion (org-backward-heading-same-level 0) (org-get-tags-at)) todo-state (org-get-todo-state) warntime (org-entry-get (point) APPT_WARNTIME)) (dolist (r (if (stringp result) (list result) result)) (when (and org-agenda-diary-sexp-prefix (string-match org-agenda-diary-sexp-prefix r)) (setq extra (match-string 0 r) r (replace-match nil nil r))) (if (string-match \\S- r) (setq txt r) (setq txt SEXP entry returned empty string)) (setq txt (org-agenda-format-item extra txt level category tags (quote time))) (org-add-props txt props (quote org-marker) marker (quote org-category) category (quote date) date (quote todo-state) todo-state (quote org-category-position) category-pos (quote tags) tags (quote level) level (quote type) sexp (quote warntime) warntime) (push txt ee))) (catch :skip (org-agenda-skip) (setq beg (match-beginning 0)) (goto-char (1- (match-end 0))) (setq b (point)) (forward-sexp 1) (setq sexp (buffer-substring b (point))) (setq sexp-entry (if (looking-at [ ]*\\(\\S-.*\\)) (org-trim (match-string 1)) )) (setq result (org-diary-sexp-entry sexp sexp-entry date)) (when result (setq marker
Re: [O] bulk rescheduling change?
Hello, Bastien b...@altern.org writes: Nick Dokos nicholas.do...@hp.com writes: org-exp-blocks.el seems to have been deleted but org-exp.el still requires it. What's going on? (This is not related to the bug mentioned in this thread.) I guess Nicolas is on this, I'll not interfere here, but yes, this is a problem. It should be fixed now. Regards, -- Nicolas Goaziou
Re: [O] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com writes: Greg Troxel g...@ir.bbn.com wrote: I'm running from git, updating every few weeks, currently on commit c276eeebeecba23913547f62cf4b8122f0e8efa9 Author: Jambunathan K kjambunat...@gmail.com Date: Wed Sep 5 03:33:16 2012 +0530 (that commit is surely not relevant to my question...). I often hope to get more done than I do, so I'm often faced with pushing scheduled items forward. I typically do this from the agenda view, with 'C-c C-s' for individual items, and markings and 'B s' for groups of items (typically, saturday-type items to a week later). I find that with individual rescheduling, I get a prompt that has no prefilled text, and can easily type '+1cr', or 'satcr'. 'B s' used to behave this way, but now the prompt is prefilled with '2012-09-12 Wed', and I have to delete that. This seems like a misfeature, because at least for me bulk-reschedulign to today is not the dominant case, and if it were . is easy to type anwyay. The info file doesn't explain this. It *should* be the case that you shouldn't have to delete the default: just select a date from the calendar or type +2 or type a date and it should take that. But in my (rather hastily done) experiment, it seemed to ignore any such and in fact, when I tried to reschedule again the bunch of things that it rescheduled for today, it would not even stop and let me enter anything. I should have pointed out that I'm running emacs 23.4 inside an xterm. pgp5zrNxcklpg.pgp Description: PGP signature
Re: [O] bulk rescheduling change?
Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Bastien b...@altern.org writes: Nick Dokos nicholas.do...@hp.com writes: org-exp-blocks.el seems to have been deleted but org-exp.el still requires it. What's going on? (This is not related to the bug mentioned in this thread.) I guess Nicolas is on this, I'll not interfere here, but yes, this is a problem. It should be fixed now. OK - the org-exp-blocks.el problem is gone. I'm still getting stuck on the agenda problem. Looking into it. Thanks, Nick
Re: [O] bulk rescheduling change?
Hi all I didn’t yet investigate further but wanted to throw this in because I think it is related: Since a few weeks “C-c C-s + 1 2 : 0 0” does not keep tomorrow’s date but falls back to today after typing the time part has been completed. I know there is “C-c C-s Shift-Right 1 2 : 0 0” but this is only a workaround for me because only the first allows “touch typing”. Michael
Re: [O] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com wrote: Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Bastien b...@altern.org writes: Nick Dokos nicholas.do...@hp.com writes: org-exp-blocks.el seems to have been deleted but org-exp.el still requires it. What's going on? (This is not related to the bug mentioned in this thread.) I guess Nicolas is on this, I'll not interfere here, but yes, this is a problem. It should be fixed now. OK - the org-exp-blocks.el problem is gone. I'm still getting stuck on the agenda problem. Looking into it. Reverting commits b508ff69015cbacdd151aa05ace9131fa66c73f6 and 1f41f087 fixes the agenda problem for me. Thanks, Nick
Re: [O] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com writes: ... and after going back to before Nicolas's last four commits, I get the attached backtrace in org-agenda-list: Debugger entered--Lisp error: (wrong-type-argument wholenump -1) make-string(-1 32) This is hopefully fixed now. Thanks for testing, -- Bastien
Re: [O] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com writes: Reverting commits Yes -- but please bare with us, we want the feature to stabilize :) -- Bastien
Re: [O] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com writes: Not quite: I now get the following backtrace. Can you send me a reproducible minimal recipe? -- Bastien
[O] LaTeX export problem
Using a recent git checkout of org-mode (f51c405), the following small org-mode file produces invalid LaTeX. I'm pretty sure it used to work. The \alpha and \beta seem to be what confuses it. ---snip * Scorecards ** Product Releases | *Product* | *\alpha* | *\beta* | *Release* | *Status* | |---+--+-+---+--| | test | a| b | c | d| ---snip Open this with emacs -Q (emacs 24), load org-mode, and C-c C-e C-d to export as LaTeX, you get the following error: ! Missing $ inserted. inserted text $ l.44 \textbf{Product}\textbf{\alpha} \textbf{\beta}\textbf{Re... I'm no LaTeX guru, but here's the generated file: % Created 2012-09-12 Wed 12:37 \documentclass[11pt]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \providecommand{\alert}[1]{\textbf{#1}} \title{foo} \author{} \date{\today} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Emacs Org-mode version 7.9.1}} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{Scorecards} \label{sec-1} \subsection{Product Releases} \label{sec-1-1} \begin{center} \begin{tabular}{l} \textbf{Product}\textbf{\alpha}\textbf{\beta} \textbf{Release}\textbf{Status} \\ \hline testa b c d\\ \end{tabular} \end{center} \end{document} -- Gary
Re: [O] Store org-files in a git repository?
On 9/12/12, Bastien b...@altern.org wrote: This calls for a good logging system. Of possible tangential relevance for the display part of it: FR: inactive timestamps in log mode (and a sorting FR)
Re: [O] bulk rescheduling change?
Bastien b...@altern.org wrote: Nick Dokos nicholas.do...@hp.com writes: Reverting commits Yes -- but please bare with us, we want the feature to stabilize :) I meant that as a pointer of where things went off the rails - I certainly don't expect you to revert the commits. Thanks, Nick PS. Any idea about the last backtrace?
Re: [O] bulk rescheduling change?
Bastien b...@altern.org wrote: Nick Dokos nicholas.do...@hp.com writes: Not quite: I now get the following backtrace. Can you send me a reproducible minimal recipe? Not sure - the last thing that .emacs does is bring up the agenda. Let me try to investigate a bit what exactly breaks. Nick PS. Please disregard my question about the last backtrace. I hadn't gotten through my mail backlog at the time.
Re: [O] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com wrote: Bastien b...@altern.org wrote: Nick Dokos nicholas.do...@hp.com writes: Not quite: I now get the following backtrace. Can you send me a reproducible minimal recipe? Not sure - the last thing that .emacs does is bring up the agenda. Let me try to investigate a bit what exactly breaks. Something goes awry with the agenda time grid. I get the error with the appended minimal .emacs when I try to bring up the agenda with C-c a a. Thanks, Nick --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 'load-path (expand-file-name ~/src/emacs/org/org-mode/contrib/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) (setq org-agenda-us-time-grid t) (setq org-agenda-time-grid '((daily today))) --8---cut here---end---8---
[O] Question about HTML export, drawers, and links
I have a set of files that I put notes in that I would like to export to HTML. When I do this, I have configured everything to allow certain drawers to included in the export, but those drawers are put in pre blocks. Is there a way to convince the export mechanism to treat links inside drawers as links that need exported. I put a link in the drawer to another file and would like the link to work. Maybe I am using the wrong construct and should be using something other than a drawer? Thanks! -Tom -- Thomas Moyer tommo...@gmail.com
Re: [O] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com wrote: Nick Dokos nicholas.do...@hp.com wrote: Bastien b...@altern.org wrote: Nick Dokos nicholas.do...@hp.com writes: Not quite: I now get the following backtrace. Can you send me a reproducible minimal recipe? Not sure - the last thing that .emacs does is bring up the agenda. Let me try to investigate a bit what exactly breaks. Something goes awry with the agenda time grid. I get the error with the appended minimal .emacs when I try to bring up the agenda with C-c a a. org-agenda-format-item changed its calling sequence in b508ff69. I haven't checked all the call sites in org-agenda.el but there is a call site in org.el that apparently was missed, as well as the declaration of the function in the same file. Nick ;;; -*- mode: emacs-lisp -*- ;;; constant part (add-to-list 'load-path (expand-file-name ~/src/emacs/org/org-mode/lisp)) (add-to-list 'load-path (expand-file-name ~/src/emacs/org/org-mode/contrib/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) (setq org-agenda-us-time-grid t) (setq org-agenda-time-grid '((daily today)))
[O] building tagcloud datastructure in elisp
Hi list, How hard would it be to parse a bunch of org files and build an elisp data structure (Hash?) that represents a tagcloud? All tags in all headlines and subtrees should be taken into account (for all org files that are parsed). Could I use org-element to help me parse this or is there a better way? I'm just learning the org API, and I've only done a bunch of elisp hacks, so any insight would be greatly appreciated! Thanks, - Marcelo.
Re: [O] building tagcloud datastructure in elisp
Marcelo de Moraes Serpa celose...@gmail.com writes: Hi list, How hard would it be to parse a bunch of org files and build an elisp data structure (Hash?) that represents a tagcloud? All tags in all headlines and subtrees should be taken into account (for all org files that are parsed). Could I use org-element to help me parse this or is there a better way? I'm just learning the org API, and I've only done a bunch of elisp hacks, so any insight would be greatly appreciated! Thanks, - Marcelo. My favorite method of getting word frequencies from text files is the following. Sometimes it is easier to just Org-mode files as text files rather than to use e-lisp. # -*- shell-script -*- many=20 # to print the 20 most popular words cat org-file.org \ |tr -cs A-Za-z '\n' \ |tr A-Z a-z \ |sort \ |uniq -c \ |sort -rn \ |sed ${many}q \ |sed 's/^ *//' \ |sed 's/\([^ ]*\) \([^ ]*\)/\2:\1/' \ |tr '\n' ' ' \ |sed 's/ $/\n/' Adapted from http://www.leancrew.com/all-this/2011/12/more-shell-less-egg/ Best, -- Eric Schulte http://cs.unm.edu/~eschulte
Re: [O] bulk rescheduling change?
I turned off the grid for now as a workaround for the formatting problems. Going back to the original problem, I'm still having problems with that: I mark a bunch of agenda items (scheduled for today) and then do a B s. It reschedules them for tomorrow, no questions asked. If I repeat the process on the same four items, it reschedules them for the day after, again no questions asked. Not sure if I'm doing/setting something to cause this bahaviour, but it's certainly not what I expected: I thought I'd get the usual date dialog that would allow me to set the rescheduled date. Thanks, Nick
Re: [O] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com wrote: I turned off the grid for now as a workaround for the formatting problems. Going back to the original problem, I'm still having problems with that: I mark a bunch of agenda items (scheduled for today) and then do a B s. It reschedules them for tomorrow, no questions asked. If I repeat the process on the same four items, it reschedules them for the day after, again no questions asked. Not sure if I'm doing/setting something to cause this bahaviour, but it's certainly not what I expected: I thought I'd get the usual date dialog that would allow me to set the rescheduled date. Well, the non-interactiveness and the next day are because the four items I marked were the last four items for that date, so after marking them, the cursor happened to be on the date line for the next day, which apparently is taken as an indication that I want things to be rescheduled for that date, no questions asked. Not sure I like this much. However, if I move the cursor off the date line before I issue the bulk command, I get a date dialog, but it's a no-op: no matter what I give it, things are rescheduled to today. Nick
Re: [O] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com wrote: Nick Dokos nicholas.do...@hp.com wrote: I turned off the grid for now as a workaround for the formatting problems. Going back to the original problem, I'm still having problems with that: I mark a bunch of agenda items (scheduled for today) and then do a B s. It reschedules them for tomorrow, no questions asked. If I repeat the process on the same four items, it reschedules them for the day after, again no questions asked. Not sure if I'm doing/setting something to cause this bahaviour, but it's certainly not what I expected: I thought I'd get the usual date dialog that would allow me to set the rescheduled date. Well, the non-interactiveness and the next day are because the four items I marked were the last four items for that date, so after marking them, the cursor happened to be on the date line for the next day, which apparently is taken as an indication that I want things to be rescheduled for that date, no questions asked. Not sure I like this much. However, if I move the cursor off the date line before I issue the bulk command, I get a date dialog, but it's a no-op: no matter what I give it, things are rescheduled to today. Correction: only relative changes are no-ops. Absolute dates or picking a date from the popped-up calendar work. Nick
[O] New exporter queries, captions
Aloha Nicolas, Three queries about captions in the new exporter: 1) The old exporter allowed a structure like this #+CAPTION: [Short caption]{Long caption.} to export \caption[Short caption]{Long caption.} to LaTeX. The new exporter gives something like this \caption{[Short caption]{Long caption.}} Can the former behavior be implemented in the new exporter? 2) Caption text appears to require markup in the export target language, rather than org markup. So, for LaTeX export I need something like #+CAPTION: Things: \textit{a}, some; \textit{b}, other. Rather than, #+CAPTION: /a/, some; /b/, other. Shouldn't caption text honor org markup so it can be exported correctly to different backends? Is there a switch for this? 3) My captions are often long. Is it possible to enter these so they aren't all on one line? Something like #+CAPTION: Line one #+CAPTION: Line two would be great. 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] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com writes: Not sure - the last thing that .emacs does is bring up the agenda. Let me try to investigate a bit what exactly breaks. Something goes awry with the agenda time grid. Argh, great that you could isolate this. There was an error here, I just fixed it. Thanks for your patience in hunting this one! -- Bastien
Re: [O] bulk rescheduling change?
Nick Dokos nicholas.do...@hp.com writes: org-agenda-format-item changed its calling sequence in b508ff69. I haven't checked all the call sites in org-agenda.el but there is a call site in org.el that apparently was missed, as well as the declaration of the function in the same file. Fixed, thanks. -- Bastien
Re: [O] bulk rescheduling change?
Hi Michael, Michael Brand michael.ch.br...@gmail.com writes: I didn’t yet investigate further but wanted to throw this in because I think it is related: Since a few weeks “C-c C-s + 1 2 : 0 0” does not keep tomorrow’s date but falls back to today after typing the time part has been completed. This is fixed now, thanks for reporting this! -- Bastien
Re: [O] bulk rescheduling change?
Hi Nick, Nick Dokos nicholas.do...@hp.com writes: Well, the non-interactiveness and the next day are because the four items I marked were the last four items for that date, so after marking them, the cursor happened to be on the date line for the next day, which apparently is taken as an indication that I want things to be rescheduled for that date, no questions asked. Not sure I like this much. This implementation was to mimick the previous behavior we had with `k m' (to mark an entry) then `k s' (to schedule it to the date at point with no prompt.) I don't like having no prompt here too. I just changed the behavior so that there is *always* a prompt with `m m m B s' -- if the cursor is on a date, this date is the default time for the prompt, RET will reschedule to this date. However, if I move the cursor off the date line before I issue the bulk command, I get a date dialog, but it's a no-op: no matter what I give it, things are rescheduled to today. Fixed. Thanks! -- Bastien
Re: [O] building tagcloud datastructure in elisp
Hello Marcello, On 12 September 2012 14:41, Marcelo de Moraes Serpa celose...@gmail.com wrote: Hi list, How hard would it be to parse a bunch of org files and build an elisp data structure (Hash?) that represents a tagcloud? All tags in all headlines and subtrees should be taken into account (for all org files that are parsed). Could I use org-element to help me parse this or is there a better way? I'm just learning the org API, and I've only done a bunch of elisp hacks, so any insight would be greatly appreciated! I'm learning as well, mostly by providing a feature I could use, or by seeing a problem I find interesting and deciding I want to find a solution to it. Thanks, - Marcelo. Org-element doesn't seem to include tag-inheritance when providing tags for a given headline, so counting inherited tags becomes slightly more complex. The following should provide what you want: #+begin_src emacs-lisp (defun zin/org-tag-cloud-freq (optional inherit file) Return an alist containing tag and frequency. When INHERIT is given, the frequency of a tag includes the number of subheadings (to indicate tag inheritance). FILE allows for an arbitrary file to be retrieved and used for tag counting. (interactive P) (when file (find-file file)) (let* ((source (org-element-parse-buffer 'headline)) (tags (org-element-map source 'headline (lambda (headline) (let ((tags (org-export-get-tags headline source)) (count (if inherit (length (org-element-map headline 'headline 'identity)) 1))) (list tags count) taglist) (setq taglist (mapcar (lambda (s) (when (car s) (loop for item in (car s) collect (list item (cadr s) tags)) (setq taglist (loop for item in taglist append item)) (dolist (tag taglist result) (let* ((tagitem (car tag)) (tagcount (cadr tag)) (sofar (assoc tagitem result))) (if sofar (setcdr sofar (+ tagcount (cdr sofar))) (push (cons tagitem tagcount) result (format %s result))) (defun zin/org-tag-freq-list (files optional inherit) List of files to be processed by `zin/org-tag-cloud-freq'. Returns a single alist of tag counts. (let (result) (dolist (file files result) (let ((entries (zin/org-tag-cloud-freq inherit file))) (loop for tag in entries do (let ((tagitem (car tag)) (tagcount (cdr tag)) (sofar (assoc tagitem result))) (if sofar (setcdr sofar (+ tagcount (cdr sofar))) (push (cons tagitem tagcount) result)) (format %s result))) #+end_src The dolist loop for counting the tags themselves comes from http://stackoverflow.com/questions/6050033/elegant-way-to-count-items. There may be a cleaner way to obtain the list of tags and associated counts but this provides the values. The first function will work on any Org buffer to return the list of tags while the second will do so for a list of org files (for example org-agenda-files). I hope this helps Regards, -- Jon
Re: [O] [Contest] Redesign orgmode.org by the end of august
Hi Takaaki, Takaaki ISHIKAWA tak...@ieee.org writes: I copied index.org into ./ja directory with Japanese translation (not completed yet). The translation will be finished until this week end. Great -- I added links to the translated versions of the website in the top left corner (under the logo). I made a branch ja in the orgweb repository for translation work. If this is not good for you and all, please let me know. It's perfectly fine, but public branches are more when several people are likely to work on it. Now you can make your changes directly on master, they will be published immediately. By the way, do you have any solution to check the translated result in a browser (through HTTP)? HTML export from org files is a solution, but I'm not sure the layout and visual quality is correct. And also internal links between pages should be checked before pushing them into orgweb repository. Please have a look at the french translation for the internal links. Otherwise, I don't think there is a quick way for this -- just be bold and go ahead, we can fix things later on. Thanks for your work on this! -- Bastien
[O] Weird List Behavior with Links
I just discovered some weird behavior. Suppose a list of links like the following is made in an org file. - http://orgmode.org/ - http://www.gnu.org/software/emacs/ - http://www.fsf.org/ Put the mark somewhere in the first link and hit C-c C-l. Hit Enter, put in a description, and hit Enter. Notice how the second link on the list is now inactive. After playing around with this, I found that the following list makes the second link on the list inactive as soon as the second bracket in the first item is added. - [[http://orgmode.org/ - http://www.gnu.org/software/emacs/ - http://www.fsf.org/ For me, this is a bug. Org-mode version 7.9.1 GNU Emacs 24.2.1 Scott Randby
Re: [O] Weird List Behavior with Links
Scott Randby sran...@gmail.com writes: I just discovered some weird behavior. Suppose a list of links like the following is made in an org file. Fixed, thanks. -- Bastien
[O] new exporter now drops labels
Using a pull from earlier today (8ab1d76..343b648) and this file: , | *** first headline | #+COMMENT: (org-export-to-buffer 'e-latex my buffer nil nil t) | | | #+name: version-label | #+BEGIN_SRC emacs-lisp :exports both :results value raw | (org-version) | #+END_SRC ` and doing C-x C-e after the comment line, the label before for src block is lost: , | \section{first headline} | \label{sec-1} | \begin{verbatim} | (org-version) | \end{verbatim} | | 7.9.1 ` while with an older version, I get the label , | section{first headline} | \label{sec-1} | \label{version-label} | \begin{verbatim} | (org-version) | \end{verbatim} | | Org-mode version 7.8.11 ` Chuck -- Charles C. BerryDept of Family/Preventive Medicine cberry at ucsd edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901
Re: [O] babel for ditaa-eps
Arne Babenhauserheide (IMK) arne.babenhauserhe...@kit.edu writes: Dear org hackers, I don?t know if there?s already a babel-ditaa-option for using ditaa-eps, so I modified ob-ditaa.el to use ditaa-eps and convert the result using epstopdf. This is great, thanks. The way I addressed this in the Groff exporter was to convert the PNG to EPS. But if this creates EPS directly from the get go, it's a better approach for better fidelity. Thanks for sharing. -- Luis R. Anaya papo anaya aroba hot mail punto com Do not use 100 words if you can say it in 10 - Yamamoto Tsunetomo
Re: [O] Quickly fold/unfold a node
On 12.9.2012, at 08:16, Giacomo M wrote: Dear Emacs Orgmode users, I would like to quickly go from FOLDED to CHILDREN to FOLDED skipping the SUBTREE step in the visibility cycle (especially for the cases when CHILDREN and SUBTREE are the same). Pressing TAB twice. :) Sounds stupid, but is very likely the best solution. - Carsten Any suggestion on how to do it would be very appreciated, thanks Giacomo Marangoni
Re: [O] bulk rescheduling change?
Bastien b...@altern.org wrote: Hi Nick, Nick Dokos nicholas.do...@hp.com writes: Well, the non-interactiveness and the next day are because the four items I marked were the last four items for that date, so after marking them, the cursor happened to be on the date line for the next day, which apparently is taken as an indication that I want things to be rescheduled for that date, no questions asked. Not sure I like this much. This implementation was to mimick the previous behavior we had with `k m' (to mark an entry) then `k s' (to schedule it to the date at point with no prompt.) I don't like having no prompt here too. I just changed the behavior so that there is *always* a prompt with `m m m B s' -- if the cursor is on a date, this date is the default time for the prompt, RET will reschedule to this date. Thanks - this sounds much better. I hope Greg likes it too. I ran a bunch of things past it and it worked perfectly (imo of course). However, if I move the cursor off the date line before I issue the bulk command, I get a date dialog, but it's a no-op: no matter what I give it, things are rescheduled to today. I also turned the time grid back on in the agenda and that's working without errors too. Thanks! Nick
Re: [O] babel for ditaa-eps
Arne Babenhauserheide (IMK) arne.babenhauserhe...@kit.edu writes: Hi: I made a small changed to the code. It will look for the suffix and run the epspdf step only if it's a pdf, otherwise, it will print the EPS. The reason for this is because on Groff, you're better off with the EPS file. Luis ob-ditaa-eps.el Description: Modified Ditaa EPS -- Luis R. Anaya papo anaya aroba hot mail punto com Do not use 100 words if you can say it in 10 - Yamamoto Tsunetomo
[O] Bug: Tags Search and Agenda View [7.9.1 (release_7.9.1-199-g6589b9.dirty @ /usr/local/share/emacs/site-lisp/org/)]
With the current git version of org-mode, items that are the result of tags searches are no longer showing up. Charles -- If you want to travel around the world and be invited to speak at a lot of different places, just write a Unix operating system. (By Linus Torvalds) pgpaVvuZIDOkU.pgp Description: PGP signature
Re: [O] Bug: Tags Search and Agenda View [7.9.1 (release_7.9.1-199-g6589b9.dirty @ /usr/local/share/emacs/site-lisp/org/)]
Charles Philip Chan cpc...@bell.net writes: With the current git version of org-mode, items that are the result of tags searches are no longer showing up. Oops, sorry for the noise. I just realized that my Custom Agenda setup got messed up some how. Charles -- I did this 'cause Linux gives me a woody. It doesn't generate revenue. (Dave '-ddt-` Taylor, announcing DOOM for Linux) pgpi4LIhZ19tt.pgp Description: PGP signature
Re: [O] babel for ditaa-eps
Luis Anaya papoan...@hotmail.com writes: Arne Babenhauserheide (IMK) arne.babenhauserhe...@kit.edu writes: Hi: I made a small changed to the code. It will look for the suffix and run the epspdf step only if it's a pdf, otherwise, it will print the EPS. The reason for this is because on Groff, you're better off with the EPS file. Luis If this code is useful, perhaps it could be checked into contrib/lisp? Of course, it would be good to have some documentation on Worg, too. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
[O] patch for orgweb for better resolution in narrow browsers
Hi, I just recently noticed the new web site, I think it looks great! However when the browser window is not very wide (1000px) the elements overflow in an unappealing manner [1]. As an example of how the page looks in my browser see the attached [2], it's not egregious but it is less than ideal and gets worse as the screen gets narrower. Attached please find a patch to the orgweb repo which adds a couple of css @media queries to shrink images and remove wide margins on smaller screens. Additionally I'm attaching a patch which will ignore exported html files in this repo. As another minor note which is unfortunately beyond my web abilities to address, with very narrow screens the quote pop-up can make the download and install link unreachable. Thanks, From f403654c101ab4a81f27bdb1f89d48ff1539f838 Mon Sep 17 00:00:00 2001 From: Eric Schulte eric.schu...@gmx.com Date: Wed, 12 Sep 2012 19:33:25 -0600 Subject: [PATCH 1/2] use css media queries to adjust for narrow browsers --- index.org | 2 +- org.css | 58 +++--- 2 files changed, 52 insertions(+), 8 deletions(-) diff --git a/index.org b/index.org index da7d65e..215acf3 100644 --- a/index.org +++ b/index.org @@ -22,7 +22,7 @@ is maintained by a href=http://lumiere.ens.fr/~guerry/;Bastien Guerry/a sin :CUSTOM_ID: intro :END: -#+ATTR_HTML: style=float: right; width=500px +#+ATTR_HTML: id=main-image [[file:img/main.jpg]] Stable version *7.9.1* (sept. 2012) --- [[http://orgmode.org/org-7.9.1.tar.gz][tar.gz]] or [[http://orgmode.org/org-7.9.1.zip][zip]] diff --git a/org.css b/org.css index 84a90a6..da192fb 100644 --- a/org.css +++ b/org.css @@ -3,6 +3,39 @@ html { font: 300 .9em/1.6em Droid Serif, Open Sans, Cambria, Georgia, DejaVu Serif, serif; } +@media(min-width:1000px){ +#main-image { +float: right; +width: 500px; +} +body { +padding: 20px; +margin-left: 50px; +margin-right: 30px; +} +} + +@media(min-width:800px) and (max-width:1000px){ +#main-image { +float: right; +width: 450px; +} +} + +@media(min-width:850px) and (max-width:1000px){ +body { +padding: 10px; +margin-left: 25px; +margin-right: 15px; +} +} + +@media(max-width:800px){ +#main-image { +display: none; +} +} + #searchgmane { margin-left: 10pt; } @@ -27,12 +60,6 @@ html { text-align: right; } -body { -padding: 20px; -margin-left: 50px; -margin-right: 30px; -} - a { text-decoration: none; color: #537d7b @@ -112,8 +139,25 @@ h2 { padding-left: 5px; } +@media(max-width:800px){ +code{ +font-size: 85%; +} +} + +@media(min-width:800px) and (max-width:900px){ +code{ +font-size: 75%; +} +} + +@media(min-width:900px){ +code{ +font-size: 85%; +} +} + code { -font-size: 85%; background-color: #ee; padding: 1pt; margin-right: 1pt; -- 1.7.12 From 852bcb92ee34761e9c6037b91afcc740737e17d7 Mon Sep 17 00:00:00 2001 From: Eric Schulte eric.schu...@gmx.com Date: Wed, 12 Sep 2012 22:45:31 -0600 Subject: [PATCH 2/2] ignore exported HTML files in the base of this repo --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index f03a78c..be1b1a2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ pub old +*.html +!preamble.html -- 1.7.12 Footnotes: [1] FWIW I think that this assumption of wide browser windows is endemic recently on the web. Apparently most web designers full-screen their browser window. [2] http://cs.unm.edu/~eschulte/data/orgmode.png -- Eric Schulte http://cs.unm.edu/~eschulte
Re: [O] babel for ditaa-eps
It sounds like there is a good deal of desire for this functionality. How much code does this file share with ob-ditaa? If it is a large percentage perhaps it would be possible to instead add a new header argument to ditaa code blocks to run ditaa-eps. Some code blocks (e.g., sql) already have an :engine header argument which may be used to change the back-end tool which executes the block. Thanks for sharing! Arne Babenhauserheide (IMK) arne.babenhauserhe...@kit.edu writes: Dear org hackers, I don’t know if there’s already a babel-ditaa-option for using ditaa-eps, so I modified ob-ditaa.el to use ditaa-eps and convert the result using epstopdf. Feel free to use it. ;;; ob-ditaa-eps.el --- org-babel functions for ditaa evaluation ;; Copyright (C) 2009-2012 Free Software Foundation, Inc. ;; Author: Eric Schulte und Arne Babenhauserheide ;; Keywords: literate programming, reproducible research ;; Homepage: http://orgmode.org ;; This file is part of GNU Emacs. ;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see http://www.gnu.org/licenses/. ;;; Commentary: ;; Org-Babel support for evaluating ditaa source code as eps/pdf. ;; ;; Almost verbatim copy from ob-ditaa, but with ditaa-eps and epstopdf ;; as intermediate step. ;; ;; Ditaa differs from most standard languages in that ;; ;; 1) there is no such thing as a session in ditaa ;; ;; 2) we are generally only going to return results of type file ;; ;; 3) we are adding the file and cmdline header arguments ;; ;; 4) there are no variables (at least for now) ;;; Code: (require 'ob) (defvar org-babel-default-header-args:ditaa-eps '((:results . file) (:exports . results) (:java . -Dfile.encoding=UTF-8)) Default arguments for evaluating a ditaa source block.) (defcustom org-ditaa-eps-jar-path (expand-file-name DitaaEps.jar (file-name-as-directory (expand-file-name scripts (file-name-as-directory (expand-file-name ../contrib (file-name-directory (find-library-name org))) Path to the ditaa-eps jar executable. :group 'org-babel :type 'string) (defvar org-ditaa-eps-jar-path) (defun org-babel-execute:ditaa-eps (body params) Execute a block of Ditaa code with org-babel. This function is called by `org-babel-execute-src-block'. (let* ((result-params (split-string (or (cdr (assoc :results params)) ))) (out-file ((lambda (el) (or el (error ditaa code block requires :file header argument))) (cdr (assoc :file params (cmdline (cdr (assoc :cmdline params))) (java (cdr (assoc :java params))) (in-file (org-babel-temp-file ditaa-)) (cmd0 (concat java java -jar (shell-quote-argument (expand-file-name org-ditaa-eps-jar-path)) cmdline (org-babel-process-file-name in-file) (org-babel-process-file-name (concat in-file .eps (cmd1 (concat epstopdf (org-babel-process-file-name (concat in-file .eps)) -o= (org-babel-process-file-name out-file (unless (file-exists-p org-ditaa-eps-jar-path) (error Could not find ditaa.jar at %s org-ditaa-eps-jar-path)) (with-temp-file in-file (insert body)) (message cmd0) (shell-command cmd0) (message cmd1) (shell-command cmd1) nil)) ;; signal that output has already been written to file (defun org-babel-prep-session:ditaa-eps (session params) Return an error because ditaa does not support sessions. (error Ditaa does not support sessions)) (defun ditaa-eps-mode () (artist-mode)) (provide 'ob-ditaa-eps) ;;; ob-ditaa-eps.el ends here Best wishes, Arne -- Eric Schulte http://cs.unm.edu/~eschulte
Re: [O] bulk rescheduling change?
Hi Bastien On Thu, Sep 13, 2012 at 1:29 AM, Bastien b...@altern.org wrote: This is fixed now, thanks for reporting this! Confirmed, both in an Org buffer and in the agenda buffer. Thank you. Michael
Re: [O] Question on latex source block
Eric Schulte eric.schu...@gmx.com writes: Alright, I've just committed a patch which gets part-way to your suggest solution. While the two backend-specific functions are still separate (I agree they should be combined), I have brought back the `org-create-formula-image' function, which now dispatches to the backend specific functions. Additionally there are some problems in the `org-format-latex' function. It lists mandatory arguments as optional, and appears to create variables which are not required or properly set. These function should probably be cleaned at some point up by whoever is maintaining Org-mode's LaTeX interfaces. This (or one of the recent commits) is creating the following regression. I have not dived in to the details. Export the below snippert with C-c C-e o. You will see this. Export works fine with tree at commit 8e445333. Debugger entered--Lisp error: (error Not enough arguments for format string) format(rgb %s %s %s) apply(format rgb %s %s %s nil) org-dvipng-color-format(Transparent) org-create-formula-image-with-dvipng(#(\\begin{equation*}\n x=\\sqrt{b}\n \\end{equation*} 0 18 (fontified t) 18 54 (fontified t)) /home/kjambunathan/ltxpng/regression_8ae36f2f639503b0a2290277a2d42b284db15c21.png (:foreground default :background default :scale 1.0 :html-foreground Black :html-background Transparent :html-scale 1.0 :matchers (begin $1 $ $$ \\( \\[)) nil) org-create-formula-image(#(\\begin{equation*}\n x=\\sqrt{b}\n \\end{equation*} 0 18 (fontified t) 18 54 (fontified t)) /home/kjambunathan/ltxpng/regression_8ae36f2f639503b0a2290277a2d42b284db15c21.png (:foreground default :background default :scale 1.0 :html-foreground Black :html-background Transparent :html-scale 1.0 :matchers (begin $1 $ $$ \\( \\[)) nil dvipng) org-format-latex(ltxpng/regression . nil Creating LaTeX image %s nil nil dvipng) org-export-odt-do-preprocess-latex-fragments() org-export-odt-preprocess-latex-fragments() run-hooks(org-export-preprocess-after-blockquote-hook) org-export-preprocess-string(#(#+TITLE: regression.org\n#+AUTHOR: Jambunathan K\n#+EMAIL: kjambunat...@gmail.com\n#+DATE: 2012-09-13 Thu\n#+DESCRIPTION:\n#+KEYWORDS:\n#+LANGUAGE: en\n#+OPTIONS: H:3 num:t toc:t \\n:nil @:t ::t |:t ^:t -:t f:t *:t :t\n#+OPTIONS: TeX:t LaTeX:dvipng skip:nil d:t todo:t pri:nil tags:t\n#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js\n#+EXPORT_SELECT_TAGS: export\n#+EXPORT_EXCLUDE_TAGS: noexport\n#+LINK_UP: \n#+LINK_HOME: \n#+XSLT:\n\n\n#+name: Equation:2\n \\begin{equation*}\n x=\\sqrt{b}\n \\end{equation*}\n 0 8 (fontified t font-lock-fontified t face org-document-info-keyword) 8 13 (fontified t) 13 27 (fontified t font-lock-fontified t face org-document-title) 27 28 (fontified t) 28 37 (fontified t font-lock-fontified t face org-document-info-keyword) 37 41 (fontified t) 41 54 (fontified t font-lock-fontified t face org-document-info) 54 55 (fontified t) 55 63 (fontified t font-lock-fontified t face org-document-info-keyword) 63 68 (fontified t) 68 90 (fontified t font-lock-fontified t face org-document-info) 90 91 (fontified t) 91 98 (fontified t font-lock-fontified t face org-document-info-keyword) 98 104 (fontified t) 104 118 (fontified t font-lock-fontified t face org-document-info) 118 119 (fontified t) 119 133 (fontified t font-lock-fontified t face org-meta-line) 133 134 (fontified t) 134 145 (fontified t font-lock-fontified t face org-meta-line) 145 146 (fontified t) 146 161 (fontified t font-lock-fontified t face org-meta-line) 161 162 (fontified t) 162 229 (fontified t font-lock-fontified t face org-meta-line) 229 230 (fontified t) 230 296 (fontified t font-lock-fontified t face org-meta-line) 296 297 (fontified t) 297 366 (fontified t font-lock-fontified t face org-meta-line) 366 395 (fontified t font-lock-fontified t org-no-flyspell t mouse-face highlight face org-meta-line keymap #1=(keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse))) 395 396 (fontified t rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo org-linked-text) font-lock-fontified t org-no-flyspell t mouse-face highlight face org-meta-line keymap #1#) 396 397 (fontified t) 397 425 (fontified t font-lock-fontified t face org-meta-line) 425 426 (fontified t) 426 457 (fontified t font-lock-fontified t face org-meta-line) 457 458 (fontified t) 458 471 (fontified t font-lock-fontified t face org-meta-line) 471 472 (fontified t) 472 485 (fontified t font-lock-fontified t face org-meta-line) 485 486 (fontified t) 486 493 (fontified t font-lock-fontified t face org-meta-line) 493 494 (fontified t) 494 495 (fontified t) 495 496 (fontified t) 496 514 (fontified t font-lock-fontified t face org-meta-line) 514 515 (fontified t) 515 538 (fontified t) 538 575 (fontified t)) :emph-multiline t