BIBLIOGRAPHY
History
- ๋ ์๋ ๋. ๊ทธ๋ฅ ํด๊ฒฐ ๋๋ ๋ฌธ์ ์๋ ๋ฌธ์
- ์์ฃผ ๊ท์ฐฎ๊ฒ ํ๋ ๋ฌธ์
2025 ํด๊ฒฐ ๋ฐฉ๋ฒ
๋ ์๋ ๋. ๋ฐฉ๋ฒ ์์ด ๋๋ ๋
๋ ์ด๋งฅ์ค ๊ฒฝ์ฐ, ๋นํธ์ธ ์์ด๋ค. ๋นํธ์ธ elc ํ์ผ ์ญ์ ํ๊ณ . ์ด๋งฅ์ค ์ผ๋๊ณ ๊ธฐ๋ค๋ ค๋ผ. ๋ค์ดํฐ๋ธ ์ปดํ์ผ ๋น๋๊ธฐ๋ก ์ญ ํ ๋๊น์ง.
๋นํธ์ธ orgโs elc ํ์ผ ์ญ์
์๋ฅผ ๋ค์ด, ๋ค์๊ณผ ๊ฐ๋ค.
# cd /usr/share/emacs/30.1/lisp/org
# sudo rm -Rf *.elc
# cd /usr/local/stow/emacs/lib/emacs/30.1.50/
cd /usr/local/stow/emacs/share/emacs/30.1.50/lisp/org
sudo rm -Rf *.elc
2025 ์์ ๋ก๊ทธ: ์ด๋ป๊ฒ ํ๋๊ฐ? ๊ทธ๋์?
config.el ์๋ฏธ ์๋?
๋ฃ์๋ค. ์์
(straight-use-package 'org)
DONT delete elc for org
elc ์ญ์ ํ๋ค.
cd /home/junghan/.emacs.d/eln-cache
rm -Rf 29.4-517f4e77
cd ~/doomemacs-junghan0611/.local/cache
# rm -Rf eln-cache
cd .local/straight
rm -Rf build-30.0.93/org or build-29.4.50/org
rm -Rf repos/org
cd ~/doomemacs-junghan0611/.local/cache
rm -Rf comp eln
delete native-comp-eln-load-path
rm -Rf /home/junghan/doomemacs-git/.local/cache/eln/
native-comp-eln-load-path is a variable defined in comp.c. Value (โhome/junghan/doomemacs-git.local/cache/eln/โ โtmp/doom.run.emacs.d/eln-cache/โ โusr/local/stow/emacs/lib/emacs/30.1.50/native-lispโ)
doom sync
doom sync
2025-02-24 W08
@user ๋ค์ ๋ฌธ์ ๋ฅผ ์ด๋ป๊ฒ ํด๊ฒฐํ ๊น?
โ Warning (emacs): Org version mismatch. This warning usually appears when a built-in Org version is loaded prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
-
Emacs is loaded using literate Org config and more recent Org version is loaded inside the file loaded by โorg-babel-load-fileโ. โorg-babel-load-fileโ triggers the built-in Org version clashing the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the โorg-babel-load-fileโ call.
-
New Org version is loaded manually by setting โload-pathโ, but some other package depending on Org is loaded before the โload-pathโ is configured. This โother packageโ is triggering built-in Org version, again causing the version mismatch.
It is recommended to set โload-pathโ as early in the config as possible.
-
New Org version is loaded using straight.el package manager and other package depending on Org is loaded before straight triggers loading of the newer Org version.
It is recommended to put
(straight-use-package โorg)
early in the config. Ideally, right after the straight.el bootstrap. Moving โuse-packageโ :straight declaration may not be sufficient if the corresponding โuse-packageโ statement is deferring the loading.
-
A new Org version is synchronized with Emacs git repository and stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and re-compile
@assistant *Org ๋ฒ์ ๋ถ์ผ์น ๊ฒฝ๊ณ ํด๊ฒฐ ๋ฐฉ๋ฒ
-
Literate Org Config ์ฌ์ฉ ์:
org-babel-load-file
ํธ์ถ ์ ์ Org ๋ก๋ฉ ์ฝ๋๋ฅผ ์ด๋ํ์ธ์.
-
์๋์ผ๋ก load-path ์ค์ ์:
- =load-path=๋ฅผ ์ค์ ํ์ผ์ ์ด๊ธฐ์ ์ค์ ํ์ธ์. ๋ค๋ฅธ Org ์์กด ํจํค์ง๊ฐ ๋จผ์ ๋ก๋๋์ง ์๋๋ก ์ฃผ์ํ์ธ์.
-
straight.el ํจํค์ง ๊ด๋ฆฌ์ ์ฌ์ฉ ์:
- =(straight-use-package โorg)=์ ์ค์ ํ์ผ์ ์ด๊ธฐ์, straight.el ๋ถํธ์คํธ๋ฉ ์งํ์ ์ถ๊ฐํ์ธ์.
-
Emacs Git ์ ์ฅ์์ ๋๊ธฐํ ์:
- ์ด์ ๋น๋์์ ๋จ์
.elc
ํ์ผ์ ์ ๊ฑฐํ๊ณ ๋ค์ ์ปดํ์ผํ์ธ์.
- ์ด์ ๋น๋์์ ๋จ์
;; ์ค์ ํ์ผ ์ด๊ธฐ์ load-path ์ค์
(setq load-path (cons "/path/to/org-mode/lisp" load-path))
(setq load-path (cons "/path/to/org-mode/contrib/lisp" load-path))
(require 'org)
;; straight.el ์ฌ์ฉ ์
(straight-use-package 'org)
์ด๋ฌํ ๋ฐฉ๋ฒ์ผ๋ก Org ๋ฒ์ ๋ถ์ผ์น ๊ฒฝ๊ณ ๋ฅผ ํด๊ฒฐํ ์ ์์ต๋๋ค.
Citations: [1] https://edykim.com/ko/post/start-with-orgmode-basics/ [2] https://list.orgmode.org/87fsgh5uec.fsf@localhost/t/ [3] https://seorenn.github.io/note/doom-emacs-troubleshooting.html [4] https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-04/msg00586.html [5] https://hillfolk.org/posts/org-mode-set-up-dir/
@user