简体   繁体   中英

Default Emacs Window-Buffer Pairings Upon Startup

What is the idiomatic elisp way to have emacs start with N buffers, M windows, and M of those N buffers loaded into windows of a designated placement and size? Or maybe there's a nice plugin for this? Specifically, I want to have an emacs session like this upon startup:

在此处输入图片说明

In case version matters, I'm looking to use gnu emacs 24.3.

One easy way is to use an Emacs desktop (see the Emacs manual, node Saving Emacs Sessions ). Position things as you want, then save your setup as a desktop. (But you will need Emacs 24.4 to have the saved desktop include frame and window configurations.)

(If you use Bookmark+ then you can have multiple desktop bookmarks , and flip between them with a key.)

Otherwise, you will need to write some Elisp code to re-create your frames, windows, buffers etc. in your init file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM