Ville Skyttä writes:
Have you tried it? What do you think?
xdg-open would be a good choice to add too, even to or near the
beginning of
list of tried things.
http://portland.freedesktop.org/wiki/XdgUtils
Done. I append the current scheme. As I told Jason, I'm more
interested in completeness at this stage than in getting defaults, let
alone precedence, right. Once I get it into CVS, I don't plan to be
particularly possessive about it, unless people get into a patchwar
over the defaults or the order of menu items.
;; #### this belongs somewhere more generic
;; #### it would be nice to be able to filter it for platform
;; #### The docstrings don't appear in the Value Menu. Tried the menu-choice
;; widget and the :tag and :menu-tag keywords in various combinations, no joy.
(defcustom guided-tour-open-utilities
'((const "open" :doc "Useful on Mac OS X")
(const "xdg-open" :doc "Freedesktop `open' utility.")
(const "see" :doc "Open source `open' utility")
(const "gnome-open"
:doc "GNOME `open' utility - some report it doesn't work"))
"List of generic \"open document\" command-line utilities.
Each utility should be able to determine the right application to use to open
an arbitrary file passed to it on the command line.")
(defcustom guided-tour-odp-viewer "ooimpress"
"Path to program able to view Open Document Format presentations.
Program is invoked in a shell, so PATH is searched."
:type (append '(choice string
(const "ooimpress"))
guided-tour-open-utilities)
:group 'guided-tour)
(defcustom guided-tour-pdf-viewer "xpdf"
"Path to program able to view Portable Document Format documents.
Program is invoked in a shell, so PATH is searched."
:type (append '(choice string
(const "xpdf")
(const "gv"))
guided-tour-open-utilities)
:group 'guided-tour)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta