[BUG] priority regexp too lax. google is not an org priority cookie.

2021-03-15 Thread Samuel Wales
recent maint. (org-entry-get (point) "PRIORITY") on the following produces google. i expected B. > *** REF 21:31 -ChanServ- [#google] bug perhaps the regexp is too lax. perhaps was intended for performance. also, mere opinion as user, i would propose the cookie just after the todo kw a

Re: [PATCH] ob-sql.el: Add support for SAP HANA

2021-03-15 Thread Kyle Meyer
Robin Campbell Joy writes: > Hi, > > could someone please let me know if something is missing/incorrect? Thanks for the patch, and sorry for the delay. > On Thu, 4 Feb 2021 at 08:55, Robin Campbell Joy wrote: > >> * lisp/ob-sql.el (org-babel-execute:sql, org-babel-sql-dbstring-saphana): >> Add

Re: org-capture: question about function to create template

2021-03-15 Thread Ihor Radchenko
Joost Kremers writes: > ... I was wondering if there's any > way for this function to access the state of the ongoing capture process. > Specifically, it would be useful for me if the function can find out the key > of > the template that the user selected. See org-capture-plist. Also, you mig

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

2021-03-15 Thread Steven Harris
Well on my mac Emacs is launched by Ruby. I remember having to allow ruby to do that two years ago when I set this up. But thanks for sharing your expertise. I've been a unixy admin for 20 years and didn't know a lot of that. Cheers Steven. On Tue, 16 Mar 2021 at 07:34, Tim Cross wrote: > >

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

2021-03-15 Thread Charles Millar
On 3/15/21 5:00 PM, Uwe Brauer wrote: "CM" == Charles Millar writes: > On 3/15/21 10:13 AM, Uwe Brauer wrote: >> >>> Hi, >>> On 3/14/21 1:00 PM, TRS-80 wrote: >>> You may have to escape the pipes. I did that in a similar capture template. >> Can you give me an example,

Re: org-export-latex-packages-alist vs org-latex-packages-alist

2021-03-15 Thread Kyle Meyer
Tyler Smith writes: > Hello, > > Can someone confirm if > > `org-export-latex-packages-alist` and > `org-export-latex-listings-langs` > > are obsolete versions of > > `org-latex-packages-alist` and `org-listings-langs`? > > I've had the former in my config for years, and today noticed that

org-export-latex-packages-alist vs org-latex-packages-alist

2021-03-15 Thread Tyler Smith
Hello, Can someone confirm if `org-export-latex-packages-alist` and `org-export-latex-listings-langs` are obsolete versions of `org-latex-packages-alist` and `org-listings-langs`? I've had the former in my config for years, and today noticed that they no longer appear in the org source

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

2021-03-15 Thread Uwe Brauer
>>> "CM" == Charles Millar writes: > On 3/15/21 10:13 AM, Uwe Brauer wrote: >> >>> Hi, >>> On 3/14/21 1:00 PM, TRS-80 wrote: >>> You may have to escape the pipes. I did that in a similar capture template. >> Can you give me an example, please? >> > HTH > ("s" "time

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

2021-03-15 Thread Tim Cross
George Mauer writes: > Thanks a lot! The interactive/non-interactive was indeed the core issue. > Extra frustrating because it seems like supplying `--rcfile` does nothing if > you > *do* use `-c` but *don't* use `-i`...ah ad-hoc cli design. > It certainly can seem rather ad hoc. However, it

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

2021-03-15 Thread George Mauer
Thanks a lot! The interactive/non-interactive was indeed the core issue. Extra frustrating because it seems like supplying `--rcfile` does nothing if you *do* use `-c` but *don't* use `-i`...ah ad-hoc cli design. As a general solution, I've found that adding this block in my org buffer will make s

Nested macros and fontification

2021-03-15 Thread Juan Manuel Macías
Hi, I make heavy use of replacement macros, and often my Org documents are full of nested macros (in the 'LaTeX way') throughout the text. The problem is that `org-fontify-macros' breaks the macro fontification when it is a nested construction. I've found a simple high level solution that consist

Re: org-capture: question about function to create template

2021-03-15 Thread No Wayman
From: Joost Kremers To: emacs-orgmode@gnu.org Subject: org-capture: question about function to create template Message-ID: <87eeggh0r5@fastmail.fm> Content-Type: text/plain Hi list, I've been looking at the =org-capture= mechanism a bit more closely recently and noticed that in =org-cap

org-capture: question about function to create template

2021-03-15 Thread Joost Kremers
Hi list, I've been looking at the =org-capture= mechanism a bit more closely recently and noticed that in =org-capture-templates=, the template can also be a function. This looks like a potentially useful feature, but I was wondering if there's any way for this function to access the state of the

Re: org to beamer structure not working

2021-03-15 Thread Eric S Fraga
On Monday, 15 Mar 2021 at 10:37, Nick Dokos wrote: > You are not the first (nor are you going to be the last) to do that -I > speak from experience ;-) As do I which is why it's the first question I ask when people have these types of problems! :-) -- : Eric S Fraga via Emacs 28.0.50, Org releas

Re: Problems while trying to load feature

2021-03-15 Thread Charles R (Charlie) Martin
This is a problem I’ve noticed as well. Now, I am a programmer — my code or it’s descendants is still in the distribution — I do update org mode regularly, and I get messages when I start up Emacs about Org mode files that can’t be loaded. I wouldn’t be surprised if the cause is this renaming. But

Re: org to beamer structure not working

2021-03-15 Thread Jeremie Juste
On Monday, 15 Mar 2021 at 10:37, Nick Dokos wrote: > Luca Ferrari writes: > >> On Mon, Mar 8, 2021 at 4:29 PM Eric S Fraga wrote: >>> >>> How are you actually exporting? Are you choosing a beamer export option >>> as it looks like article LaTeX output. Your settings look fine >>> otherwise. >>

Re: Problems while trying to load feature

2021-03-15 Thread Nick Dokos
The renaming was e.g org-bbdb to ol-bbdb, *NOT* to ol-org-bbdb. Similarly for all the rest: you won't find any of them in any installation. -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler

Changing the environment before calling source block?

2021-03-15 Thread Loris Bennett
Hi, I have multiple versions of each of various languages such as Python or R. On the command line I can select a version using the 'module'[1] mechanism provided by Lmod[2]: module load Python/2.7.18-GCCcore-9.3.0 or module load Python/3.8.6-GCCcore-10.2.0 This 'module' mechanism basic

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

2021-03-15 Thread Charles Millar
On 3/15/21 10:13 AM, Uwe Brauer wrote: Hi, On 3/14/21 1:00 PM, TRS-80 wrote: You may have to escape the pipes. I did that in a similar capture template. Can you give me an example, please? HTH ("s" "timeslip" table-line (file "/mnt/Data/ActiveFiles/timeslips.org") "\| %(org

Re: org to beamer structure not working

2021-03-15 Thread Nick Dokos
Luca Ferrari writes: > On Mon, Mar 8, 2021 at 4:29 PM Eric S Fraga wrote: >> >> How are you actually exporting? Are you choosing a beamer export option >> as it looks like article LaTeX output. Your settings look fine >> otherwise. > > Shame on me! I was exporting it as latex-pdf file (C-c C-e

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

2021-03-15 Thread Uwe Brauer
> Uwe Brauer writes: > Break up the line however you wish into quoted substrings and concat > them together..? No entirely sure that you mean by quoted substrings, can you give me an example, please? smime.p7s Description: S/MIME cryptographic signature

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

2021-03-15 Thread Uwe Brauer
> Hi, > On 3/14/21 1:00 PM, TRS-80 wrote: > You may have to escape the pipes. I did that in a similar capture template. Can you give me an example, please? smime.p7s Description: S/MIME cryptographic signature

Re: [PATCH] Re: Bug: Plain https links with brackets are not recognised [9.4.4 (release_9.4.4-625-g763c7a @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-03-15 Thread Maxim Nikulin
On 13/03/2021 12:24, Ihor Radchenko wrote: Here is the right one I think, some unit tests would be great to avoid future regressions. Since it is heuristics, some cases will be always broken, so tests could clarify intentions. I have not tested the regexp on real cases, so you have full rig

Invalid function: org-preserve-local-variables

2021-03-15 Thread Loris Bennett
Hi, I'm running Org mode version 9.4.4 (9.4.4-25-g3a522a-elpaplus @ /home/loris/.emacs.d/elpa/org-plus-contrib-20210222/) and today I encountered the following error when refiling org-refile: Invalid function: org-preserve-local-variables Despite the error, the refiling itself did however

Re: Problems while trying to load feature

2021-03-15 Thread Ypo
Good morning, Richard and list 1) I updated org from MELPA. Previous versions had same problem. 2) I can't find the files in my entire computer. 3) With emacs -q there are not error messages. I send M-: or write (require 'org) and press C-x C-e in the scratch and I see nothing special, just:

[PATCH] Allow multiple %(expression) instances in org-agenda-prefix-format

2021-03-15 Thread Ihor Radchenko
>From ae1e4041f77d056649b8fa90d12e2cd1354b78f3 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Mon, 15 Mar 2021 15:18:20 +0800 Subject: [PATCH] Allow multiple %(expression) instances in org-agenda-prefix-format * lisp/org-agenda.el (org-compile-prefix-format): Use non-greedy match for %(expr