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

2019-02-22 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Here is the screenshot in attachment, you can see the characters 23.bb >> left side of the inline image. >> >> The original Org inline image format is: >> >> ```org >>

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

2019-02-22 Thread stardiviner
ckground settings. \lipsum[1-30] \end{document} #+end_src stardiviner writes: > 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? >

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

2019-02-23 Thread stardiviner
Vladimir Lomov writes: > Hello, > ** stardiviner [2019-02-22 17:16:41 +0800]: > >> >> Nicolas Goaziou writes: >> >>> Hello, >>> >>> stardiviner writes: >>> >>>> Here is the screenshot in attachment, you can see the

Re: [O] [RFC] Fixing link encoding once and for all

2019-02-25 Thread stardiviner
ort Org Mode, then can insert link with encoded and handle this properly. WDYT? > Footnotes: > > [1] E.g., <http://lists.gnu.org/r/emacs-orgmode/2019-02/msg00265.html> > or <http://lists.gnu.org/r/emacs-orgmode/2019-02/msg00292.html>. > > [2] There is no clear mecha

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

2019-02-25 Thread stardiviner
Vladimir Lomov writes: > Hello, > > ** stardiviner [2019-02-23 18:19:05 +0800]: > > [...] > >>>> I checked the =Resume.tex= file. The raw latex is this: >>>> >>>> #+begin_src latex >>>> \begin{center} >>>>

[O] void function definition of org-dynamic-block-define

2019-02-27 Thread stardiviner
Yesterday, I restarted my Emacs, then I found emacs raise following error: * Stacktrace #+begin_example Debugger entered--Lisp error: (void-function org-dynamic-block-define) (org-dynamic-block-define "clocktable" #'org-clock-report) eval-buffer(# nil "/home/stardi

[O] [SOLVED] Re: void function definition of org-dynamic-block-define

2019-02-27 Thread stardiviner
I suddenly come up with one package "[[https://github.com/stardiviner/kiwix.el][kiwix.el]]"; I recently enabled. It caused this issue which Org is not fully loaded. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. B

Re: [O] [Proposal] Make header argument :mkdirp yes work for other header arguments not just :tangle

2019-03-01 Thread stardiviner
:results > file link > echo "hello" > #+end_src > > Do you have any idea about this? I made a patch for make ~:mkdir~ support for ~:dir~ header argument. But I still got some issues. I added patch in attachment. >From 708cc9a1fba5869941bcff0cefcaf47f64838ce3 Mo

Re: [O] [Proposal] Make header argument :mkdirp yes work for other header arguments not just :tangle

2019-03-02 Thread stardiviner
d-file-name dir))) default-directory))' #+end_example After fix, the patch works fine and passed all tests include my write corresponding test. >From 53103450181c86c5b5fe07e7d4222618f9d1d8f8 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Sat, 2 Mar 2019 12:11:47 +0800 Subject:

Re: [O] [RFC] Fixing link encoding once and for all

2019-03-02 Thread stardiviner
ollowed only by 25, 5B, and 5D. > About this, I'm curious, is it possible let this checker search and interactive query replace with running recursively in a directory for all Org files. If Org updated, I hope my Org documents are update too. > WDYT? > > 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 GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[O] [FEATURE] Make header argument :mkdirp yes work for other header arguments not just :tangle

2019-03-02 Thread stardiviner
So I added a simple patch to make it work. (I posted message before, but I forgot to update the subject which might be ignored, so I post a new one again.) >From 53103450181c86c5b5fe07e7d4222618f9d1d8f8 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Sat, 2 Mar 2019 12:11:47 +0800

Re: [O] [FEATURE] Make header argument :mkdirp yes work for other header arguments not just :tangle

2019-03-03 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> I hope ~:mkdirp~ header argument can also work for other related header >> arguments >> like ~:dir~, ~:file~ etc not just ~:tangle~. Like following example. >> >> #+begin_src sh :mkdirp y

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

2019-03-04 Thread stardiviner
ber correctly, that commit indeed added changes in ORG-NEWS. So... That's all I can say. I suggestion you check out Git log history with blame, to figure what change that command behavior. And don't be rude to people. -- [ stardiviner ] I try to make every word tell the meaning

Re: [O] [FEATURE] Make header argument :mkdirp yes work for other header arguments not just :tangle

2019-03-04 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> New patch in attachment. > > Thank you. > >> From aafdd41f7ae5f6218a2be890f58d45be443de4a9 Mon Sep 17 00:00:00 2001 >> From: stardiviner >> Date: Sat, 2 Mar 2019 12:11:47 +0800 >>

[O] [Discuss] make :tangle header argument respect :dir could save info typing

2019-03-04 Thread stardiviner
html/html-snippet) [:div]) #+end_src This is long, I know there is ~#+headers:~ for source block. But reduce info would be better. I also consider the disadvantage of this change. Some user's existing source block might be broken. Let's level this change for discussion. --

Re: [O] [ANN] Changes to link syntax

2019-03-14 Thread stardiviner
xisting Org file links? (Sorry for second time asking this, you have not mentioned it, so I asked again, it's important for me, or people who want to upgrade to new link syntax). I don't know which special escaped characters need to be converted. If someone already has command to do this.

Re: [O] org-drill futures

2019-03-16 Thread stardiviner
can get it. You might want to ask org-drill author, I remember I used to send email to him. But got respond late. And you can publish the PATCH here. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/

Re: [O] [ANN] Changes to link syntax

2019-03-17 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> Hi, @Nicolas, will you release a method to update all existing Org >> file links? > > This is not limited to file links. > > There is no method that can, with certainty, convert old syntax into t

Re: [O] [ANN] Changes to link syntax

2019-03-19 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> So I have to consider a safer and larger method to upgrade link. I can't >> manually open every Org files and run linter on them. > > I already offered a function for replacing it in a file. You

Re: [O] [Discuss] make :tangle header argument respect :dir could save info typing

2019-03-19 Thread stardiviner
mkdirp= forces creation of the directory for tangle output, i.e. when you > =org-babel-tangle= where do you put the output source code? =:mkdirp= already support for auto force create of directory =:dir= now. > > They are quite separate concerns. > > Regards, > Sean > > On T

Re: [O] [ANN] Changes to link syntax

2019-03-26 Thread stardiviner
Nicolas Goaziou writes: > stardiviner writes: > >> Hi, @Nicolas, will you release a method to update all existing Org >> file links? > > On second though, you may want to test the following: > > (defun org-update-link-syntax () > "Update syntax fo

Re: [O] [ANN] Changes to link syntax

2019-03-26 Thread stardiviner
Nicolas Goaziou writes: > stardiviner writes: > >> Hi, @Nicolas, will you release a method to update all existing Org >> file links? > > On second though, you may want to test the following: > > (defun org-update-link-syntax () > "Update syntax fo

[O] [ISSUE] links navigation not consistent behavior

2019-03-27 Thread stardiviner
] - [ ] https://www.youtube.com/watch?v=yUTxm29fjT4 #+end_src When my point at beginning of buffer, then press {{{kbd(C-c C-x C-n)}}} , it does not jump to first link, it jump to second link instead. But when I jump backwards with {{{kbd(C-c C-x C-p)}}} works fine. -- [ stardiviner ] I try

Re: [O] Python source block and :dir header arg

2019-04-04 Thread stardiviner
ed to run the session, > in this case to the directory "../base/run", where "base" is the parent > directory the file visited by the current buffer. Instead, I get > "../base". Is this a bug? It works fine in my machine. It print absolute path to "/run&qu

Re: [O] [ANN] Changes to link syntax

2019-04-07 Thread stardiviner
stardiviner writes: > After finished this upgrading, I will write a blog post about this for > helping user migration. As I said, I wrote a simple blog post about how to upgrade to new link syntax. https://stardiviner.github.io/Blog/upgrade-Org-link-syntax-to-new.html -- [ stard

Re: [O] [ISSUE] links navigation not consistent behavior

2019-04-07 Thread stardiviner
I'm using the latest commit of master branch of Org. Still have link navigation problem. It used can treat http:// like url as link too. Now it is ignored. Is it on designed or an issue? -- [ stardiviner ] I try to make every word tell the meaning what I want to express.

Re: [O] [ISSUE] links navigation not consistent behavior

2019-04-09 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> I'm using the latest commit of master branch of Org. Still have link >> navigation problem. >> >> It used can treat http:// like url as link too. Now it is ignored. Is >> it on de

Re: [O] [ISSUE] links navigation not consistent behavior

2019-04-11 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: >> #+begin_src org >> https://www.bing.com >> >> ,* link in properties drawer >> :PROPERTIES: >> :URL: http://www.google.com >> :END: >> >> https://www.bing.co

Re: [O] Viewing animated gif as inline video

2019-04-14 Thread stardiviner
e. I don't know whether Emacs can support display .gif animated image file inline in Org Mode buffer. But I think if Emacs can display .gif in single buffer, should be able to display inline with some hacks. -- [ stardiviner ] I try to make every word tell the meaning what I want to e

Re: [O] [PATCH] ob-sql.el: Option to reference connections in `sql-connection-alist'

2019-04-17 Thread stardiviner
> s. Now this patch is applied. I'm curious about a simple ob-sql source block example of using the ~:dbconnection~ as a proof of code? -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode):

Re: [O] Bug: org-code face not rendering over org-level-* faces [9.2.3 (release_9.2.3-374-g0b0aa4 @ /home/matt/.emacs.d/straight/build/org/)]

2019-05-20 Thread stardiviner
on `org-code` should be higher precedence > for `foreground`. I got same problem. - GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2019-02-22 - Org mode version 9.2.1 (release_9.2.1-274-ge3b7c3.dirty @ /home/stardiviner/Code/Emacs/org-mode/lisp/) Not just `org-code&#x

[O] A recent fix caused other face highlighting issue

2019-05-28 Thread stardiviner
This commit "42abf5c6954dee8410e33d0c5140d3b36c9d1c15" try to fix org-do-emphasis-faces function on strike-through fontification on heading. But it failed on verbatim like ~code~, =verbatim= etc. Can it be reverted? or provide another solution? -- [ stardiviner ] I try to

Re: [O] Output result of source block to a file

2019-06-05 Thread stardiviner
; plt.ylabel('energy (Ha)') > plt.title('Energy vs scale') > plt.legend() > plt.savefig(file) > print ("[[./%s]]" % file) > #+end_src > > This is the error: > > NameError: name 'file' is not defined > > Obviously the synt

Re: [O] Output result of source block to a file

2019-06-07 Thread stardiviner
Roger Mason writes: > Hello, > > stardiviner writes: > >> Roger Mason writes: >> >>> Hello, >>> >>> I want to output the result of the evaluation of a (python) source block >>> to a (graphics) file and have a link to the file ins

[O] [ISSUE] source block coderef link does not work when not under same headline

2019-06-15 Thread stardiviner
t "hi") ; (ref:kk) ,#+end_src [[(kk)]] ,* test across headline [[(kk)]] #+end_src -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matr

[O] ob-python specify session error

2019-06-18 Thread stardiviner
(cond (arg ...) (...) (t ...) ((eq type 'timestamp) (funcall pcase-0)) ((eq type 'planning) (cond ((org-at-timestamp-p 'lax) (funcall pcase-0)) ((run-hook-with-args-until-success 'org-ctrl-c-ctrl-c-final-hook) nil) (t (user-error (substitute-com

[O] latest org-attach.el change (commit "4939b4175") invalid download sub-command

2019-06-20 Thread stardiviner
This latest org-attach.el change (commit "4939b4175") make some command like =org-attach= + =[u]= for downloading is invalid. I git check out before this commit, confirmed. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. B

Re: [O] latest org-attach.el change (commit "4939b4175") invalid download sub-command

2019-06-24 Thread stardiviner
Kyle Meyer writes: > stardiviner writes: > >> This latest org-attach.el change (commit "4939b4175") > > That commit didn't touch org-attach.el, but it's the parent of 72124726a > (org-attach: Make dispatcher commands customizable, 2019-04-26), which &g

Re: [O] [RFC] Replace lambda functions added to org-mode-hook with named funcs

2019-10-06 Thread stardiviner
ok > ./org-indent.el:188: (add-hook 'filter-buffer-substring-functions > ./org-mouse.el:1085:(add-hook 'org-agenda-mode-hook > ./org-mouse.el:856:(add-hook 'org-mode-hook > ./org-src.el:745: (add-hook \\='org-src-mode-hook > ./org

Re: [O] [ANN] org-sidebar-tree: Sidebar tree-view buffer for outline navigation

2019-10-06 Thread stardiviner
x27;m sure wider testing will reveal some > improvements to be made. I'd appreciate any feedback. > > Thanks, > Adam -- [ 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] Inserting a link when setting a property

2019-10-06 Thread stardiviner
t; works? I think you have to add an empty property (without value) at first, then manually move to that property link, and invoke command =[C-c C-l]= (~org-insert-link~). This what I do now. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog:

Re: [O] Oas: a small addon to Org Mode to automatically close tasks with statistics

2019-10-06 Thread stardiviner
only for TODO that have > statistics. > > How could I propose this as an add-on of Org Mode? Do you think it is > worth the effort? > > Any feedback is very welcome to learn more :) > > Best, > > Andrea > > [0] https://github.com/ag91/org-active-statistics

Re: [O] Feature Request: Use ~org-set-tags-command~ for ~%^g~ in capture

2019-10-06 Thread stardiviner
27;m used to otherwise. I'm looking for this method too. Have you found solution now? -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardivine

Re: [O] [Feature proposal] Add :description function to org-link-parameters

2019-10-06 Thread stardiviner
t; (defun org-id-link-desk (link desk) > "Description function for id: link." > (let ((id (cadr (split-string link ":" > (org-with-point-at (org-id-find id 'marker) > (s-replace "||" "/" (yant/task-fulltitle) > > (org-li

Re: [O] [PATCH] ob-plantuml.el support for non-UML diagrams

2019-10-06 Thread stardiviner
diagrams without @startuml/@enduml as well as non-UML diagrams that > contain any @start-/@end- clause. > > Regards > > Henrik Koschitzki -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.

Re: [O] Feature request: add leading zeroes to align ordered lists with indexes of different length

2019-10-06 Thread stardiviner
Y people have died from it. And ANYBODY > can get it at any time. -- [ 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] Shameless plug: blog series on how to use org mode features (PIM)

2019-10-06 Thread stardiviner
- Finding stuff within Org mode > - ... > > Comments welcome! > > > PS: Sorry for the advertisement in case you're feeling upset. I'm not earning > any money with my web page though! -- [ stardiviner ] I try to make every word tell the meaning what I want to

Re: [O][BABEL] Editing asymptote source code blocks

2019-11-23 Thread stardiviner
source code block contents, but I still get the > same error on > calling `asy-compile`. > > I would appreciate any suggestions to fix this problem. You need to use ADVICE to change the org babel generate/create template file under =/tmp/ob-*=. Make sure the generate temporary file

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-11 Thread stardiviner
Hi Gustav, I suggest to add support for =[Ctrl-C Ctrl-l]= like ~file:~ link type. which will auto in completion list. It will be convenient for user. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-12 Thread stardiviner
Gustav Wikström writes: > Hi stardiviner, > > It is my belief that =[Ctrl-C Ctrl-l]= already is supported. You will only > get suggestions for attachments if there are any attachments on the outline > node you're in. Or in any of its parents if inheritance is configure

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-13 Thread stardiviner
Gustav Wikström writes: > Hi, > >> -Original Message----- >> From: stardiviner >> Sent: den 12 december 2019 10:53 >> To: Gustav Wikström >> Cc: numbch...@gmail.com; emacs-orgmode@gnu.org >> Subject: Re: [O] FW: [RFC] Link-type for attachments,

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-14 Thread stardiviner
Gustav Wikström writes: > FYI, pushed to master. Commit 26ace9004 Thanks -- [ 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] FW: [RFC] Link-type for attachments, more attach options

2019-12-15 Thread stardiviner
Gustav Wikström writes: > FYI, pushed to master. Commit 26ace9004 > After update, I found the new attachment link type can't display inline image now. Maybe should keep *both* original ~file:~ link type and new ~attachment:~ link type in stored link? WDYT, Gustav? -- [

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-15 Thread stardiviner
[attachment:screenshot.png]] # inline image does not work [[attachment:screenshot.png][description]] #+end_src I tested by EMC, found this is caused by some option. I will figure it out. Thanks! -- [ stardiviner ] I try to make every word tell the meaning what I want to ex

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-15 Thread stardiviner
Gustav Wikström writes: >> -Original Message- >> From: Emacs-orgmode On >> Behalf Of stardiviner >> Sent: den 15 december 2019 15:26 >> To: Gustav Wikström >> Cc: emacs-orgmode@gnu.org >> Subject: Re: [O] FW: [RFC] Link-type for attachment

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-16 Thread stardiviner
I found another problem, =[C-c C-a d]= does not give out delete available attachment files. Maybe other places is affected, suggest you check out other places. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2019-12-16 Thread stardiviner
stardiviner writes: > I found another problem, =[C-c C-a d]= does not give out delete available > attachment files. Maybe other places is affected, suggest you check out other > places. Ehh, sorry, today I found I can use this again. Weird that yesterday I got nothing. -- [ st

Re: ob-js and Indium

2019-12-19 Thread stardiviner
9 > > > There is an “indium-launch-nodejs” instead that works with > the current client-server model for Indium. > > I'll try to replace “indium-run-node” for > “indium-launch-nodejs” and provide a proper config for an > ob-js REPL in a “.indium.json” but any pointers you co

Re: Org export to HTML with encrypted information ??

2019-12-20 Thread stardiviner
personal information in some public Org files but encrypt Org headlines with org-crypt too. My idea is still use org-export-to-html. And use JavaScript to decrypt the encrypted contents. That will have more control on your hand. More choices. -- [ stardiviner ] I try to

the latest commit broke the inline image preview

2019-12-21 Thread stardiviner
After EMC testing, the latest commit " 04d2828ad org: Fix verbatim block fontification to end blocks on headlines " break the inline image preview If possible, I think Org Mode should add test for inline image. -- [ stardiviner ] I try to make every word tell the mean

[SOLVED] Re: the latest commit broke the inline image preview

2019-12-23 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> After EMC testing, the latest commit " 04d2828ad org: Fix verbatim block >> fontification to end blocks on headlines " break the inline image >> preview I try to git checkout a c

How to get parsed output of org-eww-copy-for-org-mode ?

2019-12-24 Thread stardiviner
e like variable or register. So that I can yank in capture buffer again. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiv

Re: How to get parsed output of org-eww-copy-for-org-mode ?

2019-12-25 Thread stardiviner
Adam Porter writes: > You may find the package org-web-tools useful. Interesting, =org-web-tools= is useful, I will dive into source code to find what is usable in my purpose. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: ht

refile captured to all opened Org buffer files as targets

2019-12-25 Thread stardiviner
; all opened Org buffer files headlines )) #+end_src Can I add this as a patch to Org Mode repository? -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): st

[SOLVED] Re: How to get parsed output of org-eww-copy-for-org-mode ?

2019-12-25 Thread stardiviner
Adam Porter writes: > You may find the package org-web-tools useful. Thanks, Adam I found function ~org-web-tools--html-to-org-with-pandoc~ which can be used in my case. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: ht

Re: refile captured to all opened Org buffer files as targets

2019-12-26 Thread stardiviner
)) #+end_src I think this can be an option for user who might think this is useful like in my situation. (I want to refile capture elfeed RSS entry to one of my opened Org buffer's specific headline.) -- [ stardiviner ] I try to make every word tell the meanin

Re: refile captured to all opened Org buffer files as targets

2019-12-26 Thread stardiviner
%(my/org-capture-elfeed-title) :PROPERTIES: :SOURCE: %(my/org-capture-elfeed-source) :DATE(original): %(my/org-capture-elfeed-date) :DATE: %u :END: %(my/org-capture-elfeed-content)" :empty-lines 1 :jump-to-captured t)) #+end_src If possible, I might submit th

Re: How to get parsed output of org-eww-copy-for-org-mode ?

2019-12-26 Thread stardiviner
;; Headers are fixed up later by org-capture. > > (find-file org-website-page-archive-file) > (goto-char (point-max)) > ;; Leave a blank line for org-capture to fill in > ;; with a timestamp, URL, etc. > (insert "\n\n") > ;; Insert the web content but kee

Re: refile captured to all opened Org buffer files as targets

2019-12-27 Thread stardiviner
t the list to Export buffers. > filesrestrict the list to buffers visiting Org files. > agenda restrict the list to buffers visiting agenda files. > > If EXCLUDE-TMP is non-nil, ignore temporary buffers. This is very awesome, thanks! :) -- [ stardiviner ] I try to make

Add a new link type for video files

2020-01-03 Thread stardiviner
;^" (regexp-quote pwd) "\\(.+\\)") (expand-file-name file)) (concat "video:" (match-string 1 (expand-file-name file (t (concat "video:" file) (org-link-set-parameters "video"

Re: attachment: link type export to HTML invalid attach dir

2020-01-13 Thread stardiviner
function ~(org-attach-dir)~, it returns ~nil~ when in exporting to HTML, but when I evaluate ~(org-attach-dir)~ interactively under the headline, it works correctly. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2020-01-13 Thread stardiviner
I found when I set option ~(setq org-attach-store-link-p t)~. Then attach a file, store file link with =[C-c C-l]=. The stored link. I open this link got error "No such file: ". I tested this with minimal Emacs config. confirmed this problem. -- [ stardiviner ] I try to

Re: attachment: link type export to HTML invalid attach dir

2020-01-13 Thread stardiviner
nt is exported as this (HTML page): #+begin_example Strings are not Lists, but Anyway… In Calva Paredit, strings are treated in much the same way as lists are. Here’s an example showing Slurp and Barf, Forward/Backward List, and Grow Selection. file:///home/stardiviner/Org/Wiki/Computer Technology/Prog

Re: attachment: link type export to HTML invalid attach dir

2020-01-14 Thread stardiviner
Gustav Wikström writes: > Hi again, > >> -Original Message- >> From: Emacs-orgmode On >> Behalf Of stardiviner >> Sent: den 14 januari 2020 06:04 >> To: Gustav Wikström >> Cc: emacs-orgmode@gnu.org >> Subject: Re: attachm

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2020-01-14 Thread stardiviner
Gustav Wikström writes: > Hi, > >> -Original Message- >> From: Emacs-orgmode On >> Behalf Of stardiviner >> Sent: den 13 januari 2020 14:42 >> To: emacs-orgmode@gnu.org >> Subject: Re: [O] FW: [RFC] Link-type for attachments, more attach op

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2020-01-16 Thread stardiviner
Gustav Wikström writes: > Hi, > >> -Original Message----- >> From: stardiviner >> Sent: den 15 januari 2020 07:21 >> To: Gustav Wikström >> Cc: numbch...@gmail.com; emacs-orgmode@gnu.org >> Subject: Re: [O] FW: [RFC] Link-type for attachments, mo

Re: attachment: link type export to HTML invalid attach dir

2020-01-16 Thread stardiviner
Gustav Wikström writes: > Hi, > >> -Original Message----- >> From: stardiviner >> Sent: den 15 januari 2020 06:53 >> To: Gustav Wikström >> Cc: numbch...@gmail.com; emacs-orgmode@gnu.org >> Subject: Re: attachment: link type export to HTML inva

Missing `org-attach-set-inherit' function

2020-01-16 Thread stardiviner
-- [ 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] FW: [RFC] Link-type for attachments, more attach options

2020-01-18 Thread stardiviner
stardiviner writes: I finally figured out why the link always failed. Because it use wrong variable which is old filename path. I attached a patch. > Gustav Wikström writes: > >> Hi, >> >>> -Original Message- >>> From: stardiviner >>> S

Re: Missing `org-attach-set-inherit' function

2020-01-18 Thread stardiviner
Gustav Wikström writes: > Hi, > >> -Original Message- >> From: Emacs-orgmode On >> Behalf Of stardiviner >> Sent: den 17 januari 2020 08:39 >> To: emacs-orgmode@gnu.org >> Subject: Missing `org-attach-set-inherit' function >> &g

Re: [O] FW: [RFC] Link-type for attachments, more attach options

2020-01-18 Thread stardiviner
ndeed still original code logic. Then I checked out my Emacs init git log, confirmed it is ~'attached~ option value at first time. So this is my mistake. Because this new ~attachment:~ link type has potential issues like on exporting. So I decided to still use old ~file:~ link type. So I th

Re: [RFC PATCH] Changes to pop-up source buffers

2020-01-18 Thread stardiviner
buffer, for all > options of org-src-window-setup, and it appears to work correctly. I > tested this on Emacs 26.3. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freen

Re: [Question] adding document global properties drawer

2020-01-19 Thread stardiviner
ent global properties drawer, It insert nothing. No modification on buffer at all. Is this a bug? -- [ 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: Displaying remote images

2020-01-22 Thread stardiviner
; message that references the option that controls remote image display. > > I think displaying a message in this case can be annoying. It means the > default value is not satisfying for anyone. > >> +(defcustom org-display-remote-inline-images 'skip-warn >> + &quo

Re: [Question] adding document global properties drawer

2020-01-22 Thread stardiviner
Nicolas Goaziou writes: > Hello, > > stardiviner writes: > >> In an *empty* Org file buffer, I press =[C-c C-x p]= to add properties >> drawer. It >> works fine. But when the Org buffer has nodes already like this: >> >> #+begin_src org >&

[QUESTION] A decision about matching ob-sql.el's :engine header argument match sql-mode product name

2020-01-29 Thread stardiviner
~:engine~ names (also need to update Org document), this has a minor advantage is *consistance*. WDYT? BTW, about writing an adapter function to translate names. I want to hear some suggestion about use which method. Writing an hash map or assoc list etc? Regards -- [ stardiviner ]

Re: [QUESTION] A decision about matching ob-sql.el's :engine header argument match sql-mode product name

2020-01-30 Thread stardiviner
ave multiple entries mapping to the > same product name for backwards compatibility i.e. 'postgres' => > 'postgres', 'postgresql' => 'postgres' etc.). It would also be trivial > to then add new 'products' in the future. Sounds great. I

Re: A few changes to test in master

2020-01-31 Thread stardiviner
with the previous implementation of filtering. > > Let me know if any of these changes is problematic for you. > > Thanks, -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.

Re: Add a new link type for video files

2020-01-31 Thread stardiviner
Bastien writes: > Hi Stardiviner, > > Nicolas Goaziou writes: > >> I don't have a strong opinion on this, but considering Emacs does not >> provide any way to play videos out of the box, I think there is no point >> in shipping this with Emacs. > >

Re: A new, "org-bullets"-like minor mode

2020-02-03 Thread stardiviner
reat to get feedback before trying to get it on melpa. I would like to take a try too. Hope it is lightweight enough. Don't invoked lot of time. > > Cheers, > > D. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog

[PATCH] ob-sql.el support auto set sql-product in editing sql-mode src block buffer

2020-02-04 Thread stardiviner
in-file)) (org-babel-sql-convert-standard-filename (org-babel-process-file-name out-file (`vertica (format "vsql %s -f %s -o %s %s" (org-babel-sql-dbstring-vertica

Re: feature request: modify org-attach to also create new (non-text) attachments

2020-02-04 Thread stardiviner
ethod. I have this needs too. Hope this can be added into org-attach. Simon :) -- [ 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: How to set time limit and memory limit for execution of source blocks

2020-02-04 Thread stardiviner
ecute command. Prepend with Linux commands which can limit process resources. -- [ 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: commit "328c9a1af * bad org.el: Enhance menus" caused error

2020-02-05 Thread stardiviner
BTW, the function ~org-insert-dblock-bindings~ is from package =orgtbl-aggregate=. -- [ 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

ob-clojure :var header argument not work when src block is noweb called by another src block

2020-02-05 Thread stardiviner
rExceptionclass clojure.lang.Compiler$CompilerExceptionSyntax error compiling at (*Org Src Code.org[ clojure ]*:3:16). : Unable to resolve symbol: cwd in this context -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/

Re: [PATCH] ob-sql.el support auto set sql-product in editing sql-mode src block buffer

2020-02-05 Thread stardiviner
About this patch, patch, what do you think? Nicolas and Bastien. stardiviner writes: > I tried to write an alist of all database names. and write an function to used > to match name to possible names. But I found this solution is a little kind of > complicated. > > Another sim

commit "328c9a1af * bad org.el: Enhance menus" caused error

2020-02-05 Thread stardiviner
org-org-menu) org-insert-dblock-bindings() run-hooks(org-load-hook) eval-buffer(# nil "/home/stardiviner/Code/Emacs/org-mode/lisp/org.el" nil t) ; Reading at buffer position 832102 load-with-code-conversion("/home/stardiviner/Code/Emacs/org-mode/lisp/org.el" "/hom

Re: commit "328c9a1af * bad org.el: Enhance menus" caused error

2020-02-05 Thread stardiviner
Bastien writes: > Hi, > > stardiviner writes: > >> BTW, the function ~org-insert-dblock-bindings~ is from package >> =orgtbl-aggregate=. > > I don't know this function and this package. > > Can you share the minimal Emacs config with which you reprod

Re: commit "328c9a1af * bad org.el: Enhance menus" caused error

2020-02-05 Thread stardiviner
Bastien writes: > Hi, > > stardiviner writes: > >> BTW, the function ~org-insert-dblock-bindings~ is from package >> =orgtbl-aggregate=. > > I don't know this function and this package. > > Can you share the minimal Emacs config with which you rep

[SOLVED] Re: commit "328c9a1af * bad org.el: Enhance menus" caused error

2020-02-10 Thread stardiviner
Bastien writes: > Hi Stardiviner, > > I fixed this in master, thanks for reporting this bug. > > Best, Thanks Bastien, You're very active recently. I saw you fixed lot of issues and new patches. Thanks, really. -- [ stardiviner ] I try to make every word tell the

<    1   2   3   4   5   6   >