From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: where does emacs's lisp files located ? Date: Wed, 17 Oct 2012 04:19:59 +0200 Message-ID: <87y5j5zvow.fsf@wanadoo.es> References: <682d699e.3081.13a6c569d98.Coremail.horse_rivers@126.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1350440416 31350 80.91.229.3 (17 Oct 2012 02:20:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Oct 2012 02:20:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 17 04:20:24 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TOJF9-0005LD-8T for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Oct 2012 04:20:23 +0200 Original-Received: from localhost ([::1]:38187 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOJF2-0005g2-98 for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Oct 2012 22:20:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOJEx-0005fx-I4 for help-gnu-emacs@gnu.org; Tue, 16 Oct 2012 22:20:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOJEw-0006z2-Hc for help-gnu-emacs@gnu.org; Tue, 16 Oct 2012 22:20:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:55440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOJEw-0006xx-Ag for help-gnu-emacs@gnu.org; Tue, 16 Oct 2012 22:20:10 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TOJF0-00057h-8w for help-gnu-emacs@gnu.org; Wed, 17 Oct 2012 04:20:14 +0200 Original-Received: from 103.red-81-39-30.dynamicip.rima-tde.net ([81.39.30.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Oct 2012 04:20:14 +0200 Original-Received: from ofv by 103.red-81-39-30.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Oct 2012 04:20:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 103.red-81-39-30.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:lEPP7CneC9/ouLrgKT2iZcHGu2Q= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87294 Archived-At: horse_rivers writes: >   I have  installed  my emacs  successfully  ,but I can not  find  its >  lisp  files  which implement  emacs's  function. > >   can you tell me? Suppose you want to see the code for function find-file. Then type: C-h f find-file [ENTER] A window will appear with the documentation for find-file. The first line on that window is: find-file is an interactive compiled Lisp function in `files.el'. The text `files.el' is an hyperlink. Click on it or move the cursor on top of it and press [ENTER] and Emacs will show the file where find-file is implemented. For me it is /usr/local/share/emacs/24.1.50/lisp/files.el.gz but it varies depending on version, operative system and method of installation. The file.el.gz is compressed with gzip (to save disk space, apparently) but Emacs shows it decompressed for you.