doomemacs / doomemacs/core

org-src-window-setup not working correctly

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

Description

### What did you expect to happen?

I have org-src-window-setup set to current-window. It was working before. I don't remember which update broke it. When I use org-edit-src-code I expect to replace the current window.

### What actually happened?

a new window pop-up instead of replacing the current window

### Describe your attempts to resolve the issue

I have checked the variable org-src-window-setup definition, it was correct.

Evaluated again this line and still not working
```
(setq org-src-window-setup 'current-window)
```

I have tried in sandbox with doom core and not working, but working with vanilla emacs.

### Steps to reproduce

1. edit your config.el file to contain
```
(setq org-src-window-setup 'current-window)
```
2. open org-mode buffer
3. inside a code src, invoke org-edit-src-code

### System Information

https://pastebin.com/R5t9JZjh

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.