Re: ctags under windows

From: mitchell <mforal.n....at.gmail.com>
Date: Thu, 1 Oct 2009 08:39:52 -0700 (PDT)

Hi,

> It looks like you can't avoid the clunky dos box popping up unless you
> add custom code to your lua code:
>
> see the thread starting here:http://lua-users.org/lists/lua-l/2008-09/threads.html#00137
>
> and one of the solutions suggested in the thread:
>
> http://lua-users.org/lists/lua-l/2008-09/msg00145.html

I wonder if io.popen could be used in some way? That might be cleaner.

-Mitchell;

>
> On Sep 29, 2:41 pm, dsacks <dennis.sa....at.gmail.com> wrote:
>
>
>
> > Okay, I got this working under Win xp. I had to do two things:
>
> > 1. Edited init.lua to comment out "if not WIN32 then" and "end":
>
> > line 29 - 31:
> > --if not WIN32 then
> >   require 'ext/pm.ctags_browser' -- ctags browser
> > --end
>
> > 2. edit ctags_browser.lua to add the path to my ctags.exe to the
> > os.execute() statement:
>
> >     os.execute('\bin\bin\ctags.exe -f "'..FILE_OUT..'" '..
> > (buffer.filename or ''))
>
> > And this works, though a dos box flashes on the screen every time
> > os.execute is called, which is clunky. Seeing if I can keep that from
> > happening...
>
> > On Sep 29, 1:48 pm, dmsacks <dennis.sa....at.gmail.com> wrote:
>
> > > Can the ctags browser work under windows? I don't see it in the drop
Received on Thu 01 Oct 2009 - 11:39:52 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:38:39 EST