Releases: larstvei/Focus
Faces for Focus
This release introduces customizable faces for Focus.
The face focus-unfocused
defines the look for the unfocused region. By default, it inherits from font-lock-comment-face
, meaning that the unfocused region will look the same as comments. It is easily configurable via list-faces-display
.
Another face focus-focused
defines the look for the focused region. By default, it is empty, meaning that there is no visible change in this area. However, it does allow a user to make the focused area bold, or increase the font size.
There is a minor breaking change, in the sense that customizing focus-dimness
will have no effect, hence the bump of the major version.
The release also includes multiple bug-fixes and a new README.
Bug fixes and add pin/unpin of focused section
This release consists mainly of bug fixes, notably one which made the post-command-hook
what's called permanent-local
. This interfered with other modes, and was fixed in ffd97a5. Below is a short list of commits that are included in the release.
bfb6aaf Don't persist focus mode across major mode change
ffd97a5 Fix bug related to post-command-hook
4d31363 Use cl-lib function instead of cl.el
abad47f Add functions to pin/unpin the focused section
f310fa1 Split up `focus-move-focus'
307df45 Fix #5
b90cfb3 Fix #4
v0.1.0: Allow for changing the current thing interactively
The `focus-mode-to-thing` variable dictates what thing to use according to the currently enabled mode. Changing this if you only wished to change the thing for a single session seems tedious. Now this can be achieved by `M-x focus-change-thing`.