BIBLIOGRAPHY

History

  • [2025-04-02 Wed 10:17] ๋„ ์•„๋‹Œ ๋„. ๊ทธ๋ƒฅ ํ•ด๊ฒฐ ๋˜๋Š” ๋ฌธ์ œ ์•„๋‹Œ ๋ฌธ์ œ
  • [2025-02-24 Mon 21:00] ์•„์ฃผ ๊ท€์ฐฎ๊ฒŒ ํ•˜๋Š” ๋ฌธ์ œ

2025 ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

[2025-04-02 Wed 10:16] ๋„ ์•„๋‹Œ ๋„. ๋ฐฉ๋ฒ• ์—†์ด ๋˜๋Š” ๋„

๋‘ ์ด๋งฅ์Šค ๊ฒฝ์šฐ, ๋นŒํŠธ์ธ ์•ˆ์“ด๋‹ค. ๋นŒํŠธ์ธ elc ํŒŒ์ผ ์‚ญ์ œํ•˜๊ณ . ์ด๋งฅ์Šค ์ผœ๋†“๊ณ  ๊ธฐ๋‹ค๋ ค๋ผ. ๋„ค์ดํ‹ฐ๋ธŒ ์ปดํŒŒ์ผ ๋น„๋™๊ธฐ๋กœ ์ญ‰ ํ•  ๋•Œ๊นŒ์ง€.

๋นŒํŠธ์ธ orgโ€™s elc ํŒŒ์ผ ์‚ญ์ œ

[2025-03-25 Tue 13:36]

์˜ˆ๋ฅผ ๋“ค์–ด, ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค.

 
# 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

[2025-03-04 Tue 10:31]

 
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:

  1. 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.

  2. 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.

  3. 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.

  4. 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 ๋ฒ„์ „ ๋ถˆ์ผ์น˜ ๊ฒฝ๊ณ  ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

  1. Literate Org Config ์‚ฌ์šฉ ์‹œ:

    • org-babel-load-file ํ˜ธ์ถœ ์ „์— Org ๋กœ๋”ฉ ์ฝ”๋“œ๋ฅผ ์ด๋™ํ•˜์„ธ์š”.
  2. ์ˆ˜๋™์œผ๋กœ load-path ์„ค์ • ์‹œ:

    • =load-path=๋ฅผ ์„ค์ • ํŒŒ์ผ์˜ ์ดˆ๊ธฐ์— ์„ค์ •ํ•˜์„ธ์š”. ๋‹ค๋ฅธ Org ์˜์กด ํŒจํ‚ค์ง€๊ฐ€ ๋จผ์ € ๋กœ๋“œ๋˜์ง€ ์•Š๋„๋ก ์ฃผ์˜ํ•˜์„ธ์š”.
  3. straight.el ํŒจํ‚ค์ง€ ๊ด€๋ฆฌ์ž ์‚ฌ์šฉ ์‹œ:

    • =(straight-use-package โ€˜org)=์„ ์„ค์ • ํŒŒ์ผ์˜ ์ดˆ๊ธฐ์—, straight.el ๋ถ€ํŠธ์ŠคํŠธ๋žฉ ์งํ›„์— ์ถ”๊ฐ€ํ•˜์„ธ์š”.
  4. 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

์•„์นด์ด๋น™