Re: [O] Setup Org-mode to write diary.

2014-07-30 Thread numbch...@gmail.com
This org-capture looks a way, I want to try it. But need a more advanced way, because a single file for write diary is really not a good idea. I will be slow. (I think) Maybe add a logic in the org-capture template. I'm trying this way. [stardiviner] GPG key ID: 47C32433 IRC(f

Re: [O] make slim auto-complete work in Org-mode (delete some ac-source in Org-mode).

2014-08-07 Thread numbch...@gmail.com
I test those ac-source one by one manually. And also I have extension org-ac. Then they are more heavy. And I open many big org files usually. So I found they are heavy. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fing

[O] How to let [C-u C-c C-o] to open file link in other window by setting variable org-link-frame-setup.

2013-07-15 Thread numbch...@gmail.com
I setup variable `org-link-frame-setup' like this: I want to let [C-c C-o] to open file link in current window. (setq org-link-frame-setup '((vm . vm-visit-folder-other-frame) (vm-imap . vm-visit-imap-folder-other-frame) (gnus . org-gnus-no-new-news) (file . fin

[O] Port ob-lisp.el to use SLY as an option to evaluate.

2016-01-19 Thread numbch...@gmail.com
I found ob-lisp.el use SLIME by default to evaluate lisp code. I want to use SLY to evaluate lisp code. How to change it? I found the file ob-lisp.el is short. I tried to change slime to sly. But it is not customizable. I hope to define a defcustom for it. So that user can customize it. But I don'

[O] ob-lisp.el patch to choose to use SLIME or SLY

2016-03-26 Thread numbch...@gmail.com
I original created an package ob-lisp on here: https://github.com/stardiviner/ob-lisp and add it to MELPA recipe. https://github.com/melpa/melpa/pull/3682 The author suggest me to merge this change to Org-mode. I attached patch in attachment file. Hope someone can merge this patch. [stardiviner]

Re: [O] a patch to ob-lisp.el

2016-03-30 Thread numbch...@gmail.com
I updated all comments which you point out. I wandering how to sign the FSF papers? Sorry about this, this is my first time to contribute code in open source. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint =

Re: [O] a patch to ob-lisp.el

2016-04-05 Thread numbch...@gmail.com
> > All the best, > Tom > > numbch...@gmail.com writes: > > > I updated all comments which you point out. > > I wandering how to sign the FSF papers? Sorry about this, this is my > first time > > to contribute code in open source. > > > >

Re: [O] a patch to ob-lisp.el

2016-04-05 Thread numbch...@gmail.com
Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Apr 6, 2016 at 1:54 PM, numbch...@gmail.com wrote: > My think my patch modifies less than 15 lines. Do I have to assign the > copyright of FSF? > I have sent

Re: [O] a patch to ob-lisp.el

2016-04-06 Thread numbch...@gmail.com
child Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Apr 6, 2016 at 5:26 PM, Nicolas Goaziou wrote: > Hello, > > "numbch...@gmail.com" writes: > > > Ask a beside question. I cloned org-mode git repo, shou

Re: [O] a patch to ob-lisp.el

2016-04-06 Thread numbch...@gmail.com
] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Apr 6, 2016 at 8:49 PM, Nicolas Goaziou wrote: > Hello, > > "n

[O] Ruby babel src block does not run some code

2016-04-10 Thread numbch...@gmail.com
For example, I have a ruby src block like this: ``` #+BEGIN_SRC ruby module A CREF = "*** CREF in module A" end module A module B puts CREF end end #+END_SRC ``` And press `[C-c C-c]` to execute, get this error: ``` #+BEGIN_EXAMPLE -:3: module definition in method body

[O] make ox-publish generate result figure image link path to relative instead of absolute full path

2016-04-24 Thread numbch...@gmail.com
I want babel can generate a figure image which path is relative to current directory instead of full path. Here is the org-mode buffer example which use `:dir "data/images"` as default directory for executing code: ``` #+BEGIN_SRC gnuplot :session none :results graphics :dir "data/images" :file

Re: [O] Is there an easy way converting html -> orgmode?

2016-04-24 Thread numbch...@gmail.com
​Is there relative project which can convert and save current web page from browser to Org-mode type file?​ [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 B

Re: [O] Is there an easy way converting html -> orgmode?

2016-04-25 Thread numbch...@gmail.com
52 PM, Georgiy Tugai wrote: > On 24 Apr, numbch...@gmail.com wrote: > > ​Is there relative project which can convert and save current web page > from > > browser to Org-mode type file?​ > > > > [stardiviner] GPG key ID: 47C32433 > > IRC(freeenode)

[O] add some babel supports (PHP, Lua, Redis)

2016-05-10 Thread numbch...@gmail.com
I created three branches on my personal public org-mode repo on GitHub. - ob-lua - ob-php - ob-redis https://github.com/stardiviner/org-mode Hope maintainer can merge those branches. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @nu

Re: [O] add some babel supports (PHP, Lua, Redis)

2016-05-10 Thread numbch...@gmail.com
; Some comments follow. > > "numbch...@gmail.com" writes: > > > - ob-lua > > - ob-php > > - ob-redis > > > > https://github.com/stardiviner/org-mode > > > > Hope maintainer can merge those branches. > > First, do you have copyright a

Re: [O] add some babel supports (PHP, Lua, Redis)

2016-05-10 Thread numbch...@gmail.com
Blog: http://stardiviner.github.io/ On Tue, May 10, 2016 at 11:44 PM, Rasmus wrote: > "numbch...@gmail.com" writes: > > > I tried to sign the FSF copyright assignment before, but it is very > > difficult for me. So I give up. Is there other ways to merge this pat

Re: [O] [PATCH] New feature: Use dvisvgm to preview latex formular

2016-05-14 Thread numbch...@gmail.com
This is great! [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ 2016-05-14 14:30 GMT+08:00 Feng Shu : > > -- >

[O] Hope to tag a new relase in Org-mode ELPA repo

2016-05-15 Thread numbch...@gmail.com
I'm waiting for new fix in org-mode. But org-mode is still in version 8.3.4. I use org-mode elpa repo. (latest version) and my ob-lisp.el SLY support is newer than the latest tag and is in new version (9.0) Or is there some reasons that I don't know which makes the new release late? [stardiviner]

[O] ask for an advice for org-display-inline-images

2016-05-16 Thread numbch...@gmail.com
I hope somebody can provide an advice for `org-display-inline-images` to set image background color. Here is an link on StackExchange.Emacs: http://emacs.stackexchange.com/questions/20574/default-inline-image-background-in-org-mode/20598?noredirect=1#comment32482_20598 I don't know how to write

Re: [O] add some babel supports (PHP, Lua, Redis)

2016-05-22 Thread numbch...@gmail.com
ease find some comments below. I think some more work is needed before > your libraries are > > "numbch...@gmail.com" writes: > > > From 2589d4e7d28016fb515d2131cbd9ff52797e50eb Mon Sep 17 00:00:00 2001 > > From: stardiviner > > Date: Tue, 10 May 2016 1

Re: [O] add some babel supports (PHP, Lua, Redis)

2016-05-27 Thread numbch...@gmail.com
://stardiviner.github.io/ On Sat, May 28, 2016 at 12:52 AM, Rasmus wrote: > Hi, > > > "numbch...@gmail.com" writes: > > > I modified most part of my files. > > Thanks. > > > - There are some places I can't improve because I'm not good at

[O] ob-C doesn't support load libraries

2016-06-10 Thread numbch...@gmail.com
I have a code example like this: #+BEGIN_SRC C #include #include /* define complex struct */ struct complex_struct { double x, y; }; /* some helper functions on complex struct */ double real_part(struct complex_struct z) { return z.x; } double img_part(struct complex_struct z) { return z

Re: [O] ob-C doesn't support load libraries

2016-06-12 Thread numbch...@gmail.com
: > Change the first line to > > #+BEGIN_SRC C *:libs -lm* > > This instructs the C++ compiler to link with the "m" library (mathematical > functions). > > You need a pretty new version of ob-C.el, as the :libs parameter was > introduced recently. > > > >

[O] How to only show org-timer indicator on active mode-line not all mode-lines?

2016-08-17 Thread numbch...@gmail.com
I setup org-timer indicator in mode-line with this. (setq-default mode-line-format (quote ( ;; org-timer (:eval (unless (not org-timer-countdown-timer) (propertize (let* ((rtime (decode-time (time-subtract (time

[O] ob-clojure.el does not evaluate org-mode clojure src block

2017-02-20 Thread numbch...@gmail.com
``` #+BEGIN_SRC clojure :session (def kk "stardiviner") #+END_SRC ``` Press =[C-c C-c]= to evaluate this. Then check out =kk= in CIDER REPL buffer. That's why my problem happens: https://emacs.stackexchange.com/questions/30849/how-to-generate-inline-plot-result-for-ob-clojure

Re: [O] ob-clojure.el does not evaluate org-mode clojure src block

2017-02-20 Thread numbch...@gmail.com
CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Mon, Feb 20, 2017 at 8:41 PM, numbch...@gmail.com wrote: > ``` > #+BEGIN_SRC clojure :session > (def kk "stardiviner") > #+END_SRC > ``` > > Press =[C-c C-c]= to evalua

Re: [O] ob-clojure broken

2017-03-04 Thread numbch...@gmail.com
I already applied the patch at here: https://emacs.stackexchange.com/questions/30857/clojure-code-evaluation-in-org-mode-produces-no-output [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF

[O] Let Org-mode babel file result support relative link type by using org-link-file-path-type

2017-03-11 Thread numbch...@gmail.com
Let Org-mode babel file result support relative (adaptive) link type by using `org-link-file-path-type`. This also can solve static site generator extensions (like `ob-blog.el` etc) image link path issue. Also better if user changed parent directory name, those links will have to updated too. But

Re: [O] Let Org-mode babel file result support relative link type by using org-link-file-path-type

2017-03-12 Thread numbch...@gmail.com
ust it will be used. Like upper example. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sun, Mar 12, 2017 at 9:14 PM, Nicolas Goaz

Re: [O] [babel] Working dir incorrect

2017-03-14 Thread numbch...@gmail.com
Yes, it seems like this, I have a similar question at here: https://lists.gnu.org/archive/html/emacs-orgmode/2017-03/msg00283.html [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB9

Re: [O] displaying thumbnails in heading or subheadings

2017-04-25 Thread numbch...@gmail.com
Does this `insert-image` function insert image with overlay which is not literately inserting? [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://s

[O] A small patch for org.el to fix error in clojure babel src block code ref

2017-05-08 Thread numbch...@gmail.com
Here is the original discussion we disscusses. https://github.com/jkitchin/org-ref/issues/433 And Here is the patch: #+BEGIN_SRC diff modified lisp/org.el @@ -9730,7 +9730,7 @@ active region." (setq sfuns (delq nil (mapcar (lambda (f) - (let (fs) (if (funcall f) (push f fs +

Re: [O] A small patch for org.el to fix error in clojure babel src block code ref

2017-05-09 Thread numbch...@gmail.com
://stardiviner.github.io/ On Tue, May 9, 2017 at 2:41 PM, Nicolas Goaziou wrote: > Hello, > > "numbch...@gmail.com" writes: > > > Here is the original discussion we disscusses. > > https://github.com/jkitchin/org-ref/issues/433 > > > > And Here is the patch

Re: [O] A small patch for org.el to fix error in clojure babel src block code ref

2017-05-09 Thread numbch...@gmail.com
Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue, May 9, 2017 at 2:41 PM, Nicolas Goaziou wrote: > Hello, > > "numbch...@gmail.com" writes: > > > Here is the original discussion we disscu

Re: [O] A small patch for org.el to fix error in clojure babel src block code ref

2017-05-09 Thread numbch...@gmail.com
Thanks for fixing, John. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue, May 9, 2017 at 7:14 PM, John Kitchin w

Re: [O] A possibly useful thing

2017-05-27 Thread numbch...@gmail.com
You can make it a minor-mode and publish on MELPA. I found it on Emacs Planet some days ago. I use it. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog:

[O] Org-mode link returned path is truncated when contains space

2017-05-31 Thread numbch...@gmail.com
I have a link in org-moe file like this: #+BEGIN_SRC org [[file:Data/images/logos/Full color Git logo for light backgrounds.png]] #+END_SRC *The file did exist.* I have elisp code like this to fontify link when the file does not exist: #+BEGIN_SRC emacs-lisp (org-link-set-parameters "f

[O] Org-mode ELPA repository package is not very updated?

2017-06-05 Thread numbch...@gmail.com
I found Org-mode ELPA released source code is old and does not include some patches and updates. For example, file `ob-clojure.el` I found org-mode source has the latest source code, but not in Org-mode ELPA package source code. The latest commit of `ob-clojure.el` is about 3 monthes ago. I insta

Re: [O] Org-mode link returned path is truncated when contains space

2017-06-05 Thread numbch...@gmail.com
CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, May 31, 2017 at 10:06 PM, Nicolas Goaziou wrote: > Hello, > > "numbch...@gmail.com" writes: > > > I have a link in org-moe file like this: > > > > #+BEGIN_SRC org > > [[file:D

Re: [O] Org-mode ELPA repository package is not very updated?

2017-06-08 Thread numbch...@gmail.com
Blog: http://stardiviner.github.io/ On Tue, Jun 6, 2017 at 12:58 AM, B.V. Raghav wrote: > "numbch...@gmail.com" writes: > > > I installed both packages `org` and `org-plus-contrib` in ELPA > repository. > You might be looking for: > > #+BEGIN_SOURCE elisp > (require 

Re: [O] Org-mode ELPA repository package is not very updated?

2017-06-08 Thread numbch...@gmail.com
iner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Mon, Jun 5, 2017 at 9:09 PM, Nick Dokos wrote: > "numbch...@gmail.com

Re: [O] Org-mode ELPA repository package is not very updated?

2017-06-08 Thread numbch...@gmail.com
Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Thu, Jun 8, 2017 at 6:54 PM, Nicolas Goaziou wrote: > Hello, > > "numbch...@gmail.com" writes: > > > ​​ If so, the latest `ob-clojure.el` commits are bug

[O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-08 Thread numbch...@gmail.com
Here is my branch https://github.com/stardiviner/org-mode/tree/feature/ob-sclang Merge this branch? [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: htt

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-10 Thread numbch...@gmail.com
tardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sat, Jun 10, 2017 at 4:17 PM, Nicolas Goaziou wrote: > Hello, > > "numbch...@gmail.com" writes: > > > Here is my branch > >

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-15 Thread numbch...@gmail.com
@Bastien my SSH public key is: ``` ssh-rsa B3NzaC1yc2EDAQABAAABAQDIXnylmZoh1WzQnEx0Cf/bpeqfuXVTLXza2jtRTDNYzIgZpRATsRhnSkdFC+t8bgkt7vTur1PiAzFgXYQKTs5BNYsiMFc3j2dnxLWzRCQfVi7DhPJ/VfgyyL4tv3LkMbx7vzOUlRJrIRWsnnxiY31rx5xaJbKiF8t9GEz5ycqgW3D5lp60TE/sYCcSTlhRvenJYTcFr1+KFFIGPps5yMayyIZQgEumqln7

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-15 Thread numbch...@gmail.com
: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Thu, Jun 15, 2017 at 3:53 PM, numbch...@gmail.com wrote: > @Bastien my SSH public key is: > ``` >

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-15 Thread numbch...@gmail.com
(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Jun 14, 2017 at 10:02 PM, Nicolas Goaziou wrote: > Hello, > > "numbch...@gmail.com" writes: > > &

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-15 Thread numbch...@gmail.com
, Jun 15, 2017 at 4:26 PM, Bastien Guerry wrote: > "numbch...@gmail.com" writes: > > > Sorry, update SSH public key: > > Please resend it as an attachment in a private email. > > Thanks, > > -- > Bastien >

[O] ob-clojure evaluate error when Org-mode buffer has ns clojure code

2017-06-16 Thread numbch...@gmail.com
When Org-mode buffer like this: #+BEGIN_SRC clojure (ns my.kk (:require '[incanter.core :as kk])) #+END_SRC #+BEGIN_SRC clojure (print "hi") (def "hello") #+END_SRC #+RESULTS: When I have `(ns ..)` namespace clojure code in buffer, the second `(print ..)` clojure result nothing. But when

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-16 Thread numbch...@gmail.com
+ +(provide 'ob-sclang) + +;;; ob-sclang.el ends here -- 2.13.1 ``` [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 C

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-17 Thread numbch...@gmail.com
Did my SSH public key add to org-mode repository? After added, if I want to update my `ob-sclang.el`. Command `git push upstream` (upstream: git://orgmode.org/org-mode.git) will allow my access? [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twit

Re: [O] ob-clojure evaluate error when Org-mode buffer has ns clojure code

2017-06-17 Thread numbch...@gmail.com
reak the code up into different blocks and experiment with block > options, especially session options. > > Once you get to that point, you should be across the various moving > parts with sufficient understanding to then look at how you can tweak > things to get exactly the behaviour an

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-17 Thread numbch...@gmail.com
Guerry wrote: > "numbch...@gmail.com" writes: > > > Did my SSH public key add to org-mode repository? > > Now yes. > > You first need to pull org-mode again like this: > > ~$ git clone orgm...@orgmode.org:org-mode.git > > Then you will be able to push com

Re: [O] ob-clojure evaluate error when Org-mode buffer has ns clojure code

2017-06-17 Thread numbch...@gmail.com
node): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sat, Jun 17, 2017 at 8:57 PM, numbch...@gmail.com wrote: > I did configure `ob-clojure` with the following settings: > >

Re: [O] ob-clojure evaluate error when Org-mode buffer has ns clojure code

2017-06-17 Thread numbch...@gmail.com
onment. You will need a good understanding of how clojure > works to then be able to work out what you need to do to get it to work > with org mode. Trying to do both at the same time will just cause > confusion. > > HTH > > Tim > > numbch...@gmail.com writes

[O] How to auto insert inline image link for org-plot/gnuplot result plot?

2017-06-17 Thread numbch...@gmail.com
I want to auto insert inline image for `org-plot/gnuplot` result plot below the table. Like this: ```org #+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange [0:]" | Sede | Max cites | H-index | |---+---+-| | Chile |257.72 | 21.39 | | Leed

[O] How to use noweb reference with argument in other languages?

2017-06-18 Thread numbch...@gmail.com
I found noweb reference with argument `<>` issue. This can work: ```org #+NAME: f1 #+BEGIN_SRC emacs-lisp :var x=7 :results value (+ x x) #+END_SRC #+RESULTS: f1 : 14 #+NAME: f2 #+BEGIN_SRC emacs-lisp :var x=7 :results value (+ x 2) #+END_SRC #+RESULTS: f2 : 9 #+name: intermediate #+call:

Re: [O] Asks user what to do with each tangle-file before overriding?

2017-06-18 Thread numbch...@gmail.com
I also think Org-mode table src block content to override file is dangerous. I have another idea. Append src block content to end of file. I have a sceniro: File `dotfile-1.org`: ``` * SSH config 1 #+BEGIN_SRC conf :tangle "~/.ssh/config" fragment 1 #+END_SRC ``` File `dotfile-2.org`: ``` * SS

Re: [O] Add ob-sclang.el for sclang Org-mode babel support in contrib/

2017-06-19 Thread numbch...@gmail.com
After you two's discussion, I have some understanding about lexical scope and dynamic scope. I will add lexical binding if my code use it. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3

Re: [O] How to use noweb reference with argument in other languages?

2017-06-19 Thread numbch...@gmail.com
/Code/Emacs/org-mode/lisp/) [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Mon, Jun 19, 2017 at 6:21 PM, Kaushal Modi wrote:

Re: [O] How to use noweb reference with argument in other languages?

2017-06-20 Thread numbch...@gmail.com
un 21, 2017 at 12:57 AM, Kaushal Modi wrote: > On Mon, Jun 19, 2017 at 7:41 PM numbch...@gmail.com > wrote: > >> Which Org-mode version are you using? I'm using the latest Org-mode >> version from source code branch `master`. >> > > I am using the same. > >

Re: [O] ob-clojure evaluate error when Org-mode buffer has ns clojure code

2017-06-20 Thread numbch...@gmail.com
viner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sun, Jun 18, 2017 at 1:48 PM, numbch...@gmail.com wrote: > I see, thanks very much. > > [stardiviner] GPG key ID: 47C3243

[O] ob-haskell.el evaluation error.

2017-06-20 Thread numbch...@gmail.com
Confirmed with minimal Emacs config. I'm using latest Emacs which build from source code, and latest version Org-mode which load from source code. Here is the steps to reproduce the issue: 1. emacs-minimal-init (command which load minimal init file) 2. [M-x run-haskell] ; load haskell inferior for

[O] org-git-link 's open function org-git-open does not work correctly

2017-06-23 Thread numbch...@gmail.com
When I `org-store-link` in a local git repository file buffer, I got this link: [[git:~/.emacs.d/init/org-mode/init-my-org-hyperlink.el::develop@ {2017-06-24}::202][git:~/.emacs.d/init/org-mode/init-my-org-hyperlink.el::develop@ {2017-06-24}::202]] Then I insert link into Org-mode buffer. But whe

[O] Why ob-clojure.el does not respect :dir header argument?

2017-06-28 Thread numbch...@gmail.com
In Org-mode Info page, the header argument `:dir` is used to specify the default directory for code block execution. But `ob-clojure` with `cider` as backend, will always use the `cider-jack-in` directory as default working directly. Is there a way to change this? [stardiviner] GPG

[O] org-irc.el get IRC link port error

2017-06-28 Thread numbch...@gmail.com
Here is the steps to reproduce this issue: Emacs version: 26.0.50 (from source code repo master branch) Org-mode version: 9.0.8 (from source code repo master branch) Here is the example link: IRC: [[irc://irc.freenode.net/#nextcloud][#nextcloud]] on Freenode I use Edebug to debug on function `or

Re: [O] org-irc.el get IRC link port error

2017-06-28 Thread numbch...@gmail.com
wrote: > Hello, > > "numbch...@gmail.com" writes: > > > Here is the steps to reproduce this issue: > > > > Emacs version: 26.0.50 (from source code repo master branch) > > Org-mode version: 9.0.8 (from source code repo master branch) &g

Re: [O] Why ob-clojure.el does not respect :dir header argument?

2017-06-28 Thread numbch...@gmail.com
uation. > If you want something more complex, you have to add that hyourself. > > > > On 28 June 2017 at 21:01, numbch...@gmail.com wrote: > >> In Org-mode Info page, the header argument `:dir` is used to specify the >> default directory for code block execution. >&

[O] Org-capture templates target error in recent Org-mode source code update.

2017-06-29 Thread numbch...@gmail.com
I got this error: #+BEGIN_EXAMPLE Debugger entered--Lisp error: (error "Invalid file location: nil") signal(error ("Invalid file location: nil")) error("Invalid file location: %S" nil) org-capture-expand-file((concat org-directory "/Contacts/Contacts.org")) org-capture-target-buffer((conc

Re: [O] capture templates and ^{prompt}

2017-06-30 Thread numbch...@gmail.com
Check out the docstring of variable `org-capture-templates`. There is a doc like this: ``` %\1 ... %\N Insert the text entered at the nth %^{prompt}, where N is a number, starting from 1. ``` Maybe this is what you want? [stardiviner] GPG key ID: 47C32433 IRC(freeenod

[O] ob-sh.el removed in master branch source code?

2017-07-12 Thread numbch...@gmail.com
RT I checked `ORG-NEWS` and git log history. Have not found this change in recent commits. Can someone explain this? [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47

[O] Want help for a helper function which send current link file under point to Kindle path.

2017-07-12 Thread numbch...@gmail.com
I want to write a helper function to send the link file (usually ebooks) under the point to Kindle path like (/run/media/username/Kindle/documents/). Hope this function can provide the following functionalities: - check whether the source file (ebook) exist in Kindle? - check the source file forma

[O] command org-clock-select-task seems does not work

2017-07-12 Thread numbch...@gmail.com
I want to clock-in recent tasks in Org-mode. but after I select first task with by pressing "1", but it does not clock-in that task. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 C

[O] ob-clojure will error result when contains comment

2017-07-12 Thread numbch...@gmail.com
Here is the examples: #+BEGIN_SRC clojure (+ 1 1) ;=> 2 #+END_SRC #+RESULTS: : class clojure.lang.LispReader$ReaderExceptionclass java.lang.RuntimeExceptionRuntimeException EOF while reading, starting at line 1 clojure.lang.Util.runtimeException (Util.java:221) #+BEGIN_SRC clojure :results valu

Re: [O] Org-mode ELPA repository package is not very updated?

2017-07-12 Thread numbch...@gmail.com
CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Mon, Jul 3, 2017 at 1:31 PM, Bastien wrote: > Hi, > > "numbch...@gmail.com" writes: > > > I found Org-mode ELPA released source code is old and does not > > include some patches and updates. >

Re: [O] Emacs master now updated to Org 9.0.9

2017-07-12 Thread numbch...@gmail.com
Thanks for your work. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue, Jul 4, 2017 at 3:54 PM, Bastien Guerry wr

Re: [O] ob-sh.el removed in master branch source code?

2017-07-12 Thread numbch...@gmail.com
hange =(sh . t)= to =(shell . t)=. > > 2. Edit =local.mk= files to change the value of =BTEST_OB_LANGUAGES= to > remove "sh" and include "shell". > http://orgmode.org/cgit.cgi/org-mode.git/plain/etc/ORG-NEWS > > > On Wed, Jul 12, 2017, 8:26 PM numbch...@gmail.

Re: [O] ob-clojure will error result when contains comment

2017-07-13 Thread numbch...@gmail.com
org-plus-contrib packages - Does master only become maint after major > version releases? > > Note also, there appears to be an issue with most recent versions of > cider when you do cider-jack-in and your not inside a project. The > issues seem to relate mainly to clj-refact

[O] [Feature Request] Provide a way to jump to noweb reference definition under point

2017-08-13 Thread numbch...@gmail.com
For example I have an Org buffer like this: ```org #+NAME: define food-journal #+BEGIN_SRC clojure (def food-journal [{:month 1 :day 1 :human 5.3 :critter 2.3} {:month 1 :day 2 :human 5.1 :critter 2.0} {:month 2 :day 1 :human 4.9 :critter 2.1} {:month 2 :day 2 :human 5.0 :critter 2.5}

Re: [O] Helm + Org-mode 9.2.5: Problem with org-set-tags

2019-08-13 Thread numbch...@gmail.com
Seems newly added a package which seems is separated from helm.el. https://github.com/emacs-helm/helm-org [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Bl

[O] ob-clojure can't cross source block handle :var in :noweb source block

2019-08-27 Thread numbch...@gmail.com
I have bellowing example: ```org #+NAME: read-in-wxid #+begin_src clojure :var cwd=(file-truename "~/Documents/WeChat/wxid/") (require '[clojure.java.io :as io]) (def directory (io/file cwd)) (def files (filter #(.isFile %) (file-seq directory))) #+end_src #+RESULTS[<2019-08-28 09:12:24> 84a1210d

[O] org-notify dbus send message to KDE/Plasma caused desktop suspend

2019-09-10 Thread numbch...@gmail.com
org-notify dbus send message to KDE/Plasma caused desktop suspend and high CPU,memory resources. Here is my config: ```elisp (setq org-notify-audible nil) (org-notify-add 'default '(:time "1h" :period "1h" :duration 8 :actions (-ding -notify/window)

Re: [O] org-notify dbus send message to KDE/Plasma caused desktop suspend

2019-09-13 Thread numbch...@gmail.com
Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Thu, Sep 12, 2019 at 5:52 AM Adam Porter wrote: > "numbch...@gmail.com" writes: > > > org-notify dbus send message to KDE/Plasma caused deskt

Re: [PATCH] Fix ob-python.el initiate session error with py-shell

2020-02-18 Thread numbch...@gmail.com
Yes, Jack, as Bastien said, you can format my commit, because my home network is broken, I'm using Mobile Phone's 4G network to get online. Can't get update immediately. And thanks for tips about `python-mode' is deprecated. I didn't know that. I will migrate to `python.el'. [stardiviner]

Re: [O] [Feature Request] Provide a way to jump to noweb reference definition under point

2017-08-15 Thread numbch...@gmail.com
@Thanks Berry, and Nicolas. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Mon, Aug 14, 2017 at 1:02 AM, Nicolas Goa

Re: [O] [RFC] Remove Org Struct mode

2017-08-20 Thread numbch...@gmail.com
I agree too, because the OrgStruct mode functions is so limited for basic Org-mode viewing/editing/navigating etc. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3

[O] The new function org-insert-structure-template is not following option org-babel-capitalize-example-region-markers

2017-11-09 Thread numbch...@gmail.com
RT. Hope Org-mode can fix this issue. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/

Re: [O] function for inserting a block

2017-11-11 Thread numbch...@gmail.com
+1 I added a snippet for ` GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sun, Nov 12, 2017 at 12:35 PM, Matt Lundin wrote: > Carsten Domini

Re: [O] Org-mode link returned path is truncated when contains space

2017-11-11 Thread numbch...@gmail.com
http://stardiviner.github.io/ On Tue, Jun 6, 2017 at 6:49 PM, Nicolas Goaziou wrote: > Hello, > > "numbch...@gmail.com" writes: > > > I checked Org-mode package version with `org-version`, get `9.0.7`, still > > have this issue. I updated to latest org-mode ELP

Re: [O] function for inserting a block

2017-11-15 Thread numbch...@gmail.com
I think the function `org-insert-structure-template' also should respect the `org-babel-uppercase-example-markers'. Besides, your new diff does not have a condition on `org-babel-uppercase-example-markers', you just use `upcase-initials` by default. Then the new `tempo` snippets will be uppercase,

Re: [O] ob-haskell evaluation needs inf-haskell but it does not exist

2017-11-15 Thread numbch...@gmail.com
I required `(require 'inf-haskell)` But have not found the command `inf-haskell` to start inferior process. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 B

Re: [O] ob-haskell evaluation needs inf-haskell but it does not exist

2017-11-15 Thread numbch...@gmail.com
IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Nov 15, 2017 at 9:17 PM, numbch...@gmail.com wrote: > I required `(require 'inf-haskell)` But have not f

Re: [O] ob-haskell evaluation needs inf-haskell but it does not exist

2017-11-17 Thread numbch...@gmail.com
GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Wed, Nov 15, 2017 at 11:35 PM, Nick Dokos wrote: > "numbch...@gmail.com" writes: >

Re: [O] function for inserting a block

2017-11-17 Thread numbch...@gmail.com
3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Thu, Nov 16, 2017 at 12:24 AM, Eric Abrahamsen wrote: > "numbch...@gmail.com" writes: > > > I think the function `org-insert-structure-template' also should > respect the `org-babel-uppercase

Re: [O] function for inserting a block

2017-11-17 Thread numbch...@gmail.com
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sat, Nov 18, 2017 at 3:14 AM, Eric Abrahamsen wrote: > "numbch...@gmail.com" writes: > > > Yeah, I misunderstand your code. Anyway, It should be like this: >

Re: [O] Public TODO agendas

2017-11-20 Thread numbch...@gmail.com
I have similar function requirement. Based on your TRAMP method, I think remote file are just can be transported through any protocols like HTTP, for example remote file like http://example.org/test.org can be downloaded, then append to org-agenda files list. This is just an rough idea. [stardivin

Re: [O] Public TODO agendas

2017-11-21 Thread numbch...@gmail.com
- just pulling down > the file and appending it would be easy enough, but going the other way > adds a lot of additional complexity). > > Perhaps this is more something which could fit in with mobile org > efforts? > > Tim > > > > Eric S Fraga writes: > &g

Re: [O] Possible bug: Headings greater than level 2 stars not showing -- unable to navigate with normal commands

2017-11-26 Thread numbch...@gmail.com
Yes, I have same issue too. - [ ] org-indent-mode display the 3rd level asterisk as bold - [ ] I can't =[C-c C-f]= And confirmed it is caused by commit ed06b159c | * Small fix to emphasis fontification. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner

Re: [O] ob-shell and remote shells

2017-11-28 Thread numbch...@gmail.com
Off the topic, I'm curious what is the `:session` in `ob-shell` ? [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue

  1   2   >