31 lines
2.1 KiB
EmacsLisp
31 lines
2.1 KiB
EmacsLisp
#s(ellama-session "Org-roam issue (Open AI)" #s(llm-openai-compatible "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" "llama3-70b-8192" "llama3-70b-8192" "https://api.groq.com/openai/v1") "/home/amr/org/ellama-sessions/Org-roam issue (Open AI).org" #s(llm-chat-prompt nil nil (#s(llm-chat-prompt-interaction system "" nil) #s(llm-chat-prompt-interaction user "When I evaluate the entire (use-package org-roam) I get \"org-roam-buffer-display-dedicated\"" nil) #s(llm-chat-prompt-interaction assistant "The error \"org-roam-buffer-display-dedicated\" typically occurs when the `org-roam-buffer-display-dedicated` variable is not properly set before loading the `org-roam` package.
|
|
|
|
Here are a few possible solutions to resolve this issue:
|
|
|
|
1. **Add `(setq org-roam-buffer-display-dedicated t)` before `(use-package org-roam)`**:
|
|
|
|
Make sure to add the following line before loading the `org-roam` package:
|
|
```elisp
|
|
(setq org-roam-buffer-display-dedicated t)
|
|
(use-package org-roam)
|
|
```
|
|
This sets the `org-roam-buffer-display-dedicated` variable to `t` (true), which tells `org-roam` to use a dedicated buffer for displaying notes.
|
|
|
|
2. **Use `:init` keyword with `use-package`**:
|
|
|
|
You can use the `:init` keyword with `use-package` to set the variable before loading the package:
|
|
```elisp
|
|
(use-package org-roam
|
|
:init (setq org-roam-buffer-display-dedicated t))
|
|
```
|
|
This sets the variable during the initialization phase of the package loading process.
|
|
|
|
3. **Check for other packages or configurations that might be interfering**:
|
|
|
|
If you're using other packages or configurations that might be interfering with `org-roam`, try disabling them temporarily to see if the issue persists.
|
|
|
|
4. **Update `org-roam` to the latest version**:
|
|
|
|
Make sure you're running the latest version of `org-roam`. You can check for updates using `M-x package-list-packages` and updating the package from the Emacs package manager.
|
|
|
|
If none of these solutions work, please provide more information about your Emacs configuration, including the version of Emacs and the `org-roam` package you're using." nil)) nil nil nil) nil) |