ファイルにメモを残す
make scratch buffer for each files
This plugin no longer requires popwin to work, and the behavior is slightly changed.
If you want the previous behavior, specify popwin:popup-buffer
explicitly.
(require 'popwin)
(setq scratch-palette-popup-function popwin:popup-buffer)
Require this script and set a directory to save scratches in.
(require 'scratch-palette) (setq scratch-palette-directory "~/.emacs.d/palette/")
Then the command M-x scratch-palette-popup
is available. This
command displays the scratch buffer for the file. When called with
region, the region is yanked to the scratch buffer.
You may close note with one of C-g
, C-x C-x
, or C-x C-k
. Its
contents are automatically saved.