From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Attention XEmacs users Date: Tue, 20 Jun 2006 19:13:17 +0200 Message-ID: <0bee3a213a155b5970d3f68586cee893@science.uva.nl> References: <20060615132109.GA1296@ELSAMSW37164> <20060620120902.GB1132@ELSAMSW37164> <51f8d6c18c8a5c7541be9d341034dc50@science.uva.nl> <20060620150303.GD1132@ELSAMSW37164> <20060620162457.GE1132@ELSAMSW37164> <8ae4afbb9eb021c7b31fd84665f93daa@science.uva.nl> <20060620165356.GF1132@ELSAMSW37164> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FsjnB-0003ri-Ui for emacs-orgmode@gnu.org; Tue, 20 Jun 2006 13:13:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fsjn8-0003qb-HO for emacs-orgmode@gnu.org; Tue, 20 Jun 2006 13:13:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fsjn8-0003qY-6v for emacs-orgmode@gnu.org; Tue, 20 Jun 2006 13:13:30 -0400 Received: from [146.50.4.51] (helo=imap.science.uva.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fsjxh-0005pN-4w for emacs-orgmode@gnu.org; Tue, 20 Jun 2006 13:24:25 -0400 In-Reply-To: <20060620165356.GF1132@ELSAMSW37164> 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: Tim O'Callaghan Cc: emacs-orgmode Maybe I should force efs/tramp file names to be opened with Emacs/. What is the best and most general way to test if a file name is efs or tramp or ange-ftp? - Carsten On Jun 20, 2006, at 18:53, Tim O'Callaghan wrote: > 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. > > > _______________________________________________ > 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