[O] Gnuplot and Windows
Hello All, I tried my hand with gnuplot yesterday on my windows machine (Windows 10; Emacs 24.5.1; Org 8.3.4) and I keep getting the error "Searching for program: no such file or directory: gnuplot". I googled this and found some forum answers, but none of the tricks solved this issue for me. What I want are simple X-Y plots. Can you please help me with this? Thanks and have a great day! Bala -- http://balaramadurai.net
Re: [O] make test - two unexpected failures
Hi Nick, On Wed, Apr 12 2017, Nick Dokos wrote: > Just pulled and did make test - I get: > > , > | Ran 731 tests, 729 results as expected, 2 unexpected (2017-04-12 > 14:30:29-0400) > | 7 expected failures > | > | 2 unexpected results: > |FAILED test-org/custom-properties > |FAILED test-org/forward-paragraph > | > | mk/targets.mk:103: recipe for target 'test' failed > | make: *** [test] Error 1 > ` > > > and the two failing tests report: > > > , > | Test test-org/custom-properties backtrace: > | (if (unwind-protect (setq value-10992 (let ((org-custom-properties ( > | (let (form-description-10993) (if (unwind-protect (setq value-10992 > | (let ((value-10992 (cl-gensym "ert-form-evaluation-aborted-"))) (let > | (lambda nil (let ((value-10992 (cl-gensym "ert-form-evaluation-abort > | ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc > | ert-run-test([cl-struct-ert-test test-org/custom-properties "Test cu > | ert-run-or-rerun-test([cl-struct-ert--stats "\\(org\\|ob\\)" [[cl-st > | ert-run-tests("\\(org\\|ob\\)" #[385 "\306\307\"\203G\211\211G\310 > | ert-run-tests-batch("\\(org\\|ob\\)") > | ert-run-tests-batch-and-exit("\\(org\\|ob\\)") > | (let ((org-id-track-globally t) (org-test-selector (if org-test-sele > | org-test-run-batch-tests("\\(org\\|ob\\)") > | eval((org-test-run-batch-tests org-test-select-re)) > | command-line-1(("--eval" "(setq vc-handled-backends nil org-startup- > | command-line() > | normal-top-level() > | Test test-org/custom-properties condition: > | (ert-test-failed > | ((should > |(let > |(...) > | (org-test-with-temp-text "* H > | :PROPERTIES: > | :FOO: val > | :END: > | " ... ...))) > | :form > | (let > | ((org-custom-properties ...)) > | (org-test-with-temp-text "* H > | :PROPERTIES: > | :FOO: val > | :END: > | " > | (org-toggle-custom-properties-visibility) > | (org-invisible-p2))) > | :value nil)) > |FAILED 646/731 test-org/custom-properties > ` > > , > | Test test-org/forward-paragraph backtrace: > | (if (unwind-protect (setq value-11183 (let ((inside-text (if (string > | (let (form-description-11184) (if (unwind-protect (setq value-11183 > | (let ((value-11183 (cl-gensym "ert-form-evaluation-aborted-"))) (let > | (lambda nil (let ((value-11175 (cl-gensym "ert-form-evaluation-abort > | ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc > | ert-run-test([cl-struct-ert-test test-org/forward-paragraph "Test `o > | ert-run-or-rerun-test([cl-struct-ert--stats "\\(org\\|ob\\)" [[cl-st > | ert-run-tests("\\(org\\|ob\\)" #[385 "\306\307\"\203G\211\211G\310 > | ert-run-tests-batch("\\(org\\|ob\\)") > | ert-run-tests-batch-and-exit("\\(org\\|ob\\)") > | (let ((org-id-track-globally t) (org-test-selector (if org-test-sele > | org-test-run-batch-tests("\\(org\\|ob\\)") > | eval((org-test-run-batch-tests org-test-select-re)) > | command-line-1(("--eval" "(setq vc-handled-backends nil org-startup- > | command-line() > | normal-top-level() > | Test test-org/forward-paragraph condition: > | (ert-test-failed > | ((should > |(org-test-with-temp-text "#+BEGIN_CENTER > | P1 > | > | P2 > | #+END_CENTER > | P3" > | (org-hide-block-toggle) > | (org-forward-paragraph) > | (looking-at "P3"))) > | :form > | (let > | ((inside-text ...) > |(org-mode-hook nil)) > | (with-temp-buffer > | (org-mode) > | (let ... ...) > | (org-hide-block-toggle) > | (org-forward-paragraph) > | (looking-at "P3"))) > | :value nil)) > |FAILED 667/731 test-org/forward-paragraph > ` 1. Using emacs-26, I get: Ran 724 tests, 721 results as expected, 3 unexpected (2017-04-12 20:54:36+0100) 8 expected failures 3 unexpected results: FAILED test-org-export/file-uri FAILED test-org/custom-properties FAILED test-org/forward-paragraph 2. Using emacs-25.1 - Only expected failures. Platform: 3.2.0-4-686-pae #1 SMP Debian 3.2.86-1 i686 GNU/Linux Best wishes, -- -- Colin Baxter m43...@yandex.com Key fingerprint = 68A8 799C 0230 16E7 BF68 2A27 BBFA 2492 91F5 41C8
[O] [PATCH] test-org/fuzzy-links
Function org-backward-heading-same-level fails in a specific case. Suppose the following org-mode file: == * first * second * third == where '* first' is right at the beginning of the file. When the cursor is at line '* third' and org-backward-heading-same-level is called, we go to the previous line correctly. However when the cursor is at '* second', org-backward-heading-same-level does bring us to the first line but emits an error "Beginning of buffer". It seems that the patch attached to this message fixes the problem. Best, Rafael >From ff792a00e28b7b0ca4fde98f72611ef8079daf04 Mon Sep 17 00:00:00 2001 From: Rafael Laboissiere Date: Wed, 12 Apr 2017 22:18:54 +0200 Subject: [PATCH] Do not fail when heading is at the beginning of the buffer * org.el (org-forward-heading-same-level): Do not move backward when at the beginning of the buffer --- lisp/org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 17caa3fa6..b46369ad5 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -24071,7 +24071,8 @@ non-nil it will also look at invisible ones." (count (if arg (abs arg) 1)) (result (point))) (while (and (prog1 (> count 0) - (forward-char (if (and arg (< arg 0)) -1 1))) + (forward-char (if (and arg (< arg 0)) + (if (= (point) 1) 0 -1) 1))) (funcall f org-outline-regexp-bol nil 'move)) (let ((l (- (match-end 0) (match-beginning 0) 1))) (cond ((< l level) (setq count 0)) -- 2.11.0
Re: [O] Variables in properties no longer working
Hello Indeed! Thank you for the hint & sorry for the noise. Best regards, Andreas Thibault Marin wrote: > > Hi, > > The syntax has changed in org-9, see > http://orgmode.org/manual/Header-arguments-in-Org-mode-properties.html#Header-arguments-in-Org-mode-properties > > The following seems to fix your example: > > :HEADER-ARGS: :var foo="bar" > > Andreas Mueller writes: > >> Hello >> >> The attached example seems to be broken with latest org from ELPA >> (org-20170210). >> >> I can reproduce it with an empty emacs config - it works with org >> 8.2.10, but when I install org-20170210 I get "Symbol's value as >> variable is void: foo". >> >> Thanks & best regards, Andreas > > signature.asc Description: Digital signature
Re: [O] Variables in properties no longer working
Hi, The syntax has changed in org-9, see http://orgmode.org/manual/Header-arguments-in-Org-mode-properties.html#Header-arguments-in-Org-mode-properties The following seems to fix your example: :HEADER-ARGS: :var foo="bar" Andreas Mueller writes: > Hello > > The attached example seems to be broken with latest org from ELPA > (org-20170210). > > I can reproduce it with an empty emacs config - it works with org > 8.2.10, but when I install org-20170210 I get "Symbol's value as > variable is void: foo". > > Thanks & best regards, Andreas
[O] Variables in properties no longer working
Hello The attached example seems to be broken with latest org from ELPA (org-20170210). I can reproduce it with an empty emacs config - it works with org 8.2.10, but when I install org-20170210 I get "Symbol's value as variable is void: foo". Thanks & best regards, Andreas test.org Description: Lotus Organizer signature.asc Description: Digital signature
[O] bug#26467: 25.2; [Org mode] Call dot babel from elisp generate invalid image
Reassigned to org-mode. wang jinjian wrote: > Use case is call dot babel from elisp code block. refer to > http://orgmode.org/worg/org-tutorials/org-dot-diagrams.html > > Below is a more minimal example: > > #+NAME: nodes > | From | To | Weight | > |--++| > | A| B | 3 | > | A| C | 2 | > | B| D | 4 | > | B| E | 5 | > | C| F | 10 | > > #+BEGIN_SRC elisp :file a.png :var nodes=nodes > (defun rowfun(x) > (format "%s -> %s [label=%s];" (nth 0 x) (nth 1 x) (nth 2 x)) > ) > (defun dotgen(nodes) > (let ((dotbegin "digraph {\nnode [shape=circle]\n") > (dotend "\n}")) > (concat dotbegin > (mapconcat #'rowfun nodes "\n") > dotend))) > (setq params (nth 2 (org-babel-get-src-block-info))) > (org-babel-execute:dot (dotgen nodes) params) > #+END_SRC > > If run this block with C-c C-c, it will generate a image a.png with > "nil" string in it. so it's a invalid image file. > > The issue is introduced by below commit: > > 041ca4b6f ob-core: Do not return results on writing to file > > After revert this commit, it works fine. Sounds like this change will > cause the function return "nil" string but not nil variable. > > Another probelm is the params variable is void in org 9.0.5. but we can > replace it with (nth 2 (org-babel-get-src-block-info)) as my example > code. > > BRs > J.J. Wang > > In GNU Emacs 25.2.1 (x86_64-apple-darwin16.0.0, NS appkit-1504.00 Version > 10.12 (Build 16A323)) > of 2017-04-03 built on e12714-mac01 > Windowing system distributor 'Apple', version 10.3.1504 > Configured using: > 'configure --disable-dependency-tracking --disable-silent-rules > --enable-locallisppath=/usr/local/share/emacs/site-lisp > --infodir=/usr/local/Cellar/emacs/25.2-rc2/share/info/emacs > --prefix=/usr/local/Cellar/emacs/25.2-rc2 --without-x --with-xml2 > --with-dbus --with-gnutls --with-imagemagick --with-rsvg --without-pop > --with-ns --disable-ns-self-contained' > > Configured features: > JPEG RSVG IMAGEMAGICK DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB > TOOLKIT_SCROLL_BARS NS > > Important settings: > value of $LC_CTYPE: en_US.UTF-8 > value of $LANG: en_US.UTF-8 > locale-coding-system: utf-8-unix > > Major mode: Org > > Minor modes in effect: > diff-auto-refine-mode: t > org-indent-mode: t > helm-mode: t > shell-dirtrack-mode: t > async-bytecomp-package-mode: t > yas-global-mode: t > yas-minor-mode: t > global-company-mode: t > company-mode: t > override-global-mode: t > show-paren-mode: t > tooltip-mode: t > global-eldoc-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > auto-fill-function: yas--auto-fill > transient-mark-mode: t > > Recent messages: > Code block evaluation complete. > Edebug: org-babel-result-cond > org-babel-result-cond > executing Elisp code block... > > (nodes (quote (("A" "B" 3) ("A" "C" 2) ("B" "D" 4) ("B" "E" 5) ("C" "F" > 10 > > Wrote > /var/folders/r0/58rd7gbs3pz3gsj48zdv8pwn00n31m/T/babel-30327L5l/ob-input-30327wiQ > Code block evaluation complete. > Mark set [2 times] > Quit > > Load-path shadows: > ~/.emacs.d/modules/org-mode/lisp/ox hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/ox > ~/.emacs.d/modules/org-mode/lisp/ox-texinfo hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/ox-texinfo > ~/.emacs.d/modules/org-mode/lisp/ox-publish hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/ox-publish > ~/.emacs.d/modules/org-mode/lisp/ox-org hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/ox-org > ~/.emacs.d/modules/org-mode/lisp/ox-odt hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/ox-odt > ~/.emacs.d/modules/org-mode/lisp/ox-md hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/ox-md > ~/.emacs.d/modules/org-mode/lisp/ox-man hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/ox-man > ~/.emacs.d/modules/org-mode/lisp/ox-latex hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/ox-latex > ~/.emacs.d/modules/org-mode/lisp/ox-icalendar hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/ox-icalendar > ~/.emacs.d/modules/org-mode/lisp/ox-html hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/ox-html > ~/.emacs.d/modules/org-mode/lisp/ox-beamer hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/ox-beamer > ~/.emacs.d/modules/org-mode/lisp/ox-ascii hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/ox-ascii > ~/.emacs.d/modules/org-mode/lisp/org hides > /usr/local/Cellar/emacs/25.2-rc2/share/emacs/25.2/lisp/org/org > ~/.emacs.d/modules/org-mode/lisp/org-w3m hides > /usr/local/Cellar/emacs/25.
[O] make test - two unexpected failures
Just pulled and did make test - I get: , | Ran 731 tests, 729 results as expected, 2 unexpected (2017-04-12 14:30:29-0400) | 7 expected failures | | 2 unexpected results: |FAILED test-org/custom-properties |FAILED test-org/forward-paragraph | | mk/targets.mk:103: recipe for target 'test' failed | make: *** [test] Error 1 ` and the two failing tests report: , | Test test-org/custom-properties backtrace: | (if (unwind-protect (setq value-10992 (let ((org-custom-properties ( | (let (form-description-10993) (if (unwind-protect (setq value-10992 | (let ((value-10992 (cl-gensym "ert-form-evaluation-aborted-"))) (let | (lambda nil (let ((value-10992 (cl-gensym "ert-form-evaluation-abort | ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc | ert-run-test([cl-struct-ert-test test-org/custom-properties "Test cu | ert-run-or-rerun-test([cl-struct-ert--stats "\\(org\\|ob\\)" [[cl-st | ert-run-tests("\\(org\\|ob\\)" #[385 "\306\307\"\203G\211\211G\310 | ert-run-tests-batch("\\(org\\|ob\\)") | ert-run-tests-batch-and-exit("\\(org\\|ob\\)") | (let ((org-id-track-globally t) (org-test-selector (if org-test-sele | org-test-run-batch-tests("\\(org\\|ob\\)") | eval((org-test-run-batch-tests org-test-select-re)) | command-line-1(("--eval" "(setq vc-handled-backends nil org-startup- | command-line() | normal-top-level() | Test test-org/custom-properties condition: | (ert-test-failed | ((should |(let | (...) |(org-test-with-temp-text "* H | :PROPERTIES: | :FOO: val | :END: | " ... ...))) | :form | (let | ((org-custom-properties ...)) | (org-test-with-temp-text "* H | :PROPERTIES: | :FOO: val | :END: | " | (org-toggle-custom-properties-visibility) | (org-invisible-p2))) | :value nil)) |FAILED 646/731 test-org/custom-properties ` , | Test test-org/forward-paragraph backtrace: | (if (unwind-protect (setq value-11183 (let ((inside-text (if (string | (let (form-description-11184) (if (unwind-protect (setq value-11183 | (let ((value-11183 (cl-gensym "ert-form-evaluation-aborted-"))) (let | (lambda nil (let ((value-11175 (cl-gensym "ert-form-evaluation-abort | ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc | ert-run-test([cl-struct-ert-test test-org/forward-paragraph "Test `o | ert-run-or-rerun-test([cl-struct-ert--stats "\\(org\\|ob\\)" [[cl-st | ert-run-tests("\\(org\\|ob\\)" #[385 "\306\307\"\203G\211\211G\310 | ert-run-tests-batch("\\(org\\|ob\\)") | ert-run-tests-batch-and-exit("\\(org\\|ob\\)") | (let ((org-id-track-globally t) (org-test-selector (if org-test-sele | org-test-run-batch-tests("\\(org\\|ob\\)") | eval((org-test-run-batch-tests org-test-select-re)) | command-line-1(("--eval" "(setq vc-handled-backends nil org-startup- | command-line() | normal-top-level() | Test test-org/forward-paragraph condition: | (ert-test-failed | ((should |(org-test-with-temp-text "#+BEGIN_CENTER | P1 | | P2 | #+END_CENTER | P3" |(org-hide-block-toggle) |(org-forward-paragraph) |(looking-at "P3"))) | :form | (let | ((inside-text ...) | (org-mode-hook nil)) | (with-temp-buffer | (org-mode) | (let ... ...) | (org-hide-block-toggle) | (org-forward-paragraph) | (looking-at "P3"))) | :value nil)) |FAILED 667/731 test-org/forward-paragraph ` -- Nick
emacs-orgmode@gnu.org
(push pkg-struct new-ret))) >;; Tue Apr 11 17:48:16 EDT 2017 - kmodi >;; It's *very* critical that the order of packages stays the same in >NEW-RET >;; as in ORIG-RET. The `push' command flips the order, so use `reverse' >;; to flip the order back to the original. > ;; Without this step, you will get errors like below when installing >;; packages with dependencies: >;; Debugger entered--Lisp error: (error "Unable to activate package >?nim-mode?. >;; Required package ?flycheck-28? is unavailable") >(setq new-ret (reverse new-ret)) >new-ret)) >(advice-add 'package-compute-transaction :filter-return >#'modi/package-dependency-check-ignore) > >On Tue, Jan 24, 2017 at 11:28 AM Thomas S. Dye >mailto:t...@tsdye.com>> wrote: > >Alan Schmitt writes: > >> Thank you for the suggestion, but I use Spacemacs, which in turn uses >> paradox. >> >> Why couldn't there be an org-contrib package, depending on org? So >that >> way org would not be duplicated in two packages. > >I've run into the same problem with Spacemacs and would welcome a >solution. > >All the best, >Tom > >-- >Thomas S. Dye >http://www.tsdye.com >-- > >Kaushal Modi >-- next part -- >An HTML attachment was scrubbed... >URL: ><http://lists.gnu.org/archive/html/emacs-orgmode/attachments/20170411/95e97691/attachment.html> > >-- > >Message: 4 >Date: Wed, 12 Apr 2017 03:16:29 + >From: Xi Shen >To: "emacs-orgmode@gnu.org" >Subject: [O] [PATCH] lisp/ob-sql.el: Fix filename conversion in minGW > environment. >Message-ID: > >Content-Type: text/plain; charset="utf-8" > >Hi, > >Regarding a patch I made early. Ref. title: [PATCH] ob-sql.el: Support >sqlcmd and cygwin environment. > >I found it does not for Emacs for Windows. More generally, it does not >work >in minGW or MSYS environments. I think it is because minGW is not a >POSIX >environment, and applications in minGW can actually talk to Windows >system >and handle Windows file path directly. > >Because there's no official way to identify if Emacs is in minGW >environment, I must roll out cygwin environment first, then I test if >it is >in "windows-nt" environment. > >Please review the patch, and let me know if you have any >comments/question. > > >Thanks, >David >-- next part -- >An HTML attachment was scrubbed... >URL: ><http://lists.gnu.org/archive/html/emacs-orgmode/attachments/20170412/c76a9632/attachment.html> >-- next part -- >A non-text attachment was scrubbed... >Name: ob-sql.el.patch >Type: application/octet-stream >Size: 1645 bytes >Desc: not available >URL: ><http://lists.gnu.org/archive/html/emacs-orgmode/attachments/20170412/c76a9632/attachment.obj> > >-- > >Message: 5 >Date: Wed, 12 Apr 2017 04:45:42 -0700 >From: Aaron Jensen >To: emacs-orgmode@gnu.org >Subject: [O] org-plot on multiple y axes >Message-ID: > >Content-Type: text/plain; charset=UTF-8 > >Hi, > >Is it possible to use org-plot to plot on multiple y axes? gnuplot >supports y2range, and I can specify that, but I don't know how (or if >it is possible) to specify which deps should be plotted against which >axis. > >If this is not possible, is it possible to have two charts plotted >against the same table? Thanks! > >Aaron > > > >-- > >Message: 6 >Date: Wed, 12 Apr 2017 13:06:21 +0100 >From: Eric S Fraga >To: emacs-orgmode@gnu.org >Subject: Re: [O] org-plot on multiple y axes >Message-ID: <87a87lkeyq.fsf@t3610> >Content-Type: text/plain; charset="us-ascii" > >On Wednesday, 12 Apr 2017 at 11:45, Aaron Jensen wrote: >> Hi, >> >> Is it possible to use org-plot to plot on multiple y axes? gnuplot >> supports y2range, and I can specify that, but I don't know how (or if >> it is possible) to specify which deps should be plotted against which >> axis. > >I'm not sure what you want is possible (others can chime in...) but you >could use gnuplot via babel instead which is what I do all the time: > >#+begin_src gnuplot :var data=sometable >set y2range ... >set y2label ... >plot data using ... axes x1y2 ... >#+end_src > >HTH, >eric > >-- >: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org >release_9.0.5-444-g998576 >-- next part -- >A non-text attachment was scrubbed... >Name: signature.asc >Type: appl
[O] org-todo-keyword-faces in agenda
Greetings! I've got a file-local org-todo-keyword-faces set in an org-mode file. When I use agenda on this org file, my keyword faces from the org-mode buffer don't carry over to the agenda buffer. I assume this is because the local org-todo-keyword-faces value is not set in the agenda buffer. If my assumption is correct, does anyone have an idea of how I could accomplish getting my file-local org-todo-keyword-faces value into agenda buffers? I don't want to set org-todo-keyword-faces globally since the values there only apply to a single org-mode file. For a test case, drop these four lines in an org-mode file: * TODO Test # Local Variables: # org-todo-keyword-faces: (("TODO" . "blue")) # End: Load up that file, accept the "unsafe" local value, then M-x org-agenda RET < t (all to-dos only from the current org-mode buffer). The TODO in the agenda buffer is the default red, rather than the blue I set in the org file. I've thought of two *possibilities* that I haven't really explored yet: 1. Agenda could copy the keyword from the contributing org-mode buffer with its face text property intact (but I can imagine that this would interfere with other features, such as existing customizations in org-agenda) 2. Some hook function that figures out which org-mode buffer(s) contributed to an agenda view and copies/merges org-todo-keyword-faces values into the agenda buffer Thanks! Dale
Re: [O] ox-man line break
Hello, On 04/01/2017 11:20 AM, Nicolas Goaziou wrote: > Applied. Thank you. Thanks. > Also, if do know and use it, and you have some spare time to share with > us, we have a dire need for a manual chapter about that export back-end. > Just sayin'. Sure, I'll try to reserve some time to work on that. Best, Francesco signature.asc Description: OpenPGP digital signature
Re: [O] Mathjax CDN to shutdown April 30th 2017
I would personally try to avoid CloudFlare, because it currently forces the site visitor to run non-(free/libre) software (automatically through JavaScript). And even if it's prooven to be free/libre, it currently doesn't tell this to the user/visitor in a clear way (next to the place where the script is, with a license, and address of complete corresponding source in case it's currently obfuscated/minified). -- - [[https://libreplanet.org/wiki/User:Adfeno]] - Palestrante e consultor sobre /software/ livre (não confundir com gratis). - "WhatsApp"? Ele não é livre, por isso não uso. Iguais a ele prefiro Ring, ou Tox. Quer outras formas de contato? Adicione o vCard que está no endereço acima aos teus contatos. - Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu aceito, mas não repasso. Entrego apenas em formatos favoráveis ao /software/ livre. Favor entrar em contato em caso de dúvida. - "People said I should accept the world. Bullshit! I don't accept the world." --- Richard Stallman
[O] Mathjax CDN to shutdown April 30th 2017
Hi all, I saw this blogpost recently about cdn.mathjax.org will be shutdown on April 30th 2017. https://www.mathjax.org/cdn-shutting-down/ There's a replacement to use cloudflair hosting instead https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?... Is there a plan to move the default org-mode mathjax header link over to this by 30 April? It's a one line change in ox-htm.el for mathjax options. I've attached that patch for convenience. However, after a bit of grepping, there should be some changes to the documentation which refers to using the mathjax CDN and stuff. On another note, the default option of using orgmode.org's hosting of mathjax.sh should be updated to support HTTPS because most browsers block scripts loaded under http if the page is loaded under https. Or, that default should also change to the cloudflare cdn if it fits within the terms of service. Perhaps that should be a discussion for another thread, though. -aja -- Adam J. Aviv, PhD *Asst. Professor* *Computer Science* *U.S. Naval Academy* *(410) 293- 6655* 0001-Fixing-link-to-mathjax-cdn-as-cdn.mathjax.org-is-shu.patch Description: Binary data
Re: [O] Viewing pdf images
Hi Eduardo, Thanks for the insight, I really appreciate this. Cheers, M > On Apr 10, 2017, at 12:51 PM, Eduardo Mercovich wrote: > > Hi Marvin. > >> I also agree that in terms of resolution (pix per inch ) pdf and jpg are the >> same. However, pdf (and SVG) allow the image to be scaled with little loss >> in image quality. > > Sorry to disagree, but again, pdf images can be vector (like svg) and > infinitely scaled or raster (bitmap, as a jpg) and in this case the quality > is on the file. The pdf format only adds and envelope around the original jpg > image, or in the conversion it can be downscaled. > > Just to test this you can extract the images from the pdf and check their > properties. The specific tools depend on your OS of choice, but at least in > Linux there are many options, some command line based and others GUI based. > >> In my lab we typically save the images in pdf because the most biomedical >> journals don’t accept SVG file format (not yet). > > Sure. But why not simply use a jpg or png? > * Journals accept those formats perfectly well, * you will see them with > their best quality, and > * you can see them in emacs buffers natively. > > Just try it and you'll see that -if I understood you ok- you will gain in > every dimension. :) > > Best... > > > -- > eduardo mercovich > > Donde se cruzan tus talentos con las necesidades del mundo, ahí está tu > vocación. (Anónimo) signature.asc Description: Message signed with OpenPGP using GPGMail
Re: [O] Bug: finding close tasks has infinite loop [9.0.5 (release_9.0.5-433-ge65be5 @ /home/hs/.emacs.d/git/org-mode/lisp/)]
Mail von Stefan-W. Hahn, Fri, 07 Apr 2017 at 09:39:30 +0200: Hello, I tried an instrumented version with code below and got an hint where the time get consumed. > #+BEGIN_QUOTE > ** DONE Task > :@status: > CLOSED: [2017-02-17 Fr 14:08] >:CLOCK: >CLOCK: [2016-03-07 Mo 12:58]--[2016-03-07 Mo 14:09] => 1:11 979 CLOCK lines, gives 1958 org-time entries. >CLOCK: [2011-09-26 Mo 13:02]--[2011-09-26 Mo 13:48] => 0:46 >:END: >Added: [2011-09-26 Mo] > > #+END_QUOTE > With following code I let it run. It came to an end after 119 seconds: #+BEGIN_SRC emacs-lisp (defmacro profile-org (times &rest body) `(let (output) (dolist (p '("org-")) ; symbol prefixes to instrument (elp-instrument-package p)) (dotimes (x ,times) ,@body) (elp-results) (elp-restore-all) (point-min) (forward-line 20) (delete-region (point) (point-max)) (setq output (buffer-substring-no-properties (point-min) (point-max))) (kill-buffer) (delete-window) output)) (let ((org-agenda-files '("~/notes/bug/test.org"))) (profile-org 1 (org-tags-view nil "+CLOSED<=\"<-1m>\""))) #+END_SRC This is the elp-result: #+BEGIN_QUOTE Back to top level org-tags-view 1 119.90470040 119.90470040 org-scan-tags 1 119.89504432 119.89504432 org-entry-properties 2 119.89459378 59.947296892 org-cached-entry-get 1 119.89455419 119.89455419 org-element-context 1959 119.88264565 0.0611958374 org-element-at-point 1959 119.87516006 0.0611920163 org-element--parse-to 1959 119.61624070 0.0610598472 org-element--current-element 963339 106.53174518 0.0001105859 org-element-clock-parser 959420 77.279206300 8.054...e-05 org-element-timestamp-parser 961380 60.700601205 6.313...e-05 org-parse-time-string 1920801 32.491741821 1.691...e-05 org-get-limited-outline-regexp969216 10.924480618 1.127...e-05 org-at-heading-p 967259 4.0055616979 4.141...e-06 org-element--cache-put963339 2.1260797540 2.206...e-06 org-element-drawer-parser 1959 0.5903366010 0.0003013458 org-element-planning-parser 1959 0.0443325489 2.263...e-05 org-element--collect-affiliated-keywords 1960 0.0102636800 5.236...e-06 org-agenda-prepare1 0.008041049 0.008041049 org-agenda-mode 1 0.002911944 0.002911944 org-agenda-prepare-buffers1 0.002577423 0.002577423 #+END_QUOTE It gives an amazing number of calles to org-parse-time-string, around 981 calls or each org-timestamp. With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple.
Re: [O] org-plot on multiple y axes
On Wednesday, 12 Apr 2017 at 11:45, Aaron Jensen wrote: > Hi, > > Is it possible to use org-plot to plot on multiple y axes? gnuplot > supports y2range, and I can specify that, but I don't know how (or if > it is possible) to specify which deps should be plotted against which > axis. I'm not sure what you want is possible (others can chime in...) but you could use gnuplot via babel instead which is what I do all the time: #+begin_src gnuplot :var data=sometable set y2range ... set y2label ... plot data using ... axes x1y2 ... #+end_src HTH, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50, Org release_9.0.5-444-g998576 signature.asc Description: PGP signature
[O] org-plot on multiple y axes
Hi, Is it possible to use org-plot to plot on multiple y axes? gnuplot supports y2range, and I can specify that, but I don't know how (or if it is possible) to specify which deps should be plotted against which axis. If this is not possible, is it possible to have two charts plotted against the same table? Thanks! Aaron