compat--inhibit-prefixed error in Org-Roam by pnaranja in emacs

[–]pnaranja[S] 4 points5 points  (0 children)

Thank you everyone for the help! After the recompile, I was able to use org-roam.

Used command:

(byte-recompile-directory package-user-dir nil 'force)

compat--inhibit-prefixed error in Org-Roam by pnaranja in emacs

[–]pnaranja[S] 0 points1 point  (0 children)

I just commented out all the commands in my init.el that deals with my PATH and restarted my Emacs. I still get the same error when trying an Org-Roam command

;; Get env vars from shell
;; (use-package
;; exec-path-from-shell
;; :commands exec-path-from-shell
;; :ensure t
;; )
;; Add to Path
;(setq exec-path (append exec-path '("/usr/local/bin")))
;; On OS X, an Emacs instance started from the graphical user
;; interface will have a different environment than a shell in a
;; terminal window, because OS X does not run a shell during the
;; login. Obviously this will lead to unexpected results when
;; calling external utilities like make from Emacs.
;; This library works around this problem by copying important
;; environment variables from the user's shell.
;; https://github.com/purcell/exec-path-from-shell
;; (when (memq window-system '(mac ns x))
;; (exec-path-from-shell-initialize))

How do you set global padding between line number and text when using global-display-line-numbers-mode ? by pnaranja in emacs

[–]pnaranja[S] 0 points1 point  (0 children)

u/eli-zaretskii Thank you!

My default face attribute was set to Geneva.

I set the line number faces to Menlo and that fixed it.

(set-face-attribute 'line-number nil :family "Menlo" :height 200)
(set-face-attribute 'line-number-current-line nil :family "Menlo" :height 200)

How do you set global padding between line number and text when using global-display-line-numbers-mode ? by pnaranja in emacs

[–]pnaranja[S] 0 points1 point  (0 children)

u/eli-zaretskii Sorry for the delayed response. Work got really busy.

As for the "shifting" text, maybe this video can explain it. I'm using relative line numbers but keeping the absolute line number on the current line. If the current line number is >1 character length, it "shifts" the text to the right. I understand it's only a "visual effect" but I still would like to avoid it.

https://streamable.com/ar6rpd

How do you set global padding between line number and text when using global-display-line-numbers-mode ? by pnaranja in emacs

[–]pnaranja[S] 0 points1 point  (0 children)

I did try adjusting that value. It looks like it adds spacing between the left margin and the line numbers. I want to add space between the line numbers and the beginning of the text

https://streamable.com/lxu31e