[O] How to setup this custom function with Org-mode functions? (org-habit)

2014-03-28 Thread stardiviner
() (org-todo HABIT) (org-insert-property-drawer); TODO: :STYLE: habit (value) (org-schedule))) (define-key org-mode-map (kbd C-c C-x h) 'org-habit-apply) #+END_SRC Does anybody can help me this? and thanks in advance. -- [ stardiviner ] I want to save myself from this world. IRC

[O] Setup Org-mode to write diary.

2014-07-25 Thread stardiviner
I want to know how to configure Org-mode to write diary with a easy way. I hope someone can provide his way. Here is what I think what Org-mode write diary should have. - [ ] *open/create* a buffer to write current day's diary quickly. - [ ] *navigate* diary entry like viewing day entries in

Re: [O] how to enter ==

2014-07-25 Thread stardiviner
You should use Org-mode Symbols. ~\ equal~ (without space hehind ~\~). If you have string behind it, you should append ~{}~, like this: ~\ equal{}test~ (without space too). Rustom Mody rustompm...@gmail.com writes: If I enter code inline that has an == that is taken as an escape for code So

Re: [O] How to setup this custom function with Org-mode functions? (org-habit)

2014-07-26 Thread stardiviner
This is what I want, thanks very much. Marcin Borkowski mb...@wmi.amu.edu.pl writes: Dnia 2014-03-28, o godz. 16:09:01 stardiviner numbch...@gmail.com napisał(a): I want to create a custom keybinding to custom function which will execute all necessary steps for creating an org habit

[O] How to make Org-mode support file completion for file+sys: prefix?

2014-07-29 Thread stardiviner
I found Org-mode support file completion in `file:` prefix. But not `file+sys:`, Why? - [ ] If it is not enabled by default. Then how to enable it? - [ ] If Org-mode does not support it, then how can I enable it? Why do I need it? When I add a link to a PDF file, I need to use filename

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

2014-07-29 Thread stardiviner
I setup default =ac-sources= for auto-complete like this: #+BEGIN_SRC emacs-lisp (setq-default ac-sources '(ac-source-yasnippet ac-source-abbrev ac-source-filename ac-source-files-in-current-dir ac-source-dictionary

Re: [O] How to get notify from Org-mode's clock, timestamps, and appointments etc with in modeline or with notify-send etc programs ?

2013-11-20 Thread stardiviner
Excerpts from [ Alexander Baier ] On [2013-11-20 11:49:48 +0100]: chris numbch...@gmail.com writes: You might want to take a look at this library: https://github.com/djcb/sauron Regards, Alex This is really great. Thanks very much. -- [ stardiviner ] Kill the world if you

Re: [O] first step of newbe: *TODO

2013-12-14 Thread stardiviner
list. But when I press C-c C-t over a TODO element, it appear DONE, write near the task, but not the CLOSED [time...] on the line after that. What I have to do? TIA Renato ps sorry, for the stupid question, but it is really my very firs experimet :-( -- [ stardiviner ] Kill the world

[O] some org-contacts icons property value questions

2015-10-17 Thread stardiviner
How to edit the org-contacts property ~:ICON~ value? I tried use `filename.jpg` which file is in same directory with contacts file. And what kind of image size should I use for icon? Can I use a custom function to show this icon? Can I show multiple icons for one contact?

[O] Org-mode Babel does not show syntax highlight when open with another mode

2015-10-05 Thread stardiviner
I try to configure Org-mode to open ruby source code block with `enh-ruby-mode`. configuration as following: #+BEGIN_SRC emacs-lisp (with-eval-after-load 'enh-ruby-mode (add-to-list 'org-src-lang-modes '("ruby" . enh-ruby))) #+END_SRC This will open code block in `enh-ruby-mode` when you

[O] Org-mode Babel does not show syntax highlight when open with another mode

2015-10-05 Thread stardiviner
I try to configure Org-mode to open ruby source code block with `enh-ruby-mode`. configuration as following: #+BEGIN_SRC emacs-lisp (with-eval-after-load 'enh-ruby-mode (add-to-list 'org-src-lang-modes '("ruby" . enh-ruby))) #+END_SRC This will open code block in `enh-ruby-mode` when you

[O] a patch to ob-lisp.el

2016-03-27 Thread stardiviner
Here is my repo, and I also created an recipe on MELPA. - http://gituhb.com/stardiviner/ob-lisp - https://github.com/melpa/melpa/pull/3682 I hope to merge this patch to Org-mode `ob-lisp.el`. 1c1 < ;;; ob-lisp.el --- org-babel functions for common lisp evaluation with SLY or SL

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

2017-12-17 Thread stardiviner
I have the following org-mode file content: ```org #+begin_src shell :tangle yes :noweb yes :shebang #!/bin/sh <> #+end_src ** the mount point of the fullest disk   :PROPERTIES:   :header-args: :noweb-ref fullest-disk   :END: *** query all mounted disks #+begin_src shell   df \ #+end_src

[O] org-mode pcomplete does not complete added babel extra languages

2017-12-01 Thread stardiviner
 For example, I have a package =ob-restclient= installed.  I type ~

[O] How to include diary anniversary entries into default org-agenda?

2017-12-19 Thread stardiviner
I have an org-mode file: #+begin_src org ,* Anniversary ,** my first child anniversary %%(diary-anniversary 10 26 2017) ,** Funeral Arrangement ,*** kk %%(diary-anniversary 12 8 2007) #+end_src How to include and show them in default org-agenda day view by configuring org-mode?

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

2017-12-18 Thread stardiviner
Confirmed. I don't know how to fix this problem, so maybe report to Org-mode ML is the better way. (I changed the message title by prepend [BUG]) On 12/19/2017 12:59 PM, Berry, Charles wrote: On Dec 18, 2017, at 9:28 AM, numbch...@gmail.com wrote: Hope someone can help here. OK. I think

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

2017-12-19 Thread stardiviner
I got new update on this issue. I think it is caused by `(clojure-find-ns)`. Here is my found: I created a simple clojure project for used by all org-babel-clojure src blocks. ```elisp (progn   (find-file (expand-file-name "~/.emacs.d/Org-mode/ob-clojure/src/ob_clojure/core.clj"))  

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

2017-12-17 Thread stardiviner
ct noweb-ref for tangle but can't for eval. On 12/18/2017 01:40 AM, Berry, Charles wrote: On Dec 17, 2017, at 6:58 AM, stardiviner <numbch...@gmail.com> wrote: I have the following org-mode file content: ```org #+begin_src shell :tangle yes :noweb yes :shebang #!/bin/sh <> #+end

[O] Can't set full face attributes in variable org-todo-keyword-faces

2017-12-17 Thread stardiviner
I have following settings: ```elisp (setq org-todo-keyword-faces   '(;;; todo keywords     ("TODO" :foreground "orange" :box '(:color "dim gray" :line-width -1))     ("URGENT" :foreground "red" :box '(:color "dim gray" :line-width -1 ``` But I check out it's

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

2017-12-17 Thread stardiviner
I can't find `org-babel-noweb-ref-resolve` in any of org-mode `master` branch source code. I use `counsel-git-grep` searched through the repository. Not found. Can you point out where is it? On 12/18/2017 12:12 PM, Berry, Charles wrote: On Dec 17, 2017, at 6:08 PM, stardiviner <num

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

2017-11-11 Thread stardiviner
When I execute the following Haskell src block: ``` #+BEGIN_SRC haskell :session :tangle "Data/Code/hello_world.hs" main :: IO () main = do   putStrLn "Hello, World!" #+END_SRC ``` It reports error: ``` Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or

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

2017-11-10 Thread stardiviner
Yes, sure, currently the Git master branch last commit does not support this new option yet. Hope be added in next patch. Thanks really. On 11/11/2017 01:34 AM, Eric Abrahamsen wrote: > "numbch...@gmail.com" writes: > >> RT. >> Hope Org-mode can fix this issue. > It looks

Re: [O] function for inserting a block

2017-11-10 Thread stardiviner
I agree. I hope this feature too. +1 On 11/10/2017 05:31 PM, Rasmus wrote: > Hi Eric, > > Eric Abrahamsen writes: > >>> Also, Eric, it seems that org-structure-template-alist only supports a >>> single letter for short-hands (the car of an entry in >>>

[O] Still there are some places that the new org-babel markers are not unified yet

2017-12-07 Thread stardiviner
By default, the org-babel markers is lower-case now. But I found in the following case, it is upper-case still. ``` #+begin_src clojure :results code :wrap src html (:body (clj-http.client/get "http://localhost:80;)) #+end_src #+RESULTS: #+BEGIN_src html "\n\n\nWelcome to nginx!\n\n    body {\n   

Re: [O] How to include diary anniversary entries into default org-agenda?

2017-12-20 Thread stardiviner
Sorry, that's my mis-type. You example works. Now the problem is: > #+begin_src org > ,* Anniversary > > ,** my first child anniversary > > %%(diary-anniversary 10 26 2017) > > ,** Funeral Arrangement > > ,*** kk > > %%(diary-anniversary 12 8 2007) > #+end_src Then org-agenda shows all

Re: [O] Adding single cell movement to org-table

2018-05-04 Thread stardiviner
That's really great. Thanks. -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] [SOLVED] org-attach provide org-store-link like link for org-insert-link

2018-05-04 Thread stardiviner
stardiviner <numbch...@gmail.com> writes: > I used a lot with org-attach to insert files like images, small PDF > files, and audio. Every time I attached one file, I have to manually > link to that attachment file. > > Can org-attach provide link directly after finished att

[O] [Feature Request] org-attach provide org-store-link like link for org-insert-link

2018-05-04 Thread stardiviner
. -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] how to use org-crypt with different key per file or node?

2018-05-05 Thread stardiviner
Can let this property CRYPTKEY support interactive select keys from minibuffer? Manully input is not an good choice obviously. How to let org-mode property auto prompt for a list of keys after inserted property key "CRYPTKEY"? -- [ stardiviner ] don't need to convince with trends.

[O] [org-contacts] How to show avatar image on org headings?

2018-05-06 Thread stardiviner
h [] image. BTW, another question, how to get property's value? and how to iterate on all heading elements then auto display image when open Contacts.org file? -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner

[O] Org-mode pcomplete is slow, affect performance

2018-05-05 Thread stardiviner
% ... 0 0% -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[O] How to use ox-html klipse in org-publish?

2018-05-05 Thread stardiviner
. The exported page should like this: http://blog.klipse.tech//omnibus/2017/04/23/omnibus-1-wallpaper.html Is there anybody using this klipse feature in exporting/publishing? Can you give me some hints or show me your configuration about how ? Thanks in advance. -- [ stardiviner ] don't need to convince

[O] coderef does not provide file path for org-insert-link when not in original buffre

2018-05-14 Thread stardiviner
e:~/Org/elquery.org::(set%20the%20temp%20buffer%20to%20unibyte)][(set the temp buffer to unibyte)]] WDYT? -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] [org-contacts] How to show avatar image on org headings?

2018-05-09 Thread stardiviner
r code, and re-enable org-mode on Contacts.org file. The :ICON: property value "John.png" is not displayed as image. Is there something wrong? I choose to use overlay to auto display image when open org-contacts file. -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] [PATCH] Add support for Babel with Eshell, (updated PATCH)

2018-04-26 Thread stardiviner
way, thanks. And I updated patch inclued in attachment. From bea5c4454ee53307578f4c6e10e2b8e06f9bb70b Mon Sep 17 00:00:00 2001 From: stardiviner <numbch...@gmail.com> Date: Sun, 22 Apr 2018 09:37:40 +0800 Subject: [PATCH] ob-eshell.el: Add Eshell support for Babel. * lisp/ob-eshell.el (org-babel-

Re: [O] how to convert org file: link path into shell path?

2018-04-28 Thread stardiviner
:complete #'org-file-complete-link) > ` > But it does not open video file. After edebug, seems error on file path. The problem is how to convert org file: link path into shell path. When org file link path contains space " " or colon ":", comma ",&quo

[O] Let org table support move region selected fields

2018-04-28 Thread stardiviner
t;. It does not work as expected move "5 | 6" up. Seems this command does not region selection. Include "[M-Right/Left]" Is is possible to support region selection so that partial movement will be great! - -- [ stardiviner ] don't need to convince with trends. Blog: h

Re: [O] [org-contacts] How to show avatar image on org headings?

2018-05-09 Thread stardiviner
inline image require a single line, invalid in org property value position?) WDYT? -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] How to hide a table column from exporting

2018-05-10 Thread stardiviner
| | / | <#> | | | | | a | b | | | | 1 | 2 | ` But as you can see, the commented column is not deleted at radio table receive location. Can it be adapted to Org Radio Tables? -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/

Re: [O] How to use ox-html klipse in org-publish?

2018-05-05 Thread stardiviner
Hi, N. Raghavendra, follow your Makefile and Org test file. I run on my machine, klipse works fine. This must be problem on my configuration. I will find it out. Really thanks for your help. -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io

[O] [BUG] ox-html's klipse has problem with org-info.js

2018-05-05 Thread stardiviner
can fix it? -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] Adding single cell movement to org-table

2018-05-04 Thread stardiviner
Hi, dear Nicolas. Is this patch merged or not? I "git log --grep 'cell'", have not found this commit. Does this patch move single cell or move single row/column? Currently, Org-mode built-in movement support for row and column only. -- [ stardiviner ] don't need to convince w

[O] set Babel default header argument don't eval when export seems does not work

2018-05-21 Thread stardiviner
quot;links") | (:cache . "yes") | (:results . "replace") | ;; for exporting | (:eval . "never-export") | (:exports . "both") | )) ` When I export with org-publish, src blo

[O] [BUG] there are weird offset when org-insert-structure-template

2018-06-11 Thread stardiviner
ref-set names ["John"]) | (alter names #(if (not-empty %) | (conj % "Jane") %))) | #+end_src ` But when I region select by backward from ))) to (def, it works fine. no offset. -- [ stardiviner ] don't need to convince with trends.

[O] org-publish report error cond: Unknown language ‘sh’ at line 2 in ‘ *temp*’

2018-05-30 Thread stardiviner
-languages) | (add-to-list 'org-babel-tangle-lang-exts '("shell" . "sh")) ` -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[O] [BUG] org-insert-structure-template on region selected text will delete some characters

2018-05-30 Thread stardiviner
For example: Region select on: ENTRYPOINT ["/usr/sbin/nginx"] When I press =[C-c C-,]= on this region, the region content will be wrapped with src block, but it deleted the last "]". This is a bug I think. -- [ stardiviner ] don't need to convince with trends

Re: [O] [PATCH] Add support for Babel with Eshell, (updated PATCH)

2018-06-03 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Aha, Thanks, Nicolas, I almost forget this patch. That's great! > > Speaking of which, there's an issue in > `org-babel-eshell-initiate-session'. > > First, it uses (get-buffer (current-buffer)),

[O] [PATCH] ob-shell initialize header arguments for other shell names too

2018-06-03 Thread stardiviner
>From 4519624de8543205533b89e05d14e308d891f45b Mon Sep 17 00:00:00 2001 From: stardiviner Date: Mon, 4 Jun 2018 12:02:55 +0800 Subject: [PATCH] ob-shell.el: Initialize header arguments for other shell names too * lisp/ob-shell.el (org-babel-shell-initialize) initialize org-babel-defa

Re: [O] [PATCH] Add support for Babel with Eshell, (updated PATCH)

2018-06-01 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Subject: [PATCH] ob-eshell.el: Add Eshell support for Babel. > > Applied on "next" branch. Thank you. Aha, Thanks, Nicolas, I almost forget this patch. That's great! > > Regards, --

Re: [O] coderef does not provide file path for org-insert-link when not in original buffre

2018-06-24 Thread stardiviner
I just toke a look at the source code of `org-store-link'. I think it's possible to implement it. I will take a try. Might need to add support in `org-open-at-point` [C-c C-o]. Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> `org-insert-link` should be smart

Re: [O] [PATCH] Add support for Babel with Eshell, (updated PATCH)

2018-05-02 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Nicolas. Now Org 9.1.12 is released. Maybe it's time to merge this ob-eshell PATCH? If still has some places need modified, please tell me. Thanks. - -- [ stardiviner ] don't need to convince with trends. Blog: https

[O] [PATCH] ob-clojure-literate don't enable minor mode by default.

2018-05-02 Thread stardiviner
Hi, Nicolas, can you merge this minor update? thanks. From 14cad029e92b1e35b1255e4b7faa3f0442bce334 Mon Sep 17 00:00:00 2001 From: stardiviner <numbch...@gmail.com> Date: Thu, 3 May 2018 10:20:41 +0800 Subject: [PATCH] ob-clojure-literate.el: Don't enable ob-clojure-literate-mode by d

Re: [O] [SOLVED] How to use xml src block as data input?

2018-05-01 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 This is great. Thanks John. - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 -BEGIN PGP SIGNATURE

Re: [O] [SOLVED] How to use xml src block as data input?

2018-04-30 Thread stardiviner
.. #+end_src - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 -BEGIN PGP SIGNATURE- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAlrn4LYACgkQG13x

Re: [O] [PATCH 3/4] ob-clojure.el: Use :ns flag in org-src-edit

2018-04-29 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 roberthambr...@gmail.com writes: How about the progress now? - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG

Re: [O] [PATCH 2/4] ob-clojure.el: Add ClojureScript interface

2018-04-29 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 roberthambr...@gmail.com writes: How about the progress now? - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG

[O] [SOLVED] Re: Let org table support move region selected fields

2018-04-29 Thread stardiviner
t; (org-defkey org-mode-map (kbd "C-c C-x C-y") #'org-paste-special) I see, thanks Bastien - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D6748198

Re: [O] how to convert org file: link path into shell path?

2018-04-29 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bastien <b...@gnu.org> writes: > Maybe by replacing "%s -ss %s %s" by "%s -ss %s \"%s\"", i.e. adding > double-quotes around the filename? Thanks, Bastien, this solved my problem. - -- [ stardi

Re: [O] Clocktable Naming

2018-05-01 Thread stardiviner
n the #+BEGIN line? > > This would allow the clocktable to be post processed using something like > perl or python for in depth analysis. > > SHAWN WAY, P.E. Hi, Dave. How do you implement this right now? I'm interested in this plotting org-clock dynamic block. Can you

Re: [O] How to use xml src block as data input?

2018-04-29 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Is there somebody have any idea or hints about this question? - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG

Re: [O] How to use xml src block as data input?

2018-04-29 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thanks, I forgot to mention I know example block can be used as input. But this will lose the syntax highlighting. If there is no better solution. I guess it is the best for now. - -- [ stardiviner ] don't need to convince with trends. Blog

Re: [O] Let org table support move region selected fields

2018-04-28 Thread stardiviner
you can only move one cell or row at a time, not a region. > > To select multiple cells vertically, you might also want to check > C-x SPC. > > HTH, Thanks, this solved my problem. BTW, my curious why those commands are not actived with keybindings in org-mode? - -- [ stardiviner

[O] ob-python noweb and :var reference error

2017-12-29 Thread stardiviner
ca': {'name': 'TPB.AFK.2013.720p.h264-SimonKlose'}} #+end_src But got error: ``` Traceback (most recent call last):   File "", line 15, in   File "", line 10, in main   File "/home/stardiviner/.virtualenvs/python3.6/lib/python3.6/site-packages/deluge_client/client.p

Re: [O] ob-python noweb and :var reference error

2017-12-29 Thread stardiviner
I will try to edebug on this. On 12/29/2017 08:09 PM, Nicolas Goaziou wrote: stardiviner <numbch...@gmail.com> writes: If I use that noweb reference, then I got this error:   File "", line 8     client = DelugeRPCClient('127.0.0.1', 58846, cat ~/.config/deluge/auth | cut -d ":&

Re: [O] ob-python noweb and :var reference error

2017-12-29 Thread stardiviner
  ^ SyntaxError: invalid syntax This is because the <> output is not a string in Python src block. I also tried to specify `:results` to `value`, `output` and `raw` in `deluge-daemon-password` etc. But none of them works. On 12/29/2017 07:39 PM, Nicolas Goaziou wrote: Hello,

[O] ob-python specify :session error

2017-12-29 Thread stardiviner
I have following org content: I define variable in Python inferior REPL (launched by [M-x run-python]) Python> name = "chris" #+begin_src python :session "*Python*" print(name) #+end_src But I got error: > org-babel-python-evaluate-session: Buffer *Python-*Python** does not exist or has no

[O] [SOLVED] Re: babel header argument :var is not expanded when tangling

2017-12-28 Thread stardiviner
om> <numbch...@gmail.com <mailto:numbch...@gmail.com>> wrote: I see. I will use noweb style for now. But should tangle expand :var variables when tangling? I think this is the correct behaviour. [stardiviner]     GPG key ID: 47C32433 IRC(freeenode): s

[O] Some org-mode key interface popup buffers can't by managed by display-buffer-alist

2017-12-22 Thread stardiviner
I use following config, but does not work. How can I manage those popup buffers with display-buffer-alist? (add-to-list 'display-buffer-alist '("^\\*Org Agenda\\*" (display-buffer-same-window))) (add-to-list 'display-buffer-alist '("^\\*Clock Task

[O] Hope ob-js can support :session feature

2017-12-22 Thread stardiviner
I know that ob-js "Session evaluation with node.js is not supported" - [X] mozrepl (deprecated):   "mozrepl" need package `moz'. https://github.com/bard/mozrepl/ - [X] node.js does not support :session so might consider integrate indium https://github.com/NicolasPetton/Indium ? I wish to do

Re: [O] Bug: Editing src blocks: user-error: Cannot modify an area being edited in a dedicated buffer [9.1.4 (9.1.4-2-g118753-elpaplus @ /home/paul/.emacs.d/elpa/org-plus-contrib-20171211/)]

2017-12-22 Thread stardiviner
@Paul Do you have similar config? I use it to enable flycheck in editing temp src buffer. (defadvice org-edit-src-code (around set-buffer-file-name activate compile)   (let ((file-name (buffer-file-name)))     ad-do-it     (setq buffer-file-name file-name))) On 12/22/2017

Re: [O] ob-clojure.el is not compatible with new CIDER API

2018-07-29 Thread stardiviner
rently, > I've not had time > to do any Clojure work, so it is not high on the priority list. > Can I see your work? Do you have any public source code repository online of this? -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IR

Re: [O] ob-clojure.el is not compatible with new CIDER API

2018-07-30 Thread stardiviner
"Literate Programming", so if can't support it well, I will not consider to do it. So to implement one "ob-inf-clojure.el" is kind of expensive for me. -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(fre

[O] How to execute sudo command in Docker container with Org ob-shell through Emacs package docker-tramp?

2018-07-25 Thread stardiviner
in this place. -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] Hyperlink to Table in Other Org file

2018-08-10 Thread stardiviner
aerrors > > I’ve also tried the absolute path. All advice appreciated. -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[O] coderef link should support external file path link.

2018-08-22 Thread stardiviner
g. (I have to manually fix this long path to make it work correctly). #+begin_src org [[file:~/Org/Wiki/Web%20Scraping.org::(use%20formdata%20to%20send%20url%20with%20params)][use formdata to send url with params]] #+end_src -- [ stardiviner ] don't need to convince with trends. B

[O] ob-clojure.el is not compatible with new CIDER API

2018-07-16 Thread stardiviner
I found ob-clojure.el is not compatible with new CIDER API now. I don't know CIDER much, is there anybody want to update it? -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG

Re: [O] ob-clojure.el is not compatible with new CIDER API

2018-07-23 Thread stardiviner
s evolving. Org would > likely do better just having an interface based around a simple > interface, such a inf-clojure. > Hi, Tim, I checked "inf-clojure", you're right, ob-clojure should migrate to inf-clojure. it is more stable and more suitable for ob-clojure. Have you trie

[O] [PATCH] add :session support for ob-js.el

2018-03-12 Thread stardiviner
I added org-mode babel ob-js.el header argument :session. Following packages :session are supported: - skewer-mode - js-comint - Indium >From 2cdf05cf2fe3e0740997d9861c8ff8f81c163750 Mon Sep 17 00:00:00 2001 From: stardiviner <numbch...@gmail.com> Date: Fri, 9 Mar 2018 00:10:54 +080

[O] [PATCH] org-src-edit support open edit buffer bellow current window

2018-03-12 Thread stardiviner
Add a more better way to open src block. >From d0db82e0b3f7e6ff0102b4b08ba18de883da32e2 Mon Sep 17 00:00:00 2001 From: stardiviner <numbch...@gmail.com> Date: Tue, 13 Mar 2018 01:23:52 +0800 Subject: [PATCH] org-src.el: (org-edit-src) support open edit src window below. --- lisp/o

Re: [O] [ORG] [FEATURE] ob-js.el support :session for all existing JS packages

2018-03-12 Thread stardiviner
Aha, I see now. thanks for your answer. @Nick On 03/13/2018 01:54 AM, Nick Dokos wrote: "numbch...@gmail.com" writes: After add more code, not it supports `js-comint`, `skewer-mode`, `Indium`. Waited many days, still no response. Anyone want to review this code?

Re: [O] [PATCH] org-src-edit support open edit buffer bellow current window

2018-03-13 Thread stardiviner
I regenerated the path file. - mentioned `org-src-window-setup' in commit message - added `TINYCHANGE` in commit message - added change in `ORG-NEWS' >From 762f6c06621e12c98031363fe3e70345e342ffeb Mon Sep 17 00:00:00 2001 From: stardiviner <numbch...@gmail.com> Date: Tue, 13 Mar 2018

Re: [O] [PATCH] add :session support for ob-js.el

2018-03-13 Thread stardiviner
updated my code. I followed your suggestions. But modify code one by one messed code up. So I merge all related commits into one commit. Sorry for this. >From 23ef274fd418c876be85871f8da34738ae15ffd5 Mon Sep 17 00:00:00 2001 From: stardiviner <numbch...@gmail.com> Date: Thu, 8 Mar 2

[O] org export to PDF src block syntax highlighting not working

2018-03-13 Thread stardiviner
I use the following settings to toggle src block syntax highlighting: #+begin_src emacs-lisp ;;; export to PDF with src blocks syntax highlighting. (setq org-latex-listings 'minted) (add-to-list 'org-latex-packages-alist '("newfloat" "minted" "color")) (add-to-list 'org-latex-pdf-process    

[O] [PATCH] ob-clojure-literate.el need to improve the toggle way

2018-03-14 Thread stardiviner
I need to updated my ob-clojure-literate.el toggle functions. >From fa02d9ceb892626aa37a911d85d9074353b56bdf Mon Sep 17 00:00:00 2001 From: stardiviner <numbch...@gmail.com> Date: Wed, 14 Mar 2018 16:13:05 +0800 Subject: [PATCH 1/2] * ob-clojure-literate.el (ob-clojure-literate-en

Re: [O] [PATCH] org-src-edit support open edit buffer bellow current window

2018-03-16 Thread stardiviner
Hi, @Nicolas is this patch still has any thing need to change? Maybe this is missed, just popup to take a little of your time. Sorry for disturb. On 03/13/2018 06:19 PM, stardiviner wrote: I regenerated the patch file. - mentioned `org-src-window-setup' in commit message - added

[O] How to display babel src block language on exported PDF code block?

2018-04-05 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 By default org-mode export to PDF file does not have language indicator on code block. How to setup to add a language string on exported PDF code block like this HTML https://stardiviner.github.io/ ? - -- [ stardiviner ] don't need to convince

[O] [PATCH] add "link" :results type for Babel

2018-04-10 Thread stardiviner
params plist :results value ~link~. - [ ] So I put ~link~ and ~graphics~ "~:results~" type into a separate group in constant ~org-babel-common-header-args-w-values~. If anybody has better way, please improve my code. From dc3e482b1cad581b74a4303ca79375db6a6ba8

Re: [O] Need help on my writing org-mode test.

2018-04-10 Thread stardiviner
l", test passed. @Nicolas, does current existing testing should be updated to #+begin_src shell? Even though they all test passed currently. - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): st

[O] Need help on my writing org-mode test.

2018-04-08 Thread stardiviner
match "" inside-text)) (unwind-protect (progn (org-mode) (let ((point (string-match "From 51ed1e26852a0e7a0ef8fac4846c0f60ffcf4494 Mon Sep 17 00:00:00 2001 From: stardiviner <numbch...@gmail.com> Date: Sun, 8 Apr 2018 20:56:28 +0800 Subject: [PATCH] ob-core.el: add :results li

Re: [O] Clean up org-faces.el

2018-04-08 Thread stardiviner
;dark gray")) ; (3 '(:foreground "gray" :height 0.6)) ; [] (4 '(:foreground "cyan" :weight 'bold)) ; () )) 'append) ;; call_(arguments) (font-lock-add-keywords 'org-mode '(("\\(call_\\)\\([^[(]*\\)\\((.*)\\)" (1 '(:foregrou

[O] Let Org-mode support export to PDF with language indicator for src blocks

2018-04-10 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I found LaTeX can do this: https://tex.stackexchange.com/questions/342683/specify-box-with-header-around-listing I want to ask, can Org-mode support exporting to PDF by supporting this? - -- [ stardiviner ] don't need to convince with trends

Re: [O] LOGBOOK en PROPERTIES log the same

2018-04-05 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Cecil Westerhof writes: > I am experimenting with repeat tasks. When I mark something as DONE I get: > :LOGBOOK: > - State "DONE" from "TODO" [2018-04-05 Thu 10:34] > :END: > :PROPERTIES: >

[O] Need help on write new link type for link URI.

2018-04-14 Thread stardiviner
quot;%s -ss %s %s" | ;; FIXME: path has issue. | org-video-link-open-command start-timstamp (org-link-unescape path) | | (org-link-set-parameters "video" | :follow #'org-video-link-open | :complete #'org-file-comple

Re: [O] git push to Worg error

2018-04-13 Thread stardiviner
.git ? Not push to this repo directly? - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 -BEGIN PGP SIGNATURE- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAlrRU

[O] How to combine Lisp style and Calc style Table Formula together?

2018-04-08 Thread stardiviner
nt to apply $2 formula to all of resting columns. Org info only has Calc and Lisp style. But don't have how to combine them together. I don't know what's the (format "%1.1e" ..) function corresponding operator under Calc. - -- [ stardiviner ] don't need to convince with trends.

Re: [O] Clean up org-faces.el

2018-04-08 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rasmus <ras...@gmx.us> writes: > Hi, > > stardiviner <numbch...@gmail.com> writes: > >> Add face for inline src: src_ruby{require 'library'} >> >> Here is my custom face: ... > > Are you s

Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-08 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > It cloud even be in an Org ELPA Do You mean can publish package like MELPA separately? - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.

[O] [SOLVED] Re: How to combine Lisp style and Calc style Table Formula together?

2018-04-09 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thierry Banel <tbanelweb...@free.fr> writes: > Try this: > $2=$1;%1.1e > Thanks, this is really great. - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenod

Re: [O] Which org mode document should I modify for new header argument?

2018-04-09 Thread stardiviner
should I edit. stardiviner <numbch...@gmail.com> writes: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > I'm write a new feature for Org-mode, need to modify the document, which file > should I modify? > doc/org-manual.org or doc/org.texi? > If it is doc/o

Re: [O] Scheduling and calendar-day-of-week

2018-04-06 Thread stardiviner
to DONE. But then all are gone in my agenda > view. > What I want is for today's item to be 'gone' and the future ones still > displayed as TODO. Is that possible? - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/

  1   2   3   4   5   6   >