texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] file dialog


From: Michael Lachmann
Subject: Re: [Texmacs-dev] file dialog
Date: Thu, 7 Nov 2013 12:25:57 +0100

Thanks!
Below is what I ended up using.
--

(kbd-map ("F F F"
 (choose-file
  (lambda (f) (with g (url->string f)
    (insert  
     `(action ,(string-append "\"" g "\"" ) 
      ,(string-append "(system \"open " g "\")" ) )  ) ) ) 
  "" "")
 ) )
--




Michael

--

Michael Lachmann, Max Planck Institute for Evolutionary Anthropology
Deutscher Platz 6, 04103 Leipzig, Germany.


On 7 November 2013 10:16, François Poulain <address@hidden> wrote:
Le Wed, 6 Nov 2013 19:17:34 +0100,
Michael Lachmann <address@hidden> a écrit :

> Thanks!
> Is there an easy way to get the portable version?

Maybe. We could write a "tm-open" which switch to the good tool
depending on the running platform.

> Some Linux distributions have open...

For unices except MacOS, there exist "xdg-open".

For windows, I really don't know (and didn't found with a simple
google request).

François

--
François Poulain <address@hidden>

_______________________________________________
Texmacs-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/texmacs-dev





reply via email to

[Prev in Thread] Current Thread [Next in Thread]