[ESS] default pdf viewer for `ess-swv-PDF'

Patrick Drechsler patrick at pdrechsler.de
Wed May 2 21:23:35 CEST 2007


Martin Maechler <maechler at stat.math.ethz.ch> writes:

>>>>>> "Patrick" == Patrick Drechsler <patrick at pdrechsler.de>
>>>>>>     on Wed, 02 May 2007 16:01:38 +0200 writes:
>     Patrick> Hi, what is the correct way to set a default PDF
>     Patrick> viewer for the function `ess-swv-PDF' in current
>     Patrick> ESS?
[...]
>     Patrick> Is there a suggested/better way of doing this?
>
> unfortunately not yet.

No problem. I can live with this snipplet in my customization. I just
wanted to make sure that I hadn't missed anything obvious in the new
ESS version.

[...]
> I'm trying to set up something which uses new variables
> ess-pref-pdfviewer and ess-pref-psviewer. 
>
> For pdf it would try to use
> 	1) ess-pref-pdfviewer  -- if defined (is not by default)
>
> 	2) getOption("pdfviewer") - if that's a valid file 
>
> 	3) revert to the current list of proposed defaults.
>
> Can I send you updated ess-cust.el and ess-swv.el and you try ?

Of course.

Thanks for the feedback

Patrick
-- 
Schwerer als Luft? Flugmaschinen sind unmöglich.
	-- Lord Kelvin, Präsident der Royal Society (1895)




More information about the ESS-help mailing list