From xemacs-m  Wed Feb 26 19:45:02 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id TAA19161
	for <xemacs-beta@xemacs.org>; Wed, 26 Feb 1997 19:45:00 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id RAA04688;
	Wed, 26 Feb 1997 17:56:46 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: Typos in doctring of (random)
References: <199702251841.TAA18759@midnight.eng.ecf.teradyne.com> <199702270101.RAA26849@xemacs.eng.sun.com>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Martin Buchholz's message of Wed, 26 Feb 1997 17:01:10 -0800
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 26 Feb 1997 17:56:43 -0800
Message-ID: <m2lo8b106c.fsf@altair.xemacs.org>
Lines: 52
X-Mailer: Gnus v5.4.15/XEmacs 20.1

Martin Buchholz writes:

>>>>>> "Adrian" == Adrian Aichner <aichner@ecf.teradyne.com> writes:
Adrian> How do I properly report a minor bug like this without annoying
Adrian> everybody on the list?

I don't know about the annoying part.  It's nice to keep the reporting
of bugs on the list to potentially save someone else time if they
happen to have the same problem.  From my standpoint, if something
coming across the list means I only have to respond once to it instead
of multiple times, it's a win because then I have more time to chase
down bugs, apply patches, etc.

> It would be real nice, if for trivial things, folks could do the
> extra work and actually make a patch, and send to Steven, as below.

Every little bit helps and is appreciated. :-)

Adrian> I was not able to locate where (random) is defined.

> grep (or etags) is your friend.

Yup.  XEmacs can already tell you whether a symbol is defined in C or
lisp.
C-h f random
random: (&optional LIMIT)
  -- a built-in function.
     ^ ^^^^^^^^ ^^^^^^^^
Return a pseudo-random number.

Built-in functions (subrs) are all defined in C source.

C-h f font-lock-mode
font-lock-mode: (&optional arg)
  -- an interactive compiled Lisp function.
                             ^^^^ ^^^^^^^^
  -- loads from "font-lock".

To find a built-in (C coded symbol) I like

cd XEmacsHome/src
grep DEF.*symbol *.c

for lisp symbols I like

cd XEmacsHome/lisp
grep def.*symbol **/*.el
                 ^^
(zsh specific)
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

