From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cDVCCRO/o17QRgAA0tVLHw (envelope-from ) for ; Sat, 25 Apr 2020 04:39:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SFyIHhq/o15nYwAAbx9fmQ (envelope-from ) for ; Sat, 25 Apr 2020 04:39:54 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AB2AD9436B8 for ; Sat, 25 Apr 2020 04:39:52 +0000 (UTC) Received: from localhost ([::1]:58354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSCbW-0004CH-0A for larch@yhetil.org; Sat, 25 Apr 2020 00:39:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50098) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSCb6-0004Al-1i for emacs-orgmode@gnu.org; Sat, 25 Apr 2020 00:39:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSCb4-0003CU-4F for emacs-orgmode@gnu.org; Sat, 25 Apr 2020 00:39:23 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:51930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSCb3-0002ph-6t for emacs-orgmode@gnu.org; Sat, 25 Apr 2020 00:39:21 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 15665D75CF; Sat, 25 Apr 2020 00:39:18 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=aEnrwExQH/jgCR96QApVAze0aOM=; b=DTuI5A CnTBAOh5tQ9DaKr+k8mWdy5SzbAB0KEM6bvhVzjIkdD23V/FjV+qbV6VDw5ZXz4w 5IYfVoO86aMMKngCFM5mNipokdCfYg4hZqQ2SmMXEUIHzI5wrc6kfdOoqC3yeo2S 9hSS1s25wZymJUO2ht05Q0pyn6sYGENLlEksw= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 0D7BDD75CD; Sat, 25 Apr 2020 00:39:18 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=ZkEIsMxJrYancS/UMaSCPZtCEAQtNP94ARVPhWA5ijo=; b=JjooMazsYPEsNsMrWIlWl4Dr3tWMdgl4k8AVB24awl2ieBj9jAKtmaLEuy6eQZcGtQK9cTiyPeia5J0CRWjhnB7o2RNGxMZ0Ixp/QwFLO7Qea19OgYrbm4WReoiSyCwxblucCtH9kLRFTjcrXD7Tz8gFMOIiI8lp9zQij1m+E7I= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 7E984D75CC; Sat, 25 Apr 2020 00:39:15 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Joseph Vidal-Rosset , "Liste-emacs-orgmode\@gnu.org" Subject: Re: how to get an org-link to open a program in eshell In-Reply-To: References: Date: Sat, 25 Apr 2020 04:39:13 +0000 Message-ID: <87zhb0mb66.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: B7DC6E90-86AE-11EA-91F0-B0405B776F7B-24757444!pb-smtp20.pobox.com Received-SPF: pass client-ip=173.228.157.52; envelope-from=kyle@kyleam.com; helo=pb-smtp20.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/25 00:39:18 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 173.228.157.52 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -1.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=DTuI5A C; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=JjooMazs; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-1.21 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.56093179960814]; DWL_DNSWL_FAIL(0.00)[kyleam.com:server fail,209.51.188.17:server fail]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.21), country: US(-0.00), ip: 209.51.188.17(-0.56)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[pobox.com:+,kyleam.com:+]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com,gnu.org]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[kyle@kyleam.com,emacs-orgmode-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl,kyleam.com:s=mesmtp]; URIBL_BLOCKED(0.00)[pobox.com:dkim,kyleam.com:dkim]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[kyleam.com]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: XD7yPGSAQHB4 Joseph Vidal-Rosset 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 $