Re: Why is there no inline-src syntax highlighting?

2021-03-14 Thread Eric S Fraga
On Sunday, 14 Mar 2021 at 18:19, Timothy wrote: > It's great how #+begin_src blocks support 'native' syntax highlighting, > but inline src_lang{} blocks don't seem to be formatted/highlighted at > all. > > I'm wondering why this is. Might anyone know? Possibly because nobody had done it before?

Problems while trying to load feature

2021-03-14 Thread Ypo
Hi This is my first message to this list. I am an orgmode dependant user, but not an advanced user, nor a programmer. My emacs is quite customized, though. I have been cleaning up my init.el file a little this Sunday, and solving some problems shown in "Messages" buffer after launching

Re: org-capture-template: table lines including newline of sorts

2021-03-14 Thread TRS-80
On 2021-03-13 02:24, Uwe Brauer wrote: Hi Currently I have the following setting for one org-capture-template: ("mu" "Stat+Num:Exercises English" table-line (file+headline "~/Somefile.org" "Exercise Group-E") "| %:fromname|%:fromaddress | %(my-extract-cc)|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|}

Re: org source block execute not working correctly with GNU Guile source block?

2021-03-14 Thread Zelphir Kaltstahl
Ah, I am sorry, I forgot to include basic information: Emacs installed via GNU Guix: GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) Org: org, 9.3, built-in On 3/14/21 4:28 PM, Zelphir Kaltstahl wrote: > > Hello! > > I have an org-mode spreadsheet,

Re: org-capture-template: table lines including newline of sorts

2021-03-14 Thread Uwe Brauer
> On 2021-03-13 02:24, Uwe Brauer wrote: > Do you need to add more pipes to keep the table structure on the line > after the newline? I don't think so. smime.p7s Description: S/MIME cryptographic signature

org source block execute not working correctly with GNU Guile source block?

2021-03-14 Thread Zelphir Kaltstahl
Hello! I have an org-mode spreadsheet, in which I calculate durations from timestamps like "[2021-03-14 Sun 03:50]" for example. Recently I saw, that using org-sbe (org source block execute) in combination with the :var header argument can be used to run arbitrary code for calculating values to

Re: Problems while trying to load feature

2021-03-14 Thread Richard Lawrence
Hi Ypo, Ypo writes: > Problems while trying to load feature ‘ol-org-w3m’ [etc.] > > It says "ol-..." because I tried to solve it after reading the mail > list. It is said that it happens because in version 27.1 files changed > their name from "org-bbdb" to "ol-org-bbdb", but as you can

Re: Why is there no inline-src syntax highlighting?

2021-03-14 Thread Colin Baxter
> Timothy writes: > Colin Baxter writes: >> There is this: >> https://stackoverflow.com/questions/20309842/how-to-syntax-highlight-for-org-mode-inline-source-code-src-lang > I take it you didn't look at the pages I linked? I explicitly link > that page myself and

Re: Why is there no inline-src syntax highlighting?

2021-03-14 Thread Colin Baxter
> Eric S Fraga writes: > On Sunday, 14 Mar 2021 at 18:19, Timothy wrote: >> It's great how #+begin_src blocks support 'native' syntax >> highlighting, but inline src_lang{} blocks don't seem to be >> formatted/highlighted at all. >> >> I'm wondering why this is.

Re: Why is there no inline-src syntax highlighting?

2021-03-14 Thread Timothy
Colin Baxter writes: > There is this: > https://stackoverflow.com/questions/20309842/how-to-syntax-highlight-for-org-mode-inline-source-code-src-lang I take it you didn't look at the pages I linked? I explicitly link that page myself and complain that it isn't good enough . Oh, and FWIW in

Re: [bug] :prologue and :epilogue header arguments don't work in latex code blocks

2021-03-14 Thread Eric S Fraga
On Saturday, 13 Mar 2021 at 06:30, Rodrigo Morales wrote: > I've noticed that the =:prologue= and =:epilogue= header arguments > don't work in code blocks whose language is =latex=. It's not that they don't work, it's that those features have not (yet) been implemented for LaTeX src blocks. I

Re: Why is there no inline-src syntax highlighting?

2021-03-14 Thread Timothy
Eric S Fraga writes: >> I'm wondering why this is. Might anyone know? > > Possibly because nobody had done it before? Or maybe it slows things > down too much. I don't know but I would definitely be interested in > having this feature; your screenshot looks good. I may well submit a patch

Why is there no inline-src syntax highlighting?

2021-03-14 Thread Timothy
Hi all, It's great how #+begin_src blocks support 'native' syntax highlighting, but inline src_lang{} blocks don't seem to be formatted/highlighted at all. I'm wondering why this is. Might anyone know? Also, if this is just a case of no-one bothering to provide that functionality would there be

Re: References?? (feature idea)

2021-03-14 Thread David Masterson
John Kitchin writes: > You could define a new org link with this behavior. You just need to > work out a syntax for a link to the heading that also includes the > property name. e.g. [[property:file.org::*Heading::property]] > > then, define a :follow function that probably opens the heading

Re: org-capture-template: table lines including newline of sorts

2021-03-14 Thread Charles Millar
Hi, On 3/14/21 1:00 PM, TRS-80 wrote: On 2021-03-13 02:24, Uwe Brauer wrote: Hi Currently I have the following setting for one org-capture-template: ("mu" "Stat+Num:Exercises English" table-line (file+headline "~/Somefile.org" "Exercise Group-E") "| %:fromname|%:fromaddress |

How to get shell source blocks to read my profile?

2021-03-14 Thread George Mauer
I am confused why no matter how I try to run shell commands they seem to be missing variables exported in profiles. I have added 3 variables to various startup scripts - ~./bash-profile~ :: ~export GIM_BASH_PROFILE="yes"~ - ~./bashrc~ :: ~export GIM_BASHRC="yes"~ - ~./zshrc~ :: ~export

[PATCH] Improve code readability in org-set-font-lock-defaults

2021-03-14 Thread Nick Savage
I'm not sure what the appetite is for small changes like this, but I have attached a small patch to improve readability in org-set-font-lock-defaults. I was trying to understand how org-emphasize worked and came across some code that I thought could be simplified. If small refactoring patches

Re: How to get shell source blocks to read my profile?

2021-03-14 Thread Tim Cross
Is this perhaps on a Mac where Emacs is started from the dock? If so, it could be because on the mac, applications started from the dock are not executed inside a login shell. Do you get different results if you start emacs from within a terminal? If so, this is almost certainly the source of

References?? (feature idea)

2021-03-14 Thread David Masterson
I don't see this capability in Org, but maybe I'm missing it. My use case is that I setup an Org file as my phonebook. Each child header (ie. no subheaders) is a person in my phonebook. I can categorize them using parent headers. All information about a person is stored in PROPERTY drawers

Re: References?? (feature idea)

2021-03-14 Thread John Kitchin
You could define a new org link with this behavior. You just need to work out a syntax for a link to the heading that also includes the property name. e.g. [[property:file.org::*Heading::property]] then, define a :follow function that probably opens the heading when you open it, and an :export

Re: How to get shell source blocks to read my profile?

2021-03-14 Thread Tim Cross
comments in-line ... George Mauer writes: > Hey Tim, thanks for helping out. I commented inline to your response below > but I'll sum up and ask the outstanding questions more directly here as well. > > I think you might have misread what I was doing - I had 3 different variables > set in 3

Re: [PATCH] org-compat.el (org-mode-flyspell-verify): Do not spell check code in headline

2021-03-14 Thread Kyle Meyer
Sébastien Miquel writes: > Subject: [PATCH] org-compat.el (org-mode-flyspell-verify): Do not check code > in headline > > * lisp/org-compat.el (org-mode-flyspell-verify): Do not spell check > code, verbatim and LaTeX fragments in headline title. Makes sense. Hopefully the cost of the

Re: How to get shell source blocks to read my profile?

2021-03-14 Thread George Mauer
Hey Tim, thanks for helping out. I commented inline to your response below but I'll sum up and ask the outstanding questions more directly here as well. I think you might have misread what I was doing - I had 3 different variables set in 3 different places precisely because I want to dissect

Re: org-capture-template: table lines including newline of sorts

2021-03-14 Thread David Masterson
Uwe Brauer writes: > Currently I have the following setting for one org-capture-template: > > > ("mu" "Stat+Num:Exercises English" > table-line (file+headline "~/Somefile.org" "Exercise Group-E") > "| %:fromname|%:fromaddress | > %(my-extract-cc)|%^{Sheet|1|2|3|4|5|6}|%^{Exercise|1|} |