[dev] I made Emacs use the same keys as st for changing font size

2021-05-12 Thread Greg Reagle
Perhaps I am the only suckless fan who also uses Emacs. :> Here is how I made Emacs use the same keys as st for changing font size: (global-set-key (kbd "C-S-") 'text-scale-increase) (global-set-key (kbd "C-S-") 'text-scale-decrease) (global-set-key (kbd "C-S-") 'text-scale-set)

[dev] centering floating windows

2021-05-12 Thread S. R. Gal
Dear All, applying the following patch: diff --git a/dwm.c b/dwm.c index b0b3466..c6d5de8 100644 --- a/dwm.c +++ b/dwm.c @@ -1057,6 +1057,8 @@ manage(Window w, XWindowAttributes *wa) updatewindowtype(c); updatesizehints(c); updatewmhints(c); + c->x = c->mon->mx + (c-

Re: [dev] Ada not Rust

2021-05-12 Thread Robert Ransom
On 4/20/21, Miles Rout wrote: > We'd all be better off if we focused our efforts on tools to make C > programming better. I was thinking today about how useful it would be > to have a way to indicate that a particular variable shouldn't be able > to impact the running time of a function for cryp

Re: [dev] Ada not Rust

2021-05-12 Thread Greg Minshall
Laslo, thank you very much. > I'm just glad that I, as a numerical mathematician, don't have to use > MATLAB anymore. I initiated and finalized that the current lecture on > numerical mathematics here in Cologne, which I co-supervise, is using > Julia for the first time (instead of MATLAB), and I