How can I check the implementation of a builtin function?How to get the function help without typing?How to see the name of the command every time I run it by a shortcut?If I know a keybinding/shortcut, how to get the corresponding function?How do I customize the way Emacs prints out certain keys and key sequences?How best to export functions in dynamic modulesWhat function are associated with these expression evaluation commands in buffers?How go to Emacs lisp source function from my custom elisp file?Navigation to source of compiled lisp function?how to generate tags and find mark-whole-buffer definition

What fantasy book has twins (except one's blue) and a cloaked ice bear on the cover?

How can you tell apart the pronounciation at the end between the "meine" and "meiner" in the daily spoken situation?

Word for 'most late'

How does an alien race from a dying world annihilate most of humanity to colonize the planet for themselves?

How can I communicate feelings to players without impacting their agency?

Uniform Roe algebra of virtually abelian group is type I C*-algebra?

Vergil Book XII, Line 756 | Meter Question

Is is possible to externally power my DSLR with the original battery that is connected to the DSLR by means of wires?

Where is the circle of fifths mentioned for the first time?

I am often given, occasionally stolen, rarely sold, and never borrowed

How can I check the implementation of a builtin function?

How to prove that invoices are really unpaid?

Does immunity to fear prevent a mummy's Dreadful Glare from paralyzing a character?

Does any politician honestly want a No Deal Brexit?

Car as a good investment

Does obfuscation give any measurable security benefit?

Limiting sensor input voltage without biasing measurement

Easy way of generating a 50-150W load @12V

How to increment the value of a (decimal) variable (with leading zero) by +1?

Why do these two ways of understanding constant acceleration give different results?

How are Aircraft Noses Designed?

Why does Principal Vagina say, "no relation" after introducing himself?

Christmas party at employers home

Where does the upgrade to macOS Catalina move root "/" directory files?



How can I check the implementation of a builtin function?


How to get the function help without typing?How to see the name of the command every time I run it by a shortcut?If I know a keybinding/shortcut, how to get the corresponding function?How do I customize the way Emacs prints out certain keys and key sequences?How best to export functions in dynamic modulesWhat function are associated with these expression evaluation commands in buffers?How go to Emacs lisp source function from my custom elisp file?Navigation to source of compiled lisp function?how to generate tags and find mark-whole-buffer definition






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1

















Is there a way to check the implementation of a builtin function (e.g. load-file) without cloning the Emacs repository?










share|improve this question









New contributor



nova is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























  • Some built-in functions are written in C in which case you do need a copy of that source code in order for Emacs to be able to show you the definition. You don't need to clone a repository, though -- a tarball of the sources is absolutely fine for this purpose. For elisp functions, unless you've installed Emacs without the .el (or .el.gz) sources, Emacs will take you to the definitions by default when you ask for help about a function (or variable) and follow the link provided.

    – phils
    4 hours ago












  • n.b. if you installed Emacs via your OS package manager, then you should review all other related packages (which may not be installed), as there may be things that you are missing. (e.g. Debian's basic package includes neither the elisp sources nor the manuals, which makes for an extremely incomplete install).

    – phils
    2 hours ago


















1

















Is there a way to check the implementation of a builtin function (e.g. load-file) without cloning the Emacs repository?










share|improve this question









New contributor



nova is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























  • Some built-in functions are written in C in which case you do need a copy of that source code in order for Emacs to be able to show you the definition. You don't need to clone a repository, though -- a tarball of the sources is absolutely fine for this purpose. For elisp functions, unless you've installed Emacs without the .el (or .el.gz) sources, Emacs will take you to the definitions by default when you ask for help about a function (or variable) and follow the link provided.

    – phils
    4 hours ago












  • n.b. if you installed Emacs via your OS package manager, then you should review all other related packages (which may not be installed), as there may be things that you are missing. (e.g. Debian's basic package includes neither the elisp sources nor the manuals, which makes for an extremely incomplete install).

    – phils
    2 hours ago














1












1








1








Is there a way to check the implementation of a builtin function (e.g. load-file) without cloning the Emacs repository?










share|improve this question









New contributor



nova is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












Is there a way to check the implementation of a builtin function (e.g. load-file) without cloning the Emacs repository?







help






share|improve this question









New contributor



nova is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor



nova is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited 7 hours ago









Drew

51.8k4 gold badges68 silver badges120 bronze badges




51.8k4 gold badges68 silver badges120 bronze badges






New contributor



nova is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 8 hours ago









novanova

61 bronze badge




61 bronze badge




New contributor



nova is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




nova is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

















  • Some built-in functions are written in C in which case you do need a copy of that source code in order for Emacs to be able to show you the definition. You don't need to clone a repository, though -- a tarball of the sources is absolutely fine for this purpose. For elisp functions, unless you've installed Emacs without the .el (or .el.gz) sources, Emacs will take you to the definitions by default when you ask for help about a function (or variable) and follow the link provided.

    – phils
    4 hours ago












  • n.b. if you installed Emacs via your OS package manager, then you should review all other related packages (which may not be installed), as there may be things that you are missing. (e.g. Debian's basic package includes neither the elisp sources nor the manuals, which makes for an extremely incomplete install).

    – phils
    2 hours ago


















  • Some built-in functions are written in C in which case you do need a copy of that source code in order for Emacs to be able to show you the definition. You don't need to clone a repository, though -- a tarball of the sources is absolutely fine for this purpose. For elisp functions, unless you've installed Emacs without the .el (or .el.gz) sources, Emacs will take you to the definitions by default when you ask for help about a function (or variable) and follow the link provided.

    – phils
    4 hours ago












  • n.b. if you installed Emacs via your OS package manager, then you should review all other related packages (which may not be installed), as there may be things that you are missing. (e.g. Debian's basic package includes neither the elisp sources nor the manuals, which makes for an extremely incomplete install).

    – phils
    2 hours ago

















Some built-in functions are written in C in which case you do need a copy of that source code in order for Emacs to be able to show you the definition. You don't need to clone a repository, though -- a tarball of the sources is absolutely fine for this purpose. For elisp functions, unless you've installed Emacs without the .el (or .el.gz) sources, Emacs will take you to the definitions by default when you ask for help about a function (or variable) and follow the link provided.

– phils
4 hours ago






Some built-in functions are written in C in which case you do need a copy of that source code in order for Emacs to be able to show you the definition. You don't need to clone a repository, though -- a tarball of the sources is absolutely fine for this purpose. For elisp functions, unless you've installed Emacs without the .el (or .el.gz) sources, Emacs will take you to the definitions by default when you ask for help about a function (or variable) and follow the link provided.

– phils
4 hours ago














n.b. if you installed Emacs via your OS package manager, then you should review all other related packages (which may not be installed), as there may be things that you are missing. (e.g. Debian's basic package includes neither the elisp sources nor the manuals, which makes for an extremely incomplete install).

– phils
2 hours ago






n.b. if you installed Emacs via your OS package manager, then you should review all other related packages (which may not be installed), as there may be things that you are missing. (e.g. Debian's basic package includes neither the elisp sources nor the manuals, which makes for an extremely incomplete install).

– phils
2 hours ago











3 Answers
3






active

oldest

votes


















3


















For load-file C-h f load-filethen follow the link from the first line, in this case:



load-file is an interactive compiled Lisp function in ‘files.el’.


will open the elisp function definition, C source code, AFAIK, will require the repo.






share|improve this answer



































    1


















    If you are interested in looking at a file from a computer that Emacs isn't even installed on, you can take the filename it's found in from help (C-h f load-file RET), then browse the source at Emacs's GNU Savannah repository, or the Github mirror.



    This code will be later than the version of Emacs you're using, and it may be different in important ways.






    share|improve this answer

































      1


















      On debian, and I guess on Ubuntu as well, the elisp sources (.el files as opposed to byte compiled .elc files) are available in the emacs-el package.



      The elisp sources are not provided in the basic emacs package since they're not necessary to run emacs, only usefull if, like you do, you want to look at the source.



      So absolutely don't need to clone the emacs repo, you just need to install that emacs-el package, eg



      sudo apt-get install emacs-el





      share|improve this answer



























        Your Answer








        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "583"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );







        nova is a new contributor. Be nice, and check out our Code of Conduct.









        draft saved

        draft discarded
















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f53056%2fhow-can-i-check-the-implementation-of-a-builtin-function%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown


























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        3


















        For load-file C-h f load-filethen follow the link from the first line, in this case:



        load-file is an interactive compiled Lisp function in ‘files.el’.


        will open the elisp function definition, C source code, AFAIK, will require the repo.






        share|improve this answer
































          3


















          For load-file C-h f load-filethen follow the link from the first line, in this case:



          load-file is an interactive compiled Lisp function in ‘files.el’.


          will open the elisp function definition, C source code, AFAIK, will require the repo.






          share|improve this answer






























            3














            3










            3









            For load-file C-h f load-filethen follow the link from the first line, in this case:



            load-file is an interactive compiled Lisp function in ‘files.el’.


            will open the elisp function definition, C source code, AFAIK, will require the repo.






            share|improve this answer
















            For load-file C-h f load-filethen follow the link from the first line, in this case:



            load-file is an interactive compiled Lisp function in ‘files.el’.


            will open the elisp function definition, C source code, AFAIK, will require the repo.







            share|improve this answer















            share|improve this answer




            share|improve this answer








            edited 8 hours ago

























            answered 8 hours ago









            MuihlinnMuihlinn

            3561 silver badge8 bronze badges




            3561 silver badge8 bronze badges


























                1


















                If you are interested in looking at a file from a computer that Emacs isn't even installed on, you can take the filename it's found in from help (C-h f load-file RET), then browse the source at Emacs's GNU Savannah repository, or the Github mirror.



                This code will be later than the version of Emacs you're using, and it may be different in important ways.






                share|improve this answer






























                  1


















                  If you are interested in looking at a file from a computer that Emacs isn't even installed on, you can take the filename it's found in from help (C-h f load-file RET), then browse the source at Emacs's GNU Savannah repository, or the Github mirror.



                  This code will be later than the version of Emacs you're using, and it may be different in important ways.






                  share|improve this answer




























                    1














                    1










                    1









                    If you are interested in looking at a file from a computer that Emacs isn't even installed on, you can take the filename it's found in from help (C-h f load-file RET), then browse the source at Emacs's GNU Savannah repository, or the Github mirror.



                    This code will be later than the version of Emacs you're using, and it may be different in important ways.






                    share|improve this answer














                    If you are interested in looking at a file from a computer that Emacs isn't even installed on, you can take the filename it's found in from help (C-h f load-file RET), then browse the source at Emacs's GNU Savannah repository, or the Github mirror.



                    This code will be later than the version of Emacs you're using, and it may be different in important ways.







                    share|improve this answer













                    share|improve this answer




                    share|improve this answer










                    answered 8 hours ago









                    zckzck

                    5,9121 gold badge16 silver badges56 bronze badges




                    5,9121 gold badge16 silver badges56 bronze badges
























                        1


















                        On debian, and I guess on Ubuntu as well, the elisp sources (.el files as opposed to byte compiled .elc files) are available in the emacs-el package.



                        The elisp sources are not provided in the basic emacs package since they're not necessary to run emacs, only usefull if, like you do, you want to look at the source.



                        So absolutely don't need to clone the emacs repo, you just need to install that emacs-el package, eg



                        sudo apt-get install emacs-el





                        share|improve this answer






























                          1


















                          On debian, and I guess on Ubuntu as well, the elisp sources (.el files as opposed to byte compiled .elc files) are available in the emacs-el package.



                          The elisp sources are not provided in the basic emacs package since they're not necessary to run emacs, only usefull if, like you do, you want to look at the source.



                          So absolutely don't need to clone the emacs repo, you just need to install that emacs-el package, eg



                          sudo apt-get install emacs-el





                          share|improve this answer




























                            1














                            1










                            1









                            On debian, and I guess on Ubuntu as well, the elisp sources (.el files as opposed to byte compiled .elc files) are available in the emacs-el package.



                            The elisp sources are not provided in the basic emacs package since they're not necessary to run emacs, only usefull if, like you do, you want to look at the source.



                            So absolutely don't need to clone the emacs repo, you just need to install that emacs-el package, eg



                            sudo apt-get install emacs-el





                            share|improve this answer














                            On debian, and I guess on Ubuntu as well, the elisp sources (.el files as opposed to byte compiled .elc files) are available in the emacs-el package.



                            The elisp sources are not provided in the basic emacs package since they're not necessary to run emacs, only usefull if, like you do, you want to look at the source.



                            So absolutely don't need to clone the emacs repo, you just need to install that emacs-el package, eg



                            sudo apt-get install emacs-el






                            share|improve this answer













                            share|improve this answer




                            share|improve this answer










                            answered 7 hours ago









                            JeanPierreJeanPierre

                            4,9071 gold badge10 silver badges30 bronze badges




                            4,9071 gold badge10 silver badges30 bronze badges
























                                nova is a new contributor. Be nice, and check out our Code of Conduct.









                                draft saved

                                draft discarded

















                                nova is a new contributor. Be nice, and check out our Code of Conduct.












                                nova is a new contributor. Be nice, and check out our Code of Conduct.











                                nova is a new contributor. Be nice, and check out our Code of Conduct.














                                Thanks for contributing an answer to Emacs Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f53056%2fhow-can-i-check-the-implementation-of-a-builtin-function%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown









                                Popular posts from this blog

                                Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                                Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                                Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її