Require at least Emacs-29.0.90
This commit is contained in:
parent
9b542297f7
commit
6af0d24644
14
README.org
14
README.org
@ -37,7 +37,7 @@ the section entitled "GNU Free Documentation License".
|
|||||||
:CUSTOM_ID: sec:quick-start
|
:CUSTOM_ID: sec:quick-start
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
This setup requires at least Emacs-29.0.60. Backup the =user-emacs-directory=
|
This setup requires at least Emacs-29.0.90. Backup the =user-emacs-directory=
|
||||||
(defaults often to =~/.emacs.d= on =Linux=, =Unix=, or =Darwin=) and execute the
|
(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
|
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
|
in listing [[lst:prepare-user-emacs-directory-with-ssh][prepare the =user-emacs-directory= with =ssh= access]]. After invoking
|
||||||
@ -219,8 +219,8 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
|
|||||||
;;; Code:
|
;;; Code:
|
||||||
(require 'cl-lib)
|
(require 'cl-lib)
|
||||||
|
|
||||||
(when (version< emacs-version "29.0.60")
|
(when (version< emacs-version "29.0.90")
|
||||||
(error "This `init.el' requires at least Emacs-29.0.60"))
|
(error "This `init.el' requires at least Emacs-29.0.90"))
|
||||||
|
|
||||||
(setopt
|
(setopt
|
||||||
after-save-hook #'executable-make-buffer-file-executable-if-script-p
|
after-save-hook #'executable-make-buffer-file-executable-if-script-p
|
||||||
@ -641,10 +641,6 @@ and [[lst:3rd-window-management]] implement a selection of his recommendations.
|
|||||||
#+begin_src emacs-lisp -n :results silent
|
#+begin_src emacs-lisp -n :results silent
|
||||||
(with-eval-after-load 'emacs
|
(with-eval-after-load 'emacs
|
||||||
;; https://www.masteringemacs.org/article/demystifying-emacs-window-manager
|
;; https://www.masteringemacs.org/article/demystifying-emacs-window-manager
|
||||||
(when (version< "29.0.0" emacs-version)
|
|
||||||
(setopt switch-to-buffer-in-dedicated-window 'pop
|
|
||||||
switch-to-buffer-obey-display-actions t))
|
|
||||||
|
|
||||||
(add-to-list 'display-buffer-alist
|
(add-to-list 'display-buffer-alist
|
||||||
`(,(rx (or "*Apropos*"
|
`(,(rx (or "*Apropos*"
|
||||||
"*Help*"
|
"*Help*"
|
||||||
@ -3920,7 +3916,7 @@ Listing [[lst:configure-writegood-mode]] configures [[https://github.com/bnbeckw
|
|||||||
:END:
|
:END:
|
||||||
|
|
||||||
[[https://github.com/joaotavora/eglot#readme][Emacs polyGLOT (Eglot)]] is an Emacs language-server-protocol client that stays
|
[[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.60. The following
|
out of your way. [[info:eglot#Top][Eglot (info)]] is a builtin since Emacs-29.0.90. The following
|
||||||
listings contribute to a programming language mode independent [[https://github.com/joaotavora/eglot][Eglot]]
|
listings contribute to a programming language mode independent [[https://github.com/joaotavora/eglot][Eglot]]
|
||||||
configuration:
|
configuration:
|
||||||
1. Listing [[lst:minimal-eglot-setup][minimal Eglot setup]] ensures installation of [[https://github.com/joaotavora/eglot][Eglot]], shows how to get
|
1. Listing [[lst:minimal-eglot-setup][minimal Eglot setup]] ensures installation of [[https://github.com/joaotavora/eglot][Eglot]], shows how to get
|
||||||
@ -4833,7 +4829,7 @@ print(1+1);
|
|||||||
The [[https://www.emacswiki.org/emacs/PythonProgrammingInEmacs][Python Programming in Emacs]] wiki page lists options to enhance Emacs's
|
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
|
built-in ~python-mode~. Here, the focus is on two Emacs packages and four Python
|
||||||
packages:
|
packages:
|
||||||
1. [[#sec:eglot][Eglot - Emacs polyGLOT: a builtin LSP client since Emacs-29.0.60]]. The
|
1. [[#sec:eglot][Eglot - Emacs polyGLOT: a builtin LSP client since Emacs-29.0.90]]. The
|
||||||
maintainer also contributes to Emacs itself and has a deep understanding of
|
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
|
[[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]]
|
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…
x
Reference in New Issue
Block a user