From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uGGLHpj1o169QQAA0tVLHw (envelope-from ) for ; Sat, 25 Apr 2020 08:32:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cEKuCJ/1o14sdAAAB5/wlQ (envelope-from ) for ; Sat, 25 Apr 2020 08:32:31 +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 8AD09943695 for ; Sat, 25 Apr 2020 08:32:30 +0000 (UTC) Received: from localhost ([::1]:60746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSGEe-0006CP-TT for larch@yhetil.org; Sat, 25 Apr 2020 04:32:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48678) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSGED-0006Bv-3X for emacs-orgmode@gnu.org; Sat, 25 Apr 2020 04:32:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSGEC-00079W-GR for emacs-orgmode@gnu.org; Sat, 25 Apr 2020 04:32:00 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:40421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSGEC-00079M-2V for emacs-orgmode@gnu.org; Sat, 25 Apr 2020 04:32:00 -0400 Received: by mail-wm1-x32b.google.com with SMTP id u16so14353458wmc.5 for ; Sat, 25 Apr 2020 01:31:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=+7+r/3nte9Hu6YauB+w99koxa5dGN+GWc5rMU5Un//M=; b=mP3Mdd3yMCS70oBoRAESh49sZeZNmYFfLefcHK6KR2gTgNlDdr+dJmZqv47b4xB3MF 0x/ycGN59jj+PYK1LjW07kofG2FCw1eQHd1r/+HiasnVakUwvhJyjlY3/oX6kCSv/HnN O0A8PX8onszme5e5fAVJflkPAZQHw2rpcktyMAomr3PiPq+ZUa/uVnkCgheLqsD6L6BB XLwoufESFgUdygsRra8nIqUaA5nBPzuV53RDf70Sgd51SdbCp5PkJmY/K77Cs2T6cB/s sZD/SBYE+akn38UpPAPVPfdukw5bP6C/b5vCDo5SjfSp/Cs+ka0m9jEDrUeQenAa/OqN EKaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=+7+r/3nte9Hu6YauB+w99koxa5dGN+GWc5rMU5Un//M=; b=OgK8AC+ePIB+81pcqv1S89a9oYfPOUj4awIeLmRV8cPqysMme5MmmuVykl3nb2d8iR hjDBDh3JhxCfMS+nFClguK1X+37DowhCmiqLs1Pw/lDHo0uBjrxdENK9aJ2RbQ5bOrpk ZhitAkU8pdA5BtPOa5Kudfvc6CYQTXq+nUqDlLPUbwMBi3QLD95OR2ZnaE5ai5ZPiXbV czpwmsTe7P1Zm8flEW6HsS+0buyAJ9ioY3D7lp9MQD/FKR038hSy7nYSLh2Rb13RFEBw qQtkkrAMIft2NDQHOhuGeEpAEJqeyrmtI0cVV8RWIIJjQaSlAw1Q/NWDVK9xSq/v0jZ5 oyrQ== X-Gm-Message-State: AGi0PuZr5bng9XNwuq4J5iiTybB+GqgpvVrkPSlIFIFyVeizDEQkzboo whaD7Cqqns0jYiQHP85CdSLF4CVtwPA= X-Google-Smtp-Source: APiQypKoonN7pCHN23XLrZSmAkPV+dhXwxgLA5KQfvaVl5Q0rW5iUXyq3MyZxDcasAQ3vyHcbBYdqA== X-Received: by 2002:a1c:4b16:: with SMTP id y22mr14920422wma.170.1587803517316; Sat, 25 Apr 2020 01:31:57 -0700 (PDT) Received: from debian ([2a01:e0a:21e:7710:886f:c75a:5753:905b]) by smtp.gmail.com with ESMTPSA id j4sm11382134wrm.85.2020.04.25.01.31.56 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 25 Apr 2020 01:31:56 -0700 (PDT) From: Joseph Vidal-Rosset To: Kyle Meyer Subject: Re: how to get an org-link to open a program in eshell References: <87zhb0mb66.fsf@kyleam.com> Date: Sat, 25 Apr 2020 10:31:55 +0200 In-Reply-To: <87zhb0mb66.fsf@kyleam.com> (Kyle Meyer's message of "Sat, 25 Apr 2020 04:39:13 +0000") Message-ID: <87d07wge4k.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=joseph.vidal.rosset@gmail.com; helo=mail-wm1-x32b.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2a00:1450:4864:20::32b 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: , Cc: "Liste-emacs-orgmode@gnu.org" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=mP3Mdd3y; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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 [0.09 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.56073696187597]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; R_DKIM_REJECT(1.00)[gmail.com:s=20161025]; FREEMAIL_FROM(0.00)[gmail.com]; 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)[]; DKIM_TRACE(0.00)[gmail.com:-]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; 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]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[josephvidalrosset@gmail.com,emacs-orgmode-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[emacs-orgmode@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; RCVD_COUNT_SEVEN(0.00)[7]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : SPF not aligned (relaxed),none] X-TUID: DF3qKdvFOZTv 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