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 <[email protected]> wrote:

> Le Wed, 6 Nov 2013 19:17:34 +0100,
> Michael Lachmann <[email protected]> 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 <[email protected]>
>
> _______________________________________________
> Texmacs-dev mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/texmacs-dev
>
>
>
>
_______________________________________________
Texmacs-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to