Search the web
Sign In
New User? Sign Up
taglist · Vim taglist (source browser) plugin
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1 - 30 of 444   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#30 From: Tim Johnson <tim@...>
Date: Tue Nov 4, 2003 2:32 am
Subject: Re: Taglist no longer works for Rebol
timjohnson12...
Offline Offline
Send Email Send Email
 
* Yegappan Lakshmanan <yegappan@...> [031103 17:05]:
> Hi,
>
> --- Tim Johnson <tim@...> wrote:
> > I bet this will be a tricky one :-(
> > I've been using taglist with rebol for some time
>
> I think, you have extended exuberant ctags (through the .ctags or
> ctags.cnf file) to support rebol. You should have also set the
> corresponding taglist variable in one of the Vim initialization
I have so many plugins :-), and you now see from my last email,
that I did find the problem. Without modifying taglist at all,
I can put the rebol definition in my .vimrc without tampering
with taglist at all.

thanks for the quick response, if I'd been thinking more clearly
this posting wouldn't have been necessary. One for the
archives I guess.

cheers!
tim

--
Tim Johnson <tim@...>
       http://www.alaska-internet-solutions.com

#29 From: Yegappan Lakshmanan <yegappan@...>
Date: Tue Nov 4, 2003 2:18 am
Subject: Re: Taglist no longer works for Rebol/Filetype Please
yegappan
Offline Offline
Send Email Send Email
 
Hi Tim,

--- Tim Johnson <tim@...> wrote:
> * Tim Johnson <tim@...> [031103 15:41]:
> > I bet this will be a tricky one :-(
> Hi Yegappan:
>  Turned out to not be tricky at all. I had forgotten that,
>  since rebol is not a supported filetype, I had hand-patched
>  taglist.
>
> Here is the code for the rebol filetype. It would be great
> if it could be added to the main distribution
>

I can add it to the taglist plugin only after rebol is supported
by exuberant ctags. Otherwise, for those users who do not have
the rebol extension, when they edit a rebol file, a bunch of
error messages will be displayed.

>
> " rebol language
> let s:tlist_def_rebol_settings = 'rebol;c:class;f:function'
>

Instead of modifying the taglist plugin file, you can add the
below line to the .vimrc file:

    let tlist_rebol_settings = 'rebol;c:class;f:function'

>
> " that's all it takes. Here is the .ctags
> " code that I used, if it is of use to you.
> " -----------------------------------------------------------
> --langdef=rebol
> --langmap=rebol:.r
> --regex-rebol=/[ ]*([^ ]+)[ ]*: func/\1/f,function/
> --regex-rebol=/[ ]*([^ ]+)[ ]*: def/\1/f,function/
> --regex-rebol=/[ ]*([^ ]+)[ ]*: sub/\1/f,function/
> --regex-rebol=/[ ]*([^ ]+)[ ]*: has/\1/f,function/
> --regex-rebol=/[ ]*([^ ]+)*: does/\1/f,function/
> --regex-rebol=/[ ]*([^ ]+)*: make object!/\1/c,class/
> --regex-rebol=/[ ]*([^ ]+)*: context/\1/c,class/
> " -----------------------------------------------------------
>

You can send this to Darren Hiebert (author of exuberant ctags),
so that rebol will be supported in the next version of exuberant
ctags.

- Yegappan

> And FYI, most rebol programmers are used to using
> the rebol rtags utility, which generates a ctags-
> compatible tagfile.
>


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

#28 From: Yegappan Lakshmanan <yegappan@...>
Date: Tue Nov 4, 2003 1:49 am
Subject: Re: Taglist no longer works for Rebol
yegappan
Offline Offline
Send Email Send Email
 
Hi,

--- Tim Johnson <tim@...> wrote:
> I bet this will be a tricky one :-(
> I've been using taglist with rebol for some time
> now. I recently recompiled vim 6.2 with patches
> 1 thru 144. Huge version with python-interp enabled.
>
> Taglist no longer works for rebol - and that's a bummer
> because I really got used to it. I had installed the
> latest taglist, went back to the previous version, with
> the same lack of response. Only the file name is shown, not
> Functions or classes. And it still works fine with python.
>
>  Also of note, tagmenu (which also uses ctags) stills
>  works for rebol.
>
>  Any ideas?
>  Of note: There was a bug in vim6.2 such that $VIMRUNTIME
>  pointed to /usr/local/share/vim/vim61. $VIMRUNTIME now
>  points to /usr/local/share/vim/vim62, as it should.
>

By default (out of the box), exuberant ctags doesn't support
the rebol language source files.

I think, you have extended exuberant ctags (through the .ctags or
ctags.cnf file) to support rebol. You should have also set the
corresponding taglist variable in one of the Vim initialization
files.

Search for the definition of the tlist_rebol_settings variable. Maybe,
you have set this variable in a file in the old Vim runtime directory.
You need to set this variable in a file in the new runtime directory.

You can set this variable in the .vimrc file to avoid this
problem in the future.

- Yegappan


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

#27 From: Tim Johnson <tim@...>
Date: Tue Nov 4, 2003 1:48 am
Subject: Re: Taglist no longer works for Rebol/Filetype Please
timjohnson12...
Offline Offline
Send Email Send Email
 
* Tim Johnson <tim@...> [031103 15:41]:
> I bet this will be a tricky one :-(
Hi Yegappan:
  Turned out to not be tricky at all. I had forgotten that,
  since rebol is not a supported filetype, I had hand-patched
  taglist.

Here is the code for the rebol filetype. It would be great
if it could be added to the main distribution

" rebol language
let s:tlist_def_rebol_settings = 'rebol;c:class;f:function'

" that's all it takes. Here is the .ctags
" code that I used, if it is of use to you.
" -----------------------------------------------------------
--langdef=rebol
--langmap=rebol:.r
--regex-rebol=/[ ]*([^ ]+)[ ]*: func/\1/f,function/
--regex-rebol=/[ ]*([^ ]+)[ ]*: def/\1/f,function/
--regex-rebol=/[ ]*([^ ]+)[ ]*: sub/\1/f,function/
--regex-rebol=/[ ]*([^ ]+)[ ]*: has/\1/f,function/
--regex-rebol=/[ ]*([^ ]+)*: does/\1/f,function/
--regex-rebol=/[ ]*([^ ]+)*: make object!/\1/c,class/
--regex-rebol=/[ ]*([^ ]+)*: context/\1/c,class/
" -----------------------------------------------------------

And FYI, most rebol programmers are used to using
the rebol rtags utility, which generates a ctags-
compatible tagfile.

Cheers
tim

--
Tim Johnson <tim@...>
       http://www.alaska-internet-solutions.com

#26 From: Tim Johnson <tim@...>
Date: Tue Nov 4, 2003 12:37 am
Subject: Taglist no longer works for Rebol
timjohnson12...
Offline Offline
Send Email Send Email
 
I bet this will be a tricky one :-(
I've been using taglist with rebol for some time
now. I recently recompiled vim 6.2 with patches
1 thru 144. Huge version with python-interp enabled.

Taglist no longer works for rebol - and that's a bummer
because I really got used to it. I had installed the
latest taglist, went back to the previous version, with
the same lack of response. Only the file name is shown, not
Functions or classes. And it still works fine with python.

  Also of note, tagmenu (which also uses ctags) stills
  works for rebol.

  Any ideas?
  Of note: There was a bug in vim6.2 such that $VIMRUNTIME
  pointed to /usr/local/share/vim/vim61. $VIMRUNTIME now
  points to /usr/local/share/vim/vim62, as it should.

--
Tim Johnson <tim@...>
       http://www.alaska-internet-solutions.com

#25 From: Yegappan Lakshmanan <yegappan@...>
Date: Mon Nov 3, 2003 6:19 pm
Subject: Re: Appending files option
yegappan
Offline Offline
Send Email Send Email
 
Hello,

--- Kevin McCarthy <kjm@...> wrote:
> The taglist plugin is fantastic.  I love it, and have used it for quite
> a while now.
>
> I don't really like the new feature to display multiple files in the
> taglist window though, so am still using version 2.8.  Is there a chance
> to make this new functionality configurable, or is there an option I
> missed?
>

Currently you cannot configure the taglist plugin to display only
one file in the taglist window. I will try to make this a configurable
option in the next version of the taglist plugin.

- Yegappan


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

#24 From: Kevin McCarthy <kjm@...>
Date: Mon Nov 3, 2003 5:48 pm
Subject: Appending files option
kjm@...
Send Email Send Email
 
The taglist plugin is fantastic.  I love it, and have used it for quite
a while now.

I don't really like the new feature to display multiple files in the
taglist window though, so am still using version 2.8.  Is there a chance
to make this new functionality configurable, or is there an option I
missed?

-Kevin

#23 From: Yegappan Lakshmanan <yegappan@...>
Date: Mon Nov 3, 2003 5:22 pm
Subject: Re: taglist - display file b4 updating the list
yegappan
Offline Offline
Send Email Send Email
 
Hello,

--- "Mistry, Pritesh (Pritesh)" <mpritesh@...> wrote:
> Hi,
>
> I have been using taglist for quite some time now. One thing that I have
> noticed is that if the file I jump to has a handful of tags (typically
> running into a few thousands - eg. winuser.h), it takes a few seconds before
> the control is returned & that file itself is opened.
>
> Is there any way that we can first open that file & then update the taglist
> window so that we can atleast continue with viewing what we wanted to?
>

Vim supports only sequential processing. So it is not possible to
edit a file and at the same time execute a plugin in the background.
You can do only one at a time. In this case, you can start editing
a file only after the taglist plugin finishes processing the tags.

The text processing from a Vim plugin is slow. If a tags file contains
thousands of entries, it will take several seconds to minutes for
the taglist plugin to process all of them.

The taglist plugin caches the processed tags output. So the tags file
is processed only once for a file. So you should see the delay only
when a file is first loaded or when you update the taglist window
explicitly.

- Yegappan


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

#22 From: Yegappan Lakshmanan <yegappan@...>
Date: Mon Nov 3, 2003 2:15 am
Subject: ANN: New version (3.1) of the taglist plugin
yegappan
Offline Offline
Send Email Send Email
 
Hi all,

I have uploaded a new version (3.1) of the taglist plugin to the Vim
online website. You can download it from

http://vim.sourceforge.net/scripts/script.php?script_id=273

The major change in this version is the support for saving and
restoring taglist sessions. Using the taglist session file,
you can save the tags listed for multiple files. By loading the
taglist session file, you can update the taglist window with
the tags for those files.

The taglist documentation is separated from the plugin file into
a separate help file in Vim documentation format.

You can visit the taglist home page for more information:

http://www.geocities.com/yegappan/taglist

- Yegappan

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

#21 From: "egalthan" <egalthan@...>
Date: Mon Oct 27, 2003 3:09 pm
Subject: vim problems
egalthan
Offline Offline
Send Email Send Email
 
Just installed a new box with redhat 9 and went
to vim a file and get lots of escape codes.

Any and all help is appreciated.

example of my .bashrc file in vim:
<ESC>[34m# .bashrc

# User specific aliases and functions

# Source global definitions
<ESC>[33mif <ESC>[33m[ <ESC>[33m-f /etc/bashrc <ESC>[33m]; <ESC>
[33mthen
     . /etc/bashrc
<ESC>[33mfi
<ESC>[34m~

#20 From: Yegappan Lakshmanan <yegappan@...>
Date: Thu Oct 9, 2003 4:14 pm
Subject: Re: Not able to configure taglist in gvim
yegappan
Offline Offline
Send Email Send Email
 
Hello,

--- "Mondal Atanu (IFIN DC COM)" <Atanu.Mondal@...> wrote:
> Hi,
> I have put Taglist.vim in the plugin directory under .vim.. I am using 6.2
> version of vim.
> when I am giving the command :Tlist all I am getting is "TList not an editor
> command"

Are you opening the taglist window using the ":TList" or ":Tlist" command?
From the error message, it looks like you are trying to open the taglist
window using the ":TList" command. You should use the ":Tlist" command
to open the taglist window.

- Yegappan

> I have checked with :scri command that vim is sourcing the taglist script..
> What else can be
> the problem.. I am new in Linux.. If anybody out there can help me out with
> this..
> Thanks in advance..
> Regards
> Atanu
>
>


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#19 From: "Mondal Atanu (IFIN DC COM)" <Atanu.Mondal@...>
Date: Thu Oct 9, 2003 4:53 am
Subject: Not able to configure taglist in gvim
atanumondal2000
Offline Offline
Send Email Send Email
 
Hi,
I have put Taglist.vim in the plugin directory under .vim.. I am using 6.2 version of vim.
when I am giving the command :Tlist all I am getting is "TList not an editor command"
I have checked with :scri command that vim is sourcing the taglist script.. What else can be
the problem.. I am new in Linux.. If anybody out there can help me out with this..
Thanks in advance..
Regards
Atanu

#18 From: Yegappan Lakshmanan <yegappan@...>
Date: Wed Oct 8, 2003 2:51 pm
Subject: RE: New version (3.0) of the taglist plugin
yegappan
Offline Offline
Send Email Send Email
 
Hello,

--- Petertwo_Yang@... wrote:
> Dear Sir,
>      When I switch between the tag window and the source code window, the
> content of tag window becomes distorted. Is there way to make the tag window
> intact when I switch between the two windows? Note: I use the vim on the
> pure text mode of Linux system.
>

Are you using Vim in a xterm or in a Linux console? If you are using
Vim in a terminal which doesn't support increasing the window
width (like in a console), then when the taglist window is opened
it cannot increase the window width to accomodate both the
source window and the tag window. In this case, you can either
use a horizontal window

    let Tlist_Use_Horiz_Window = 1

or, you can configure the taglist window to not increase the
window width

    let Tlist_Inc_Winwidth = 0

Add one of the above lines to your .vimrc file.

- Yegappan


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#17 From: Yegappan Lakshmanan <yegappan@...>
Date: Tue Oct 7, 2003 4:24 am
Subject: Re: Question about TagList on Solaris.
yegappan
Offline Offline
Send Email Send Email
 
--- Jayesh Dalal <j.d@...> wrote:
> Hi,
>
> The gz file that I got from sourceforge... well when I unzip/untar it and
> point Tlist_Ctags_Cmd to it, it  gives me the following message
> "/home/jdalal/ctags-5.5.2: Permission denied.^@" The ctags-5.5.2 directory
> has read, write, execute permissions.
>

The Tlist_Ctags_Cmd should point to the ctags executable (not the directory).
Try seeting Tlist_Ctags_Cmd to /home/jdalal/ctags-5.5.2/ctags. Did you
build the ctags sources to create the ctags executable?

>
> Searched google for a precompiled version of ctags for Solaris, but didn't
> find any sites. Do you have any references ?
>

No.

- Yegappan


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#16 From: "Jayesh Dalal" <j.d@...>
Date: Tue Oct 7, 2003 1:59 am
Subject: Re: Question about TagList on Solaris.
icq8883178
Offline Offline
Send Email Send Email
 
Hi,

The gz file that I got from sourceforge... well when I unzip/untar it and
point Tlist_Ctags_Cmd to it, it  gives me the following message
"/home/jdalal/ctags-5.5.2: Permission denied.^@" The ctags-5.5.2 directory
has read, write, execute permissions.

Searched google for a precompiled version of ctags for Solaris, but didn't
find any sites. Do you have any references ?

Jayesh


>From: Yegappan Lakshmanan <yegappan@...>
>Reply-To: taglist@yahoogroups.com
>To: taglist@yahoogroups.com
>Subject: Re: [taglist] Question about TagList on Solaris.
>Date: Mon, 6 Oct 2003 17:05:57 -0700 (PDT)
>
>
>--- Jayesh Dalal <j.d@...> wrote:
> > Hi,
> >
> > Thanks for the info. I downloaded exuberant ctags from sourceforge, but
> > don't have sufficient privilidges to install it :(
> >
>
>You don't need to install the complete exuberant package. You just
>need to build the exuberant ctags binary and use it with the
>taglist plugin.
>
>- Yegappan
>
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search
>http://shopping.yahoo.com
>
>
>To unsubscribe from this group, send an email to:
>taglist-unsubscribe@yahoogroups.com
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

_________________________________________________________________
Instant message with integrated webcam using MSN Messenger 6.0. Try it now
FREE!  http://msnmessenger-download.com

#15 From: Yegappan Lakshmanan <yegappan@...>
Date: Tue Oct 7, 2003 1:24 am
Subject: Re: Displaying class data member in the taglist window.
yegappan
Offline Offline
Send Email Send Email
 
Hello,

--- jeff mei <jeffmei761@...> wrote:
> Hi Yegappan;
>
> I have been using your taglist.vim script over a year and I love it. It helps
> me a lot when I write program in C++. The current version of ctags (5.5.2)
> has
> support for class data member. Do you have plan to display the class data
> member in the taglist window? Or is there a simple switch I can add to the
> taglist.vim script so I can display the class data member?
>

The exuberant ctags tool will generate tags for the C++ class data members,
if the 'm' command-line flag is supplied. By default, the taglist plugin
doesn't supply this flag for C++ files to minimize the number of tags
displayed.

The taglist plugin provides a configuration variable for each language
to change the flags  passed to the exuberant ctags tool. So, to include
the C++ class data members (in addition to the other tags), add the
following line to your .vimrc file:

-----------------------------------------------------------------------
let tlist_cpp_settings = 'c++;v:variable;d:macro;t:typedef;c:class;' .
                             \ 'n:namespace;g:enum;s:struct;u:union;' .
                             \ 'm:members;f:function'
-----------------------------------------------------------------------

- Yegappan

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#14 From: Yegappan Lakshmanan <yegappan@...>
Date: Tue Oct 7, 2003 12:05 am
Subject: Re: Question about TagList on Solaris.
yegappan
Offline Offline
Send Email Send Email
 
--- Jayesh Dalal <j.d@...> wrote:
> Hi,
>
> Thanks for the info. I downloaded exuberant ctags from sourceforge, but
> don't have sufficient privilidges to install it :(
>

You don't need to install the complete exuberant package. You just
need to build the exuberant ctags binary and use it with the
taglist plugin.

- Yegappan


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#13 From: "Jayesh Dalal" <j.d@...>
Date: Tue Oct 7, 2003 12:02 am
Subject: Re: Question about TagList on Solaris.
icq8883178
Offline Offline
Send Email Send Email
 
Hi,

Thanks for the info. I downloaded exuberant ctags from sourceforge, but
don't have sufficient privilidges to install it :(

Jayesh


>From: Yegappan Lakshmanan <yegappan@...>
>Reply-To: taglist@yahoogroups.com
>To: j.d@...
>CC: taglist@yahoogroups.com
>Subject: Re: [taglist] Question about TagList on Solaris.
>Date: Mon, 6 Oct 2003 13:59:14 -0700 (PDT)
>
>Hello,
>
>--- icq8883178 <j.d@...> wrote:
> > Hi,
> >
> > I installed taglist.vim and tried running it on Solaris, but I get
> > the following errors when I do :Tlist in vim
> >
> > -f: No such file or directory^@-o: No such file or directory^@-r: No
> > such file or directory^@-m: No such file or directory^@-a: No such
> > file or directory^@-t: No such file or directory^@-=: No such file or
> > directory^@-2: No such file or directory^@--: No such file or
> > directory..........
> >
> > Any suggestions on what might be causing this ?
> >
> > If I run the same :Tlist command on Linux, it works fine... it only
> > barfs under Solaris version 5.8.
> >
>
>It looks like you are not using the exuberant ctags utility in
>Solaris 5.8. You are either using the GNU ctags or the Unix ctags
>utility. The taglist plugin will work only with the exuberant
>ctags utility. You have to set the Tlist_Ctags_Cmd variable to
>point to the location of exuberant ctags:
>
>   let Tlist_Ctags_Cmd = '/my/path/to/ctags'
>
>- Yegappan
>
>
>__________________________________
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search
>http://shopping.yahoo.com
>
>
>To unsubscribe from this group, send an email to:
>taglist-unsubscribe@yahoogroups.com
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

_________________________________________________________________
Get MSN 8 Dial-up Internet Service FREE for one month.  Limited time offer--
sign up now!   http://join.msn.com/?page=dept/dialup

#12 From: Yegappan Lakshmanan <yegappan@...>
Date: Mon Oct 6, 2003 8:59 pm
Subject: Re: Question about TagList on Solaris.
yegappan
Offline Offline
Send Email Send Email
 
Hello,

--- icq8883178 <j.d@...> wrote:
> Hi,
>
> I installed taglist.vim and tried running it on Solaris, but I get
> the following errors when I do :Tlist in vim
>
> -f: No such file or directory^@-o: No such file or directory^@-r: No
> such file or directory^@-m: No such file or directory^@-a: No such
> file or directory^@-t: No such file or directory^@-=: No such file or
> directory^@-2: No such file or directory^@--: No such file or
> directory..........
>
> Any suggestions on what might be causing this ?
>
> If I run the same :Tlist command on Linux, it works fine... it only
> barfs under Solaris version 5.8.
>

It looks like you are not using the exuberant ctags utility in
Solaris 5.8. You are either using the GNU ctags or the Unix ctags
utility. The taglist plugin will work only with the exuberant
ctags utility. You have to set the Tlist_Ctags_Cmd variable to
point to the location of exuberant ctags:

   let Tlist_Ctags_Cmd = '/my/path/to/ctags'

- Yegappan


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#11 From: "icq8883178" <j.d@...>
Date: Mon Oct 6, 2003 7:17 pm
Subject: Question about TagList on Solaris.
icq8883178
Offline Offline
Send Email Send Email
 
Hi,

I installed taglist.vim and tried running it on Solaris, but I get
the following errors when I do :Tlist in vim

-f: No such file or directory^@-o: No such file or directory^@-r: No
such file or directory^@-m: No such file or directory^@-a: No such
file or directory^@-t: No such file or directory^@-=: No such file or
directory^@-2: No such file or directory^@--: No such file or
directory..........

Any suggestions on what might be causing this ?

If I run the same :Tlist command on Linux, it works fine... it only
barfs under Solaris version 5.8.

Thanks.

Jayesh

#10 From: Tim Johnson <tim@...>
Date: Thu Oct 2, 2003 7:25 pm
Subject: Re: Vera Support/Rebol Too!
timjohnson12...
Offline Offline
Send Email Send Email
 
* Yegappan Lakshmanan <yegappan@...> [031002 10:21]:
> Hello,
>
> --- yogidog_98 <John.Pape@...> wrote:
> > The latest versions of ctags support the vera language.  Please add
> > the vera configuation to taglist.vim:
> >
> > " vera language
> > let tlist_vera_settings = 'vera;c:class;d:macro;e:enumerator;' .
> >                        \ 'f:function;g:enum;m:member;p:program;' .
> >                        \ 'P:prototype;t:task;T:typedef;v:variable;' .
> >                        \ 'x:externvar'
> >
>
> I will add the support for the vera language in the next version of
> the taglist plugin (along with some other interesting extensions).

   :-) And I hope that one of the other interesting extensions
       is rebol. I've 'hacked' taglist and tagmenu for rebol
       and the effect is just wonderful. It's nice to move
       from python to C to rebol and have the same services.

       Thanks for these great contributions Yegappan!
       tim
--
Tim Johnson <tim@...>
       http://www.alaska-internet-solutions.com
       http://www.johnsons-web.com

#9 From: Yegappan Lakshmanan <yegappan@...>
Date: Thu Oct 2, 2003 6:12 pm
Subject: Re: Vera Support
yegappan
Offline Offline
Send Email Send Email
 
Hello,

--- yogidog_98 <John.Pape@...> wrote:
> The latest versions of ctags support the vera language.  Please add
> the vera configuation to taglist.vim:
>
> " vera language
> let tlist_vera_settings = 'vera;c:class;d:macro;e:enumerator;' .
>                        \ 'f:function;g:enum;m:member;p:program;' .
>                        \ 'P:prototype;t:task;T:typedef;v:variable;' .
>                        \ 'x:externvar'
>

I will add the support for the vera language in the next version of
the taglist plugin (along with some other interesting extensions).

- Yegappan


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#8 From: "yogidog_98" <John.Pape@...>
Date: Wed Oct 1, 2003 9:35 pm
Subject: Vera Support
yogidog_98
Offline Offline
Send Email Send Email
 
The latest versions of ctags support the vera language.  Please add
the vera configuation to taglist.vim:

" vera language
let tlist_vera_settings = 'vera;c:class;d:macro;e:enumerator;' .
                        \ 'f:function;g:enum;m:member;p:program;' .
                        \ 'P:prototype;t:task;T:typedef;v:variable;' .
                        \ 'x:externvar'

#7 From: Tim Johnson <tim@...>
Date: Fri Sep 26, 2003 4:53 pm
Subject: Re: Rebol, ctags and taglist
timjohnson12...
Offline Offline
Send Email Send Email
 
* Yegappan Lakshmanan <yegappan@...> [030925 22:10]:
> Hello,

   Hello Yegappan:

> --- Tim Johnson <tim@...> wrote:
> You can try adding the following lines to the .ctags file
> to generate tags for rebol functions:
>
> --------------------------------------------------------
> --langdef=rebol
> --langmap=rebol:.r
> --regex-rebol=/[ ]*([^ ]+)[ ]*: func/\1/f,function/
> --------------------------------------------------------

   Rebol has several types of subroutines:
   "def","sub" and "has" are of the same construction as
   "func". So my .ctags now looks thus:

--langdef=rebol
--langmap=rebol:.r
--regex-rebol=/[ ]*([^ ]+)[ ]*: func/\1/f,function/
--regex-rebol=/[ ]*([^ ]+)[ ]*: def/\1/f,function/
--regex-rebol=/[ ]*([^ ]+)[ ]*: sub/\1/f,function/
--regex-rebol=/[ ]*([^ ]+)[ ]*: has/\1/f,function/

  And works for those! Thanks so much.

> If you post the syntax of other rebol elements (with sample
> code), then we can come up with regular expressions to
> parse them.

   Another type of subroutine is "does" which does not
   have an interface (no arguments are passed)
   Example:
   hello-Yegappan: does[print "hello Yegappan"]

   OOP:
     Overview: There is no distinction (as I understand it)
     between a class and an object. However, a new object
     can be made from an originally defined object with
     new attributes.

     Starting simply:

     An object can be declared by either "make object!"
     or "context". Below is an skeleton where 3 object
     declarations are nested:
        NOTE: the semicolon (;) starts a comment
              the colon is an assignment operator
              and there can not be any white space
              between the colon and the target.
              salutation: "hello Yegappan"    ; correct
              salutation : "hello Yegappan"   ; error!

; skeleton of nested objects

mu: make object![
     java-script: context[
         text: context[
             deploy: true
             test-func: js-text-test
             func-call: js-text-blk
             ]   ;  end text "object"
         ] ; end "java-script object
     ] ; end "mu" object

; "context" and "make object!" can be used interchangeably.
; i.e. "context" is an alias for "make object!"
; like C preprocessor (sort of)

Regards
tim

--
Tim Johnson <tim@...>
       http://www.alaska-internet-solutions.com
       http://www.johnsons-web.com

#6 From: Yegappan Lakshmanan <yegappan@...>
Date: Fri Sep 26, 2003 5:59 am
Subject: Re: Rebol, ctags and taglist
yegappan
Offline Offline
Send Email Send Email
 
Hello,

--- Tim Johnson <tim@...> wrote:
> Hello:
>
> I am however limited by my lack of understanding of
> regular expressions. Let me use my (non-functional)
> hack of the example at http://ctags.sourceforge.net/EXTENDING.html
> As follows:
> --langdef=rebol
> --langmap=rebol:.r
> --regex-rebol=/^def[ \t]*([a-zA-Z0-9_]+)/\1/d,definition/
>
> Let us take a simple rebol definition. A rebol subroutine
> takes of several forms. Here is one
> myfunc: func[][]
> Where the two sets of braces delimits
>     1)subroutine interface
>     2)subroutine body
> The substring ": func" would be a key token,
> I think.
> And one would expect "func" to be
> followed by a whitespace or a "[" (opening brace)
>
> So could an appropriate regex be offered to
> accomplish this?
>

You can try adding the following lines to the .ctags file
to generate tags for rebol functions:

--------------------------------------------------------
--langdef=rebol
--langmap=rebol:.r
--regex-rebol=/[ ]*([^ ]+)[ ]*: func/\1/f,function/
--------------------------------------------------------

If you post the syntax of other rebol elements (with sample
code), then we can come up with regular expressions to
parse them.

- Yegappan


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#5 From: Tim Johnson <tim@...>
Date: Fri Sep 26, 2003 3:31 am
Subject: Rebol, ctags and taglist
timjohnson12...
Offline Offline
Send Email Send Email
 
Hello:

Rebol is not included as part of the ctags
definition. Therefore taglist is not useful
for that language at this time.

And <sigh> since I program also in python and
C/C++, I am all too aware of how nice it is
to have taglist working.

I would propose to first create
a set of runtime definitions for the ctags
config file. Which is .ctags on linux,
I think.

Once that is accomplished,
I would then propose to provide a compiled-in
rebol module for ctags.

I am however limited by my lack of understanding of
regular expressions. Let me use my (non-functional)
hack of the example at http://ctags.sourceforge.net/EXTENDING.html
As follows:
--langdef=rebol
--langmap=rebol:.r
--regex-rebol=/^def[ \t]*([a-zA-Z0-9_]+)/\1/d,definition/

Let us take a simple rebol definition. A rebol subroutine
takes of several forms. Here is one
myfunc: func[][]
Where the two sets of braces delimits
     1)subroutine interface
     2)subroutine body
The substring ": func" would be a key token,
I think.
And one would expect "func" to be
followed by a whitespace or a "[" (opening brace)

So could an appropriate regex be offered to
accomplish this?

Thanks. I hope this generates some interest.
Ctags needs to know about rebol! And when
I get this working, rebol programmers will
be hearing about taglist. :-)
tim
--
Tim Johnson <tim@...>
       http://www.alaska-internet-solutions.com
       http://www.johnsons-web.com

#4 From: Yegappan Lakshmanan <yegappan@...>
Date: Thu Sep 25, 2003 9:21 pm
Subject: ANN: New version (3.0) of the taglist plugin
yegappan
Offline Offline
Send Email Send Email
 
Hi all,

I have uploaded a new version (3.0) of the taglist plugin to the
Vim online website. You can get it from:

http://vim.sourceforge.net/scripts/script.php?script_id=273

The major new feature in this version is that now the tags defined
in multiple files are displayed. In the earlier versions, only
the tags defined in the current file are displayed. In this new
version, as you edit new files, the tags defined in the new
files are added to the currently displayed tags (grouped by
the filename).

For more information about the taglist plugin, visit

http://www.geocities.com/yegappan/taglist/

- Yegappan

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

#3 From: Yegappan Lakshmanan <yegappan@...>
Date: Tue Sep 23, 2003 3:55 pm
Subject: Re: Using the taglist plugin with the Vim session support
yegappan
Offline Offline
Send Email Send Email
 
Hi Mark,

>
> What I did was create a session with this file and taglist.vim. I've
> tried this before with the same problem:
>
> When I reload the session taglist.vim is empty and I need to hit F8
> twice to reload it. Does anyone have a workaround so taglist is
> automatically reloaded based on foo.vim?
>

The taglist plugin doesn't work properly with the Vim session support.
This is because of a bug in Vim in restoring folds created in special
buffers. This is fixed in Vim 6.2. The taglist plugin needs to be
modified to refresh the taglist window when a session file is loaded.

- Yegappan

>
> --
> Mark
>


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

#2 From: Yegappan Lakshmanan <yegappan@...>
Date: Fri Sep 19, 2003 4:28 am
Subject: Re: can not use the latest TagList
yegappan
Offline Offline
Send Email Send Email
 
Hi Tony,

--- Tony Wang <wwang@...> wrote:
> Hi yegappan,
>
> I have just upgrade to Version: 2.8, but when I type F8 or ":Tlist",
> it shows:
>
> Error detected while processing function
> <SNR>8_Tlist_Toggle_Window..<SNR>8_Tlist_Init_Window:
> line   68:
> Not an editor command:     setlocas - (g:Tlist_WinWidth + 1)
> line   69:
> :endif without :if:     endif
> line   70:
> :endif without :if:     endif
>
> and then change to the following immediately:
>
> Error detected while processing function
> <SNR>8_Tlist_Toggle_Window..<SNR>8_Tlist_Highlight_Tag..<SNR>8_Tlist_H
> ighlight_Tagline:
> line    6:
> E28: No such highlight group name: TagListTagName /\%9l\s\+\zs.*/
>
>
> BTW: When I use Version: 2.6, it is OK.
>

Based on the above messages, it looks like your copy of the taglist
plugin is corrupted. Can you try re-downloading the plugin from
the Vim online website?

- Yegappan


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

#1 From: Yegappan Lakshmanan <yegappan@...>
Date: Thu Sep 18, 2003 2:16 pm
Subject: Re: Unable to run taglist.vim plugin on win2000/xp
yegappan
Offline Offline
Send Email Send Email
 
Hello,

--- David Kalita <kalita@...> wrote:
> Hi
>
> I'm using your great taglist plugin. But I have problem to run this
> script on Win2000/XP. Problem is in variable Tlist_Ctags_Cmd.
>
> I placed ctags.exe in directory which names contains spaces in my
> example c:\Program Files\vim\...
>
> The core of this problem is in space between Program and Files. I tryed
> put directory (variable) name in quote, double qoute, use escape(dir, '\
> ') but without success. Shell in windows screems that it couldn't run
> command.
>

Your analysis is correct. If the pathname is quoted with a double quotes ("),
then the Win2000/XP command (cmd) processes the path correctly. But,
when using the Vim builtin system() function, somehow, the quotes are
not passed out. I am investigating a solution for this problem.

In the mean time, can you use the short path name (8.3 name) to
the ctags directory name?

- Yegappan


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Messages 1 - 30 of 444   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help