emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
To: Kyle Meyer <kyle@kyleam.com>
Cc: "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 10:31:55 +0200	[thread overview]
Message-ID: <87d07wge4k.fsf@gmail.com> (raw)
In-Reply-To: <87zhb0mb66.fsf@kyleam.com> (Kyle Meyer's message of "Sat, 25 Apr 2020 04:39:13 +0000")

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 


      reply	other threads:[~2020-04-25  8:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-08  8:22 Joseph Vidal-Rosset
2020-04-25  4:39 ` Kyle Meyer
2020-04-25  8:31   ` Joseph Vidal-Rosset [this message]

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=87d07wge4k.fsf@gmail.com \
    --to=joseph.vidal.rosset@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kyle@kyleam.com \
    --subject='Re: how to get an org-link to open a program in eshell' \
    /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

Code repositories for project(s) associated with this 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).