From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Comment on Emacs Lisp Introduction Date: Sun, 01 Aug 2010 08:36:18 +0200 Organization: Organization?!? Message-ID: <87fwyy261p.fsf@lola.goethe.zz> References: <877hkc2i7f.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1280644598 1413 80.91.229.12 (1 Aug 2010 06:36:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 1 Aug 2010 06:36:38 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 01 08:36:37 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OfSA0-0005oJ-Up for ged-emacs-devel@m.gmane.org; Sun, 01 Aug 2010 08:36:37 +0200 Original-Received: from localhost ([127.0.0.1]:53389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfSA0-0000AA-AN for ged-emacs-devel@m.gmane.org; Sun, 01 Aug 2010 02:36:36 -0400 Original-Received: from [140.186.70.92] (port=33043 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfS9t-00009b-30 for emacs-devel@gnu.org; Sun, 01 Aug 2010 02:36:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OfS9r-0004gc-GI for emacs-devel@gnu.org; Sun, 01 Aug 2010 02:36:29 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:48645) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfS9r-0004gU-5h for emacs-devel@gnu.org; Sun, 01 Aug 2010 02:36:27 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OfS9q-0005mg-5w for emacs-devel@gnu.org; Sun, 01 Aug 2010 08:36:26 +0200 Original-Received: from p508ed933.dip.t-dialin.net ([80.142.217.51]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Aug 2010 08:36:26 +0200 Original-Received: from dak by p508ed933.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Aug 2010 08:36:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 55 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p508ed933.dip.t-dialin.net X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:8w8RQlyqWQQMe9TxZTBztnkGjK4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128075 Archived-At: Fren Zeee writes: > On Sat, Jul 31, 2010 at 12:33 PM, Fren Zeee wrote: >> On Sat, Jul 31, 2010 at 1:01 AM, David Kastrup wrote: >>> Fren Zeee writes: >>> >>>> Robert, does your intro book explain things like how to get the full >>>> definition of a function like for example >>>> >>>> next-line which is a down arrow >>>> >>>> (symbol-function 'next-line) >>>> #[(arg) " \203& [next-line-add-newlines arg abbrev-mode 1 nil " >>>> " line-move (line-move arg) ((... ...))] 3 1337315 "p"] >>>> >>>> I could not figure out from online doc and apropos how to do it. >>> >>> Huh? >>> >>> C-h f next-line RET gives the online doc, and the very first line is >>> >>> next-line is an interactive compiled Lisp function in `simple.el'. >>> >>> where the string `simple.el' is a hyperlink leading to the definition of >>> next-line in simple.el.  So I don't understand what problem you >>> encountered using the online documentation.  You can also use >>> M-x find-function RET next-line RET >>> to get to the source. >>> >>> What is your problem? >> >> David, My problem is that I want to see the function definition of next-line. >> > ie lisp code without having to search, find which file has it and then > open it. Emacs does all the work for you, so why do you complain? > On some platforms, I dont have the source and its an unnecessary > interruption in the work to go and make the detour to search for it. Distributing Emacs without corresponding source to the byte code is a violation of its license. Byte code is byte code. You can't turn byte code back into Elisp. If you want to look at the byte code in a more readable form than that used by just printing its Lisp forms, you can use M-x disassemble on the compiled command. That is most certainly not the corresponding source code, but you _refuse_ to read the corresponding source code for whatever twisted reason. -- David Kastrup