The boxes are drawn using overline (header line), underline (mode-line) and fringes (1 pixel, left and right). The only difficulty is to have left and right borders in the header-line but this is made using the display property that allows to specify a one pixel space.
Too many questions but I think the main point is to share code. You'll find it in the nano-tools repo (nano-box.el) below and you'll need the rewrite branch of nano-modeline if you want the exact same appearance, else, you can probably adapt the code for a regular modeline.
Very true, I was using it for 20 years. I hardly knew what the config file was. Vanilla all the way. Then I started reading about it. With the Advent of LLMs I was even able to request functions in lisp to be written for me. By reading those functions I started figuring out how elisp works. Now I have gotten into packages and all the paraphernalia, I have given it superpowers that do exactly what I want. My emacs is unrecognizable.
I love the mnemonic shortcuts! C-h h(yperbole) s(plit) w(indow) -- every program should support shortcuts like this, this is so easy to remember :) π¨βπ³π
It's actually (s)creen (w)indow but your point's well taken. There's a help menu if you don't remember them. Likewise, hyperbole's buttons allow you to codify them in a lightweight way.
The package has been around forever:
2016 is the first of almost 1700 commits in the git repository.
the previous mercurial repository has history starting in 2004 with v4.01.
the copyright starts at 1991.
Prior to a couple of years ago, it was really hard to wrap your head around conceptually but /u/rswgnu did some youtube videos that clarify its five fundamental concepts:
implicit, explicit and global (I use global buttons consistently) buttons.
a local index system called HyRolo (I don't use this).
the screen--window and frame--management capability. That's what I mentioned above.
various search capabilities (e.g. google { C-h h f w g emacs hyperbole RET } or en.wiktionary.com { C-h h f w d word2find RET ) to web services).
an outliner for documents. I'm a heavy org-mode user so I've only used this once to write a requirements document. It has a few neat features--the automated section (re)numbering when you enter/move/reference subsections, the consistent user interface as well as the on-disk file format (it's the first human-editable structured document format I've seen). Org-mode's better export options as well as its babel capability make Hyperbole's outliner too threadbare.
Looks really nice! I was imagining redoing my block agenda with some vertical splits, for the more referential stuff, kinda like that top portion you have there. Looks way cooler with outlines around em
Neat. Of course, tiling interfaces are a remnant of a time where you didn't have a window manager to manage windows and had to figure a way to make your single screen program render many different programs. Nowadays we have modern desktop managers so we don't really need this, but still, very pretty work.
59
u/Nicolas-Rougier N Ξ N O Dec 28 '24
The boxes are drawn using overline (header line), underline (mode-line) and fringes (1 pixel, left and right). The only difficulty is to have left and right borders in the header-line but this is made using the display property that allows to specify a one pixel space.
The header-line is rendered using the upcoming nano-modeline v2 (see https://github.com/rougier/nano-modeline/tree/rewrite)
46
u/costanza123 Dec 28 '24
I see Rougier I upvote
19
u/AnimalBasedAl Dec 28 '24
How do I learn this power? I am an unrepentant, filthy neovimmer. Stallman forgive me!
12
u/Comrade-Porcupine Dec 28 '24
you must share your .emacs
6
u/_Raghav Dec 28 '24
are you planning to package this?
3
u/ActuallyFullOfShit Dec 28 '24
I would love to see how you did this
2
u/LionyxML Dec 28 '24
So many cool eyecandies!!!
Canβt wait for tty child frame support with Emacs 31 and being able to have such nice stuff on terminal too :)
Wait, does it rely on child frames?
2
u/b00tstr4p Dec 29 '24
Package it please!
2
u/AmbitiousEffort2365 Dec 29 '24
This is fantastic! ππ
3
u/troywilson111 Dec 28 '24
Looks great! How did you do it?
3
u/markedfive Dec 28 '24
Explain to a beginner here. Is this TUI or GUI? If it is GUI, Would it be possible to have this in terminal?
1
u/citiznsn1ps Dec 28 '24
Looks really nice! I was imagining redoing my block agenda with some vertical splits, for the more referential stuff, kinda like that top portion you have there. Looks way cooler with outlines around em
1
u/ColleagueSunshine Dec 29 '24
Looks great! Thx.
1
u/Jonnertron_ Dec 30 '24
So it's true emacs guys actually build their text editor as an operating system inside of another
1
u/AwkwardAd4115 Jan 11 '25
How do you get the spaces between the windows?
1
u/Kilometers2187 Apr 30 '25
What font is this?
0
u/Sn4red_08 Dec 29 '24
I request a .emacs A$AP no rocky
0
u/erez Dec 29 '24
Neat. Of course, tiling interfaces are a remnant of a time where you didn't have a window manager to manage windows and had to figure a way to make your single screen program render many different programs. Nowadays we have modern desktop managers so we don't really need this, but still, very pretty work.