From: Kyle Meyer <kyle@kyleam.com>
To: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>,
"Liste-emacs-orgmode\@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: how to get an org-link to open a program in eshell
Date: Sat, 25 Apr 2020 04:39:13 +0000 [thread overview]
Message-ID: <87zhb0mb66.fsf@kyleam.com> (raw)
In-Reply-To: <CAD-VTcHeYfMFn+Oryi1uzuAfoph8QVzmxn0WzEXZUxX3QdkhgQ@mail.gmail.com>
Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> writes:
> I'm trying to get something via an org-link. I suspect that it is
> possible, but the documentation is not clear enough for me to get it.
>
> I want to make an org-link that get me directly in eshell a program,
> and if it is possible to do it, I will bookmark this org-link.
What have you tried? Have you looked at ol-eshell.el?
> To explain precisely what I want to do: I have an executable in
> /usr/local/bin that I have called SMinlog , in a shell, the command
> SMinlog -p -i open directly the following output:
> SEQUENT:
> and in the my Linux desktop xfce I have also an icon that is a
> shortcut to open directly this program in a xfce4-terminal.
IIUC what you want boils down to having an eshell link that runs a
command. I don't use ol-eshell myself, but, taking a quick look, this
seems to be possible. For example, say I have a link like
[[eshell:*eshell*:echo hello]]
Following that gives me
Welcome to the Emacs shell
/tmp $ echo hello
hello
/tmp $
next prev parent reply other threads:[~2020-04-25 4:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-08 8:22 how to get an org-link to open a program in eshell Joseph Vidal-Rosset
2020-04-25 4:39 ` Kyle Meyer [this message]
2020-04-25 8:31 ` Joseph Vidal-Rosset
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zhb0mb66.fsf@kyleam.com \
--to=kyle@kyleam.com \
--cc=emacs-orgmode@gnu.org \
--cc=joseph.vidal.rosset@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).