SiteMap Search ElispArea HowTo Glossary RecentChanges News Problems Suggestions
Yemen, National Day

MultiScratch

Last edit

Changed:

< So MultiScrath do those work for you, make you can create and switch multiple scratch buffers quickly.

to

> So MultiScratch do those work for you, make you can create and switch multiple scratch buffers quickly.


What is MultiScratch

MultiScrath? is mode that manages multiple scratch buffer.

Why need MultiScratch

Default, Emacs have a scratch buffer named “scratch”. You will find it’s not enough when have various code snippets need split in different scratch buffer. So MultiScratch do those work for you, make you can create and switch multiple scratch buffers quickly.

Install

Put Lisp:multi-scratch.el in your load-path, and add (require ‘multi-scratch) in ~/.emacs

Usage

Create new scratch buffer.
Switch to next scratch buffer.
Switch to previous scratch buffer.

Customize

All below option can customize by: M-x customize-group RET multi-scratch RET

The base name of scratch buffer.
Whether try to create new scratch buffer when no scratch buffers exist.

I believe here’s a bug in Version 0.1: run multi-scratch-new twice (there should be two multi-scratch buffers: multi-scratch<1> and multi-scratch<2> ); kill multi-scratch<1>; run multi-scratch-new. The BUG is no multi-scratch buffer can be created.