unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* where  does emacs's  lisp  files    located  ?
@ 2012-10-17  1:29 horse_rivers
  2012-10-17  2:19 ` Óscar Fuentes
  0 siblings, 1 reply; 4+ messages in thread
From: horse_rivers @ 2012-10-17  1:29 UTC (permalink / raw)
  To: emacs help list

hi,

  I have  installed  my emacs  successfully  ,but I can not  find  its  lisp  files  which implement  emacs's  function.

  can you tell me?


thanks!



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

* Re: where  does emacs's  lisp  files    located  ?
  2012-10-17  1:29 where does emacs's lisp files located ? horse_rivers
@ 2012-10-17  2:19 ` Óscar Fuentes
  2012-10-17  2:25   ` horse_rivers
  2012-10-17  2:47   ` Kevin Rodgers
  0 siblings, 2 replies; 4+ messages in thread
From: Óscar Fuentes @ 2012-10-17  2:19 UTC (permalink / raw)
  To: help-gnu-emacs

horse_rivers <horse_rivers@126.com> 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.




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

* Re:Re: where  does emacs's  lisp  files    located  ?
  2012-10-17  2:19 ` Óscar Fuentes
@ 2012-10-17  2:25   ` horse_rivers
  2012-10-17  2:47   ` Kevin Rodgers
  1 sibling, 0 replies; 4+ messages in thread
From: horse_rivers @ 2012-10-17  2:25 UTC (permalink / raw)
  To: help-gnu-emacs

oh,yeah,I  get  that,

what is the relationship between  *.el  files in  emacs  source doc  and  the installed  *.el  files  which are  located  at  /usr/share/   directory?

       
thank you!

At 2012-10-17 10:19:59,"Óscar Fuentes" <ofv@wanadoo.es> wrote:
>horse_rivers <horse_rivers@126.com> 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.
>
>



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

* Re: where  does emacs's  lisp  files    located  ?
  2012-10-17  2:19 ` Óscar Fuentes
  2012-10-17  2:25   ` horse_rivers
@ 2012-10-17  2:47   ` Kevin Rodgers
  1 sibling, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2012-10-17  2:47 UTC (permalink / raw)
  To: help-gnu-emacs

On 10/16/12 8:19 PM, Óscar Fuentes wrote:
> horse_rivers<horse_rivers@126.com>  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

Or: M-x find-function RET foobar RET

> /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.

-- 
Kevin Rodgers
Denver, Colorado, USA




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

end of thread, other threads:[~2012-10-17  2:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-17  1:29 where does emacs's lisp files located ? horse_rivers
2012-10-17  2:19 ` Óscar Fuentes
2012-10-17  2:25   ` horse_rivers
2012-10-17  2:47   ` Kevin Rodgers

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).