Re: managing aggressive link activation within lines?

2019-12-18 Thread Nicolas Goaziou
Hello, Matt Price writes: > MWE: > test.org: > -- > This is a paragraph with [[https://google.com][a link]] > --- > steps to reproduce: > > put cursor at beginning of file and type ~[[~. The paragraph text will > collapse into the link definition, and (point) will move to the ~a~ in ~a > link~

Re: Can Org warn me if I create a time conflict?

2019-12-18 Thread David R
On Wednesday, December 18, 2019, Mikhail Skorzhinskiy wrote: > I think there is a package exactly for this: > > https://www.mail-archive.com/emacs-orgmode@gnu.org/msg123154.html > > I'm happily using this since summer with latest org. Although in case you want to extend scheduling function (ie ch

Re: Bug: org-tempo expansion comments out the following src block when org-src-tabs-natively is 't [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-12-18 Thread Berry, Charles
> On Dec 18, 2019, at 5:07 AM, Ihor Radchenko wrote: > > Recipe: > > 1. emacs -Q > 2. Execute the following lisp code: > > (setq org-src-tab-acts-natively t) > (require 'org-tempo) I did not need to add this line to confirm the behavior: > (push (cons "el" "src emacs-lisp") org-structure-t

Re: Calling/using named babel code blocks

2019-12-18 Thread John Kitchin
I think you want: #+name: my-random-gen #+header: :var n=0 :var lim=0 #+BEGIN_SRC emacs-lisp (loop repeat n collect (random* lim)) #+END_SRC and this various versions of this #+BEGIN_SRC emacs-lisp :var results=my-random-gen(n=5, lim=1.0) results #+END_SRC #+RESULTS: | 0.27765703201293945 | 0.

Re: Calling/using named babel code blocks

2019-12-18 Thread Berry, Charles
> On Dec 18, 2019, at 9:10 AM, Lawrence Bottorff wrote: > > I thought I understood "metaprogramming," i.e., creating generic code blocks > that can be called by any other code block regardless of programming language > -- but apparently I don't. I have this > > #+name: my-random-gen > #+he

ob-js and Indium

2019-12-18 Thread Ezequiel Birman
Hi all. I wanted to know if a JavaScript source block configured to use a session managed via https://github.com/NicolasPetton/Indium is currently supported. I believe the error I am getting is related to https://code.orgmode.org/bzg/org-mode/src/master/lisp/ob-js.el#L47 where “(declare-function

Calling/using named babel code blocks

2019-12-18 Thread Lawrence Bottorff
I thought I understood "metaprogramming," i.e., creating generic code blocks that can be called by any other code block regardless of programming language -- but apparently I don't. I have this #+name: my-random-gen #+header: :var n=0 :var lim=0 #+BEGIN_SRC emacs-lisp (loop repeat n collect (rand

Re: Can Org warn me if I create a time conflict?

2019-12-18 Thread Mikhail Skorzhinskiy
I think there is a package exactly for this: https://www.mail-archive.com/emacs-orgmode@gnu.org/msg123154.html I'm happily using this since summer with latest org. Although in case you want to extend scheduling function (ie check it automatically) you need to write write some code around. I

managing aggressive link activation within lines?

2019-12-18 Thread Matt Price
Hi everyone, Not sure if this has always been an issue but with a pretty recent org git and emacs-git, I'm running into a usability issue with org-activiate-links. MWE: test.org: -- This is a paragraph with [[https://google.com][a link]] --- steps to reproduce: put cursor at beginning of file a

Bug: org-tempo expansion comments out the following src block when org-src-tabs-natively is 't [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-12-18 Thread Ihor Radchenko
Recipe: 1. emacs -Q 2. Execute the following lisp code: (setq org-src-tab-acts-natively t) (require 'org-tempo) (push (cons "el" "src emacs-lisp") org-structure-template-alist) 3. Create the following org file: #+begin_src emacs-lisp #+end_src 4. Put the point before the code block 5.1. Typ

Re: backup of abbrev_defs

2019-12-18 Thread Neil Jerram
On Wed, 18 Dec 2019, 11:10 Fraga, Eric, wrote: > On Wednesday, 18 Dec 2019 at 11:02, Sharon Kimble wrote: > > I've tried using a symlink to the file held in another directory, but > > when I restarted emacs the symlink wasn't followed and it created a new > > abbrev_def file from somewhere, I don

Re: [PATCH] ob-scheme: Handle :epilogue params

2019-12-18 Thread Neil Jerram
On Wed, 18 Dec 2019, 09:25 oldk1331, wrote: > Hi all, > > This is a simple change that adds support for :epilogue in ob-scheme. > > Best wishes, > Qian > > == > > * lisp/ob-scheme.el (org-babel-expand-body:scheme): Add :epilogue > param support. > > TINYCHANGE > --- > lisp/ob-scheme.el

Re: backup of abbrev_defs

2019-12-18 Thread Fraga, Eric
On Wednesday, 18 Dec 2019 at 11:02, Sharon Kimble wrote: > I've tried using a symlink to the file held in another directory, but > when I restarted emacs the symlink wasn't followed and it created a new > abbrev_def file from somewhere, I don't know where. This is strange. I have my .abbrev_defs

backup of abbrev_defs

2019-12-18 Thread Sharon Kimble
This is slightly off topic but I really need some help. How can I reliably backup my abbrev_defs file along with my usual backups of my org files, every time that it is saved with a new addition please? I've tried using a symlink to the file held in another directory, but when I restarted emacs

[PATCH] ob-scheme: Handle :epilogue params

2019-12-18 Thread oldk1331
Hi all, This is a simple change that adds support for :epilogue in ob-scheme. Best wishes, Qian == * lisp/ob-scheme.el (org-babel-expand-body:scheme): Add :epilogue param support. TINYCHANGE --- lisp/ob-scheme.el | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --gi

Re: Can Org warn me if I create a time conflict?

2019-12-18 Thread Allen Li
On Wed, Dec 18, 2019 at 7:06 AM David Rogers wrote: > > It's currently possible for me to create two meeting times, one from > 8:00-10:00 tomorrow and the other from 9:00-11:00 tomorrow. > > When both are mentioned in the same sentence, as above, it's easy to > recognize that the two meetings ar