... | ... | @@ -394,4 +394,26 @@ A few things to note here: |
|
|
(set-keyboard-coding-system 'utf-8)
|
|
|
(set-selection-coding-system 'utf-8)
|
|
|
(prefer-coding-system 'utf-8)
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
# Org-mode
|
|
|
|
|
|
## Enable quick links to issues and MRs in gitlab
|
|
|
|
|
|
```elisp
|
|
|
(org-link-set-parameters
|
|
|
"mr"
|
|
|
:follow
|
|
|
(lambda (url arg)
|
|
|
(browse-url (concat "https://gitlab.haskell.org/ghc/ghc/-/merge_requests/" url) arg)))
|
|
|
|
|
|
(org-link-set-parameters
|
|
|
"t"
|
|
|
:follow
|
|
|
(lambda (url arg)
|
|
|
(browse-url (concat "https://gitlab.haskell.org/ghc/ghc/-/issues/" url) arg)))
|
|
|
```
|
|
|
|
|
|
This maps
|
|
|
- `mr:4566` into a link to `https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4566`
|
|
|
- `t:20123` into a link to `https://gitlab.haskell.org/ghc/ghc/-/issues/20123` |
|
|
\ No newline at end of file |