@@ -6777,7 +6777,7 @@ doom-oceanic-next, kaolin-dark, kaolin-aurora, kaolin-blossom, kaolin-breeze, ka
6777
6777
kaolin-eclipse, kaolin-ocean, kaolin-galaxy, kaolin-valley-dark, kaolin-valley-light, kaolin-temple,
6778
6778
vscode-dark-plus, nimbus, modus-operandi, modus-operandi-tinted, modus-operandi-deuteranopia, modus-operandi-tritanopia,
6779
6779
modus-vivendi, modus-vivendi-tinted, modus-vivendi-deuteranopia, modus-vivendi-tritanopia,
6780
- ef-day, ef-night, ef-light, ef-dark, ef-duo-light, ef-duo-dark, ef-maris-light, ef-maris-dark, ef-spring, ef-autumn,
6780
+ ef-day, ef-night, ef-light, ef-dark, ef-duo-light, ef-duo-dark, ef-maris-light, ef-maris-dark, ef-spring, ef-autumn,
6781
6781
ef-summer, ef-winter, ef-deuteranopia-dark, ef-symbiosis, leuven.
6782
6782
")
6783
6783
@@ -10119,7 +10119,7 @@ Package [[https://github.com/ema2159/centaur-tabs][Centaur tabs]] provides aesth
10119
10119
(not (file-name-extension name)))
10120
10120
)))
10121
10121
10122
-
10122
+
10123
10123
10124
10124
;(centaur-tabs-mode t)
10125
10125
:custom
@@ -13296,17 +13296,17 @@ the command again to try the next backend.
13296
13296
13297
13297
| Key binding | Command | Description |
13298
13298
|-------------+----------------------+------------------------------------------------------------------------------------------------------------------------------|
13299
- | =C-TAB= | =M-x company-try-hard= | Try hard to find a completion. If none of the current completions look good, call the command again to try the next backend. |
13299
+ | =H-m <tab>= | =M-x company-try-hard= | Try hard to find a completion. If none of the current completions look good, call the command again to try the next backend. |
13300
13300
|-------------+----------------------+------------------------------------------------------------------------------------------------------------------------------|
13301
13301
13302
13302
13303
13303
#+begin_src emacs-lisp :tangle config/init-advanced-company.el
13304
13304
(use-package company-try-hard
13305
13305
:bind
13306
13306
(
13307
- ("C- <tab>" . company-try-hard)
13307
+ ("H-m <tab>" . company-try-hard)
13308
13308
:map company-active-map
13309
- ("C- <tab>" . company-try-hard)
13309
+ ("H-m <tab>" . company-try-hard)
13310
13310
)
13311
13311
)
13312
13312
#+end_src
@@ -15482,22 +15482,23 @@ Following a survey of the [[https://emacs-lsp.github.io/lsp-mode/][lsp-mode]] co
15482
15482
(setq lsp-auto-guess-root t)
15483
15483
(setq lsp-enable-indentation t)
15484
15484
(setq lsp-enable-imenu t)
15485
- (setq lsp-file-watch-threshold 1500 )
15485
+ (setq lsp-file-watch-threshold 15000 )
15486
15486
(setq lsp-prefer-flymake nil)
15487
15487
15488
15488
(setq lsp-enable-symbol-highlighting t)
15489
15489
(setq lsp-lens-enable t)
15490
15490
(setq lsp-modeline-code-actions-enable t)
15491
15491
15492
- (setq lsp-completion-enable nil)
15492
+ (setq lsp-completion-enable t)
15493
+ (setq lsp-enable-completion-at-point t)
15493
15494
15494
15495
(setq lsp-modeline-diagnostics-enable nil)
15495
15496
15496
15497
(setq lsp-signature-auto-activate nil)
15497
- (setq lsp-modeline-workspace-status-enable nil )
15498
+ (setq lsp-modeline-workspace-status-enable t )
15498
15499
(setq lsp-semantic-tokens-enable t)
15499
15500
(setq lsp-progress-spinner-type 'progress-bar-filled)
15500
- (setq lsp-enable-file-watchers nil )
15501
+ (setq lsp-enable-file-watchers t )
15501
15502
15502
15503
;;(setq lsp-auto-execute-action nil)
15503
15504
;;(setq lsp-before-save-edits nil)
@@ -15617,7 +15618,7 @@ CodeLens are links in your code:
15617
15618
(setq lsp-ui-doc-use-childframe t)
15618
15619
(setq lsp-ui-doc-use-webkit t)
15619
15620
(setq lsp-ui-flycheck-enable nil)
15620
- (setq lsp-ui-sideline-enable nil )
15621
+ (setq lsp-ui-sideline-enable t )
15621
15622
(setq lsp-ui-sideline-ignore-duplicate t)
15622
15623
(setq lsp-ui-sideline-show-symbol t)
15623
15624
(setq lsp-ui-sideline-show-hover t)
@@ -17527,9 +17528,9 @@ The following are basic [[https://code.orgmode.org/bzg/org-mode][org-mode]] sett
17527
17528
17528
17529
(setq org-hide-emphasis-markers t)
17529
17530
17530
-
17531
17531
;; https://abode.karthinks.com/org-latex-preview/#org99ce71c
17532
- (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
17532
+ (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.0))
17533
+
17533
17534
;;(plist-put org-latex-preview-appearance-options :page-width 0.8)
17534
17535
(setq org-latex-preview-numbered t)
17535
17536
(setq org-latex-preview-live t)
@@ -17560,7 +17561,32 @@ The following are basic [[https://code.orgmode.org/bzg/org-mode][org-mode]] sett
17560
17561
)
17561
17562
17562
17563
(add-hook 'org-clock-out-hook 'psimacs/internal/org-remove-empty-drawer-on-clock-out 'append)
17564
+ )
17565
+ #+end_src
17563
17566
17567
+ **** Org-latex-preview hack
17568
+
17569
+ The following is a hack for windows only. The =org-latex-preview= does not work out of the box for
17570
+ *Psimacs* on Windows. The reason is a handling of a shorted relative file name that is not properly
17571
+ consumed by the MSYS2 backend. In order to circumvent this problem, *Psimacs* provides the following
17572
+ argument filter advise for function =org-compile-file=:
17573
+
17574
+ #+begin_src emacs-lisp :tangle config/init-major-modes-org-mode.el :var file-description="Major Modes - org-mode setup"
17575
+ ;;
17576
+ ;; Provide an advise for function org-compile-file
17577
+ ;;
17578
+ (use-package org
17579
+ :straight nil
17580
+ :config
17581
+ (when psimacs/system/is-win32-p
17582
+ (defun psimacs/config/org-compile-file (args)
17583
+ "Filter argument advice: replace the first argument SOURCE by its non-shortened name"
17584
+ (setcar args (file-truename (nth 0 args)))
17585
+ args
17586
+ )
17587
+
17588
+ (advice-add 'org-compile-file :filter-args #'psimacs/config/org-compile-file)
17589
+ )
17564
17590
)
17565
17591
#+end_src
17566
17592
@@ -20937,7 +20963,6 @@ Keybinding for the *org note buffer* in =org-noter-mode=:
20937
20963
)
20938
20964
#+end_src
20939
20965
20940
-
20941
20966
** PlantUML Mode
20942
20967
20943
20968
The package [[https://github.com/skuro/plantuml-mode][plantuml-mode]] provides access to the nice
0 commit comments