2007/5/3, Stephen J. Turnbull <stephen(a)xemacs.org> wrote:
[snip]
(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 '(choice string
(const "xpdf")
(const "gv")
(const "open" :doc "Useful on Mac OS X"))
:group 'guided-tour)
Stephen, it was very kind of you to write this Lisp code. I have not
tested it but it looks very cool.
One thing: why not call the Linux program see(1) by default? It looks
in the mailcap file to figure out what program to call. (On my Ubuntu
machine, it launches Evince, which IMO is an easier-to-use, more
modern-looking, and more convenient PDF viewer than xpdf.) There's
also gnome-open(1) but IIRC it didn't work for me.
Also: Why give the user a choice of ODT or PDF? I think you should
open the PDF by default. If they really need the ODT maybe they can
look on disk or, if you feel it's important, you could add an option
for ESC 1 M-x guided-tour to open it.
Cheers,
Jason
--
Jason Spiro: computer consulting with a smile.
I provide software development and training services to clients worldwide.
Contact me for a FREE consultation. Satisfaction guaranteed.
+1 (416) 781-5938 / Email: info(a)jspiro.com / MSN: jasonspiro(a)hotmail.com
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta