Compare commits

...

4 Commits

Author SHA1 Message Date
Lucien Cartier-Tilet 566861ee28
[Emacs] Add fix for TRAMP bug
continuous-integration/drone/push Build is passing Details
2023-09-18 09:57:59 +02:00
Lucien Cartier-Tilet bff574afd2
[Emacs] fix engrave-faces load order 2023-09-18 09:57:11 +02:00
Lucien Cartier-Tilet 1cb7eba76b
[Emacs] Fix all-the-icons loading 2023-09-18 09:52:30 +02:00
Lucien Cartier-Tilet 8ea0f40e88
[Emacs] New org-roam keybindings 2023-09-18 09:50:27 +02:00
1 changed files with 27 additions and 3 deletions

View File

@ -1295,7 +1295,9 @@ I warned you Id use too much ~all-the-icons~, I did!
(use-package all-the-icons-ivy
:straight (:build t)
:after (ivy all-the-icons)
:init (all-the-icons-ivy-setup)
:hook (after-init . all-the-icons-ivy-setup))
(all-the-icons-ivy-setup)
#+end_src
A buffer popping at the bottom of the screen is nice and all, but have
@ -2870,6 +2872,25 @@ doing and what Git is doing! In short, I absolutely love it!
"fF" #'magit-find-file))
#+end_src
There is currently a bug in Emacs TRAMP as described in issue [[https://github.com/magit/magit/issues/4720][#4720]] of
Magit and bug [[https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62093][62093]] of Emacs. A workaround is to redefine the old
=tramp-send-command= function through an advice.
#+begin_src emacs-lisp
(defun my--tramp-send-command--workaround-stty-icanon-bug (conn-vec orig-command &rest args)
"See: https://github.com/magit/magit/issues/4720"
(let ((command
(if (string= "stty -icrnl -icanon min 1 time 0" orig-command)
"stty -icrnl"
orig-command)))
(append (list conn-vec command) args)))
(defun my--tramp-send-command--workaround-stty-icanon-bug--filter-args (args)
(apply #'my--tramp-send-command--workaround-stty-icanon-bug args))
(advice-add 'tramp-send-command :filter-args
#'my--tramp-send-command--workaround-stty-icanon-bug--filter-args)
#+end_src
[[https://github.com/alphapapa][Alphapapa]] also created an awesome package for Magit: magit-todos which
display in the Magit buffer a list of TODOs found in the current
project to remind you of what to do next.
@ -4608,6 +4629,7 @@ extended however we like!
(use-package org
:straight t
:defer t
:after engrave-faces
:commands (orgtbl-mode)
:hook ((org-mode . visual-line-mode)
(org-mode . org-num-mode))
@ -5288,8 +5310,7 @@ A new backend that was introduced in org-mode for LaTeX source block
coloring is ~engraved~.
#+BEGIN_SRC emacs-lisp
(use-package engrave-faces
:straight (:build t)
:after org)
:straight (:build t))
#+END_SRC
#+name: org-latex-src-block-backend
@ -5695,7 +5716,10 @@ management system based on org-mode.
"rsa" #'org-roam-db-autosync-mode
"rsc" #'org-roam-db-clear-all
"rsd" #'org-roam-db-diagnose-node
"rss" #'org-roam-db-sync)
"rss" #'org-roam-db-sync
"ru" '(:ignore t :which-key "ui")
"rua" #'org-roam-ui-add-to-local-graph
"ruo" #'org-roam-ui-open)
(phundrak/major-leader-key
:keymaps 'org-mode-map
:packages '(org org-roam)