• Stars
    star
    168
  • Rank 224,352 (Top 5 %)
  • Language
    Emacs Lisp
  • License
    GNU General Publi...
  • Created over 12 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

elscreen patched to work with recent Emacs

ElScreen

This is a fork of ElScreen updated for Emacs 24 and package.el. ElScreen is an Emacs utility with which you can have multiple screens (window-configuration) on your GNU Emacs as well as GNU screen on terminal.

If you use emacs-lisp applications which have many windows (like Gnus, irchat, Wanderlust, Mew...), ElScreen makes it easy to switch to a different screen, with its configuration unchanged. You can also create and kill screen, jump to them, rename the screen, and so on.

This version of ElScreen does not require any external dependencies.

Installation

The preferred way to install ElScreen is through MELPA and package.el. If you have Emacs 24, you should already have package.el. To enable MELPA, add something like the following in your .emacs.d file:

(add-to-list 'package-archives
     '("melpa" . "https://melpa.org/packages/") t)

Once you have installed ElScreen, you can activate it like so:

(elscreen-start)

Usage

You may use following sequences on ElScreen:

C-z c
C-z C-c
Create a new screen and switch to it.

C-z C
Create a new screen with the window-configuration of the current screen.

C-z k
C-z C-k
Kill current screen.

C-z M-k
Kill current screen and buffers.

C-z K
Kill other screens.

C-z n
C-z C-n
Switch to the "next" screen in a cyclic order.

C-z p
C-z C-p
Switch to the "previous" screen in a cyclic order.

C-z a
C-z C-a
Toggle to the screen selected previously.

C-z '
Prompt for a screen number to switch to.

C-z "
Present a list of all screens for selection.

C-z 0..9
Jump to the screen number 0-9.

C-z C-s
Swap current screen with previous one.

C-z w
C-z C-w
Show a list of screen.

C-z A
Allow the user to enter a name for the current screen.

C-z m
C-z C-m
Repeat the last message displayed in the mini-buffer.

C-z t
C-z C-t

C-z b
Switch to the screen in which specified buffer is splayed.

C-z C-f
Create new screen and open file.

C-z C-r
Create new screen and open file but don't allow changes.

C-z d
Create new screen and run dired.

C-z M-x
Read function name, then call it with new screen.

C-z i
Show/hide the screen number in the mode line.

C-z T
Show/hide the tab on the top of each frame.

C-z v
Display ElScreen version.

C-z ?
Show key bindings of ElScreen and Add-On softwares.

Setup

You can set the following variables to configure ElScreen. These can be set in .emacs file directly or "Options" in your menu bar.

elscreen-prefix-key

ElScreen prefix-key. The default value is \C-z.

elscreen-buffer-to-nickname-alist

The pairs of buffer-name and corresponding screen nickname or function that returns nickname, which are listed by elscreen-display-screen-name-list only when major-mode cannot determine its screen nickname. The default value is:

    '(("^dired-mode$" .
       (lambda ()
         (format "Dired(%s)" dired-directory)))
      ("^Info-mode$" .
       (lambda ()
         (format "Info(%s)" (file-name-nondirectory Info-current-file))))
      ("^mew-draft-mode$" .
       (lambda ()
         (format "Mew(%s)" (buffer-name (current-buffer)))))
      ("^mew-" . "Mew")
      ("^irchat-" . "IRChat")
      ("^liece-" . "Liece")
      ("^lookup-" . "Lookup"))

elscreen-mode-to-nickname-alist

The pairs of major-mode and corresponding screen nickname or function that returns nickname, which are listed by elscreen-display-screen-name-list. The default value is:

    '(("[Ss]hell" . "shell")
      ("compilation" . "compile")
      ("-telnet" . "telnet")
      ("dict" . "OnlineDict")
      ("*WL:Message*" . "Wanderlust"))

elscreen-startup-command-line-processing

If non nil, ElScreen processes command line arguments of Emacsen when starting up, and opens files with new screens if needed. The default value is t.

elscreen-display-screen-number

If non nil, show the number of the current screen in mode line. The default value is t.

elscreen-display-tab

Specify how the tabs at the top of frame should be displayed. t means to display tabs whose width should be calculated automatically. A value of integer means to display tabs with fixed width of this value. nil means don't display tabs. The default value is t.

elscreen-tab-display-control

If non nil, display the tab (labeled with [<->]) to switch to next/previous screen or create new screen at the most left side of the tab line. The default value is t.

elscreen-tab-display-kill-screen

Location of the icon ([X]) to kill corresponding screen on each tab. Possible values are 'left, 'right and nil (to hide icons). The default value is 'left.

Bugs

Under multiple-frame environment, screen numbers displayed on mode line of each frame is changed at the same time. On GNU Emacs 21, tabs also has this restriction.

Acknowledgment

Many people contributed to ElScreen by reporting problems or suggesting various improvements. Here is a list of these people.

  • Tohru Sugayama
  • Yoshinobu Takenaga
  • Masatoshi Takamura
  • Jin Kashimura
  • Takahiko Sakai
  • Norio Suzuki
  • Yoshitatsu Takeshita
  • Yoichi Nakayama
  • [email protected]
  • Dan Debertin
  • Yoshinori Koseki
  • Hideyuki Shirai
  • Masahiro Ishiyama
  • Alexy Khrabrov

More Repositories

1

noreferrer

Cross-browser support for HTML5's noreferrer link type.
CoffeeScript
129
star
2

postgresql-plruby

PL/Ruby procedural language for the PostgreSQL database system by Guy Decoux
C
110
star
3

ruby-domain_name

Domain Name manipulation library for Ruby
Ruby
95
star
4

ruby-unf

A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby
Ruby
75
star
5

zsh-git-escape-magic

zle tweak for git command line arguments
68
star
6

Knu.spoon

A Spoon package of my Hammerspoon modules, mainly for keyboard customization
Lua
51
star
7

zsh-manydots-magic

manydots-magic - zle tweak for emulating `...'==`../..' etc.
Shell
39
star
8

ruby-unf_ext

Unicode Normalization Form support library for CRuby
Hack
32
star
9

e

e - a smart wrapper for $EDITOR
Shell
29
star
10

ruby-mmap

Ruby bindings for Unix mmap(2) by Guy Decoux
C
25
star
11

git-merge-structure-sql

git merge driver for db/structure.sql of Rails projects
Ruby
24
star
12

mc-extras.el

Extra functions for multiple-cursors mode
Emacs Lisp
24
star
13

webrobots

A Ruby library to help write robots.txt compliant web robots
Ruby
24
star
14

easy-kill-extras.el

Extra functions for easy-kill/easy-mark.
Emacs Lisp
23
star
15

emacsc

Emacs as a command line tool
Perl
18
star
16

ruby-friendfeed

A Ruby library to provide access to FriendFeed API's
Ruby
17
star
17

rsdl

The interpreter wrapper for Ruby/SDL (written by kumaryu)
Ruby
14
star
18

imedic-shogi

Shogi terminology dictionary for Japanese input method editors
13
star
19

ruby-bdb

Ruby bindings for Sleepycat Berkeley DB and DB XML by Guy Decoux
C
13
star
20

sorted_set

SortedSet for Ruby
Ruby
13
star
21

operate-on-number.el

Operate on number at point with arithmetic functions
Emacs Lisp
13
star
22

kakasi_ffi

A Ruby binding for KAKASI implemented with FFI
Ruby
12
star
23

di

A wrapper around GNU diff(1)
Ruby
10
star
24

phi-search-mc.el

Multiple-cursors extension for phi-search
Emacs Lisp
10
star
25

FDclone

A clone of FD (File & Directory tool) by T.Shirai
C
10
star
26

yaml-imenu.el

Enhancement for the imenu support in yaml-mode
Emacs Lisp
8
star
27

dired-fdclone.el

dired functions and settings to mimic FDclone
Emacs Lisp
8
star
28

ruby-digest-tiger

Modules related to message digesting algorithms that conform to the standard Digest API (ext/digest)
C
7
star
29

zfs-snapshot-clean

A tool to sieve ZFS snapshots as per given spec a la `pdumpfs-clean'
Shell
7
star
30

inplace

A command line utility that edits files in-place through given filter commands
Ruby
6
star
31

replace-with-inflections.el

Provides query-replace-names-with-inflections
Emacs Lisp
6
star
32

g

g, f - stress-free wrapper around grep(1) and find(1)
Shell
6
star
33

imedic-mahjong

Mahjong terminology dictionary for Japanese input method editors
5
star
34

github-sync

A simple script to check out all of your projects on GitHub under your local directory (${GITHUB_DIR-$HOME/src/github}).
Ruby
5
star
35

sidetiq-timezone

Time zone for Sidetiq
Ruby
5
star
36

fuse-convmvfs

A userland file system to convert filename charset, by ZC Miao
HTML
5
star
37

sh-functions

A place to put utility functions for shell scripting
Shell
4
star
38

shell-toggle.el

Toggle to and from the *shell* buffer
Emacs Lisp
4
star
39

bcbiff

bcbiff(1) - Boxcar based IMAP biff
Ruby
4
star
40

stow-utils

Complementary utilities for GNU stow (http://www.gnu.org/software/stow/)
4
star
41

plum

An IRC proxy with plug-in architecture, Japanese encodings and UTF-8 support, IPv6, etc. written in legacy perl
4
star
42

ruby-perlstorable

A Ruby module that emulates deserialization of Perl's Storable module
Ruby
4
star
43

ruby-qrencode

Ruby bindings for libqrencode, a QR code encoder library
C
3
star
44

ruby-bdb1

Ruby bindings for Berkeley DB 1.8x by Guy Decoux
C
3
star
45

ical_events

A programmer-friendly frontend for Ali Rantakari's amazing icalBuddy
Ruby
3
star
46

zsh-shell-word-at-point

zle function to get a shell word at point
Shell
3
star
47

zsh-easy-vcs-status

A zle tweak for easy access to VCS status
Shell
3
star
48

p

p - a lazy wrapper for $PAGER
Shell
3
star
49

imerge

a shell script that helps merge one file to another interactively
Shell
3
star
50

tmux-open-anything

Shell
2
star
51

azik

AZIKε…₯εŠ›
2
star
52

vc-svk.el

vc-svk.el fixed/updated for Emacs trunk
Emacs Lisp
2
star
53

lookup.el

lookup.el cvsimported from :pserver:[email protected]:/cvsroot/lookup and modified for recent Emacs
Emacs Lisp
2
star
54

prom-wl.el

Prom-WL (Procmail reader for Wanderlust) - fixed for recent Emacs and Wanderlust
Emacs Lisp
2
star
55

screen

GNU screen with some patches applied
C
2
star
56

netatalk

Netatalk Sourceforge mirror providing advanced github code inspection tools
C
2
star
57

ruby-bz2

Ruby bindings for libbzip2 by Guy Decoux
C
2
star
58

wp-syntax-download-extension

This plug-in makes WP-Syntax highlighted code snippets downloadable from nice captions.
PHP
2
star
59

poly-ruby.el

Provides poly-ruby-mode for Emacs
Emacs Lisp
2
star
60

sup

do <whatever SCM> update
Shell
2
star
61

minibuffer-complete-cycle

Cycle through the *Completions* buffer
Emacs Lisp
2
star
62

libchk

libchk(1) -- a tool to check shared library links (only FreeBSD is supported for the moment)
Ruby
1
star
63

kippu_problem

Kippu Problem - Make four digits equal to 10 by only using four arithmetic operations and parentheses
Ruby
1
star
64

ruby-digest-whirlpool

Ruby interface to the Whirlpool message digest algorithm
C++
1
star
65

atok-google_suggest

A Google Suggest plug-in for ATOK Direct.
Ruby
1
star
66

jsonapi-example

Ruby
1
star
67

docset-presto

Presto DB Docset builder for Dash.app
Ruby
1
star
68

rubigame

RubiGame is a clone of a famous puzzle game
Ruby
1
star
69

zsh-delsel-mode

delsel-mode (delete-selection-mode) for zsh
Shell
1
star
70

docset-trino

Presto Docset builder for Dash.app
Ruby
1
star
71

yoursearch

Build OpenSearch plugins your way
Ruby
1
star