Compare commits
2 Commits
1f57ae3a74
...
38a455c14b
Author | SHA1 | Date | |
---|---|---|---|
38a455c14b | |||
8354d468ff |
23
README.org
23
README.org
@ -37,7 +37,7 @@ the section entitled "GNU Free Documentation License".
|
||||
:CUSTOM_ID: sec:quick-start
|
||||
:END:
|
||||
|
||||
This setup requires at least Emacs-29.0.90. Backup the =user-emacs-directory=
|
||||
This setup requires at least Emacs-29.0.91. 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
|
||||
@ -215,8 +215,8 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
|
||||
;;; Code:
|
||||
(require 'cl-lib)
|
||||
|
||||
(when (version< emacs-version "29.0.90")
|
||||
(error "This `init.el' requires at least Emacs-29.0.90"))
|
||||
(when (version< emacs-version "29.0.91")
|
||||
(error "This `init.el' requires at least Emacs-29.0.91"))
|
||||
|
||||
(setopt
|
||||
after-save-hook #'executable-make-buffer-file-executable-if-script-p
|
||||
@ -235,7 +235,10 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
|
||||
initial-scratch-message ""
|
||||
insert-directory-program (or (executable-find "gls")
|
||||
(executable-find "ls"))
|
||||
isearch-lazy-count t
|
||||
kill-ring-max 300
|
||||
lazy-count-prefix-format nil
|
||||
lazy-count-suffix-format " (%s/%s)"
|
||||
mode-line-compact 'long
|
||||
next-error-message-highlight t
|
||||
recentf-mode t
|
||||
@ -249,7 +252,12 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
|
||||
use-dialog-box nil
|
||||
use-short-answers t
|
||||
view-read-only t)
|
||||
#+end_src
|
||||
|
||||
#+caption[Set the second set of Emacs options: pin packages to archives]:
|
||||
#+caption: Set the second set of Emacs options: pin packages to archives.
|
||||
#+name: lst:2nd-setopt-call
|
||||
#+begin_src emacs-lisp -n :results silent
|
||||
(when (eq system-type 'darwin)
|
||||
(setopt ns-alternate-modifier nil
|
||||
ns-command-modifier 'meta
|
||||
@ -258,12 +266,7 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
|
||||
(when (eq window-system 'ns)
|
||||
(add-to-list 'initial-frame-alist '(height . 51))
|
||||
(add-to-list 'initial-frame-alist '(width . 180)))
|
||||
#+end_src
|
||||
|
||||
#+caption[Set the second set of Emacs options: pin packages to archives]:
|
||||
#+caption: Set the second set of Emacs options: pin packages to archives.
|
||||
#+name: lst:2nd-setopt-call
|
||||
#+begin_src emacs-lisp -n :results silent
|
||||
(setopt
|
||||
;; See https://github.com/melpa/melpa#mirrors for official Melpa mirrors.
|
||||
;; ("melpa" . "https://www.mirrorservice.org/sites/melpa.org/packages/")
|
||||
@ -3805,7 +3808,7 @@ Listing [[lst:configure-writegood-mode]] configures [[https://github.com/bnbeckw
|
||||
:END:
|
||||
|
||||
[[https://github.com/joaotavora/eglot#readme][Emacs polyGLOT (Eglot)]] is an Emacs language-server-protocol client that stays
|
||||
out of your way. [[info:eglot#Top][Eglot (info)]] is a builtin since Emacs-29.0.90. The following
|
||||
out of your way. [[info:eglot#Top][Eglot (info)]] is a builtin since Emacs-29.0.91. The following
|
||||
listings contribute to a programming language mode independent [[https://github.com/joaotavora/eglot][Eglot]]
|
||||
configuration:
|
||||
1. Listing [[lst:minimal-eglot-setup][minimal Eglot setup]] ensures installation of [[https://github.com/joaotavora/eglot][Eglot]], shows how to get
|
||||
@ -4820,7 +4823,7 @@ print(1+1);
|
||||
The [[https://www.emacswiki.org/emacs/PythonProgrammingInEmacs][Python Programming in Emacs]] wiki page lists options to enhance Emacs's
|
||||
built-in ~python-mode~. Here, the focus is on two Emacs packages and four Python
|
||||
packages:
|
||||
1. [[#sec:eglot][Eglot - Emacs polyGLOT: a builtin LSP client since Emacs-29.0.90]]. The
|
||||
1. [[#sec:eglot][Eglot - Emacs polyGLOT: a builtin LSP client since Emacs-29.0.91]]. The
|
||||
maintainer also contributes to Emacs itself and has a deep understanding of
|
||||
[[https://sheer.tj/the_way_of_emacs.html][the Way of Emacs]]. He refuses to add new features without seeing how they fit
|
||||
into [[https://sheer.tj/the_way_of_emacs.html][the Way of Emacs]] as this discussion on [[https://github.com/joaotavora/eglot/issues/523][org-mode source code blocks]]
|
||||
|
Loading…
Reference in New Issue
Block a user