org-cliplink does not always use the system clipboard
- 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 set
```elisp
(setq select-enable-clipboard nil)
```
to make doom behave more like vim (syncing the system clipboard to kill is really annoying to me).
The documentation for `org-cliplink` states that it uses the system clipboard, so I expect it to still insert the system clipboard content.
### What actually happened?
Using `org-cliplink`, the kill content gets inserted instead of the system clipboard.
### Describe your attempts to resolve the issue
I have looked into `org-cliplink`:
```
(defcustom org-cliplink-simpleclip-source nil
"Clipboard source.
Non-nil means use system clipboard as source.
The clipboard content will be provided by `simpleclip',
requiring simpleclip.el to be installed.
```
This is set to `nil` in doom and simpleclip.el doesn't seem to be installed by default.
### Steps to reproduce
1. set
```elisp
(setq select-enable-clipboard nil)
```
2. open an org file
3. put an URL into the system clipboard
4. delete some text in the document with `dd` (to fill the kill ring)
5. invoke `M-x org-cliplink`
### System Information
https://pastebin.com/hciPihcf
Contributor guide
Assessment
This issue has not been assessed yet.