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

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 writes: > If I enter code inline that has an == that is taken as an escape for code > So how to enter '==' li

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 writes: > Dnia 2014-03-28, o godz. 16:09:01 > stardiviner 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 completio

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

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

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

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

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

2013-12-14 Thread stardiviner
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 if you want. That's it. IRC(freenode): stardiviner \ Twitter: @numbchild \

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

2014-03-28 Thread stardiviner
teractive) (lambda () (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

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

2018-09-23 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> `org-insert-link` should be smart on decide whether current buffer is the >> same buffer with `org-store-link` source buffer, if yes, use [[(set the temp >> buffer to unibyte)]]. If no, use: >&g

[O] pcomplete error inside of headline asterisks when typing asterisk

2018-10-10 Thread stardiviner
-begin (# # 182 2857) nil 151000]) #+end_example -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[O] temporary set source blocks major-mode-hook to nil locally to speed up Org Mode

2018-10-14 Thread stardiviner
thon-mode-hook has elpy etc - emacs-lisp-mode-hook has some utilities. Temporary disable those major-mode-hooks by set-local them to nil is a good solution to speed-up Org. WDYT? If I'm wrong, please give out some thought from you. Thanks. -- [ stardiviner ] don't nee

Re: [O] temporary set source blocks major-mode-hook to nil locally to speed up Org Mode

2018-10-17 Thread stardiviner
(funcall lang-mode)) (org-font-lock-ensure) (let ((pos (point-min)) next) (while (setq next (next-property-change pos)) #+end_src But it seems does not work as I expected. Can't find out which real function is invoked when fontify every source blocks. >From c

Re: [O] How to make agenda generation faster

2018-10-18 Thread stardiviner
uery it. > I think the same way. In some language library like Clojure's enlive handle the HTML string the same way. -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] temporary set source blocks major-mode-hook to nil locally to speed up Org Mode

2018-10-18 Thread stardiviner
cal-variable hook) + ;; (set hook nil) + ;; (message "%s is %s" hook (symbol-value hook))) + (funcall lang-mode)) (org-font-lock-ensure) (let ((pos (point-min)) next) (while (setq next (next-property-change pos)) #+end_src -- [ st

[O] (no subject)

2018-10-20 Thread stardiviner
Org source block header argument :var does not support quoted string with space separator like bellowing example: For example encrypt text -- ~<<< [TEXT]~ #+NAME: base64 encrypt text #+begin_src sh base64 <<< "stardiviner " #+end_src #+

[O] Org source block header argument :var does not support space separated string

2018-10-20 Thread stardiviner
Org source block header argument :var does not support quoted string with space separator like bellowing example: For example encrypt text -- ~<<< [TEXT]~ #+NAME: base64 encrypt text #+begin_src sh base64 <<< "stardiviner " #+end_src #+

Re: [O] Org source block header argument :var does not support space separated string

2018-10-21 Thread stardiviner
means there doesn't seem to be a problem with strings within > quotes. > > Regards, Oops, I misunderstand the :var variable="literal quoted string". I want to reference the named source's result in variable. Like: encrypt text -- ~<<< [TEXT]~ #+NAME: base6

Re: [O] Org source block header argument :var does not support space separated string

2018-10-23 Thread stardiviner
ill handle it. > Thanks very much! this solved my problem. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] electric-pair, autopair, smartparens, etc in org-mode

2018-10-23 Thread stardiviner
"+") 'skeleton-pair-insert-maybe) (define-key org-mode-map (kbd "[") 'skeleton-pair-insert-maybe) (define-key org-mode-map (kbd "{") 'skeleton-pair-insert-maybe) (define-key org-mode-map (kbd "(") 'skeleton-pair-insert-maybe) (define-key org-mode-ma

Re: [O] [PATCH] migrate ob-clojure initiate session code from ob-clojure-literate.el into ob-clojure.el

2018-10-23 Thread stardiviner
6a64e8619d974d6eb051fb1f7 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Thu, 19 Apr 2018 18:16:27 +0800 Subject: [PATCH 1/2] ob-clojure.el: Support `org-babel-initiate-session' to initialize. * ob-clojure.el (org-babel-clojure-initiate-session): Initialize session for src block. (org-babel-

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

2018-10-23 Thread stardiviner
Thanks for this hint, I added a new entry in org-src--babel-info list to pass the original parent file path. >From 6e8469545185a41d22b8046ebb367c3c742f0ff4 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Wed, 24 Oct 2018 10:45:40 +0800 Subject: [PATCH] org.el: fix org-coderef does not support

Re: [O] Inline code block syntax highlighting absence

2018-10-23 Thread stardiviner
nd answered my own question with a font-lock solution. This link might be helpful. https://stackoverflow.com/questions/20309842/how-to-syntax-highlight-for-org-mode-inline-source-code-src-lang -- [ stardiviner ] I try to make every word tell the meaning what I want to express.

Re: [O] Inline code block syntax highlighting absence

2018-10-24 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Garreau, Alexandre writes: >> >>> Why is there no syntax highlighting for *inline* source/code blocks? >>> >>> For instance, if I type the following: >>> >>>

Re: [O] [PATCH] migrate ob-clojure initiate session code from ob-clojure-literate.el into ob-clojure.el

2018-10-24 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Nicolas Goaziou writes: >> >> Hi, sorry for late response, because I'm a little lazy on give effort on >> review my patch and improve it again. But now I finished it. Actually I >>

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

2018-10-24 Thread stardiviner
ody (cons '(:target . "cljs") params))) > + > (provide 'ob-clojure) > > ;;; ob-clojure.el ends here Hi, @roberthambrock. I would like to have ob-clojure support ClojureScript too. But seems this patch is not merged yet, for a long time. Can I modify this patch and

Re: [O] ob-core.el macro org-babel-comint-with-output has error

2018-10-24 Thread stardiviner
stardiviner writes: > When I try to evaluate js src block code with session. > I found it is suspended. After edebug, found the problem is on macro > org-babel-comint-with-output. > > Here is a minimal reproduce code: > > #+begin_src emacs-lisp > (org-babel-comint-wit

Re: [O] [PATCH] migrate ob-clojure initiate session code from ob-clojure-literate.el into ob-clojure.el

2018-10-25 Thread stardiviner
-batch("\\(org\\|ob\\)") ert-run-tests-batch-and-exit("\\(org\\|ob\\)") (let ((org-id-track-globally t) (org-test-selector (if org-test-sele org-test-run-batch-tests("\\(org\\|ob\\)") eval((org-test-run-batch-tests org-test-select-re)) command-line-1((

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

2018-10-26 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Thanks for this hint, I added a new entry in org-src--babel-info list to >> pass the original parent file path. > > Thank you. Some comments follow. > >> - (language body arguments switches na

Re: [O] Inline code block syntax highlighting absence

2018-10-26 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> I did a search of "font-lock-add-keywords", "begin_src", "src_" etc in >> Org Mode source code, but have not found exact place where fontify >> function are. So I don

Re: [O] An Org-based productivity tool

2018-10-27 Thread stardiviner
to see one day this is implemented. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] An Org-based productivity tool

2018-10-27 Thread stardiviner
n configuring Emacs and Org Mode to fit what I want, then I reduce my setup to small again. I found it's time to keep it simple and clean now. Currently I only use Org Agenda and org clock to record all my activities. -- [ stardiviner ] I try to make every word tell the meaning wha

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

2018-10-30 Thread stardiviner
Hi, Nicolas, just a remind that have you reviewed my patch? Is it what you said in `INITIALIZE` argument? Is it fine to merge? -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode

[O] ox-epub exported EPUB file source block indent error maybe reason in ox-html

2018-10-31 Thread stardiviner
Here is the original issue link which describe my debug steps: https://github.com/ofosos/ox-epub/issues/25 Because there are lot of content and some images, so I don't copy them to here. Sorry for this distribute. -- [ stardiviner ] I try to make every word tell the meaning w

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

2018-11-01 Thread stardiviner
ete link prefixes, then RET for >> type-specific completion support >> (setq path (expand-file-name path))) >> ((eq org-link-file-path-type 'relative) >> (setq path (file-relative-name path))) >> + ((eq org-link-file-path-type 'adapt

[O] dynamic block :block thismonth seems not correct

2018-11-02 Thread stardiviner
++--+--+--| | Programming Projects.org | *File time* | ** | | | | | Web Scraping (Crawler) [5/30] | 0:24 | | | #+END: ``` But don&

[O] [SOLVED] Re: dynamic block :block thismonth seems not correct

2018-11-04 Thread stardiviner
This is because my today limited scope in :block thismonth. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG

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

2018-11-05 Thread stardiviner
Thanks, Nicolas. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

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

2018-11-05 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Because the variable `org-src-source-file' is a bridge to pass info >> between two buffers "source buffer" and source block opened "dedicated >> buffer". So this variable mu

[O] How to advice around org-insert-link to disable desc part of link?

2018-11-10 Thread stardiviner
link. So I hope can add an advice around function `org-insert-link` or somewhere should. Anybody knows how to do this? Can you show the code? I checked out `org-insert-link` source code, don't know how to add advice around it. -- [ stardiviner ] I try to make every word tell the me

[O] [Feature Request] Add an dispatcher command (keybinding) for inserting dynamic blocks

2018-11-15 Thread stardiviner
adlines 'inactive :parameters "y unit title=.7cm, y unit chart=.9cm" :tags-group-style '(("test"."group label font=\\color{blue}") ("toast"."group label font=\\color{green}")) :tags-bar-style 

[O] Display org-clock info in header line

2018-11-17 Thread stardiviner
t want to display org-clock info in frame-title. That's not the right place. I saw some Emacs extensions like tabs package (for example: nerdtab https://github.com/casouri/nerdtab) display a global top line instead of per-window. -- [ stardiviner ] I try to make every

[O] CUSTOM_ID property does not support Chinese

2018-11-25 Thread stardiviner
can't handle Chinese correctly. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] Feature request - Decouple org's keybindings from their functions

2018-11-28 Thread stardiviner
, when I said [C-c C-c] in Org, Every Org users know it. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG

[O] [Need Help] I need help, someone can help me debug on this?

2018-11-28 Thread stardiviner
Check out my previous email. (Because I lost the screenshot image file...) -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG

[O] ob-clojure should not tangle with inserting (ns ..) line when no :ns specified.

2018-11-30 Thread stardiviner
ke "nil", "" (empty string) or something else. Or when ~:ns~ header argument is not specified. So that the tangling will not auto insert ~(ns ..)~ line. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] ob-clojure should not tangle with inserting (ns ..) line when no :ns specified.

2018-12-02 Thread stardiviner
I would like to contribute on it. As I said previous, if I use "deps.edn", use `edn-mode' would solve this problem. But there is no `edn-mode'. I checked out MELPA, only has package named "edn" which is used to Support for reading and writing the edn data format from el

Re: [O] [Feature Request] Add an dispatcher command (keybinding) for inserting dynamic blocks

2018-12-02 Thread stardiviner
l will add this task in my list. UPDATE: I just checked out `org-link-parameters' related source code. I found it is not that complicated. I would like to have a try. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://s

Re: [O] ob-clojure should not tangle with inserting (ns ..) line when no :ns specified.

2018-12-05 Thread stardiviner
r inf-clojure was OK, but it lacked some > higher level features we do need as well, so it will take a bit of work. I'm currently switched to clj-new utility. I'm considering create an Emacs extension to invoke "clj-new". I'll start work on it in a few days. -- [ stardiviner

Re: [O] [Feature Request] Add an dispatcher command (keybinding) for inserting dynamic blocks

2018-12-19 Thread stardiviner
umns-width >From 16ff083a475b7f125136a7bbd131e85833ad822d Mon Sep 17 00:00:00 2001 From: stardiviner Date: Thu, 20 Dec 2018 09:21:38 +0800 Subject: [PATCH] org.el: Add dispatch command for inserting dynamic blocks * lisp/org.el (org-dynamic-block-insert-dispatch): The dispatch command for inse

Re: [O] [Feature Request] Add an dispatcher command (keybinding) for inserting dynamic blocks

2018-12-22 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> I add code patch in attachment. Nicolas, can you review it? > > Thank you. Some comments follow. > >> After running test with "make test", I got some failed test might >> related

Re: [O] [Feature Request] Add an dispatcher command (keybinding) for inserting dynamic blocks

2018-12-22 Thread stardiviner
I forgot my patch. Here it is. >From a14546b26a085e6f8342341e40e185e75358f306 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Sun, 23 Dec 2018 13:35:38 +0800 Subject: [PATCH] * lisp/org.el (org-dynamic-block-insert-dispatch): New function. (org-dynamic-block-parameters, org-dynamic-bl

Re: [O] [Feature Request] Add an dispatcher command (keybinding) for inserting dynamic blocks

2018-12-23 Thread stardiviner
stardiviner writes: I found `make test` report error void function on `org-dynamic-block-insert-dblock`. So I removed autoload cookies. The re-generated patch is in attachment. >From 96faa0ec9e0849e051542d89a78b376c52ee2ded Mon Sep 17 00:00:00 2001 From: stardiviner Date: Sun, 23 Dec 2

Re: [O] [Feature Request] Add an dispatcher command (keybinding) for inserting dynamic blocks

2018-12-27 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> The re-generated patch is in attachment. > > Thank you! :) > >> --- >> doc/org-manual.org | 9 ++--- >> etc/ORG-NEWS| 14 ++ >> lisp/org-clock.el | 5

Re: [O] Org-drill edit feature request

2018-12-27 Thread stardiviner
ing as before. > 2) add the notes. > 3) Ctrl-c Ctrl-s to resume. > > Do you think my workflow is more reasonable? > And i would like to hear more advices about the idea above. Thanks. > > LLCC -- [ stardiviner ] I try to make every word tell the meaning what

[O] New "next" branch has issue on LaTeX block fontify

2018-12-28 Thread stardiviner
I'm using the "next" branch version Org Mode, but found the LaTeX block has fontify issue. You can see in the attachment screenshot: -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/

Re: [O] Org mode at 34C3: my demo + request for help

2018-12-28 Thread stardiviner
I'd like to see a statistics of Org Mode and Emacs users too. How about use Org Mode to organize the project source code and publish as Org file? -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/

Re: [O] New "next" branch has issue on LaTeX block fontify

2018-12-29 Thread stardiviner
After long time bisect init files, I found which config caused this problem: ~(setq org-highlight-latex-and-related '(latex entities))~ This option caused that fontify issue. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog:

[O] How about Org Mode invalid link handling strategy for exporting?

2019-01-01 Thread stardiviner
t. Replace the original link part with an empty link. Do you any ideas? -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] [Feature Request] Add an dispatcher command (keybinding) for inserting dynamic blocks

2019-01-01 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Indeed, I mimicked `org-link-set-parameters' almost all. About this, I >> originally just lazy, now I have a thought about this alist of plist >> design, I think adding snippet-like text template s

Re: [O] Org-drill edit feature request

2019-01-03 Thread stardiviner
t;. So, something like this > > (shell-command "say \"Hello\") > > will say the word Hello out loud. I guess there are windows and linux > equivalents. > Indeed have similar command under Linux. The trouble is how to get the word every time org-drill change w

Re: [O] [Feature Request] Add an dispatcher command (keybinding) for inserting dynamic blocks

2019-01-03 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> As always, add patch as attachment. > > Thank you! I applied your patch, with minor tweaks. > > Regards, Thanks Nicolas. I will continue contribute in Org Mode. -- [ stardiviner ] I t

[O] [SOLVED] How about Org Mode invalid link handling strategy for exporting?

2019-01-03 Thread stardiviner
I have not found that option. Thanks. I checked the org-manual.org now, it's mentioned. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner

[O] [FEATURE] exporting with write partially to solve big Org file slowing exporting

2019-01-03 Thread stardiviner
by one. it will be better. If you have any other idea, please tell me. Thanks. Regards. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner

[O] [PATCH] fix org-num-mode detect enabled already issue

2019-01-05 Thread stardiviner
rg-num--verify nil t)) - (t -(mapc #'delete-overlay org-num--overlays) -(setq org-num--overlays nil) -(remove-hook 'after-change-functions #'org-num--verify t + (add-hook 'after-change-functions #'org-num--verify nil t))) -- [ stardiviner ]

Re: [O] Org-drill broken with Org 9.2

2019-01-06 Thread stardiviner
Confirmed, I got same problem. I'm using the latest master branch of Org source code. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner

Re: [O] [PATCH] fix org-num-mode detect enabled already issue

2019-01-06 Thread stardiviner
config added to hook. 2. Execute command with `[M-x org-mode]` again, then it will become as in screenshot. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matr

Re: [O] [PATCH] fix org-num-mode detect enabled already issue

2019-01-06 Thread stardiviner
on nil nil))) + (add-hook 'after-change-functions #'org-num--verify nil t)) (mapc #'delete-overlay org-num--overlays) (setq org-num--overlays nil) -(remove-hook 'after-change-functions #'org-num--verify t +(remove-hook 'after-change-functions #&#x

[O] recently header argument :file does not respect :dir anymore

2019-01-08 Thread stardiviner
gument need dir like ~:file~, this will make ~:tangle~ and other related header arguments shorter. WDYT? -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

Re: [O] exporting code blocks with continued line numbers?

2019-01-08 Thread stardiviner
This solved a problem in my todo list. Thanks for sharing. John. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG

[O] [PATCH] Add feature to org-drill to auto pronounce word

2019-01-09 Thread stardiviner
I spend a little time to check out org-drill source code, to find out where I can insert hook to run function when presenting word. Then I finally found the place in ~org-drill-entry~. Here is my patch. >From 81765e9395f5c0bec21d44aeaf16919d35a39eee Mon Sep 17 00:00:00 2001 From: stardivi

Re: [O] ob-clojure should not tangle with inserting (ns ..) line when no :ns specified.

2019-01-09 Thread stardiviner
stardiviner writes: > The ob-clojure tangle will insert ~(ns ..)~ from babel header argument :ns or > use defualt ~(ns user)~. > >#+begin_src clojure :eval no :ns "" :tangle > "data/code/xunfei-clj-demo/project.clj" :results link :file >

Re: [O] manual: stale bindings for org-clock-report and org-columns-insert-dblock

2019-01-11 Thread stardiviner
Kyle Meyer writes: > Hello, > > 34b71a0ca (Add a dispatcher command for inserting dynamic blocks, > 2018-12-23) removed the key bindings of org-clock-report and > org-columns-insert-dblock, but these bindings are still listed in > org-manual.org. stardiviner, could you ple

Re: [O] ob-clojure should not tangle with inserting (ns ..) line when no :ns specified.

2019-01-13 Thread stardiviner
ithout-ns" test-dirty I got: ``` Loading /home/stardiviner/Code/Emacs/org-mode/testing/lisp/test-property-inheritance.el (source)... selected tests: ob-clojure/tangle-without-ns Running 0 tests (2019-01-14 13:27:58+0800) Ran 0 tests, 0 results as expected (2019-01-14 13:27:58+0800) make cl

Re: [O] [Patch] [Feature request] Add option to natively fontify latex snippets and environment

2019-01-14 Thread stardiviner
h should need more test. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[O] [SOLVED] Re: recently header argument :file does not respect :dir anymore

2019-01-15 Thread stardiviner
This is solved, I found this problem is on package "ob-async" can't handled the :dir correctly. And it's fixed in latest ob-async now. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/

[O] How to pass shell command result to :post source-block?

2019-01-18 Thread stardiviner
to do this correctly? -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[O] [SOLVED] Re: How to pass shell command result to :post source-block?

2019-01-18 Thread stardiviner
│   ├── cleanup │   ├── flush │   ├── pickup │   ├── qmgr │   └── showq ├── saved └── trace 26 directories, 30 files #+end_example -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): sta

Re: [O] How to pass shell command result to :post source-block?

2019-01-19 Thread stardiviner
he output to `ansi-escape-filter`. You > can also check the example in the org info page for the :post header > argument. > > > Best, > Ihor > Thanks for your detailed explanation. After your hint, I just checked out =org-manual.org= about the Post-processing :post example. It

[O] [PATCH] ob-clojure should not tangle with inserting (ns ..) line when no :ns specified.

2019-01-20 Thread stardiviner
th Because few days passed, make sure the patch is the latest version. I attached my patch again. >From 8a64ccf659afcbd510e69eaa4ac175946f1ae311 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Thu, 10 Jan 2019 09:34:39 +0800 Subject: [PATCH] lisp/ob-clojure.el: Don't tangle with aut

Re: [O] [PATCH] ob-clojure should not tangle with inserting (ns ..) line when no :ns specified.

2019-01-21 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> From 8a64ccf659afcbd510e69eaa4ac175946f1ae311 Mon Sep 17 00:00:00 2001 >> From: stardiviner >> Date: Thu, 10 Jan 2019 09:34:39 +0800 >> Subject: [PATCH] lisp/ob-clojure.el: Don't

Re: [O] ob-clojure with tangling current broken

2019-01-21 Thread stardiviner
le is taking a different direction > than > I am used to. Is there a rational behind this behaviour or is there a new > feature > that I am not aware of which properly handle those two use cases? > Which part you don't understand, I might can answer your question, because I

Re: [O] ob-clojure with tangling current broken

2019-01-22 Thread stardiviner
hanges in last year. > > The only thing I meant here is that the last time I looked into this code, it > was quite different, you guys appears to have worked a lot on it. > > Another thing I discovered is the =ob-clojure-literate=, but even after > reading its [sparse] doc and its co

Re: [O] [PATCH] Add feature to org-drill to auto pronounce word

2019-01-24 Thread stardiviner
A gentle ping.. stardiviner writes: > I spend a little time to check out org-drill source code, to find out > where I can insert hook to run function when presenting word. > > Then I finally found the place in ~org-drill-entry~. Here is my pat

Re: [O] org-tempo violating org-mode conventions since 9.2

2019-01-26 Thread stardiviner
them down according to one's >> liking ;). >> >> Regards >> hmw I agree. I upvote an option for this option. I remember there is an option before, but someday it's gone. Now still has a similar option `org-babel-uppercase-example-markers'. They c

Re: [O] [PATCH] Add feature to org-drill to auto pronounce word

2019-01-26 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> A gentle ping.. > > I'm not sure "org-drill.el" is still actively maintained. I'm Cc'ing > Paul Sexton. In the long run, I think this package could be packaged > through E

Re: [O] [PATCH] Add feature to org-drill to auto pronounce word

2019-01-29 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Nicolas Goaziou writes: >> >>> Hello, >>> >>> stardiviner writes: >>> >>>> A gentle ping.. >>> >>> I'm not sure "org-drill.el&qu

Re: [O] [PATCH] Add feature to org-drill to auto pronounce word

2019-01-31 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Oh, sorry, seems yes. > > OK. A couple of comments if you don't mind. >> +(defcustom org-drill-pronounce-command "" >> + "Org-drill pronounce command." >> + :type

Re: [O] [RFC] Org Num library

2019-02-03 Thread stardiviner
numbering if necessary. > +This function is meant to be used in `post-command-hook'." > + (when (and org-num-visible-only (/= org-num--start (point-min))) > +(setq org-num--start (point-min)) > +(org-num--update))) > + > > ;;; Public Functions > &

[O] Org can't export inline image link to PDF

2019-02-19 Thread stardiviner
blank. Do I need some extra settings to make it work? -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[O] [Proposal] Make Org keybinding popup buffer/window controllable?

2019-02-19 Thread stardiviner
up buffers. Really. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[O] How to simply add tag system for org-publish blog?

2019-02-19 Thread stardiviner
blog post page. - click on the blog tag can list out all posts having this tag. I don't know much about web technology. So if asked a dummy question, please forgive me about this. And if someone have any idea, welcome to tell me. Thanks. -- [ stardiviner ] I try to make every wor

Re: [O] Org can't export inline image link to PDF

2019-02-19 Thread stardiviner
if possible, I still hope Org can fix this problem. stardiviner writes: > I have an inline image link like this in Org file: > > ```org > #+ATTR_ORG: :width 300 > #+ATTR_LATEX: :width 3.0in > #+ATTR_HTML: :width 300px > [[file:data/images/me_picture%2023.jpg]] > ``` >

Re: [O] [Proposal] Make Org keybinding popup buffer/window controllable?

2019-02-20 Thread stardiviner
Eric S Fraga writes: > On Wednesday, 20 Feb 2019 at 12:23, stardiviner wrote: >> My notebook computer is a smaller screen computer. When I open 5, 6 >> windows, it will make every window small. When I using >> `org-insert-structure-template` or `org-export-dispatch`, They

Re: [O] Org can't export inline image link to PDF

2019-02-20 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Now I figured out, because the filename contains a space, which Org auto >> converted to `%20' when exit org-insert-link. That's why can't see the >> inline image in exported PDF file. A

Re: [O] URL storage and search - Bookmark+ vs Org Mode

2019-02-20 Thread stardiviner
your internet bookmarks, both to store a particular article or the > home page of a website? > > > Thanks for your time, > > Roland Everaert. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiv

[O] How to set Org to export to PDF with image background or color?

2019-02-21 Thread stardiviner
I'm writing a simple resume with Org Mode, and exporting to PDF. I want to add an image or color as background for every page of resume PDF file. Does anyone knows how to do that? Or have some template for this? Thanks in advance. Thanks. -- [ stardiviner ] I try to make every

  1   2   3   4   5   6   >