[O] PyOrgMode: Any idea how to get the properties of a node?

2011-05-05 Thread Miguel Ruiz
I am using PyOrgMode to process the nodes of an orgmode file. I have had no problem with the OrgDataStructure class, but, as you can see https://github.com/bjonnh/PyOrgMode/blob/master/PyOrgMode.py the drawer and properties are parsed by another class, OrgDrawer, and I cannot, i.e., I am not

Re: [O] Installing from git

2014-07-02 Thread Miguel Ruiz
This is my setup in .emacs; it runs without problems version after version. You are encouraged to simplify the path schema of org-mode branches I use.Minimal sequence for me is: make clean git pull make autoloads make info;; .emacs begins activate debugging (setq debug-on-error t

[O] org-maint exporting ignores \n in python babel output ascii export; org-master doesn't though

2014-07-24 Thread Miguel Ruiz
#+BEGIN_SRC python :exports results :results raw return Hello\nBye #+END_SRC exports as: Hello Bye with org-ascii-export-as/to-ascii (Org-mode version 8.2.7b (release_8.2.7b-5-gc9613c)) But it exports correctly with Org-mode version 8.3beta (release_8.3beta-56-gdb0130) Miguel.

Re: [O] org-mode

2014-07-24 Thread Miguel Ruiz
master branch = make cleanall #git pull #optional git reset --hard origin/master # warning: removes local changes #make test#optional make #not necessary if make test maint branch = make cleanall #git pull #optional git reset --hard

Re: [O] Bug: org-master (release_8.3beta-56-gdb0130) ascii exporter ignores org-export-preserve-breaks

2014-07-25 Thread Miguel Ruiz
After more detailed review I have figure out that the problem more generic and the opposite of the exposed in my previous message: - org-maint ascii exporter takes org-export-preserve-breaks into account (default is nil; it works as expected, both nil and t) - org-master ascii exporter

Re: [O] Bug: org-master (release_8.3beta-56-gdb0130) ascii exporter ignores org-export-preserve-breaks

2014-07-25 Thread Miguel Ruiz
Sorry: last block, I meant - Org-master (org-export-preserve-breaks nil) output: hello bye -Original Message- From: rbeni...@inbox.com Sent: Thu, 24 Jul 2014 23:53:57 -0800 To: emacs-orgmode@gnu.org Subject: Re: [O] Bug: org-master (release_8.3beta-56-gdb0130) ascii exporter

Re: [O] [PATCH] fix appointment warn time

2013-05-14 Thread Miguel Ruiz
--- El mar, 14/5/13, Ivan Kanis ban...@kanis.fr escribió: De: Ivan Kanis ban...@kanis.fr Asunto: Re: [O] [PATCH] fix appointment warn time Para: Bastien b...@gnu.org CC: org mode emacs-orgmode@gnu.org Fecha: martes, 14 de mayo, 2013 14:10 Le 14 Mai à 13h49, Bastien a écrit : Can

[O] DOS (CRLF) EOL in org-ascii-export-to-ascii

2013-10-14 Thread Miguel Ruiz
., CRLF EOL. In my box, emacs.exe -Q saves new files with CRLF EOL. Sincerely Miguel Ruiz. Sevilla (Spain)

Re: [O] DOS (CRLF) EOL in org-ascii-export-to-ascii

2013-10-14 Thread Miguel Ruiz
What happens if you set `org-export-coding-system' to `utf-8-dos'? It works like a charm. Sorry for the noise but there are too many not-in-the-manual options for me. Regards, Miguel.

[O] Very minimal async export example does not work

2013-10-29 Thread Miguel Ruiz
I'm trying to get a very minimal example of async export working. Can you help me? I'm running out of ideas. TIA WindowsXP-SP3, Emacs 24.3, Org [8.2.1 (release_8.2.1-134-g8b264d @ c:/org-mode/lisp/)] #+BEGIN_SRC command-line emacs -Q -l minimal-org.el #+END_SRC #+BEGIN_SRC

Re: [O] Very minimal async export example does not work

2013-10-29 Thread Miguel Ruiz
-export-async-init-file path/to/minimal-org.el) #+END_SRC Miguel. De: Nicolas Goaziou n.goaz...@gmail.com Para: Miguel Ruiz rbeni...@yahoo.es CC: emacs-orgmode@gnu.org emacs-orgmode@gnu.org Enviado: Martes 29 de octubre de 2013 9:09 Asunto: Re: [O] Very minimal

[O] Cygwin (org-open-file (org-odt-export-to-odt nil s v) 'system) opens odt as zip

2013-11-30 Thread Miguel Ruiz
? - Could you help me in any other way? Thank you so much. Miguel Ruiz, Sevilla (Spain).

Re: [O] Cygwin (org-open-file (org-odt-export-to-odt nil s v) 'system) opens odt as zip

2013-11-30 Thread Miguel Ruiz
. Miguel. El Sábado 30 de noviembre de 2013 11:18, Jambunathan K kjambunat...@gmail.com escribió: Miguel Ruiz rbeni...@yahoo.es writes: Remove all your configurations and try this.  This will use windows open. (require 'org)  ;; Make sure org is loaded (defun org-default-apps ()   Return

Re: [O] Cygwin (org-open-file (org-odt-export-to-odt nil s v) 'system) opens odt as zip

2013-12-01 Thread Miguel Ruiz
Thank you, Jambunathan. I was exploring (defconst org-file-apps-defaults-cygwin   '((remote . emacs)     (t . cygstart %s)     (system . cygstart %s)     (ps.gz  . gv %s)     (eps.gz . gv %s)     (dvi    . xdvi %s)     (fig    . xfig %s))) (defun org-default-apps () Return the default

[O] Bug: Babel calc sqrt float var

2013-12-10 Thread Miguel Ruiz
Babel languages (org-babel-do-load-languages  'org-babel-load-languages  '((calc . t))) ;;; end of minimal-org.el GNU Emacs 24.3.1 (i686-pc-cygwin) of 2013-08-14 on moufang Org-mode version 8.2.4 (release_8.2.4-3-g7fe99a @ /home/usuario/org-mode/maint/lisp/) TIA. Miguel Ruiz.

[O] org-babel-gnuplot-quote-tsv-field does not work properly (quotes); org-plot-quote-tsv-field does though

2014-01-05 Thread Miguel Ruiz
|    257.72 |   21.39 | | Leeds |    165.77 |   19.68 | | Sao Paolo | 71.00 |   11.50 | ; without quotes (in temp data file), gnuplot sees 4 columns | Stockholm |    134.19 |   14.33 | | Morelia   |    257.56 |   17.67 | I would appreciate any hint. TIA, Miguel Ruiz. CYGWIN_NT-6.1-WOW64

Re: [O] org-babel-gnuplot-quote-tsv-field does not work properly (quotes); org-plot-quote-tsv-field does though

2014-01-05 Thread Miguel Ruiz
, Miguel Ruiz rbeni...@yahoo.es escribió: Hi, I cannot get temp data file from org-babel-gnuplot with quoted row labels. I have tried org-plot/gnuplot and it provides a correct temp data file but it freezes so it is no useful by now. My test table: | Sede  | Max cites | H-index

Re: [O] org-babel-gnuplot-quote-tsv-field does not work properly (quotes); org-plot-quote-tsv-field does though

2014-01-05 Thread Miguel Ruiz
Thank you, Bastien. I'd prefer some of you writes the changelog entry; the patch is attached. El Domingo 5 de enero de 2014 12:51, Bastien b...@gnu.org escribió: Hi Miguel, Miguel Ruiz rbeni...@yahoo.es writes: Is it *this* enough: diff --git a/lisp/ob-gnuplot.el b/lisp/ob-gnuplot.el

[O] org-babel-gnuplot-quote-tsv-field does not work; org-plot-quote-tsv-field does though

2014-01-05 Thread Miguel Ruiz
|257.72 | 21.39 | | Leeds |165.77 | 19.68 | | Sao Paolo | 71.00 | 11.50 | ; without quotes (in temp data file), gnuplot sees 4 columns | Stockholm |134.19 | 14.33 | | Morelia |257.56 | 17.67 | I would appreciate any hint. TIA, Miguel Ruiz. CYGWIN_NT-6.1-WOW64

Re: [O] help with porting babel example on worg to latest version

2014-01-06 Thread Miguel Ruiz
What's the problem with: #+name: fibonacci-inputs | 1 | 2 | 3 | 4 |  5 |  6 |  7 |  8 |  9 | 10 | | 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | #+name: fibonacci-seq #+begin_src emacs-lisp :var fib-inputs=fibonacci-inputs   (defun fibonacci (n)     (if (or (= n 0) (= n 1))     n   (+

Re: [O] odt exporter on mixed org setup

2014-01-16 Thread Miguel Ruiz
This is my setup in .emacs; it runs without problems version after version. ;; ;; Remove Org remnants built into Emacs ;; ;; from Achim Gratz ;; https://github.com/emacsmirror/org/blob/master/testing/org-batch-test-init.el ;; clean load-path (setq load-path   (delq nil (mapcar          

Re: [O] bug in 8.2.5f for using tables as data in python?

2014-01-22 Thread Miguel Ruiz
Could it be a poorly rewritten patch? Original Daniel Gerber's proposal works for me. diff --git a/lisp/ob-python.el b/lisp/ob-python.el index 1457682..523fd70 100644 (file) --- a/lisp/ob-python.el +++ b/lisp/ob-python.el @@ -137,7 +137,7 @@ specifying a variable of the same value.    

Re: [O] bug in 8.2.5f for using tables as data in python?

2014-01-22 Thread Miguel Ruiz
-to (format (if (and (stringp var) (string-match [\n\r] var)) \\%S\\ %S) (if (stringp var) (substring-no-properties var) var) And, related to the problem of the OP, this last code works for me. Miguel El Miércoles 22 de enero de 2014 15:23, Bastien b...@gnu.org escribió: Hi Miguel, Miguel

[O] : Shouldn't commit b6448c4225bc83299da1bd08c2d2e8b77e0bcd13 be in maint?

2014-01-24 Thread Miguel Ruiz
Shouldn't commit b6448c4225bc83299da1bd08c2d2e8b77e0bcd13 (Fix Marker points into wrong buffer error) be in maint? It works for me in emacs 24.3 and in 24.3.50 (as of today, 20130124). It's going to prevent errors in emacs 24.4 candidates. Miguel.

[O] Howto: different faces for begin_src and results

2014-03-10 Thread Miguel Ruiz
Hi I was wondering if it's possible to have different faces for #+begin_src/#+end_src and results so distinguishing the blocks is easier. TIA. Protect your computer files with professional cloud backup. Get PCRx Backup and upload

Re: [O] Howto: different faces for begin_src and results

2014-03-12 Thread Miguel Ruiz
Thank you Bastien, Fabrice, Jambunathan. In the meantime I have discovered org-font-lock-keywords and related. Miguel. -Original Message- From: rbeni...@inbox.com Sent: Mon, 10 Mar 2014 02:49:08 -0800 To: emacs-orgmode@gnu.org Subject: [O] Howto: different faces for begin_src and

[O] non-beamer :ignoreheading: does not work for html (org 8.2.5h)

2014-03-17 Thread Miguel Ruiz
Hi The Suvayu edited answer of Jul 26 '13 at 11:42 http://stackoverflow.com/questions/10295177/is-there-an-equivalent-of-org-modes-b-ignoreheading-for-non-beamer-documents #+begin_src elisp (require 'ox) (defun sa-ignore-headline (contents backend info) Ignore headlines with tag

[O] Org-export OpenDocument needs (defalias 'copy-seq 'copy-sequence)

2012-09-04 Thread Miguel Ruiz
GNU Emacs 24.2.1 (i386-mingw-nt6.1.7600) of 2012-09-02 on GNUPACKOrg-mode release_7.9.1-4-gdd2822

[O] No title in org-export-as-odt

2012-09-23 Thread Miguel Ruiz
Hi, Any hint to get rid of the title in a org-export-as-odt session? I've tried #+OPTIONS: title:nil author:nil timestamp:nil toc:nil #+LANGUAGE: es * HELLO and I get the filename as odt file title. If I try #+TITLE: #+OPTIONS: title:nil author:nil timestamp:nil toc:nil #+LANGUAGE: es *

Re: [O] No title in org-export-as-odt

2012-09-24 Thread Miguel Ruiz
Hi, Miguel Ruiz rbeni...@yahoo.es writes: Any hint to get rid of the title in a org-export-as-odt session? I don't think you can org-odt-format-preamble function says: ... (when title        (concat     (org-odt-format-stylized-paragraph  'title (org-odt-format-tags

[O] Last org-lparse.el changes make swriter not to open after org-export-as-odt-and-open

2012-10-16 Thread Miguel Ruiz
Last org-lparse.el changes make swriter not to open after org-export-as-odt-and-open This refers to commit Tue, 2 Oct 2012 08:03:15 + (10:03 +0200) and, I think, the problems is only in org-lparse.el changes. Version 7.9.2-50-g1fb3cc works as expected if org-lparse.el is reverted to its

[O] Cannot get exported a correctly-recalculated table generated by org-babel

2013-01-27 Thread Miguel Ruiz
piece of software. Miguel Ruiz. Sevilla, Spain.

Re: [O] Cannot get exported a correctly-recalculated table generated by org-babel

2013-01-30 Thread Miguel Ruiz
How can I get recalculated tables through org-export: a) Switch-off org-babel-execute-buffer in org-export? b) Switch-on org-tables recalculate-buffer-tables AFTER org-babel-execute-buffer? I cannot figure out the sequence in org-export or the multiple hooks available. I would

[O] No inline property value after subtree export

2012-07-17 Thread Miguel Ruiz
Hi, In this minimal example --org-mode file start#+OPTIONS: toc:nil#+AUTHOR:#+DATE:* Level 1  :PROPERTIES:  :ID:       527b694d-8288-4d37-a06a-a288bd9592b5  :END:This is level 1 with ID {{{property(ID)}}}** Level 2   :PROPERTIES:   :ID:      

[Orgmode] Filtering entries of a journal file with its datestamp

2010-04-16 Thread Miguel Ruiz
sat Subject 40 -- I have tried org-occur, but only marks the searched string; I also have tried occur but generate a list without the dates, and cannot be printed. I would appreciate any hint. Miguel Ruiz Sevilla, Spain

[Orgmode] Listing filtered entries of a journal file with its datestamp

2010-04-16 Thread Miguel Ruiz
Subject 40 -- I have tried M-x org-occur, but only marks the searched string; I also have tried M-x occur, but generates a list without the dates, and cannot be printed. I would appreciate any hint. Miguel Ruiz Sevilla, Spain

[Orgmode] Inserting date/time stamps including seconds

2010-07-13 Thread Miguel Ruiz
Is it possible to insert date/time stamps (active or inactive) including seconds? I have tested that entries like [2010-07-13 tue 14:53:37] works perfectly. Sorry, if this question have been answered; every second search I have done get me to first ..., second ... Miguel Ruiz Sevilla, Spain

Re: [Orgmode] Inserting date/time stamps including seconds

2010-07-15 Thread Miguel Ruiz
I am interesting to hear why you'd want to have that. Well, basically I have a main .org file as a logbook, and a inactive date/time stamp would serve as a unique identification field; I need different time stamps in the same minute. Best wishes.

[Orgmode] org-babel-post-tangle-hook just opening tangled file

2010-09-08 Thread Miguel Ruiz
of being written. I have tried (add-hook 'org-babel-post-tangle-hook (lambda () (save-window-excursion (find-file anyfile and no problem, but the first code does nothing, apparently. I am a beginner with elisp, so I beg your pardon. Miguel Ruiz

[Orgmode] Org capture with predefined entries from a list?

2010-09-11 Thread Miguel Ruiz
Hi Might I implement an org capture template with predefined entries from a list instead of typing the final entry? If not, please, whats the minimal code to get a shortkey to launch a selection of an item of a list and insert in the buffer? Thank you. My questions has always been well

Re: [Orgmode] Org capture with predefined entries from a list?

2010-09-13 Thread Miguel Ruiz
Thank you for your interest. First: org.el 7/9/2010, org-capture.el 2/9/2010 Contents of .emacs: (...) (setq org-capture-templates '((t Todo entry (file+headline ~/org/gtd.org Tasks) * TODO %?\n %i\n %a) (j Journal entry (file+datetree ~/org/journal.org)

Re: [Orgmode] Org capture with predefined entries from a list?

2010-09-21 Thread Miguel Ruiz
--- El mié, 22/9/10, Bastien bastien.gue...@wikimedia.fr escribió: De: Bastien bastien.gue...@wikimedia.fr Asunto: Re: [Orgmode] Org capture with predefined entries from a list? Para: Miguel Ruiz rbeni...@yahoo.es CC: emacs-orgmode@gnu.org Fecha: miércoles, 22 de septiembre, 2010 01:00 Hi

[Orgmode] Generating an org file actually including the #+INCLUDE files

2010-12-08 Thread Miguel Ruiz
Hi, I am working on a document split in several chunks. I need to generate the full document in order to do different sorting processes before exporting. It would be nice if that generation could be recursive ... you know, one master file, one included file with another included file. I

[O] [bug, master] Returned table column names broken after #+call function from lob-table-operations.org

2014-12-26 Thread Miguel Ruiz
The following minimal example (emacs -Q) yields (key, t1c2, t2c2) as column names after #+call: table-operations-combine-merge[1] with org-master (release_8.3beta-686-g9528be); org-maint (release_8.2.10-29-g89a0ac) works as expected yielding (Col1, Col2, Col3). [1]

Re: [O] How to export an Org file to LaTeX's book class, but without parts?

2015-04-22 Thread Miguel Ruiz
If you don't mind to live with part-chapter-section instead chapter-section-subsection: ---8-orgmode src8--- #+LaTeX_CLASS: book #+LaTeX_HEADER: \let\part\chapter #+LaTeX_HEADER: \let\chapter\section #+LaTeX_HEADER: \let\section\subsection

[O] TBLFM added to updated table as result of a emacs-lisp src block

2015-07-30 Thread Miguel Ruiz
it calculates sums because the | remaining. I'm aware I'm appending TBLFM to the table in a not orthodox way. Is there a canonical way I could proceed in? TIA Miguel Ruiz. Can't remember your password? Do you need a strong and secure password

Re: [O] Easy entry of date ranges

2015-08-27 Thread Miguel Ruiz
ÜFigid Enviado desde Type En 27/08/2015, 18:14, en 18:14, Eric S Fraga e.fr...@ucl.ac.uk escrito: On Thursday, 27 Aug 2015 at 23:33, Eric Abrahamsen wrote: Oh man, I should have known not to second-guess Org. Gets me all the time! :-) -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org

[O] Two numerical solutions from fsolve inside calc source block

2016-06-26 Thread Miguel Ruiz
Hi, I have this block which is intended to get the two numerical solutions of the equations system: #+begin_src calc fsolve([8.66e10 = r * v, -7.51e6 = 0.5*v^2 - 6.67e-11*6e24/r],[r,v]) #+end_src This way I get the generic form of a multiple solution, and citing the manual "It will invent

Re: [O] "global" variables in a babel document...

2016-05-19 Thread Miguel Ruiz
This works for me, but if you change tsmuser value in session, you have to C-c C-c in PROPERTY line, getting "Local setup have been refreshed". #+PROPERTY: var tsmuser="query" * foo :PROPERTIES: :header-args: :var tsmpass="query" :END: #+name: toy #+begin_src sh :var bloop="foo" echo sss

Re: [O] Two numerical solutions from fsolve inside calc source block

2016-07-02 Thread Miguel Ruiz
Better yet: #+begin_src calc :wrap "src calc :var var-s2=1" fsolve([8.66e10 = r * v, -7.51e6 = 0.5*v^2 - 6.67e-11*6e24/r],[r,v]) #+end_src El 2016-06-26 15:53, Miguel Ruiz escribió: Hi, I have this block which is intended to get the two numerical solutions of the equati

Re: [O] Two numerical solutions from fsolve inside calc source block

2016-07-02 Thread Miguel Ruiz
=1 and #+RESULTS: : [r = 12131615.2598, v = 7138.37342721] ; var-s2=-1 Any improvement will be appreciated. Miguel. El 2016-06-26 15:53, Miguel Ruiz escribió: Hi, I have this block which is intended to get the two numerical solutions of the equations system: #+begin_src calc fsolve