doomemacs / doomemacs/core

`org-roam-node-find` buffer sometimes becomes part of project

Open
#8,457 3 comments 0 reactions 0 assignees View on GitHub
:ui workspaces is:bug
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### I confirm that...

- [x] I searched the issue tracker and found no similar issues.
- [x] I searched the [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [discussion board](https://doomemacs.org/discuss), and [Google](https://google.com) for solutions to my issue.
- [x] I read [the debugging guide](https://doomemacs.org/d/how2debug) and researched the issue to the best of my ability.
- [x] My issue can be observed on the latest available commit of Doom.
- [x] My issue can be observed on a stable release of Emacs (i.e. doesn't end in `.50`, `.60`, or `.90`–`.99`)

### Describe your issue

when i open a org-roam node, the opened buffer sometimes gets a path relative to the project directory i was in when invoking `org-roam-node-find`.

the buffer name is not `~/org/zettel/1234-bla.org` but rather `some-project/../../../../org/zettel/1234-bla.org`.

- `(projectile-project-root)` in that buffer correctly gives `/home/me/org`

### Steps to reproduce

be in a project buffer
open a roam node

### System information

on 751ac6134b6abe204d9c514d300343b07b26da3c, GNU Emacs 30.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.