rougier / nano-emacs

GNU Emacs / N Λ N O - Emacs made simple
GNU General Public License v3.0
2.52k stars 195 forks source link

Make pieces more independent? #46

Open jcmkk3 opened 3 years ago

jcmkk3 commented 3 years ago

First, I want to say that I really appreciate your vision and sharing your work with others. I was wondering if it is possible to make some of the pieces more independent of each other. I see that you've already made efforts to split things up, but I see a couple of areas where some pieces could be more independent.

Using the modeline module alone, the dashed line above the echo area still has some leftover colors from the original modeline. Is it possible to make it look clean and minimal in a theme agnostic way? Screenshot 2021-01-02 at 6 48 04 PM

Similarly, using the layout module alone, the vertical divider shows up as very thick. I really like having the extra padding that is provided by this module and could see using it as a standard part of my config, even if I didn't use any other piece of nano-emacs. Screenshot 2021-01-03 at 12 27 09 PM

rougier commented 3 years ago

I modified nano-modeline such as to have a lighter mode-line. As for the divider, it is supposed to take the background color (white in your case). Do you know where the color comes from?

jwintz commented 3 years ago

@jcmkk3 I think you want to have:

(setq default-frame-alist
      (append (list
               '(internal-border-width . 0))))

(setq window-divider-default-places t
      window-divider-default-bottom-width 1
      window-divider-default-right-width 1)

(window-divider-mode 1)
rougier commented 3 years ago

In the end, I got rid of the window divider mode because it messes up with the header line. It consumes extra pixels from the left header line and brings all kind of problems.