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

2014-07-30 Thread numbch...@gmail.com
ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://nagatopain-blog.logdown.com/ On Mon, Jul 28, 2014 at 4:53 PM, Charles Philip Chan cpc...@bell.net wrote: stardiviner numbch

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] Hack this world! GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter:

[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 .

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

2016-06-12 Thread numbch...@gmail.com
web...@free.fr> wrote: > 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 re

[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

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 <ras...@gmx.us> wrote: > Hi, > > > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > I modified most part of my files. > > Thanks. > > > - There are some places I can

[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

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

2016-04-06 Thread numbch...@gmail.com
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 <m...@nicolasgoaziou.fr> wrote: > Hello, > > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > >

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

2016-04-05 Thread numbch...@gmail.com
gmode.org/worg/org-contribute.html. > > 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. &g

[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

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 <numbch...@gmail.com> wrote: > My think my patch modifies less than 15 lines. Do I have to assign the > copy

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

2016-04-06 Thread numbch...@gmail.com
Oh, right. I should attach it. ```diff >From 30eec5a63e4f720fa3880b9aef06aedd84072078 Mon Sep 17 00:00:00 2001 From: stardiviner <numbch...@gmail.com> Date: Sat, 2 Apr 2016 00:46:36 +0800 Subject: [PATCH] add SLY support in ob-lisp * ob-lisp.el (org-babel-execute:lisp): Support

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

2016-03-26 Thread numbch...@gmail.com
, Inc. -;; Authors: stardiviner <numbch...@gmail.com> -;; Maintainer: stardiviner <numbch...@gmail.com> -;; Keywords: org babel lisp sly slime -;; URL: https://github.com/stardiviner/ob-lisp -;; Created: 1th March 2016 -;; Version: 0.0.1 -;; Package-Requires: ((org "8")) +;;

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

2016-03-30 Thread numbch...@gmail.com
= 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Mon, Mar 28, 2016 at 12:01 PM, Nick Dokos <ndo...@gmail.com> wrote: > stardiviner <numbch...@gmail.com> writes: > > > I hope to merge this patch to Org-mode `ob-lisp.el`. &g

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

[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-25 Thread numbch...@gmail.com
, Georgiy Tugai <georgiy.tu...@gmail.com> 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: 47C3

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

2016-05-22 Thread numbch...@gmail.com
t; > Please find some comments below. I think some more work is needed before > your libraries are > > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > From 2589d4e7d28016fb515d2131cbd9ff52797e50eb Mon Sep 17 00:00:00 2001 > > From: stardiviner

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 <ras...@gmx.us> wrote: > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > I tried to sign the FSF copyright assignment before, but it is very > > difficult for me. So

[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] [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 :

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

2016-05-10 Thread numbch...@gmail.com
or your patches. > > Some comments follow. > > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > - ob-lua > > - ob-php > > - ob-redis > > > > https://github.com/stardiviner/org-mode > > > > Hope maintainer can merge those

[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:

[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

[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 <numbch...@gmail.com> wrote: > ``` > #+BEGIN_SRC clojure :session > (def kk "stardiviner") > #+END_SRC > ``` &g

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

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

[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.

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
;m...@nicolasgoaziou.fr> wrote: > Hello, > > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > Let Org-mode babel file result support relative (adaptive) link type by > > using `org-link-file-path-type`. > > > > This also can solve sta

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

2017-08-16 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

[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}

[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

[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

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 <b...@gnu.org> wrote: > Hi, > > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > I found Org-mode ELPA released source code is old and does

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

[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

[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

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

2017-07-12 Thread numbch...@gmail.com
-do-load-languages=, change =(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:

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

2017-07-13 Thread numbch...@gmail.com
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-refactor, but there could be other > problems. Again, highly rec

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

2017-06-28 Thread numbch...@gmail.com
do very basic clojure code evaluation. > If you want something more complex, you have to add that hyourself. > > > > On 28 June 2017 at 21:01, numbch...@gmail.com <numbch...@gmail.com> wrote: > >> In Org-mode Info page, the header argument `:dir` is used to specify the

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

[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]

[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

[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"))

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

2017-06-28 Thread numbch...@gmail.com
<m...@nicolasgoaziou.fr> wrote: > Hello, > > "numbch...@gmail.com" <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

Re: [O] displaying thumbnails in heading or subheadings

2017-04-26 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:

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

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 <m...@nicolasgoaziou.fr> wrote: > Hello, > > "numbch...@gmail.com" <numbch...@gmail.com> wri

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 <m...@nicolasgoaziou.fr> wrote: > Hello, > > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > Here is the original discussion we disscusses. > > https://github.com/jkitchin/or

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

[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:

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

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

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

2017-06-20 Thread numbch...@gmail.com
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 <numbch...@gmail.com> wrote: > I see, thanks very much. > > [stardiviner]

[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

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

[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

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

2017-06-19 Thread numbch...@gmail.com
on, Jun 19, 2017 at 6:21 PM, Kaushal Modi <kaushal.m...@gmail.com> wrote: > On Mon, Jun 19, 2017, 12:59 AM numbch...@gmail.com <numbch...@gmail.com> > wrote: > >> I found noweb reference with argument `<<src-block-name(args)>>` issue. >> > > It has bee

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

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 <m...@nicolasgoaziou.fr> wrote: > Hello, > > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > I have a link in org-moe file like this: &

[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

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

2017-06-08 Thread numbch...@gmail.com
child 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 <m...@nicolasgoaziou.fr> wrote: > Hello, > > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > ​​ If so, the la

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

2017-06-08 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 Mon, Jun 5, 2017 at 9:09 PM, Nick Dokos <ndo...@gmail.com> wrote: > "numb

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 <bvrag...@iitk.ac.in> wrote: > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > I installed both packages `org` and `org-plus-contrib` in ELPA > repository. > You might be looking f

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

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 <numbch...@gmail.com> wrote: > @Bastien my SSH p

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 <b...@gnu.org> wrote: > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > Sorry, update SSH public key: > > Please resend it as an attachment in a private email. > > Thanks, > > -- > Bastien >

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

2017-06-15 Thread numbch...@gmail.com
Here is the patch #+BEGIN_SRC diff >From 8bea0293ae22046bd4878a0ef9add5acd074bfde Mon Sep 17 00:00:00 2001 From: stardiviner <numbch...@gmail.com> Date: Thu, 8 Jun 2017 18:24:53 +0800 Subject: [PATCH] add ob-sclang for sclang Org-mode babel support --- contrib/lisp/ob-sclang

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

2017-06-16 Thread numbch...@gmail.com
I regenerated commit and patch by following changelog formats. ``` >From 9f0b5051bda5ae458242e37923ad18e3189663d9 Mon Sep 17 00:00:00 2001 From: stardiviner <numbch...@gmail.com> Date: Thu, 8 Jun 2017 18:24:53 +0800 Subject: [PATCH] ob-sclang.el: add ob-sclang for sclang Org-mode babe

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

2017-06-17 Thread numbch...@gmail.com
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 <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
s, 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 and workflow you want. > > HTH > > Tim > > n

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

2017-06-17 Thread numbch...@gmail.com
Guerry <b...@gnu.org> wrote: > "numbch...@gmail.com" <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.g

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

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

2017-06-17 Thread numbch...@gmail.com
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: > > > I

[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 | |

[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

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`: ``` *

[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

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

2017-06-10 Thread numbch...@gmail.com
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 <m...@nicolasgoaziou.fr> wrote: > Hello, > > "numbch...@gmail.com" <numbch...@gmail.com>

[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] 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

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] What about a space when inserting a src-block?

2017-12-01 Thread numbch...@gmail.com
+1, aggreed, I wish a better keybinding too. [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 Sat, Dec 2, 2017 at

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

2017-12-01 Thread numbch...@gmail.com
int = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Thu, Jul 13, 2017 at 8:29 AM, numbch...@gmail.com <numbch...@gmail.com> wrote: > I want to write a helper function to send the link file (usually ebooks) > under the point to Kindle path lik

[O] Emacs sagmentation fault error on a big org-mode file movement

2017-12-15 Thread numbch...@gmail.com
I have a big org-mode file which is overview at startup. When I navigate around with [C-v] and [M-v]. The Emacs crashed. Here is the output from command-line: ``` Fatal error 11: Segmentation fault Backtrace: emacs[0x51195e] emacs[0x4f739a] emacs[0x50fe3e] emacs[0x510058] emacs[0x5100dc]

Re: [O] Emacs sagmentation fault error on a big org-mode file movement

2017-12-17 Thread numbch...@gmail.com
your distro provides > that. That should add a lot more interesting detail to the backtrace. > > 3. To go further, repro under GDB, ideally with corresponding source > code. Then you could explore the immediate cause of the segfault. > > Neil > > On 16/12/17 04:27, numbch...@gm

[O] use a src block's result as input of another src block report error: the input device is not a TTY

2017-12-19 Thread numbch...@gmail.com
Here is my example: #+NAME: get-container-name #+begin_src shell :results output echo $(docker ps --format="{{.Names}}") #+end_src #+RESULTS: get-container-name : elastic_thompson #+begin_src shell :var container_name=get-container-name :noweb yes docker exec -it $container_name pwd # docker

Re: [O] header argument :noweb-ref seems can't be resolved

2017-12-18 Thread numbch...@gmail.com
: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Tue, Dec 19, 2017 at 12:46 AM, Berry, Charles <ccbe...@ucsd.edu> wrote: > > > > On Dec 17, 2017, at 8:28 PM, stardiviner <numbch...@gmail.com> wrote: > > >

Re: [O] Emacs sagmentation fault error on a big org-mode file movement

2017-12-16 Thread numbch...@gmail.com
, Eli Zaretskii <e...@gnu.org> wrote: > > From: "numbch...@gmail.com" <numbch...@gmail.com> > > Date: Sat, 16 Dec 2017 12:27:58 +0800 > > > > Is there a way to debug this? > > Run Emacs under a debugger, trigger the crash, and produce a more &

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

2017-11-17 Thread numbch...@gmail.com
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 <ndo...@gmail.com> wrote: > "numbch...@gmail.com&qu

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 <e...@ericabrahamsen.net> wrote: > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > I think the function `org-insert-structure-templa

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

2017-11-11 Thread numbch...@gmail.com
://stardiviner.github.io/ On Tue, Jun 6, 2017 at 6:49 PM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Hello, > > "numbch...@gmail.com" <numbch...@gmail.com> writes: > > > I checked Org-mode package version with `org-version`, get `9.0.7`, still > >

Re: [O] function for inserting a block

2017-11-11 Thread numbch...@gmail.com
+1 I added a snippet for `

Re: [O] Public TODO agendas

2017-11-21 Thread numbch...@gmail.com
and push back up - 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 <e

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.

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

2017-11-15 Thread numbch...@gmail.com
Blog: http://stardiviner.github.io/ On Mon, Nov 13, 2017 at 11:43 PM, Nick Dokos <ndo...@gmail.com> wrote: > stardiviner <numbch...@gmail.com> writes: > > > When I execute the following Haskell src block: > > > > ``` > > > > #+BEGIN_SRC haskell :ses

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
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 <numbch...@gmail.com> wrote: > I required `(require 'in

  1   2   >