• Stars
    star
    395
  • Rank 109,040 (Top 3 %)
  • Language
    Emacs Lisp
  • License
    GNU General Publi...
  • Created almost 7 years ago
  • Updated 4 months ago

Reviews

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

Repository Details

Tabs and ribbons for the mode-line

Tabs and ribbons for the mode line

This package provides utilities for displaying elements of the mode line as tabs and ribbons. It also provides replacements for a few built-in elements.

http://readme.emacsair.me/moody.png

  • Make sure that the face mode-line does not set :box and that :underline and :overline are the same color or are both undefined. If defined, then the line color should be different from the :background colors of both mode-line and default. The same rules apply to mode-line-inactive. The line colors of mode-line and mode-line-inactive do not necessarily have to be identical. For example:
    (use-package solarized-theme
      :config
      (load-theme 'solarized-light t)
      (let ((line (face-attribute 'mode-line :underline)))
        (set-face-attribute 'mode-line          nil :overline   line)
        (set-face-attribute 'mode-line-inactive nil :overline   line)
        (set-face-attribute 'mode-line-inactive nil :underline  line)
        (set-face-attribute 'mode-line          nil :box        nil)
        (set-face-attribute 'mode-line-inactive nil :box        nil)
        (set-face-attribute 'mode-line-inactive nil :background "#f9f2d9")))
        
  • Note that the above example is for solarized-theme and that for your theme (face-attribute 'mode-line :underline) may return nil. If you want borders, use something like (let ((line "red")) ...), in that case.
  • Add something like this to your init file:
    (use-package moody
      :config
      (setq x-underline-at-descent-line t)
      (moody-replace-mode-line-buffer-identification)
      (moody-replace-vc-mode)
      (moody-replace-eldoc-minibuffer-message-function))
        
  • Such replacement functions are defined as commands, making it quicker to try them out without having to add anything to your init file.
  • To undo the call to a moody-replace-* function, call the same function with t as the value of the optional REVERSE argument. You can accomplish the same by interactively calling such a function with a prefix argument to do so.


Compile MELPA Stable MELPA

More Repositories

1

hl-todo

Highlight TODO keywords
Emacs Lisp
421
star
2

keycast

Show current command and its key in the mode line
Emacs Lisp
308
star
3

minions

A minor-mode menu for the mode line
Emacs Lisp
284
star
4

elisp-maintainers

Elisp maintainers and how to support them
177
star
5

paren-face

A face dedicated to lisp parentheses
Emacs Lisp
161
star
6

bicycle

Cycle outline and code visibility
Emacs Lisp
58
star
7

orglink

Use Org Mode links in other modes
Emacs Lisp
54
star
8

keychain-environment

Loads keychain environment variables into emacs
Emacs Lisp
53
star
9

frameshot

Take screenshots of a frame
Emacs Lisp
42
star
10

backline

Preserve appearance of collapsed outline headings until right window edge
Emacs Lisp
28
star
11

outline-minor-faces

Heading faces for outline-minor-mode
Emacs Lisp
27
star
12

morlock

More font-lock keywords for elisp
Emacs Lisp
13
star
13

mode-line-debug

Show status of debug-on-error in the mode line
Emacs Lisp
11
star
14

keymap-utils

Emacs keymap utilities
Emacs Lisp
10
star
15

killer

Kill and delete text
Emacs Lisp
7
star
16

imake

A simple, opinionated make target runner
Emacs Lisp
7
star
17

fwb-cmds

Misc frame, window and buffer commands
Emacs Lisp
7
star
18

vcomp

Compare version strings
Emacs Lisp
6
star
19

dim-autoload

Dim complete autoload cookie lines
Emacs Lisp
5
star
20

map-regexp

Map over matches of a regular expression
Emacs Lisp
5
star
21

ol-notmuch

Links to Notmuch buffers from Org documents
Emacs Lisp
5
star
22

map-progress

Mapping macros that report progress
Emacs Lisp
4
star
23

emacsair.me

https://emacsair.me
CSS
4
star
24

tarsius

4
star
25

org-elisp-help

Org links to emacs-lisp documentation
Emacs Lisp
4
star
26

notmuch-addr

An alternative to notmuch-address.el
Emacs Lisp
4
star
27

imapfilter

Run the imapfilter exectuable
Emacs Lisp
3
star
28

tray

Transient menus for a wide variety of things [eventually, maybe]
Emacs Lisp
3
star
29

notmuch-transient

Command dispatchers for Notmuch
Emacs Lisp
2
star
30

notmuch-maildir

Visualize maildirs as a tree
Emacs Lisp
2
star
31

llama

Compact syntax for short lambda
Emacs Lisp
1
star
32

kludges

Assorted Elisp snippets intended for my own use. Things come and go.
Emacs Lisp
1
star
33

.github

Makefile
1
star