Compare commits

...

2 Commits

Author SHA1 Message Date
Gerard Vermeulen
0cffc0488a Explain how to clone this repository from https://forge.chapril.org 2023-01-03 21:04:52 +01:00
Gerard Vermeulen
64275f4040 Make `ielm' setup work on Emacs-29.0.60 2023-01-03 21:03:10 +01:00

View File

@ -38,18 +38,39 @@ the section entitled "GNU Free Documentation License".
:CUSTOM_ID: sec:quick-start
:END:
Backup your =user-emacs-directory= (defaults often to =~/.emacs.d= on =Linux=,
=Unix=, or =Darwin=) directory and execute the commands in listing
[[lst:prepare-user-emacs-directory]]. After invoking Emacs interactively (in
interactive mode, neither in batch mode, nor in server mode), Emacs will ask you
to install a selected set of packages. Quit Emacs and invoke Emacs again.
Backup the =user-emacs-directory= (defaults often to =~/.emacs.d= on =Linux=,
=Unix=, or =Darwin=) and execute the commands in listing [[lst:prepare-user-emacs-directory-with-https][prepare the
=user-emacs-directory= without =ssh= access]] or in listing [[lst:prepare-user-emacs-directory-with-ssh][prepare the
=user-emacs-directory= with =ssh= access]]. After invoking Emacs interactively
(in interactive mode, neither in batch mode, nor in server mode), Emacs will ask
you to install a selected set of packages. Quit Emacs and invoke Emacs again.
#+caption[Prepare the user-emacs-directory]:
#+caption: Clone and initialize the user-emacs-directory.
#+name: lst:prepare-user-emacs-directory
# #+caption[Prepare the user-emacs-directory]:
# #+caption: Clone and initialize the user-emacs-directory.
# #+name: lst:prepare-user-emacs-directory
# #+begin_src shell :noeval :tangle no
# cd ~
# git clone ccdr@mercury.grenoble.cnrs.fr:SERVER/emacs.d.git .emacs.d
# make --directory=.emacs.d init
# emacs &
# #+end_src
#+caption[Prepare the user-emacs-directory without =ssh= access]:
#+caption: Clone and initialize the user-emacs-directory without =ssh= access.
#+name: lst:prepare-user-emacs-directory-with-https
#+begin_src shell :noeval :tangle no
cd ~
git clone ccdr@mercury.grenoble.cnrs.fr:SERVER/emacs.d.git .emacs.d
git clone https://forge.chapril.org/gav451/emacs.d.git
make --directory=.emacs.d init
emacs &
#+end_src
#+caption[Prepare the =user-emacs-directory= with =ssh= access]:
#+caption: Clone and initialize the user-emacs-directory with =ssh= access.
#+name: lst:prepare-user-emacs-directory-with-ssh
#+begin_src shell :noeval :tangle no
cd ~
git clone ssh://gitea@forge.chapril.org:222/gav451/emacs.d.git
make --directory=.emacs.d init
emacs &
#+end_src
@ -4233,15 +4254,17 @@ many Emacs Lisp idioms.
Listing [[lst:setup-ielm][setup ielm]] customizes the [[https://wikemacs.org/wiki/IELM][Interactive Emacs Lisp Mode]] for better
interoperability with [[https://smartparens.readthedocs.io/en/latest/][Smartparens]]: get help on the key bindings by means of
src_emacs-lisp{(describe-mode (get-buffer "*ielm*"))}.
src_emacs-lisp{(describe-function 'inferior-emacs-lisp-mode)}.
#+caption)}[Setup =ielm=]:
#+caption: Install =ielm=.
#+caption[Setup =ielm=]:
#+caption: Setup =ielm=.
#+name: lst:setup-ielm
#+begin_src emacs-lisp
(with-eval-after-load 'ielm
(custom-set-variables
'(ielm-dynamic-return nil)))
(if (version< "29.0.0" emacs-version)
(setopt ielm-dynamic-return nil)
(custom-set-variables
'(ielm-dynamic-return nil))))
#+end_src
** [[https://fennel-lang.org/][Fennel Programming]]