[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to get an org-link to open a program in eshell
From: |
Joseph Vidal-Rosset |
Subject: |
Re: how to get an org-link to open a program in eshell |
Date: |
Sat, 25 Apr 2020 10:31:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Many thanks Kyle for your reply,
In fact I have succeeded to open directly some programs with eshell
thanks to org-links like the following one:
[[eshell:program_name]]
If I put these org-links into an org file and if I have bookmarked this
file.
Nevertheless, I do not find that this solution is very elegant. In
my bookmark file I have this part of code:
#1=(#("eshell-launcher" 0 15
(bmkp-full-record #1#))
(buffer-name . "*dashboard*")
(visits . 2)
(time 24213 34946 832780 22000)
(created 24213 34859 529449 8000)
(position . 0)
(function . eshell)
(handler . bmkp-jump-function))
and it works correctly: via the bookmark in my dashboard, I can open
eshell . But I have not succeed to write a code in this bookmark file to
get a program that is opened directly via eshell, hence org-links in an
org file. All that I wrote in this bookmark file failed. Any suggestion
is welcome, even if it is not a serious problem to open an org file
first. It is just an elegance issue.
Best wishes, and again, thanks,
Jo.
--
Joseph