[petsc-dev] DMDABoundaryType

Barry Smith bsmith at mcs.anl.gov
Mon Mar 14 10:24:56 CDT 2011


  esc x tags-search  enter the string to search for and then use esc , to find the next use.

  BUT etags is only as good as its database and sometimes the generation of the etags file doesn't traverse everywhere it should.

   Barry

On Mar 14, 2011, at 9:43 AM, Ethan Coon wrote:

> Ok, apparently etags does more than I thought it did... off to RTFM.
> 
> Thanks,
> 
> Ethan
> 
> On Mon, 2011-03-14 at 15:39 +0100, Jed Brown wrote:
>> On Mon, Mar 14, 2011 at 15:34, Ethan Coon <ecoon at lanl.gov> wrote:
>>        Related to this, do you guys have a standard way of finding
>>        all such
>>        instances?  I was using grep/find (and then checking the
>>        compilation
>>        output), but I'm sure my find was missing a few files.
>> 
>> Depends on your editor, but there are "tags" for Emacs and Vim
>> (slightly different in each case, but basically the same). Most IDEs
>> have some sort of symbol-reference lookup functionality built in. You
>> can also use GNU Global which retains a bit more information than the
>> usual TAGS. I often end up using recursive grep to locate files with a
>> certain property and then edit them using sed or perl -pi -e (for
>> mechanical things). In addition to the tags searches, you can have
>> Emacs visit every location that matches a grep query.
> 
> -- 
> ------------------------------------
> Ethan Coon
> Post-Doctoral Researcher
> Applied Mathematics - T-5
> Los Alamos National Laboratory
> 505-665-8289
> 
> http://www.ldeo.columbia.edu/~ecoon/
> ------------------------------------
> 




More information about the petsc-dev mailing list