Great! Thanks so much for that tweak. It looks like just what I need:
it will hopefully let me open whatever (even html) externally. I will
give a road test.

Best,

Bill

On Nov 14, 7:03 pm, Terry Brown <[email protected]> wrote:
> On Sun, 13 Nov 2011 21:53:03 -0800 (PST)
>
> wgw <[email protected]> wrote:
> > I installed the active_path plugin and everything seems to work fine.
> > The only quirk I need to fix is controlling what a double click does.
>
> > With text or html nodes, it imports the content and puts @auto in the
> > headline.
>
> > With .odt and .gif nodes it launches the node name with the default
> > application (openoffice and image viewer).
>
> > On pdf files it tries to put the pdf content in the node body and adds
> > @auto.
>
> I've pushed a new @setting,
>
> @data active_path_bin_open
>     # extensions for files/directories
>     # active_path will load as binary, i.e. using external software
>     # use lower case only
>     .pdf
>
> The problem was that active_path assumes any file with no zeros in the
> first 100 characters is text.  This is almost always right, and was
> probably right for your .pdf file, so a better test for text/binary
> won't really work, it needs a specific list of things to open with
> external software.
>
> Now I think of it the list should probably include
>
> .svg
> .ps
> .eps
>
> Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to