i don’t think i’ll need elisp as i’m using emacs distribution

i want to learn basics elisp so that i can understand how to map keys how to send commands etc.

constructs that all beginners require

please don’t send a 300 page pdf for elisp as i don’t want to learn everything i just want a basic max 10 page rulebook for elisp

my teacher told me to use emacs and i love the experience so far thanks to the support from this community

i have not yet learned how to execute command like

menu-bar–display-line-numbers-mode-relative

i don’t know how to

run tab-width command with and set it to 4 after using M-x to open dialogue box to run command

(i think it’s called buffer not dialogue box)

so this is the level i’m at not much i know but i hope that emacs gods help me in finding true peace

  • Litanys@lem.cochrun.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I’d just start with using M-x and describe-function or describe-variable. That way you start to learn what various things do and then just use like (setq name-of-variable) to change things. That’ll get you a long way. Once you are more comfy, work into those keybindings. What distribution are you using?

  • Wood_Work16666B
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    If the elisp intro doesn’t suit your prefered style of learning two alternatives are to search the index in the emacs or elisp reference manual you access by

    1. f1 r

    2. f1 R elisp

    then you followup in the case of elisp with “I excursion” to list the index topic on that keyword excursion as an example; better to look for blogs on the web as a first step to find the solution to your immediate need

  • xenodiumB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    It’s been a while since I’ve updated this page, but I had bookmarked a bunch of elisp things. https://xenodium.com/emacs-lisp-bookmarks

    There should be some links there that qualify the requirements, examples:

    https://harryrschwartz.com/2014/04/08/an-introduction-to-emacs-lisp.html

    https://github.com/abo-abo/elisp-guide

    https://github.com/caiorss/Emacs-Elisp-Programming

    Having said that, go to the built-in elisp manual to go deeper.

  • GallipoB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I don’t about it’s page count, but the goto-place for your need seems to be the “Introdution to Programming in Emascs Lisp” which is reachable from emacs with C-h i m Emacs Lisp Intro

    It is structured nicely, so you should be able to find the relevant parts easily from the table of contents, you don’t have to read it all. None the less I would recommend to read as much as possible, because it’s very informative and (in my experience) well worth it.