Re: can gtags be enhanced to find where a symbol is being modified?

Gautam Thaker <[email protected]> Tue, 14 Jul 2020 22:46:01 -0400
Newsgroups gmane.comp.gnu.global.general
Message-ID <CA+1+E3WMFd728B0oY5JymHDBWhdfBNkEDv7rV74n5Pagkdtrxg@mail.gmail.com>
--00000000000042638305aa71ed1e
Content-Type: text/plain; charset="UTF-8"

Sorry, I failed to mention:

Version: 6.6.4
Env. Ubuntu 18.04

On Tue, Jul 14, 2020 at 4:39 PM Gautam Thaker <[email protected]> wrote:

>
> I have been a long time gtags/global/ggtags.el use and love it.  When I
> use ggtags.el to find all the locations where a particular symbol is
> referenced, I wish it were possible to ask to be shown all the places where
> the symbol is being "modified" (written to.)
>
>
> Ideally, I wish either GRTAGS (or elsewhere) the following entries can be
> generated:
>
> Symbol   Read/Write   function file_name  line_number
>
>
> we can then, with some simple arg flag (^u for example?) only search for
> symbol where it is being modified, possibly restricting it to just the
> current function an/or current file.
>
> How hard would this be to do? I am willing to do some of the work if
> guided. Also, when I use
>
>
> gtags --sqlite3, the GRTAGS file  seems essentially empty. (I have built
> gtags with --with-sqlilte).
>
>
>
>
>

--00000000000042638305aa71ed1e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Sorry, I failed to mention:<br><br>Version: 6.6.4<div>Env.=
 Ubuntu 18.04</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">On Tue, Jul 14, 2020 at 4:39 PM Gautam Thaker &lt;<a hre=
f=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"auto"><div cl=
ass=3D"gmail_quote" dir=3D"auto"><div dir=3D"ltr" class=3D"gmail_attr"><br>=
</div>I have been a long time gtags/global/ggtags.el use and love it.=C2=A0=
 When I use ggtags.el to find all the locations where a particular symbol i=
s referenced, I wish it were possible to ask to be shown all the places whe=
re the symbol is being &quot;modified&quot; (written to.)<br>
<br>
<br>
Ideally, I wish either GRTAGS (or elsewhere) the following entries can be g=
enerated:<br>
<br>
Symbol=C2=A0 =C2=A0Read/Write=C2=A0 =C2=A0function file_name=C2=A0 line_num=
ber<br>
<br>
<br>
we can then, with some simple arg flag (^u for example?) only search for sy=
mbol where it is being modified, possibly restricting it to just the curren=
t function an/or current file.<br><br>
How hard would this be to do? I am willing to do some of the work if guided=
. Also, when I use<br>
<br>
<br>
gtags --sqlite3, the GRTAGS file=C2=A0 seems essentially empty. (I have bui=
lt gtags with --with-sqlilte).<br>
<br>
<br>
<br>
<br>
</div></div>
</blockquote></div>

--00000000000042638305aa71ed1e--