---
title: "§undo-fu 이맥스 패키지 - undo - redo"
url: "https://notes.junghanacs.com/notes/20250412T055213"
author: "Junghan Kim"
date: "2025-04-12T05:52:00+09:00"
lastmod: "2025-04-12T05:52:00+09:00"
tags: ["bib"]
description: "undo-fu 패키지와 undo/redo 설정을 성능 관점에서 정리한 이맥스 노트이다."
---

> [!abstract] 이 노트에 대하여
> 
> undo-fu 패키지와 기본 undo 한도를 조정해 긴 세션에서 성능을 어떻게 개선할지 정리한다. 되돌리기 경험과 런타임 부담을 함께 살피는 작은 최적화 노트다.

## BIBLIOGRAPHY

- “Emacsmirror/Undo-Fu.” 2025. <https://github.com/emacsmirror/undo-fu>.
- “Perf(Undo): Tune Undo Limits · Doomemacs/Doomemacs@7b5bcc0.” n.d. Accessed April 11, 2025. <https://github.com/doomemacs/doomemacs/commit/7b5bcc00d49101385b326182e53c53b18ac61314>.

## 히스토리

-   [2025-04-12 Sat 05:52] 이렇게 줄여도 되는 것인가? 아무렴. 얼마나 중요한가?

### emacsmirror/undo-fu

([“Emacsmirror/Undo-Fu” 2025](https://notes.junghanacs.com/notes/20250412T055213#citeproc_bib_item_1)) 2025

Undo helper with redo

### perf(undo): tune undo limits · doomemacs/doomemacs@7b5bcc0

([“Perf(Undo): Tune Undo Limits · Doomemacs/Doomemacs@7b5bcc0” n.d.](https://notes.junghanacs.com/notes/20250412T055213#citeproc_bib_item_2))

perf(undo): tune undo limits Store a little less undo history, to improve general runtime performance by reducing the number of idle markers in long-lived sessions, particularly in shell emulation buffers.

perf(undo): 실행 취소 제한 조정 실행 취소 기록을 조금 덜 저장하여 특히 셸 에뮬레이션 버퍼에서 오래 지속되는 세션의 유휴 마커 수를 줄여 일반적인 런타임 성능을 개선합니다.

```elisp
(setq undo-limit 256000           ; 256kb (default is 160kb)
      undo-strong-limit 2000000   ; 2mb   (default is 240kb)
      undo-outer-limit 36000000)  ; 36mb  (default is 24mb)
```

## 관련노트
