Skip to content

momomo5717/elscreen-around-desktop

Repository files navigation

elscreen-around-desktop.el

Warning : v0.2.x is not compatible with v0.1.x.

What is it ?

elscreen-around-desktop.el is an extension of desktop.el for ElScreen.

The following features are provided using desktop.el.

  • Saving/Restoring ElScreen tabs, history and nicknames of each frame at the end/start of the session.
  • Auto save synchronously with desktop-auto-save.
  • Interactive functions which emulate functions defined in desktop.el.
  • Saving/Restoring extensions of ElScreen by defining converters.

Requirements

Tested with GNU Emaccs 24.4 (emacs-mac-app @5.4_0)

Setup

(add-to-list 'load-path "/path/to/elscreen")
(add-to-list 'load-path "/path/to/elscreen-around-desktop")
(elscreen-start)
(require 'elscreen-around-desktop)
(desktop-save-mode 1)
(elscreen-around-desktop-mode 1)

If you want to turn off auto save, set elsc-desk-auto-save-active-p to nil.

(setq elsc-desk-auto-save-active-p nil)

Custom Variable

elsc-desk-filename

Default : (convert-standard-filename “.elscreen-around-desktop”)

frame-id-configs is saved to the file in desktop-dirname directory.

Interactive functions which emulate functions defined in desktop.el

  • elscreen-desktop-clear
  • elscreen-desktop-save
  • elscreen-desktop-save-in-desktop-dir
  • elscreen-desktop-read
  • elscreen-desktop-change-dir
  • elscreen-desktop-remove
  • elscreen-desktop-revert

Other interactive functions.

  • elscreen-desktop-save-to-dir
  • elscreen-desktop-read-from-dir

elscreen-separate-buffer-list-around-desktop.el

This is an example of setting for an extension.

elscreen-separate-buffer-list can be installed from MELPA or https://github.com/wamei/elscreen-separate-buffer-list.

Background

This was inspired by

http://stackoverflow.com/questions/22445670/save-and-restore-elscreen-tabs-and-split-frames

https://github.com/robario/elscreen-persist

I learn programming as a hobby. I will learn more about that and English.

Thank you for your help and advice.

趣味でプログラミングを学んでいるため,詰めが甘い箇所が多々あると思います.ご意見など頂けると幸いです.

About

An extension of desktop.el for ElScreen

Resources

Stars

Watchers

Forks

Packages

No packages published