From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Newsgroups: gmane.emacs.help Subject: Re: How do I get the definition of a function ? Date: Tue, 23 Oct 2007 07:24:24 -0700 Organization: http://groups.google.com Message-ID: <1193149464.677425.312340@e34g2000pro.googlegroups.com> References: <1192913731.881996.244460@v29g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: ger.gmane.org 1193166892 8916 80.91.229.12 (23 Oct 2007 19:14:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2007 19:14:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 23 21:14:53 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IkPDA-0001mp-F6 for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Oct 2007 21:14:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkPD0-0002uD-Un for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Oct 2007 15:14:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!e34g2000pro.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.lang.lisp,comp.lang.scheme Original-Lines: 29 Original-NNTP-Posting-Host: 209.159.64.4 Original-X-Trace: posting.google.com 1193149465 30234 127.0.0.1 (23 Oct 2007 14:24:25 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 23 Oct 2007 14:24:25 +0000 (UTC) In-Reply-To: <1192913731.881996.244460@v29g2000prd.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 ROSPRX02 Complaints-To: groups-abuse@google.com Injection-Info: e34g2000pro.googlegroups.com; posting-host=209.159.64.4; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:153223 comp.lang.lisp:231723 comp.lang.scheme:74502 X-Mailman-Approved-At: Tue, 23 Oct 2007 15:12:59 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48733 Archived-At: On Oct 20, 1:55 pm, gnuist...@gmail.com wrote: > How do I get the definition, ie source code of a function in emacs > lisp ? > > But if it shows some binary or opcode string. > > How do I decompile the string ? > > Please paste the session of an example > using eval last sexp or eval print last sexp. > > Also what is the mathematics of the opcodes ? > Is it related to the combinators in any way ? > Is there any mathematics to speed up the interpretation > of these opcodes and keep their size minimal? Is there > any relation to the mathematics behind the lisp machines? > > Just want to see the whole picture. > > Thanks a lot for elucidation. > > Gnuist Try apropos [function-name]. If you get a buffer saying "[function- name] is a function defined in `module` then click on the `module` and you will get the definition. -Jason