BIBLIOGRAPHY
Related Notes
History
- ์ ๊ท์ฐฎ์ ์ด ๋ ์
toggle-debug-on-error
์ด๊ฒ ์ ๋ถ๋ค
(when (locate-library "org-journal")
(add-hook 'org-mode-hook (lambda () (setq-local tab-width 8)))
(add-hook 'org-journal-mode-hook (lambda () (setq-local tab-width 8)))
)
2025-03-09 W09
@user how to fix it below. reply in korean.
if: Tab width in Org files must be 8, not 4. Please adjust your โtab-widthโ settings for Org mode
@assistant Org ํ์ผ์์ ํญ ๋๋น๊ฐ 4๊ฐ ์๋ 8์ด์ด์ผ ํ๋ค๋ ์ค๋ฅ๊ฐ ๋ฐ์ํ ๊ฒฝ์ฐ, Emacs์ Org ๋ชจ๋์์ tab-width
์ค์ ์ 8๋ก ์กฐ์ ํด์ผ ํฉ๋๋ค. ์ด๋ฅผ ์ํด ๋ค์ ๋ช
๋ น์ด๋ฅผ ์ฌ์ฉํ ์ ์์ต๋๋ค:
(setq-local tab-width 8)
์ด ๋ช ๋ น์ด๋ฅผ ์คํํ๋ฉด ํ์ฌ ๋ฒํผ์ =tab-width=๊ฐ 8๋ก ์ค์ ๋ฉ๋๋ค. Org ๋ชจ๋์์ ์ผ๊ด์ฑ์ ์ ์งํ๋ ค๋ฉด ์ด ์ค์ ์ ์ฌ์ฉํ๋ ๊ฒ์ด ์ข์ต๋๋ค[2][4].
๋ง์ฝ Org ๋ชจ๋ ์ ์ฒด์ ๋ํด ์ด ์ค์ ์ ๊ธฐ๋ณธ๊ฐ์ผ๋ก ํ๋ ค๋ฉด, Emacs์ ์ด๊ธฐํ ํ์ผ(init.el
๋๋ .emacs
)์ ๋ค์ ์ฝ๋๋ฅผ ์ถ๊ฐํ ์ ์์ต๋๋ค:
(add-hook 'org-mode-hook (lambda () (setq-local tab-width 8)))
์ด๋ ๊ฒ ํ๋ฉด Org ๋ชจ๋๋ฅผ ํ์ฑํํ ๋๋ง๋ค =tab-width=๊ฐ ์๋์ผ๋ก 8๋ก ์ค์ ๋ฉ๋๋ค.
- Citations: [1] https://developer.mozilla.org/ko/docs/Web/CSS/tab-size [2] https://list.orgmode.org/orgmode/8734y5d2gs.fsf@localhost/ [3] https://help.libreoffice.org/latest/ko/text/shared/guide/tabs.html [4] https://lists.gnu.org/archive/html/emacs-orgmode/2023-12/msg00284.html [5] https://kldp.org/node/78040
@user