Sawfish’ run-application has a bit fewer features than dmenu, but those can be hacked eventually.
Having to cycle through various volume levels is somehow cumbersome when wanting to go back a level. What’s more, to get to lower volume one must first go through higher volume levels. Replace the cycle-volume.sh script with two-keystroke bindings for setting volume to desired levels.
‘C-x C-c’ is hard enough to type so that I don’t press it by mistake. At the same time, having the confirmation only taught me to automatically confirm my intention without reading question Emacs was asking. This lead to blindly confirming that I want to kill Emacs even though modified buffers exists which often was not my intention. To recap: confirming killing Emacs brings more harm then benefits so get rid of it.
The new name of the function makes it clear that it’s a private function used by `set-key'. While at it, wrap some of the docstring consistently with the rest.
Since Emacs 24.4 the following is true: *** `tab-stop-list' is now implicitly extended to infinity by repeating the last step. Its default value is changed to nil, which means a tab stop every `tab-width' columns. Simplify `set-tab' function so that it does not deal with `tab-stop-list' and instead relies on the above behaviour.
I never use that particular stage and it only adds a step in getting to the end of the file.
In fact, it has been added by package.el on it’s own with the following comment: ;; Added by Package.el. This must come before configurations of ;; installed packages. Don't delete this line. If you don't want it, ;; just comment it out by adding a semicolon to the start of the line. ;; You may delete these explanatory comments. Keep the function call but make the comment a bit shorter.
`xterm-command' is used by other Sawfish code so this not only gets rid of one unnecessary variable but also better integrates with the rest of the window manager.
I’m not sure why this occurs, but Emacs would pick an ISO-8859-1 version of the font which would result in ugly Unicode characters. Make really sure that Unicode-capable version of the font is used. Using `set-face-attribute' should be enough as far as I understand, but it wasn’t so also add a hook to `after-make-frame-functions'.
Do not treat spaces as big indent, only four or more tabs.
For some reason, *scratch* buffer is created at load before `initial-buffer-choice' is called. This means that `remember-notes' does not reuse the buffer for notes. Kill *stratch* beforehand so as to not end up with two separate buffers.
Works better with emacsclient and multiple connections.
Thanks to .gitattributes and some predefined and some added diff formats, git will now start showing better text at the “@@” lines. E.g. for Emacs lisp it will typically be the “(defun …)” line from now on.