emacs/var/elfeed/db/data/4f/4fee3a4530f5515d3accdec5680ab772aa72d377
2022-01-03 12:49:32 -06:00

1 line
2.3 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Hi there. I am a new Emacs user, trying it after using Vim for a year or so.I&#39;d say it&#39;s ambitious, but I&#39;ve started from scratch. I didn&#39;t want to go with Spacemacs or Doom Emacs. </p> <p>Configuring init.el file got me thinking - What are all those functions? I know that ELisp is a dialect of a programming language called LISP, but knowing many languages ELisp seems so strange. It&#39;s absolutely peculiar. </p> <p>You all know that Python has been considered a &quot;pseudo code&quot; language in which you almost tell in human English what do you want to achieve.I actually believe that ELisp falls under that description much better. </p> <p>I don&#39;t understand what all those functions are doing below the surface. It seems to me that if I&#39;d want to make a AI Chess game by my own rules, that the only thing I&#39;d need to write in ELisp, would be: </p> <blockquote> <p>(setq AI-chess-my-own-rules t) </p> </blockquote> <p>And that would be it.<br/> Can I see the implementation of each function I have put in my init.el?How does, for example: </p> <blockquote> <p>(load theme &#39;doom-gruvbox) </p> </blockquote> <p>work? </p> <p>Can I see the implementation? Or (scroll-bar-mode -1)? How does that work? Does that tells the X to stop drawing the scroll-bar in Emacs? What is the language that those functions are written in, and where could I see, inside or outside of Emacs, the implementation of it? </p> <p>And how is it possible that I can type a name of any function written in ELisp and it will just work? Aren&#39;t there any libraries? How does that work? </p> <p>I believe these are trivial questions for you, but I am really new in this. I fell in love with the Org mode, but Emacs seems so strange. I got used to parenthesis, I get it - That&#39;s the syntax. Fine. I don&#39;t have a problem with it. But it&#39;s absolutely different than any other language I&#39;ve ever used. </p> <p>Thanks in advance for replies. :)</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/aqua_cap"> /u/aqua_cap </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/r25owf/what_are_elisp_functions_below_the_surface/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/r25owf/what_are_elisp_functions_below_the_surface/">[comments]</a></span>