all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Rouleau <prouleau001@gmail.com>
To: Heime <heimeborgia@protonmail.com>
Cc: Heime via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Subject: Re: Splitting a list with spaces and comments
Date: Wed, 16 Aug 2023 21:01:25 -0400	[thread overview]
Message-ID: <CALTqLia5adb4SzAPiw-+zDCu=kEOL_dKtXv4cM4B1L7uUKLPWw@mail.gmail.com> (raw)
In-Reply-To: <syaH3UayOTHWIb9kwJGWnMbI2VpAUdsLwQ35ZX9UTpxBPeBlTY4UlkEBYGVVooCLXUonABTrUA1V7moFir1WTFRm7r3s9sL_I-6g3HKRxug=@protonmail.com>

On Wed, Aug 16, 2023 at 8:26 PM Heime <heimeborgia@protonmail.com> wrote:

>
> Much appreciate showing me how to use ielm for this.
>

You're welcome.  ielm, along with the help that comes with each EMacs Lisp
function will help you a lot.

You can request help for any function by typing 'C-h f'
 For example, if you want to see more information about the setq special
form, you:
-  type: 'C-h f'
- Emacs will prompt at the bottom of the screen: type 'setq' then hit return
- Emacs will then open a window with a help buffer showing this:

setq is a special form in ‘C source code’.

(setq [SYM VAL]...)

Set each SYM to the value of its VAL.
The symbols SYM are variables; they are literal (not evaluated).
The values VAL are expressions; they are evaluated.
Thus, (setq x (1+ y)) sets ‘x’ to the value of ‘(1+ y)’.
The second VAL is not computed until after the first SYM is set, and so on;
each VAL can use the new value of variables set earlier in the ‘setq’.
The return value of the ‘setq’ form is the value of the last VAL.

You will also see some highlighted words.  They are links that will show
other info.
If you have installed Emacs C source code, there will also be a link that
will lead you to the C source code for this special form.
If you request help for something implemented in Emacs Lisp the link will
lead to the source code of that function.

You can also request help for other things, like keys (C-h k), any symbol
(C-h o) , the coding system (C-h C), etc...

All of this information is in Emacs manual (internally to Emacs, or outside
in the Web-based manual (ie:
https://www.gnu.org/software/emacs/manual/html_node/emacs/Help.html#Help
).

I also have built a set of PDF files with lots of links when I first
learned Emacs (I find it helped me to remember things).  The page
describing help is here:
https://raw.githubusercontent.com/pierre-rouleau/pel/master/doc/pdf/help.pdf
(access it with a browser that can render PDF if you want to use the links
easily.  I think it can be done within Emacs running in graphics mode, but
I mostly use terminal-based Emacs for various reasons).

It will help you a lot to go through the help.  It will influence your
design ideas for the better.

-- 
/Pierre


      reply	other threads:[~2023-08-17  1:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-16 12:17 Splitting a list with spaces and comments Heime
2023-08-16 19:07 ` Philip Kaludercic
2023-08-16 21:20 ` Pierre Rouleau
2023-08-17  0:26   ` Heime
2023-08-17  1:01     ` Pierre Rouleau [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALTqLia5adb4SzAPiw-+zDCu=kEOL_dKtXv4cM4B1L7uUKLPWw@mail.gmail.com' \
    --to=prouleau001@gmail.com \
    --cc=heimeborgia@protonmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.