https://github.com/beacoder/everlasting-scratch
The scratch buffer that lasts forever.
https://github.com/beacoder/everlasting-scratch
convinience developer-tools
Last synced: 4 days ago
JSON representation
The scratch buffer that lasts forever.
- Host: GitHub
- URL: https://github.com/beacoder/everlasting-scratch
- Owner: beacoder
- License: mit
- Created: 2022-04-01T15:00:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-06T06:28:27.000Z (about 1 year ago)
- Last Synced: 2025-08-03T14:44:41.903Z (7 months ago)
- Topics: convinience, developer-tools
- Language: Emacs Lisp
- Homepage:
- Size: 77.1 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# everlasting-scratch
[](COPYING.md)
[](https://github.com/beacoder/everlasting-scratch/actions)
[](https://melpa.org/#/everlasting-scratch)
[](https://stable.melpa.org/#/everlasting-scratch)
[](https://996.icu)
The scratch buffer that lasts forever.
# Summary
This package provides a global minor mode `everlasting-scratch-mode'
that causes the *scratch* to respawn after it's killed and with content restored,
the *scratch* could survive manual kill and emacs restart (with help of desktop.el)
@note: borrowed lots of stuff from immortal-scratch, thanks mate.
# Usage
```lisp
(add-hook 'after-init-hook 'everlasting-scratch-mode)
```
# Features
- [x] Automatically respawn *scratch*.
- [x] Content will be restored together with *scratch*.
- [x] Content could survive emacs restart.
- [x] Content will be saved automatically every 30s.
# License
[LICENSE](LICENSE). Copyright (c) 2022-2025 Huming Chen