From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Bug: org-preview-latex-fragment fails to render in remote files (TRAMP) [8.2.10 (release_8.2.10 @ /usr/local/Cellar/emacs/24.4/share/emacs/24.4/lisp/org/)] Date: Fri, 06 Mar 2015 00:14:19 +0100 Message-ID: <87wq2vqbp0.fsf@gmx.us> References: <87egp3avla.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTeyd-00064c-M7 for emacs-orgmode@gnu.org; Thu, 05 Mar 2015 18:14:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTeyZ-0002I3-ET for emacs-orgmode@gnu.org; Thu, 05 Mar 2015 18:14:47 -0500 Received: from plane.gmane.org ([80.91.229.3]:58354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTeyZ-0002Hv-7d for emacs-orgmode@gnu.org; Thu, 05 Mar 2015 18:14:43 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YTeyW-0001Ro-EX for emacs-orgmode@gnu.org; Fri, 06 Mar 2015 00:14:40 +0100 Received: from 102.201.133.37.dynamic.jazztel.es ([37.133.201.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Mar 2015 00:14:40 +0100 Received: from rasmus by 102.201.133.37.dynamic.jazztel.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Mar 2015 00:14:40 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nick Dokos writes: > Dustin Paluch writes: > >> Here's what DOES WORK: >> >> Open a local org file, type in a latex fragment like "\[1 + 2 = 3\]", >> then hit C-c C-x C-l. The fragment is replaced with a png as expected. >> >> >> Here's what DOESN'T WORK: >> >> Open a remote org file via C-x C-f /ssh:user@host:/path/to/file.org RET, >> enter the same latex fragment, and issue the same >> org-preview-latex-fragment command. The fragment will be replaced with a >> blank square. Here is a gif: >> >> http://i.imgur.com/Bb2vgWu.gif >> >> HOWEVER! The image IS created on the remote filesystem in the adjacent >> ltxpng folder as expected. >> >> (First time sending mail from Emacs. I hope this works...) > (it did :-) ) >> > > That's not a problem with org, it's a problem with images: try executing > the following two calls (with paths appropriate to your environment of > course): > > (insert-image > '(image :type png :file "/scp:remote:/tmp/foo.png" :ascent center)) > > (insert-image > '(image :type png :file "/tmp/foo.png" :ascent center)) > > and you'll see the same behaviour. Try reporting it as a bug in emacs. But I guess we could generate the picture locally? Or at least allow for it. But that's a separate bug. —Rasmus -- What will be next?