Skip to content
Snippets Groups Projects
Commit ec9050a3 authored by Michael Hauspie's avatar Michael Hauspie
Browse files

Merge branch 'master' of gitlab-ssh.univ-lille.fr:michael.hauspie/emacs

parents 8e40fae6 b7b52866
No related branches found
No related tags found
No related merge requests found
......@@ -56,12 +56,6 @@ Sets who I am
I use Melpa packages repositories, thus I need to add them to the =package-archives= list
For older emacs version, fix some gnutls algorithm priority
#+BEGIN_SRC emacs-lisp
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
#+END_SRC
Then add package repositories
#+BEGIN_SRC emacs-lisp
......@@ -157,6 +151,16 @@ Allow pressing only =y= instead of =yes= for fast answer to yes or no question
(fset 'yes-or-no-p 'y-or-n-p)
#+end_src
Remember where I was last time I edited a file
#+begin_src emacs-lisp
(save-place-mode 1)
#+end_src
Never use graphical dialog box
#+begin_src emacs-lisp
(setq use-dialog-box nil)
#+end_src
** MacOS
As I often use Emacs on MacOS, I need the right option (alt) key to behave *as* an option key and
......@@ -325,8 +329,8 @@ Select the font I will use depending on the system
(setq mh-font-variable "DejaVu Sans")
)
)
(set-face-attribute 'default nil :font mh-font-fixed :weight 'light :height 160)
(set-face-attribute 'fixed-pitch nil :font mh-font-fixed :weight 'light :height 160)
(set-face-attribute 'default nil :font mh-font-fixed :weight 'light :height 140)
(set-face-attribute 'fixed-pitch nil :font mh-font-fixed :weight 'light :height 140)
(set-face-attribute 'variable-pitch nil :font mh-font-variable :weight 'light :height 1.3)
(set-frame-font mh-font-fixed nil t)
#+end_src
......@@ -765,7 +769,6 @@ Turn off validate link in org html export:
)
#+end_src
** Source code evaluation
......@@ -1048,6 +1051,7 @@ Install =rust-mode= and set the rust language server to [[https://rust-analyzer.
(use-package rust-mode
:custom
(lsp-rust-server 'rust-analyzer)
(lsp-inlay-hint-enable t)
)
#+end_src
......@@ -1189,6 +1193,31 @@ cargo install slint-lsp
(use-package protobuf-mode)
#+end_src
** Shell
Use =vterm= as a terminal emulator. Vterm needs to compile an external module. To build the module,
you need CMake and libtool.
On debian/ubuntu like systems:
#+begin_src shell
sudo apt install cmake libtool-bin
#+end_src
On Macos with brew
#+begin_src shell
brew install libtool cmake
#+end_src
#+begin_src emacs-lisp
(use-package vterm
:commands vterm
:custom
(vterm-always-compile-module t)
:bind
("<f7>" . vterm))
#+end_src
* Spell checking
First, set =aspell= to be the spell checking program instead of =ispell=
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment