org-link containing square brackets

2020-03-10 Thread Joseph Vidal-Rosset
Hi everybody, I sent this email to this list: https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00123.html Unfortunately, the code of hs/replace function that contains %5BGmail%5D/ to get [Gmail]/ in the link does not work anymore for few months now: in the org-link the square bra

Re: org-link containing square brackets

2020-03-10 Thread Nicolas Goaziou
Hello, Joseph Vidal-Rosset writes: > I sent this email to this list: > > https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00123.html > > Unfortunately, the code of hs/replace function that contains > > %5BGmail%5D/ See ORG-NEWS for Org 9.3. I think this should be \[Gmail\]/ Regards,

Re: org-link containing square brackets

2020-03-10 Thread Joseph Vidal-Rosset
Le mar. 03/10/20 mars 2020 à 10:47:03 , Nicolas Goaziou a envoyé ce message: > Hello, > > Joseph Vidal-Rosset writes: > >> I sent this email to this list: >> >> https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00123.html >> >> Unfortunately, the code of hs/replace func

Re: org-link containing square brackets

2020-03-10 Thread Eric S Fraga
On Tuesday, 10 Mar 2020 at 13:33, Joseph Vidal-Rosset wrote: > I wonder more and more if gnus in imap is the adequate tool to keep > tracks of email via org-mode links. All opinions of this topic are > welcome, of course, because I have to take a decision: to gnus or not > to gnus... :) The real

results block doesn't get replaced when doing :results raw

2020-03-10 Thread George Mauer
I've seen this happening a lot in a variety of modes. When I do `:results raw`, on subsequent evaluations, rather than replacing the results block, it gets appended to. This is almost never what I want. I remember seeing some use of `:results raw replace` in some manual or another but that never

Re: Turn on org-num-mode in init?

2020-03-10 Thread Lawrence Bottorff
Good. That worked. I just put (require 'org-num) (add-hook 'org-mode-hook #'org-num-mode) inside my use-package org 's (massive) :config On Tue, Mar 10, 2020 at 1:28 AM Eric S Fraga wrote: > On Monday, 9 Mar 2020 at 23:31, Lawrence Bottorff wrote: > > I've tried a few variations of trying to

Re: Bug: org-highest-priority not defined [9.3.6 (release_9.3.6-399-ge6df03 @ /home/n/.emacs.d/straight/build/org/)]

2020-03-10 Thread No Wayman
Proposed patch: diff --git a/lisp/org.el b/lisp/org.el index 31133c554..7b7e4c80a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -2383,7 +2383,7 @@ set a priority." :group 'org-priorities :type 'boolean) -(defalias 'org-highest-priority 'org-priority-highest) +(defvaralias 'org-highest-priori

ob-sql.el: org-babel-process-file-name for MSSQL

2020-03-10 Thread Johan W . Klüwer
I need to query MS Sql Server (running in Docker, Ubuntu) from org-babel. The file name for temporary files that ob-sql assembles doesn't work -- we get, e.g., c\:/tmp/babel-Pey8i9/sql-in-dhrGdF which produces the error Sqlcmd: Error: Error occurred while opening or operating on file c: (Rea

Re: results block doesn't get replaced when doing :results raw

2020-03-10 Thread Nick Dokos
George Mauer writes: > I've seen this happening a lot in a variety of modes. When I do `:results > raw`, on subsequent  > evaluations, rather than replacing the results block, it gets appended to. > > This is almost never what I want. I remember seeing some use of `:results raw > replace` in so

Nicer export of an ipython-notebook style file

2020-03-10 Thread Dima Kogan
Hi. Recently I used org-babel to create documentation for a python plotting library. The end-product of this documentation is a sequence of code snippets and images (the result of evaluating the snippets). A wrinkle is that I didn't want to use org to do the export. I'd use org to generate all th

[PATCH] strike-through text in tables

2020-03-10 Thread Mark E. Shoulson
I didn't see a response to this, and I hope it's just because I sent it wrongly or something. If not, is there something amiss with this? Make a org-mode table. In one of the cells of the table, have some text that is +struck out+. Note that the struck-out text is default text color (black,

Re: [PATCH] strike-through text in tables

2020-03-10 Thread Bastien
Hi Mark, "Mark E. Shoulson" writes: > I didn't see a response to this, and I hope it's just because I sent > it wrongly or something. If not, is there something amiss with this? I'm late in reading the mailing list for a week or so, but I'll handle this (and other issues before 9.4) over the w

Re: Bug: HTML not formatted correctly from R source code block [9.3.6 (9.3.6-23-g01ee25-elpaplus @ /home/opdfa/.emacs.d/elpa/org-plus-contrib-20200309/)]

2020-03-10 Thread Jack Kamm
Hi Steve, Steven Delean writes: > HTML table produced from a source code block (using R code) does not display > because html code is not formatted correctly in the exported html output. I believe this is the same issue as reported here: https://lists.gnu.org/archive/html/emacs-orgmode/2020-02/

Clock connection between the files

2020-03-10 Thread Vladimir Nikishkin
Hello, everyone. I have a strange situation. I have a file where I track my used time. I have another file, in which I write a literate-style book. So I clock-in in the first file, then open the second one and start working. Recently I wrote some terrible code which made my second file blow up in

Re: Bug: HTML not formatted correctly from R source code block [9.3.6 (9.3.6-23-g01ee25-elpaplus @ /home/opdfa/.emacs.d/elpa/org-plus-contrib-20200309/)]

2020-03-10 Thread Steven Delean
Hi Jack, Thanks for your response. Yes, I am using :session evaluation here, set using #+PROPERTY: However, ":results value html" does not work for me. In fact, this produces no table output at all in the resulting exported html file. The output sent to the R :session buffer is printed correctl

Insert PROPERTIES drawer after heading creation

2020-03-10 Thread Lawrence Bottorff
I want to insert upon creating a heading a PROPERTIES drawer. So far I have this (defadvice org-insert-heading (after add-id-stuff activate) (template-myid)) (defun template-myid () (insert "\n:PROPERTIES:\n:TIME: " (substring (format "%s" (format-time-string "%Y-%m-%dT%H:%M:%S")))