Re: [O] Invalid Markup Validation with footnotes
El lun, 13 jul 2015, Rasmus decía: > Hi, > > OSiUX writes: > > > Hi everybody, using a W3C validator the footnotes are invalid. :( > > [...] > > How should define the footnote? > > Is an exporter error? > > Thanks. > > I tried to fix it in commit fd990a81e38ad80892519395ed52fbef5aca6545. It > produces error-free and visually correct results in with my init.el and > with emacs -q. Let me know if it works for you. Awesome! "This document was successfully checked as XHTML 1.0 Strict!" Thank you! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
[O] Invalid Markup Validation with footnotes
Hi everybody, using a W3C validator the footnotes are invalid. :( Example link validator: http://validator.w3.org/check?uri=http%3A%2F%2Fosiux.com%2Ftmux-terminator-awesome.html W3C Error: Line 329, Column 121: document type does not allow element "p" here; missing one of "object", "ins", "del", "map", "button" start-tag ...ss="footnum" href="#fnr.1">1 The source: https://raw.githubusercontent.com/osiris/osiux-blog/master/tmux-terminator-awesome.org Example code: [fn:awesome] [[file:awesome-es-increible.org]] Org-mode version: 8.3beta release_8.3beta-1266-g122171 How should define the footnote? Is an exporter error? Thanks! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
[O] howto disable infojs
I try in the .org file: #+OPTIONS: html-use-infojs:nil ... and the .emacs rc file: (setq org-html-use-infojs nil) any configuration does not work :( Org-mode version 8.3beta (release_8.3beta-1055-g797023 @ /home/osiris/org-mode/lisp/) GNU Emacs 24.4.1 (x86_64-pc-linux-gnu) of 2015-03-07 on trouble, modified by Debian -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
[O] batch export one file to ics
Hi! In the past, I used this command for export ICS: /usr/bin/emacs --batch -q --directory=/home/osiris/org \ --visit=/home/osiris/org/print3d.org \ --eval '(org-export-icalendar-this-file)' Now does not work, even changing to function org-icalendar-export-to-ics: /usr/bin/emacs --batch -q --directory=/home/osiris/org \ --visit=/home/osiris/org/print3d.org \ --eval '(org-icalendar-export-to-ics)' How should I? Thanks! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] org.css for mobile-friendly
El mié, 04 mar 2015, Rasmus decía: > OSiUX writes: > > > Testing my blog [0] (org-mode publish) in > > mobile-friendly [1] obtain bad result. :( > > > > Same result for orgmode.org, maybe somebody have > > better CSS for org-mode export? > > > > thanks! > > > > [0] http://osiux.com > > [1] https://www.google.com/webmasters/tools/mobile-friendly/?url=orgmode.org > > Did you try to add viewport? E.g.: > > ^ this meta is the begining for OK in mobile-friendly I play with CSS for adapt images sizes. thanks Rasmus! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
[O] org.css for mobile-friendly
Testing my blog [0] (org-mode publish) in mobile-friendly [1] obtain bad result. :( Same result for orgmode.org, maybe somebody have better CSS for org-mode export? thanks! [0] http://osiux.com [1] https://www.google.com/webmasters/tools/mobile-friendly/?url=orgmode.org -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] Bug?/performance issue in org-icalendar-export-current-agenda
El mar, 26 ago 2014, Richard Lawrence decía: > Hi all, > > I pulled from master recently (for the first time since the spring), and > since the update, I have noticed a performance/lockup issue. The > problem occurs when exporting an agenda view to iCalendar format. > > My Emacs version is 23.4.1 and my Org version is "8.3beta" (I am > currently on commit 767895...) > > I have traced the problem down to a call to > `org-icalendar-export-current-agenda', though I don't know if the > problem is in this function or in another function called by it. > Somewhere during the execution of this function, Emacs goes to 100% CPU > usage (on one core) and memory usage starts growing until I kill the > process. > > Here's what my setup looks like. I have just one entry in > `org-agenda-custom-commands' that defines the files field. It looks > like: > > ("Z" "Export to iCalendar file" tags "+event|+appointment" nil > ("~/Documents/website/public_html/lib/attachments/calendar.ics") > > I normally only call this command via a cron job that exports my agenda > files to .ics, which until recently was working fine. But I have > noticed I can reproduce the lockup interactively by building an agenda > view with this command, and then calling > `org-icalendar-export-current-agenda' on it (which is also what happens, > a few steps down the call chain, during the cron job). > > I have run some tests by manually setting org-agenda-files, then > building this agenda and eval'ing > > (org-icalendar-export-current-agenda "/tmp/agenda.ics") > > in the agenda buffer. The results: > > 1) Using just a simple three-entry test file, the export completes quickly >and I don't see the lockup. > 2) Using an agenda file which contains plenty of real data >(about 1000 lines) but no headlines tagged "event" or "appointment" >(i.e., a file for which this agenda view is empty), the call to >`org-icalendar-export-current-agenda' takes about 5 seconds to >complete, even though there are no entries to export. During those >5 seconds, the Emacs process goes to 100% CPU usage. > 3) Using a different agenda file (of about 4000 lines) which contains >about 75 matching headlines, the call to >`org-icalendar-export-current-agenda' does not complete within >several minutes, during which time I see 100% CPU usage and rapid >memory usage growth. > > So it looks to me like maybe some part of the export process uses > exponentially more time and memory, depending on the input, since a > minimal test case does not produce the problem. > > What's the next step for debugging this? Please let me know if I can > provide more information. > > Thanks! > > -- > Best, > Richard I use a bash script: =agenda-ascii= [0] to reduce the list of file to export, first =grep= current =/dev/null 2&>1 done fi #+END_EXAMPLE Actually the process, cosume 42%-97% CPU, for 526 appoinments, takes 0m 30.396s Org-mode version 8.3beta (release_8.3beta-264-g7a5f3f GNU Emacs 24.3.1 (x86_64-pc-linux-gnu) of 2014-06-06 on barber, modified by Debian [0] https://github.com/osiris/org-bash-utils/blob/master/agenda-ascii -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] bash alias and history in code block (again)
El jue, 17 abr 2014, Bastien decía: > OSiUX writes: > > > #+BEGIN_SRC sh :cmdline "-i" :session :results output > > From a quick look, this should rather be: > > #+BEGIN_SRC sh :cmdline -i :session session_name :results output > > Can you test this? Don't Work :-( ** DONE test =bash -i= CLOSED: [2014-04-22 mar 14:56] :LOGBOOK: - State "DONE" from "NEXT" [2014-04-22 mar 14:56] CLOCK: [2014-04-22 mar 14:51]--[2014-04-22 mar 14:54] => 0:03 :END: #+BEGIN_SRC sh :cmdline -i :session xyz :results output export | grep -i shell alias | wc -l history | wc -l #+END_SRC #+RESULTS: : declare -x SHELL="/bin/bash" : 0 : 0 #+BEGIN_SRC sh :session :results output export | grep -i shell alias | wc -l history | wc -l #+END_SRC #+RESULTS: : export SHELL="/bin/bash" : 0 : 0 -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] Org release 8.2.6
Work fine, but =org-export-time-stamp-file: nil= don't work [0] Adding =#+OPTIONS: timestamp:nil= to every file work fine. Now my blog is updated to 8.2.6 (release_8.2.6-898-g69700e) Thanks! [0] http://lists.gnu.org/archive/html/emacs-orgmode/2013-06/msg00460.html -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
[O] bash alias and history in code block (again)
Hi, in the past I ask *How to use alias and bash builtin functions?* http://lists.gnu.org/archive/html/emacs-orgmode/2013-12/msg00205.html The solution: (setq org-babel-sh-command "bash -i") But now don't work anymore :-( My Org-mode version: 8.2.5h release_8.2.5h-660-gef207f Looking the source: b896bd4 2014-02-09 20:12 schulte.ericadd :cmdline support to shell code blocks 5f0ca0e 2014-01-31 17:02:03 +0100 theonewiththeevillook Renaming of ob-sh to ob-shell: various fixes 1a9a666 2014-01-21 09:52 schulte.ericmention ob-sh renamed to ob-shell in ORG-NEWS 80754a8 2014-01-18 10:26 schulte.ericupdated names in test-ob-shell 2ebae7b 2014-01-18 10:25 schulte.ericrenamed test file for shell code blocks fb09863 2013-12-13 16:04 schulte.ericmore shell names b319475 2013-12-13 10:03 schulte.ericfix tests with the renamed ob-shell.el 583e7ab 2013-12-13 09:54 schulte.ericrename ob-sh to ob-shell 7a6c0e3 2013-12-13 09:52 schulte.ericmultiple code block types for multiple shells d286d81 2013-12-13 09:18 schulte.ericRevert "change default sh code block shell to bash" 1f498c9 2013-11-23 09:14 schulte.ericchange default sh code block shell to bash I change my ~/.emacs (setq org-babel-sh-command "bash") ... and try the new :cmdline parameter: #+BEGIN_SRC sh :cmdline "-i" :session :results output history | wc -l alias | wc -l #+END_SRC #+RESULTS: : 0 : 0 *How to use alias and bash builtin functions?* thanks! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] Reports on habits?
El dom, 16 mar 2014, Marcin Borkowski decía: > Hi list, > > We all know that org-habit is great, but the only case when I actually > see the consistency graph is in the agenda, when I did *not* do my habit > today. Is there a way to display the consistency graph on demand, e.g. > in the echo area? (Also, a dynamic table with a summary of my > consistency for the last week/month/year, with a few stats, would be > great for gamification-prone geeks like me...) > > Best, Could be adapted org-timeline to display a graph according to the habits. Currently indicating a file name and a date displays: #+BEGIN_SRC sh :session :results output :exports both org-clock 2014-02 almuerzo.org #+END_SRC #+RESULTS: #+begin_example 13:50 14:28 2014-02-04 14:37 15:17 2014-02-06 14:14 15:20 2014-02-07 13:50 14:38 2014-02-10 13:55 14:48 2014-02-13 13:42 14:42 2014-02-14 11:50 14:50 2014-02-17 13:40 15:04 2014-02-18 13:37 13:48 2014-02-20 14:02 15:00 2014-02-20 14:00 14:49 2014-02-24 14:00 15:00 2014-02-25 13:09 13:40 2014-02-28 #+end_example Adding =org-timeline= display the following graph: #+BEGIN_SRC sh :session :results output :exports both org-clock 2014-02 almuerzo.org | org-timeline #+END_SRC #+RESULTS: #+begin_example 11:12:13:14:15:16: ┊ ┊ ┊ ┊ ┊ ┊ ┊▣▣┊□□┊□□┊□□┊□□┊ 2014-02-17 => 180 ┊□□┊□□┊□□□▣▣▣┊□□┊□□┊ 2014-02-18 => 84 ┊□□┊□□┊□▣▣▣□□┊□□┊□□┊ 2014-02-28 => 31 ┊□□┊□□┊▣▣┊□□┊□□┊ 2014-02-10 => 48 ┊□□┊□□┊□□□▣▣□┊▣▣┊□□┊ 2014-02-20 => 69 ┊□□┊□□┊□▨┊□□┊□□┊ 2014-02-13 => 53 ┊□□┊□□┊▣▣┊□□┊□□┊ 2014-02-04 => 38 ┊□□┊□□┊□□□▣▣▣┊□□┊□□┊ 2014-02-14 => 60 ┊□□┊□□┊□□┊▣□┊□□┊ 2014-02-24 => 49 ┊□□┊□□┊□□┊□□□▣▣▣┊□□┊ 2014-02-06 => 40 ┊□□┊□□┊□□┊▣▣┊□□┊ 2014-02-25 => 60 ┊□□┊□□┊□□┊□▨┊□□┊ 2014-02-07 => 66 ┊ ┊ ┊ ┊ ┊ ┊ TOTAL => 778 #+end_example I need to improve the scripts to make them more friendly, but maybe you can try. Maybe a =org-habits= should show: #+begin_example | 01| 02| 03| 04| 05| 06| 07| 08| 09| 10| 11| 12| 13| 14| 15| 16| 17| 18| 19| 20| 21| 22| 23| 24| 25| 26| 27| 28| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | □ | □ | □ | ▣ | □ | ▣ | ▣ | □ | □ | ▣ | □ | □ | ▣ | ▣ | □ | □ | ▣ | ▣ | □ | □ | □ | □ | □ | ▣ | ▣ | □ | □ | ▣ | almuerzo | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38| | 40| 66| | | 48| | | 53| 60| | |180| 84| | | | | | 49| 60| | | 31| #+end_example I like the ASCII/UTF8 Art :-P http://github.com/osiris/org-bash-utils :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
[O] Org Bash Utils
Try: org-clock | org-timeline https://github.com/osiris/org-bash-utils -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] export ICal without evaluate code block
El mié, 26 feb 2014, Nicolas Goaziou decía: > OSiUX writes: > > > El mié, 26 feb 2014, Nicolas Goaziou decía: > > >> You could use something like this: > >> > >> (defun my-toggle-off-babel (backend) > >> (when (org-export-derived-backend-p backend 'icalendar) > >> (org-set-local 'org-confirm-babel-evaluate nil) > >> (org-set-local 'org-export-babel-evaluate nil))) > >> > >> (add-hook org-export-before-processing-hook #'my-toggle-off-babel) > > > > Thanks Nicolas, your workaround don't work for me: > > > > Debugger entered--Lisp error: > > (void-variable org-export-before-processing-hook) > > (add-hook org-export-before-processing-hook (function > > my-toggle-off-babel)) > > I forgot a quote: > > (add-hook 'org-export-before-processing-hook #'my-toggle-off-babel)) oops! OK thanks, now it works great! > > Looking the source I found this commit: > > > > commit 69ebb265be118ea1a37afb9603c4582d25d33d09 > > Author: Bastien Guerry > > Date: Wed Apr 10 18:40:47 2013 +0200 > > > > ox-icalendar.el (org-icalendar-export-current-agenda): Do not > > evaluate babel co$ > > > > * ox-icalendar.el (org-icalendar-export-current-agenda): Do > > not evaluate babel code blocks. > > > > Thanks to Nicolas for directions about this. > > > > should work with the export current file option > > but does not work :-( > > No, this patch is about calling icalendar exporter on the agenda. > I guess you are calling it on an Org buffer, which is different. No problem, I use batch mode export: ORG -> ICS -> REM -> TXT https://github.com/osiris/org-bash-utils/blob/master/agenda-ascii > Regards, thank you! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] export ICal without evaluate code block
El mié, 26 feb 2014, Nicolas Goaziou decía: > Hello, > > OSiUX writes: > > > Calendar can be exported without evaluating > > babel code blocks? > > > > I try setting in .emacs: > > > > (setq org-confirm-babel-evaluate nil) > > (setq org-export-babel-evaluate nil) > > > > but always evaluate when exports iCalendar :-( > > You could use something like this: > > (defun my-toggle-off-babel (backend) > (when (org-export-derived-backend-p backend 'icalendar) > (org-set-local 'org-confirm-babel-evaluate nil) > (org-set-local 'org-export-babel-evaluate nil))) > > (add-hook org-export-before-processing-hook #'my-toggle-off-babel) Thanks Nicolas, your workaround don't work for me: Debugger entered--Lisp error: (void-variable org-export-before-processing-hook) (add-hook org-export-before-processing-hook (function my-toggle-off-babel)) Looking the source I found this commit: commit 69ebb265be118ea1a37afb9603c4582d25d33d09 Author: Bastien Guerry Date: Wed Apr 10 18:40:47 2013 +0200 ox-icalendar.el (org-icalendar-export-current-agenda): Do not evaluate babel co$ * ox-icalendar.el (org-icalendar-export-current-agenda): Do not evaluate babel code blocks. Thanks to Nicolas for directions about this. should work with the export current file option but does not work :-( -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
[O] export ICal without evaluate code block
Hi! Calendar can be exported without evaluating babel code blocks? I try setting in .emacs: (setq org-confirm-babel-evaluate nil) (setq org-export-babel-evaluate nil) but always evaluate when exports iCalendar :-( thanks! Org-mode version 8.2.5h (release_8.2.5h-631-g076b8e @ /home/osiris/data/dev/emacs-lisp/org-mode/lisp/) GNU Emacs 23.4.1 (i486-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-09 on murphy, modified by Debian -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] value of cell/spreadsheet as property value?
El jue, 13 feb 2014, Michael Brand decía: > Hi OSiUX > > On Thu, Feb 13, 2014 at 3:29 PM, OSiUX wrote: > > {+; %5.2f} > > Try %7.2f yes, now it works fine, thank you! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] value of cell/spreadsheet as property value?
El mar, 11 feb 2014, Bastien decía: > Hi Michael, > > Michael Brand writes: > > > Cool, thank you. I added a sentence in org.texi to point out the > > dependency on the format specifier. > > Thanks for this, thanks for the patch, but I do not work for me :-( - Org-mode version 8.2.5h (release_8.2.5h-631-g076b8e @ /home/osiris/data/dev/emacs-lisp/org-mode/lisp/) - GNU Emacs 23.4.1 (i486-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-09 on murphy, modified by Debian Integers, ok: #+COLUMNS: %STATUS(Estado) %46ITEM(Descripción) %10COST(Estimado) %10CASH(Real){+; %5d} E | Descripción | Estimado | Real | | ** 2014-02 ||447 | | *** income || 1000 | ... | *** expenses|| -553 | | dinner || -110 | ... | party :-) || -400 | ... | lunch ||-43 | ... Decimals, bad align: #+COLUMNS: %STATUS(Estado) %46ITEM(Descripción) %10COST(Estimado) %10CASH(Real){+; %5.2f} E | Descripción | Estimado | Real | | ** 2014-02 || 447.00| | *** income || 1000.00 | ... | *** expenses|| -553.00 | | dinner || -110.00 | ... | party :-) || -400.00 | ... | lunch || -43.00| ... is there any way to debug this? thanks again! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] value of cell/spreadsheet as property value?
El mar, 11 feb 2014, Bastien decía: > Hi, > > OSiUX writes: > > > is possible to use a cell reference to a table > > or spreadsheet as a property value? > > > > Example: > > > > * lunch > > :PROPERTIES: > > :CASH: #lunchtable:@>$2 > > :END: > > > > #+NAME: lunchtable > > | date |cash | > > |--+-+ > > | [2014-02-10 lun] | 16.00 | > > | [2014-02-07 vie] | 27.00 | > > |--+-+ > > | | 43.00 | > > #+TBLFM: @>$2=vsum(@I..@II);%0.2f > > No, this is not possible. would be useful to be able to do this > > ... and align numbers in the columns view? > > > > *** 2014-01... > > | *** 2014-02 | 447.00 | > > | income | 1000.00 | ... > > | expenses| -553.00 | > > | * dinner | -110.00 | ... > > | * party :-) | -400.00 | ... > > | * lunch | -43.00 | > > I'm not sure I understand -- you want numbers to be aligned > on the left instead of the right in the column view? default is left-aligned, I want to right align the numbers. my properties por columns: #+COLUMNS: %46ITEM(Descripción) %10COST(Estimado){$} %10CASH(Real){$} > > thanks and sorry, English is not my language :-( > > No, problem, examples somehow speak for themselves. :-D thanks Bastien -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
[O] value of cell/spreadsheet as property value?
is possible to use a cell reference to a table or spreadsheet as a property value? Example: * lunch :PROPERTIES: :CASH: #lunchtable:@>$2 :END: #+NAME: lunchtable | date |cash | |--+-+ | [2014-02-10 lun] | 16.00 | | [2014-02-07 vie] | 27.00 | |--+-+ | | 43.00 | #+TBLFM: @>$2=vsum(@I..@II);%0.2f ... and align numbers in the columns view? *** 2014-01... | *** 2014-02 | 447.00 | | income | 1000.00 | ... | expenses| -553.00 | | * dinner | -110.00 | ... | * party :-) | -400.00 | ... | * lunch | -43.00 | thanks and sorry, English is not my language :-( -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] bash alias and history in code block
El vie, 06 dic 2013, Sebastien Vauban decía: > OSiUX wrote: > > How to use alias and bash builtin functions? > > > > #+BEGIN_SRC sh :session :results output > >echo $SHELL > >echo $HOME > >source ~/.bashrc > >alias | wc > >env | grep HISTTIMEFORMAT > >history | wc > > #+END_SRC > > > > #+RESULTS: > > : /bin/bash > > : /home/osiris > > : 0 0 0 > > : HISTTIMEFORMAT=%Y-%m-%d %H:%M > > : 0 0 0 > > Just throwing an idea (as I don't know enough about that): play with the > variable `org-babel-sh-command' (default: "bash") and add options such as > "--login" or "--interactive" (or stuff like that)? Ok, add a "bash -i" and now is working well: #+BEGIN_SRC sh :session :results output grep bash ~/.emacs echo $SHELL echo $HOME alias | wc env | grep HISTTIMEFORMAT echo $BASH_VERSION shopt -s histappend set -o | grep history history | wc alias dia alias hh hh | tail history -a #+END_SRC #+RESULTS: #+begin_example (setq org-babel-sh-command "bash -i") /bin/bash /home/osiris 5343236 29894 HISTTIMEFORMAT=%Y-%m-%d %H:%M 4.2.37(1)-release history on 8275 44194 338107 alias dia='date +%Y-%m-%d' alias hh='history | egrep $(dia) | cut -c 19- | sort -u' 17:10 set -o | grep history 17:10 shopt -s histappend 17:10 ssh sugar-mant 17:10 sudo chown osiris.osiris config -R 17:10 sudo chown osiris.osiris .* -R 17:10 sudo chown osiris.osiris /var/run/screen/S-osiris 17:10 sudo chown osiris.osiris /var/run/screen/S-osiris.* 17:10 sudo -s #+end_example Sometimes I forget to start clock in a task, then I use the history to know the timestamp :-P -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
[O] bash alias and history in code block
How to use alias and bash builtin functions? #+BEGIN_SRC sh :session :results output echo $SHELL echo $HOME source ~/.bashrc alias | wc env | grep HISTTIMEFORMAT history | wc #+END_SRC #+RESULTS: : /bin/bash : /home/osiris : 0 0 0 : HISTTIMEFORMAT=%Y-%m-%d %H:%M : 0 0 0 Thanks! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] Network Diagram
El lun, 30 sep 2013, Noorul Islam K M decía: > Esben Stien writes: > > > Any way to create something like a network diagram with org-mode? > > > > I looked in the manual and found state change diagrams and sequence > > diagrams, but nothing that would help me plan a network with routers and > > switches. > > > > Any pointers? > > You can find example here http://doc.norang.ca/org-mode.html for the > tools others mentioned in this thread. > > Thanks and Regards > Noorul > A good tool is blockdiag: - http://osiux.com/img/osiux-network.png - http://pub.osiux.com/osiux-network.diag - http://blockdiag.com/en/nwdiag/index.html -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] scrum with emacs org-mode
El mar, 02 jul 2013, thk...@koch.ro decía: > Hi, > > has anybody some success stories to share how to use org-mode in > scrum projects? Googling for scrum and org-mode already showed some > interesting things: > > * https://github.com/ianxm/emacs-scrum > * http://www.agilesoc.com/2011/08/08/emacs-org-mode-kanban-pomodoro-oh-my > * http://odisworld.blogspot.ch/search/label/Scrum Thanks, I will investigate the links. > However none of the above links are very helpful when it comes to > managing a project backlog. > > If you have some free software tools besides org-mode please tell us > for comparison! > > Best regards, Thomas Koch My minimal tables for burdown: - http://pub.osiux.com/org/scrum.org - http://pub.osiux.com/org/scrum.html -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] how to disable timestamp html export
El mié, 05 jun 2013, Nick Dokos decía: > OSiUX writes: > > > When export using org-publish-project, > > Org add a comment with timestamp in HTML: > > > > # git diff > > > > http://www.w3.org/1999/xhtml"; lang="es" xml:lang="es"> > > > > viewing two years of orgmode with gnuplot > > - > > + > > > > > > > > In my .emacs, I have: > > > > (setq org-publish-project-alist > > (quote (("osiux-blog-org" > > ...others...options... > > :with-timestamps nil > > > > How I can disable this feature? > > > > To do it globally, customize org-export-time-stamp-file and set it to > nil. > > Per file, you can use an option: > > --8<---cut here---start->8--- > #+OPTIONS: timestamp:nil > --8<---cut here---end--->8--- > > or through a local variable by adding this at the *end* of the file: > > --8<---cut here---start->8--- > # Local Variables: > # org-export-time-stamp-file: nil > # End: > --8<---cut here---end--->8--- > > You will need to close and reopen the file in this case, for it > to take effect. > > OTOH, it's just a comment: org is trying to be helpful and tell you > when the html file was produced. Why do you want to get rid of it? > At some point, it might save you hours of debugging (ok, rhetorical > exaggeration perhaps, but still...) Nic, currently Orgmode is regenerating all .html files, not just modified (.org), maybe that's the error? I use git as version control for html files because it facilitates the deploy of my blog and was going to be detected modified files when in fact they were exactly the same except for the timestamp. Thanks! org-export-time-stamp-file: nil works as I need. The source files *.org: http://github.com/osiris/osiux-blog The HTML files with images: https://github.com/osiris/osiris.github.com The main site: http://osiux.com The git mirror: http://git.osiux.com :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
[O] how to disable timestamp html export
When export using org-publish-project, Org add a comment with timestamp in HTML: # git diff http://www.w3.org/1999/xhtml"; lang="es" xml:lang="es"> viewing two years of orgmode with gnuplot - + In my .emacs, I have: (setq org-publish-project-alist (quote (("osiux-blog-org" ...others...options... :with-timestamps nil How I can disable this feature? Thanks! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] INCLUDE directives in new org-mode
El lun, 06 may 2013, Wiskey 5 Alpha decía: >Hello all, > I am trying to use the #+INCLUDE directives to have template >information for a series of orgmode files that I want to export. Prior to >upgrading to v8, the below minimal example was working. But as of the >upgrade, any text in an included file is just copied in verbatim. > >--- [1]foo.org > >#+INCLUDE: [2]date.org The new syntax: #+INCLUDE: "date.org" -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
Re: [O] How to analyze clocking reports (e. g. with spreadsheet application)?
El sáb, 27 abr 2013, Martin decía: > I'm using the org-mode clocking features (in org-mode 7.9.4) extensively > to document how much time I spent with which task and when. > > I wonder how I can export the data (e. g. to MS Excel) for further analysis; > * time consumed by different projects > * interruptions and "jumping" from task to task > * time consumed by tasks with a special tag > etc. > > I searched the internet and this list, but I did not find any description > from someone who has already > done that (however I'm quite sure that I'm not the first one with this idea). > > Any hints on how to do it or tutorials/reports from others are welcome. > > Martin is possible to obtain statistics using a bash script and plot by gnuplot, an article about it in Spanish: http://www.osiux.com/visualizando-org-mode-con-gnuplot.html and a graph of each month regarding the same color for each task over a year http://www.osiux.com/img/org-task-by-day-2012.png soon publish a new article in English... recently created a public repository with some bash scripts: https://github.com/osiris/org-bash-utils -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
[O] Invalid syntax in INCLUDE keyword
After upgrading, when publish a project I get the error: org-export-expand-include-keyword: Invalid syntax in INCLUDE keyword I try delete all lines with: #+INCLUDE: header.org But the error persists. Anyone know how to fix it? org-version: 8.0-pre (release_8.0-pre-410-g87e84c) Emacs 23.4.1 thanks! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C http://www.osiux.com.ar http://www.altermundi.net signature.asc Description: Digital signature
[O] How to remote tags from calfw?
Using calfw [0], i do not know how to remove remove tags from function cfw:open-org-calendar Anyone can help me? [0] https://github.com/kiwanami/emacs-calfw -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org signature.asc Description: Digital signature
[O] relative row reference in table formula
is possible to define the reference to the last row of the following @II+$3, to avoid having to change the number of row (@4$3)? in this example does not calculate: | date | item |cost | |--+---+-| | [2012-03-01 jue] | item 1| 30.00 | | [2012-03-01 jue] | item 2| 20.00 | |--+---+-| | | | 30.00 | #+TBLFM: @II+$3=vsum(@I..@II);%0.2f thanks! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org signature.asc Description: Digital signature
Re: [O] Hierarchical calculations
El mar, 07 feb 2012, Rick Moynihan decía: >Hi all, >I recently wanted to use org-mode to do some simple calculations where >estimate values would hierarchically bubble up a tree, in a similar way to >checkbox percentages e.g. >* Total Effort [110] >** Task 1 [45] >*** Task 1.1 [20] >*** Task 1.2 [10] >*** Task 1.3 [15] >*** Task 1.4 [10] >** Task 2 [65] >Non leaf nodes would have their values automatically updated on a C-c C-c >to the sum of their children. Is there a way of doing something similar >to this at the moment? Maybe with property drawers or otherwise? >R. Try this: #+begin_example #+COLUMNS: %50ITEM %10Effort{$} %10CASH{$} * DONE my item CLOSED: [2012-01-03 mar 14:46] :LOGBOOK:... :PROPERTIES: :Effort: 10.50 :CASH: 20.20 :END: #+end_example -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org signature.asc Description: Digital signature
Re: [O] org-jira.el
El vie, 06 ene 2012, Bao Haojun decía: > Hi, OSiUX > > OSiUX writes: > > > El lun, 02 ene 2012, Bao Haojun decía: > > > >> Hi, all > >> > >> I have implemented org-jira.el, bringing org-mode and Jira system > >> together. > >> > >> Wrote a Wiki page for it on emacswiki: > >> http://www.emacswiki.org/emacs/OrgJiraMode > >> > >> Hope somebody find it useful, if he/she is also using Jira and loves > >> org-mode. > >> > >> > >> > > > > after running Mx jira2-login, I get the following error: > > > > Symbol's function definition is void: auth-source-search > > > > howto configure login? > > I have fixed it. The auth-source-search is a new API from emacs24. > > With the new code, you will be prompted for username and password if you > are using a lower version of EMACS. > > BTW, I have also renamed jira2 to jiralib, so after you check out the > new code, you need change your .emacs accordingly: > > #+begin_src emacs-lisp > (setq jiralib-url "http://jira-host";) > (require 'org-jira) ;jiralib is not explicitly required, since org-jira will > load it > #+end_src > > Thanks. > > -- > All the best > > Bao Haojun Hi Bao Haojun, I finally discovered the error, I was using an anonymous proxy server and JIRA apparently did not return the correct xml. Does not work in emacs, but in emacs 24 enabling the debug managed to capture the error:: (let ( (url-request-method "GET") (url-package-name)) (let ( ("soap-client.el") (url-package-version "1.0") )) (let ( ((url-mime-charset-string "utf-8;q=1, iso-8859-1;q=0.5"))) (let ( ((url-request-coding-system (quote utf-8)) )) (let ( ((url-http-attempt-keepalives nil)) (let ( (buffer )) (let ( ((url-retrieve-synchronously url))) (with-current-buffer)) (let ( (buffer (declare (special url-http-response-status)))) (let ( ((if (> url-http-response-status 299) (error "Error )) (let ( (retrieving WSDL: %s" url-http-response-status mime-part)) (let ( ((mm-dissect-buffer t t))) (unless mime-part (error "Failed )) (let ( (to decode response from server")) (unless (equal (car )) (let ( ((mm-handle-type mime-part)) "text/xml") (error "Server )) (let ( (response is not an XML document" )) ... then disable the proxy, start using emacs and execute org-jira-get-projects got the list of projects and then some issues. Excellent work, I hope that the error messages to help correct for emacs23 org-jira. Finally I would like to know where to change the path for the projects, actually: /home/.org-jira Thank you very much! I'll stop now copy and paste from jira to org-mode. ;-) Enviroment Emacs23: - Org-mode commit: 258aad0b9a428cec9195b22063e42df77dee19c2 - GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.6) of 2011-10-25 on trouble, modified by Debian - org-jira commit: 6fd1fd891eb716871dc5d6d680f99585f1f3602e Enviroment Emacs24 - Org-mode commit: 56c73255c0bdd27ac42af0a02ecea9336c4594d6 - GNU Emacs 24.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 3.2.3) of 2012-01-05 on zelenka, modified by Debian - org-jira commit: 6fd1fd891eb716871dc5d6d680f99585f1f3602e -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org signature.asc Description: Digital signature
Re: [O] org-jira.el
El lun, 02 ene 2012, Bao Haojun decía: > Hi, all > > I have implemented org-jira.el, bringing org-mode and Jira system > together. > > Wrote a Wiki page for it on emacswiki: > http://www.emacswiki.org/emacs/OrgJiraMode > > Hope somebody find it useful, if he/she is also using Jira and loves > org-mode. > > > after running Mx jira2-login, I get the following error: Symbol's function definition is void: auth-source-search howto configure login? -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org signature.asc Description: Digital signature
Re: [O] Generating burndown charts using org mode
El sáb, 31 dic 2011, Marco Craveiro decía: > Hi Org-Moders, > > I've been using Org-Mode quite a bit, but I'm afraid I'm not an advanced > user. I'm trying to generate burndown charts [1] which basically follow > coding progress over a bounded period of time (an iteration). > > I started by generating a file for each iteration: > > > * Tasks in iteration > - [[file:list_1.org]] > - [[file:list_2.org]] > > #+tblname: test_chart > | Day | Expected | Actual | > |-+--+| > | 0 |4 | 4 | > | 1 |3 | 4 | > | 2 |2 | 1 | > | 3 |1 | 0 | > | 4 |0 | 0 | > Marco, try this: *** burndown #+srcname: burndown #+begin_src sh :session cd ~/org MONTH=$(date +%m) DAYS_DONE=$(egrep -A1 "\* DONE" gca.org | egrep -o "CLOSED: \[[0-9]{4}-$MONTH-[0-9]{2}" | cut -c 10- | sort -u) echo "day expected actual" for DAY in $DAYS_DONE do NEXT_BY_DAY=$(egrep -A1 "\* NEXT" gca.org | egrep -o "SCHEDULED: <$DAY" | wc -l) DONE_BY_DAY=$(egrep -A1 "\* DONE" gca.org | egrep -o "CLOSED: \[$DAY" | wc -l) echo $DAY $NEXT_BY_DAY $DONE_BY_DAY done #+end_src #+results: burndown |day | expected | actual | | 2011-12-01 |5 | 1 | | 2011-12-05 |3 | 1 | | 2011-12-12 |4 | 2 | | 2011-12-13 |2 | 1 | | 2011-12-14 |2 | 2 | | 2011-12-15 |2 | 2 | | 2011-12-16 |2 | 1 | | 2011-12-19 |1 | 2 | | 2011-12-20 |0 | 4 | | 2011-12-21 |0 | 6 | | 2011-12-22 |0 | 1 | | 2011-12-26 |0 | 2 | | 2011-12-27 |0 | 3 | #+begin_src gnuplot :var data=burndown :file burdown.png reset set xdata time set timefmt "%Y-%m-%d" set format x "%d" set title "burndown" set xlabel "days" set ylabel "taks" set xtics nomirror set ytics nomirror plot data using 1:2 with lines lw 2 lt 3 title col(2), \ data using 1:3 with lines lw 2 lt 1 title col(3) #+end_src #+results: file:burdown.png -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org signature.asc Description: Digital signature
[O] viewing two years of orgmode with gnuplot
hi all, I still did not have time to translate but is available on my blog the process to graph orgmode using gnuplot, the link is: http://osiux.com/visualizando-org-mode-con-gnuplot.txt and the link of the graph of last year is: http://osiux.com/img/org-task-by-day-2011.png I hope you enjoy and perhaps they can improve it, it's simple bash script using babel :-D also publish the source: http://pub.osiux.com/org-mode/plot.org -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org signature.asc Description: Digital signature
Re: [O] Spanish translation of Bernt's document
El mar, 13 dic 2011, Bastien decía: > Dear all, > > just to advertise these two facts: > > 1. Bernt kindly put his document under GNU FDL v1.3 (or later). > > 2. Alvar (cc'ed) started a spanish translation of Bernt's doc, >please check the git repo here: > >https://github.com/alvarmaciel/org-mode-doc-es > > If there are any native spanish writer/speaker, please give a hand > to Alvar! Having more translations of this wonderful document will > certainly help more people enjoy Org. > > Best, Since my beginnings with org-mode, this text has been very helpful and often thought of translating it, now I can assist in the update. My first org-mode and rst talk slides: - http://pub.osiux.com/charlas/todo-txt-rst+org-mode-slides.pdf - http://osiux.com/todo-txt-rst+org-mode I have a copy in rst/html format in my blog: - http://osiux.com/raw/emacs-orgmode-organize-your-life-in-plain-text - http://osiux.com/emacs-orgmode-organize-your-life-in-plain-text Thanks for translation! -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org signature.asc Description: Digital signature
[O] howto integrate blockdiag in org-babel?
Hi everybody! I recently discovered blockdiag [0] and org-export-diag, how to integrate it as a new language of babel? [0] http://blockdiag.com/en/ [1] https://github.com/xcezx/org-export-diag -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org signature.asc Description: Digital signature
[O] howto paste html table in org-mode
How to paste (and convert automatically) html table in org-table? -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org
Re: [O] Calendar-like view of the org-agenda
CFW it's AWESOME! When change the name of days and months, emacs crash!!:: (setq calendar-week-start-day 7 european-calendar-style t calendar-day-name-array ["Dom" "Lun" "Mar" "Mie" "Jue" "Vie" "Sab"] calendar-month-name-array ["Ene" "Feb" "Mar" "Abr" "May" "Jun" "Jul" "Ago" "Sep" "Oct" "Nov" "Dic"] ) -- :: Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar AA70 93FD B6EF EB42 6920 7530 A799 B226 74C8 A3FE http://osiux.com http://wiki.buenosaireslibre.org signature.asc Description: Digital signature