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 ms0.migadu.com with LMTPS id uKdJLtuVqGEi0wAAgWs5BA (envelope-from ) for ; Thu, 02 Dec 2021 10:46:03 +0100 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 mHzzKduVqGGgLwAAB5/wlQ (envelope-from ) for ; Thu, 02 Dec 2021 09:46:03 +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 5D170109A for ; Thu, 2 Dec 2021 10:46:03 +0100 (CET) Received: from localhost ([::1]:59768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msifB-0004IN-Uv for larch@yhetil.org; Thu, 02 Dec 2021 04:46:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msie7-0004Es-R2 for emacs-orgmode@gnu.org; Thu, 02 Dec 2021 04:44:55 -0500 Received: from [2607:f8b0:4864:20::52c] (port=40729 helo=mail-pg1-x52c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msie6-00060o-BY for emacs-orgmode@gnu.org; Thu, 02 Dec 2021 04:44:55 -0500 Received: by mail-pg1-x52c.google.com with SMTP id l190so26485320pge.7 for ; Thu, 02 Dec 2021 01:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:references:user-agent:in-reply-to :message-id:mime-version; bh=eD4Z//ppKJxvK4xCC1pBfkNf3Xrtnp+e0sPpq6nuCiQ=; b=AMMTIEGANdV8rVQzKifY2YO7/qoYLPLds0veZpQ32MFrOYhV/JWU3zBbbYPa7kAHtr mXvAXMcB9kK9PFFIHr0FLbzQv3tX9fT2U6r+Ho0Hb3oAK0jKyHhf2SQ9GAUD0qPKaKJS MOcRuKefThu7TPivC8tKUieVEa3FhfH/SZBnLBdzsWXurLE+HTBsXJYCc7ngR05H3FAk 7xWS8v4DhiPu10aTafkb0hxO7kMUlZWfszUnEpeZKq3FC9yULP8Zr4HZdXiCV5h3HbqV K+U93MXR6H72WQ0PZACe8QvdbtBKNVD6x3njc0dVaru+X4GzU/6iGZEo0Ly/WJ+o5noI idFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=eD4Z//ppKJxvK4xCC1pBfkNf3Xrtnp+e0sPpq6nuCiQ=; b=7v0RDfCLoEFPam3t7k12YytyrdiySkunXsEXH7phwVW6ACUW84nJgvrlnqFc+2VPCC +ij/CKIeVqbjhBaBD3o78PTn6vDzDVIbCqmNsPK72Vf6SxbCSWzPJayrmeRm35iopONM wxEjsMBwQ+UiZo6vfbPbHCDLBRUDfP+NfHVQ2/KWbNI+A5BgsKPh1E1KmCH8UAb+yHF3 DFsuHobCtGlt7TV3hTjz4qtmXS3M/sWiEfuGamIwfHdwbhwPTW99aLkv1K0iiDGYY9Xu up5yiq70cZsDvFuqe0/CxUY57HwxZrrYOQRa1KujpYA4ZxETpjGPoC4T48Ni6RLNho15 laeQ== X-Gm-Message-State: AOAM531UPUxFKifSm2xq1lJUWpKq3gGvMGz6u5QEyjT5OrV1i4k2aIk+ nF39Ls/wu1SoKT3k5V1VU60= X-Google-Smtp-Source: ABdhPJwkFO5HMjWVIHRAc/2w8tz88V65oyRVCyZF1/2d4nXFwcXmCkHXsBUUFFtQ4/jB7DFLtmDKLg== X-Received: by 2002:a05:6a00:2313:b0:49f:d9ec:7492 with SMTP id h19-20020a056a00231300b0049fd9ec7492mr11709384pfh.25.1638438292495; Thu, 02 Dec 2021 01:44:52 -0800 (PST) Received: from localhost (61-245-128-160.3df580.per.nbn.aussiebb.net. [61.245.128.160]) by smtp.gmail.com with ESMTPSA id x9sm1923239pjq.50.2021.12.02.01.44.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 01:44:52 -0800 (PST) From: Timothy To: "Guillaume Buisson (gbuisson)" Subject: Re: [PATCH] Fix ob-plantuml over TRAMP Date: Thu, 02 Dec 2021 17:43:25 +0800 References: <0158722C-D64B-4CB7-A25A-8F6FD7D9A2A9@cisco.com> User-agent: mu4e 1.6.9; emacs 28.0.50 In-reply-to: <0158722C-D64B-4CB7-A25A-8F6FD7D9A2A9@cisco.com> Message-ID: <87k0gnpchb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::52c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=tecosaur@gmail.com; helo=mail-pg1-x52c.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638438363; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=eD4Z//ppKJxvK4xCC1pBfkNf3Xrtnp+e0sPpq6nuCiQ=; b=Q0M4XaI+0ZuLsDJUUnFz9+Kj+TAxRUgmMfUC3FuzTlnc9q+sotUBw5qWA1zwIJIq5MBzje z7iblF36xPsVRuTgulOEFONjxzfZtrelEbOhjcbxvgUjrKoZHZNFmBEap5DAIhxBaus+Hl tp3DhvohIXe9AhFyNRiitHM9WU1RpBYrYbDlK4RFLkRIMa2xve184VWZpN/dm9Mp6SEGEa qloYlaOsKpHETQUFR3e4oCLyfohIx528f1yrE7uERiLaQULKAWemHI7Gl1QsrpzcxAO1xI XlnmcQWmlei0MublIBVgnN6Utvva651KJd2rvX1NYRBQkEH3llQq6imhaPmfkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638438363; a=rsa-sha256; cv=none; b=cykuIaR01PwrBbRocOd925i0FWEFnBQc9rJ/0RdCQiHhp7TB4mFtLCQmT0mEEXjRCZ6dwK tM0nLLL9M+hzPXifcpTzw1T2vqFvVHB/+CDM1duH6qrEFMTQYE9oixf4aCwmje/yuqV4u8 Htyn/0wYV5vSwC+nqOn3luXLW/LjMRTTz/tAgSC20P2Z0vtQhSD2HOq7muXVqOtC3RUVCa NvVFBGLc358HYddALGhUiiiB+ChGigGJ4joD+pTOX1r5FgzBmY9Ugwdh2HIp0c8ah4I241 pLlG4frnop2bIKmGZCI27TZsJOFlt1PhYGl5ylbZibEMcCGxUKeA4ZsYVi7Z/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AMMTIEGA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=AMMTIEGA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5D170109A X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: oMFiDSoZ2Dpw --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Guillaume, Thanks for picking this up and submitting a patch. Have you considered using `tramp-handle-file-exists-p'? I=E2=80=99m not ove= rly familiar with tramp or this sort of issue, but it looks like it could be exactly wha= t we want. > My Emacs Workflow involves connecting to a dev server over SSH so I can u= se my > machines as thin clients and avoid synchronizing files, for that I do pre= tty > much everything over TRAMP as I don=E2=80=99t want to lose the benefits o= f GUI Emacs. > While everything mostly works impressively fine, I noticed writing my > specifications that ob-plantuml fails to generate diagrams. > > It seems to me that there is a redundant check which uses `file-exists-p`= even > if using TRAMP, the plantuml jar is located on the remote server, so it f= ails > with an error even though the command to actually render the diagrams wor= ks > fine. All the best, Timothy --=-=-=--