Compare commits
2 Commits
820f23326f
...
175948c3d9
Author | SHA1 | Date |
---|---|---|
Lucien Cartier-Tilet | 175948c3d9 | |
Lucien Cartier-Tilet | d509d8a825 |
|
@ -239,20 +239,20 @@
|
||||||
|
|
||||||
#+NAME: font-ws-config
|
#+NAME: font-ws-config
|
||||||
#+HEADER: :var text="font"
|
#+HEADER: :var text="font"
|
||||||
#+BEGIN_SRC emacs-lisp :var table=fonts-polybar :cache yes
|
#+BEGIN_SRC emacs-lisp :var table=fonts-polybar[,1:2] :cache yes
|
||||||
(setq counter 0)
|
(setq counter 0)
|
||||||
(mapconcat (lambda (font)
|
(mapconcat (lambda (font)
|
||||||
(setq counter (+ 1 counter))
|
(setq counter (+ 1 counter))
|
||||||
(format "%s-%d = %s;%s"
|
(format "%s-%d = %s;%s"
|
||||||
text
|
text
|
||||||
(- counter 1)
|
(- counter 1)
|
||||||
(nth 1 font)
|
(nth 0 font)
|
||||||
(nth 2 font)))
|
(nth 1 font)))
|
||||||
table
|
table
|
||||||
"\n")
|
"\n")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+RESULTS[567cfb5e5a0bdfb0eca90846c8292b7d3fd585ea]: font-ws-config
|
#+RESULTS[53fd99d75f6b08e96288fd2a62b455d7ef8b1754]: font-ws-config
|
||||||
: font-0 = Fira Sans Book:style=Book:pixelsize=10;1
|
: font-0 = Fira Sans Book:style=Book:pixelsize=10;1
|
||||||
: font-1 = IPAMincho:style=regular:pixelsize=6;0
|
: font-1 = IPAMincho:style=regular:pixelsize=6;0
|
||||||
: font-2 = unifont:fontformat=truetype:size=6:antialias=false;0
|
: font-2 = unifont:fontformat=truetype:size=6:antialias=false;0
|
||||||
|
|
|
@ -3228,13 +3228,15 @@
|
||||||
40% of Emacs’ frame, the rest will be given to emails. As you can see, the
|
40% of Emacs’ frame, the rest will be given to emails. As you can see, the
|
||||||
width of the mu4e headers is evaluated each time we enter it, so it can react
|
width of the mu4e headers is evaluated each time we enter it, so it can react
|
||||||
to the frame being potentially not the same width than earlier or the window
|
to the frame being potentially not the same width than earlier or the window
|
||||||
not taking the entire frame.
|
not taking the entire frame. It has to have a minimal size though, I’d say 80
|
||||||
|
characters is enough for that.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq mu4e-split-view 'vertical)
|
(setq mu4e-split-view 'vertical)
|
||||||
(add-hook 'mu4e-view-mode-hook
|
(add-hook 'mu4e-headers-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(setq mu4e-headers-visible-columns (round (* (window-width)
|
(setq mu4e-headers-visible-columns (max 80
|
||||||
0.4)))))
|
(round (* (window-width)
|
||||||
|
0.4))))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
This is the setup I have for my SMTP mail server: I point Emacs’ SMTP
|
This is the setup I have for my SMTP mail server: I point Emacs’ SMTP
|
||||||
|
|
Loading…
Reference in New Issue