unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* gid doc?
@ 2003-05-04 18:27 brian.auld
  2003-05-05  3:31 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: brian.auld @ 2003-05-04 18:27 UTC (permalink / raw)


Can anyone recommand a url or howto or manual that talks about using 'gid' with emacs.

On the recommendation of others, I'm trying to use it. I'm having trouble getting comfortable with it, and 'info id-utils' is pretty thin...

Thanks,

Brian

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gid doc?
  2003-05-04 18:27 gid doc? brian.auld
@ 2003-05-05  3:31 ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2003-05-05  3:31 UTC (permalink / raw)


> From: brian.auld@adic.com
> Date: Sun, 4 May 2003 11:27:51 -0700
> 
> Can anyone recommand a url or howto or manual that talks about using 'gid' with emacs.

There's the "M-x gid" command, and that's about all there is to it.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: gid doc?
@ 2003-05-06 14:06 brian.auld
  2003-05-06 17:08 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: brian.auld @ 2003-05-06 14:06 UTC (permalink / raw)



Are there any particular guidelines for using gid in the kernel tree. These are the steps I took: 

1) built id-utils
2) moved id-utils.el to ~/.emacs-lisp directory
3) added the following lines to .emacs file to automatically
   load id-utils.el on startup:

(setq load-path (append load-path (list ~/.emacs-lisp")))

(autoload 'gid "id-utils" "Interface to ID Utils" t)

4) Built ID database (from kernel source root dir):
   find . -name "*.[chyCHY]" | xargs mkid

---------

When I try and run 'M-x gid' on a symbol. I know I had it working at one time, but now it's belly up. Is my 'find ...' in error?

Any pointers would be appreciated.

-- Brian



> -----Original Message-----
> From: Eli Zaretskii [mailto:eliz@elta.co.il]
> Sent: Sunday, May 04, 2003 11:32 PM
> To: help-gnu-emacs@gnu.org
> Subject: Re: gid doc?
> 
> > From: brian.auld@adic.com
> > Date: Sun, 4 May 2003 11:27:51 -0700
> >
> > Can anyone recommand a url or howto or manual that talks about using
> 'gid' with emacs.
> 
> There's the "M-x gid" command, and that's about all there is to it.
> 
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gid doc?
       [not found] <mailman.5629.1052230305.21513.help-gnu-emacs@gnu.org>
@ 2003-05-06 16:56 ` Kai Großjohann
  0 siblings, 0 replies; 5+ messages in thread
From: Kai Großjohann @ 2003-05-06 16:56 UTC (permalink / raw)


brian.auld@adic.com writes:

> 4) Built ID database (from kernel source root dir):
>    find . -name "*.[chyCHY]" | xargs mkid

xargs reads some file names from stdin, invokes mkid with them, then
reads more file names, invokes mkid again.  So what will happen is
this:

mkid file1 ... file100
mkid file101 ... file200
mkid file201 file202 file203

This is assuming that xargs reads chunks of 100 file names each and
there are 203 files.

Does mkid overwrite its database on each call?
-- 
file-error; Data: (Opening input file no such file or directory ~/.signature)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gid doc?
  2003-05-06 14:06 brian.auld
@ 2003-05-06 17:08 ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2003-05-06 17:08 UTC (permalink / raw)


> From: brian.auld@adic.com
> Date: Tue, 6 May 2003 07:06:05 -0700
> 
> 1) built id-utils
> 2) moved id-utils.el to ~/.emacs-lisp directory
> 3) added the following lines to .emacs file to automatically
>    load id-utils.el on startup:
> 
> (setq load-path (append load-path (list ~/.emacs-lisp")))
> 
> (autoload 'gid "id-utils" "Interface to ID Utils" t)

This is all correct.

> 4) Built ID database (from kernel source root dir):
>    find . -name "*.[chyCHY]" | xargs mkid

This is not what I do.  Simply type this:

     mkid .

If you only want C and C++ files, use the --exclude, --include and
--languages switches to control mkid.

> When I try and run 'M-x gid' on a symbol. I know I had it working at one time, but now it's belly up.

What exactly fails?  What error messages?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-05-06 17:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-04 18:27 gid doc? brian.auld
2003-05-05  3:31 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2003-05-06 14:06 brian.auld
2003-05-06 17:08 ` Eli Zaretskii
     [not found] <mailman.5629.1052230305.21513.help-gnu-emacs@gnu.org>
2003-05-06 16:56 ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).