From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel Giraud Subject: Re: Bug: inline images for filenames with spaces Date: Fri, 01 Jul 2011 12:52:02 +0200 Message-ID: <87iprmxoh9.fsf@univ-nantes.fr> References: <20110629093107.BC5E7C7C0C@fish.malachiarts.com> <87boxgdg6r.fsf@univ-nantes.fr> <20110630060643.5DF6CC7C17@fish.malachiarts.com> <87ei2b2064.fsf@gnu.org> <877h821ior.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcbKU-0005ww-FU for emacs-orgmode@gnu.org; Fri, 01 Jul 2011 06:52:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcbKQ-000710-DO for emacs-orgmode@gnu.org; Fri, 01 Jul 2011 06:52:10 -0400 Received: from smtp-tls1.univ-nantes.fr ([193.52.101.145]:48927 helo=smtp-tls.univ-nantes.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcbKP-0006zx-Vl for emacs-orgmode@gnu.org; Fri, 01 Jul 2011 06:52:06 -0400 In-Reply-To: <877h821ior.fsf@gnu.org> (Bastien's message of "Fri, 01 Jul 2011 10:58:12 +0200") 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: Bastien Cc: Huy , emacs-orgmode@gnu.org Bastien writes: > Hi Huy, > > Bastien writes: > >>> I'm not exporting. >>> I'm just doing C-c C-x C-v to display the inline images within emacs. >> >> I confirm there is a bug here, I'm on it. > > I've pushed the fix now, please test it! I've tested your patch. It works with org-toggle-inline-image, export to HTML and to LaTeX. AFAIU, now a link to an inline image inserted with org-insert-link will expand into [[file name.jpg]] instead of [[file%20name.jpg][file name.jpg]]. But the later form still doesn't work so it have to be fixed into older org files. Best, -- Manuel Giraud