> Actually you don't need to change the code at all to get that > effect. CSCOPE_EDITOR exists, and does what you want to use VISUAL > for.
VISUAL is a standard variable and is used by all Unix programs. If I have to define a new variable for each program I use then I will define dozens of them. You can take a look about VISUAL-EDITOR in these pages: http://www.faqs.org/docs/artu/ch10s04.html#id2942810 http://en.wikibooks.org/wiki/Guide_to_Unix/Environment_Variables http://unixhelp.ed.ac.uk/CGI/man-cgi?more http://pubs.opengroup.org/onlinepubs/007908799/xbd/envvar.html https://help.ubuntu.com/community/EnvironmentVariables > >Patch 0003: This patch adds a way of filtering the results in finddef > >function, > > since we have information about the kind of symbol. I have add > > a solution which doesn't increment the number of options in the > > graphical interface (it is already big), and it is basically > > add the kind of definition in the search pattern. I don't have > > modified the manual page, because I don't know if this change > > will be good for you. > > I'm tending to reject this, on the basis of it modifying more than > it really should. The character '@' isn't quite as forbidden to > appear in search patterns as you might think. Many people are using > cscope on untopical input. Those would hate us for making @ > unusable in searches. Uhmmmm, it's true. I usually use cscope for c programs, but it is possible to use it in other very different ways. I think this funcionality is great, because there is a lot of information in the cscope index that can be very usueful to the users, and define a new menu option for each of them is no a way. Maybe the solution is looking for a less intrusive way of defining the type of search, or defining a escape character or something like this. Best regards, -- Roberto E. Vargas Caballero ---------------------------- k...@shike2.com http://www.shike2.com ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Cscope-devel mailing list Cscope-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cscope-devel