From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim O'Callaghan Subject: Re: Attention XEmacs users Date: Tue, 20 Jun 2006 18:53:56 +0200 Message-ID: <20060620165356.GF1132@ELSAMSW37164> References: <20060615132109.GA1296@ELSAMSW37164> <20060620120902.GB1132@ELSAMSW37164> <51f8d6c18c8a5c7541be9d341034dc50@science.uva.nl> <20060620150303.GD1132@ELSAMSW37164> <20060620162457.GE1132@ELSAMSW37164> <8ae4afbb9eb021c7b31fd84665f93daa@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FsjTn-0004DW-0l for emacs-orgmode@gnu.org; Tue, 20 Jun 2006 12:53:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FsjTm-0004D3-JH for emacs-orgmode@gnu.org; Tue, 20 Jun 2006 12:53:30 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FsjTm-0004Cy-14 for emacs-orgmode@gnu.org; Tue, 20 Jun 2006 12:53:30 -0400 Received: from [193.120.211.34] (helo=dspsrv.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FsjeK-0003lG-Ip for emacs-orgmode@gnu.org; Tue, 20 Jun 2006 13:04:24 -0400 Received: from [145.36.45.123] (helo=localhost) by dspsrv.com with asmtp (Exim 3.36 #1) id 1FsjTk-0002m0-00 for emacs-orgmode@gnu.org; Tue, 20 Jun 2006 17:53:28 +0100 Content-Disposition: inline In-Reply-To: <8ae4afbb9eb021c7b31fd84665f93daa@science.uva.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode On Tue, Jun 20, 2006 at 06:36:19PM +0200, Carsten Dominik wrote: > Maybe you are not trying to open the file in emacs? > Following a link picks an application to open the file, depending on > the extension. Under windows, the default is to use "open" for > files, which is just like double-clicking them. However, "open" may > choke on an efs path. > > You can force the link to open inside emacs with C-u C-c C-o. Have > you tried this? > Yep, it looks like this is the problem. > - Carsten > > On Jun 20, 2006, at 18:24, Tim O'Callaghan wrote: > > >On Tue, Jun 20, 2006 at 05:10:27PM +0200, Carsten Dominik wrote: > >>Yes, looks like this function does not do at all what I think it > >>should be doing. I'll remove the call, thanks for tracking this > >>down. > >> > > > >I've tracked it down to something in org-open file. It gets past the > >"No such file: " clause. Efs seems to be functioning well enough up > >until the point where the file actually gets opened. > > > >>- Carsten > >> > >>On Jun 20, 2006, at 17:03, Tim O'Callaghan wrote: > >> > >>>On Tue, Jun 20, 2006 at 03:47:13PM +0200, Carsten Dominik wrote: > >>>>Hi Tim, > >>>> > >>>> > >>>>On Jun 20, 2006, at 14:09, Tim O'Callaghan wrote: > >>>>> > >>>>>Also ":" needed to be added to org-link-escape-chars, as below: > >>>>>(defconst org-link-escape-chars '((":" . ":") ("[" . "%5B") ("]" > >>>>>. > >>>>>"%5D") (" " . "%20")) > >>>>>"Association list of escapes for some characters problematic in > >>>>>links.") > >>>> > >>>>Is there a typo in this setting? The above setting should lead > >>>>to > >>>>an > >>>>infinite loop, because you keep replacing ":" with ":" when > >>>>trying > >>>>to > >>>>escape the link characters. And as far as I can see, org-mode > >>>>passes > >>>>the file name right through to `find-file'. Could anyone try to > >>>>reporduce this? > >>>> > >>> > >>>Sorry, it was a quick hack that seemed to work, and now for some > >>>reason does not. The issue itself still exists though. > >>> > >>>I've tracked it down to the convert-standard-filename call in > >>>org-open-file. If i remove the convert-standard-filename, it does > >>>not > >>>recognize it as an efs type file. > >>> > >>>Anyway convert-standard-filename is what mangles efs type file > >>>links. My guess is that it may be related to the C:\\filename > >>>problem > >>>too. > >>> > >>>Tim. > >>> > >>> > >>>_______________________________________________ > >>>Emacs-orgmode mailing list > >>>Emacs-orgmode@gnu.org > >>>http://lists.gnu.org/mailman/listinfo/emacs-orgmode > >>> > >>> > >> > >>-- > >>Carsten Dominik > >>Sterrenkundig Instituut "Anton Pannekoek" > >>Universiteit van Amsterdam > >>Kruislaan 403 > >>NL-1098SJ Amsterdam > >>phone: +31 20 525 7477 > >> > > > >Tim. > > > > > > -- > Carsten Dominik > Sterrenkundig Instituut "Anton Pannekoek" > Universiteit van Amsterdam > Kruislaan 403 > NL-1098SJ Amsterdam > phone: +31 20 525 7477 > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode Tim.