GNU ELPA - spacious-padding

spacious-padding Atom Feed

Description
Increase the padding/spacing of frames and windows
Latest
spacious-padding-0.6.0.tar (.sig), 2025-Jan-06, 120 KiB
Maintainer
Protesilaos Stavrou <info@protesilaos.com>
Website
https://github.com/protesilaos/spacious-padding
Browse ELPA's repository
CGit or Gitweb
Badge
Manual
spacious-padding

To install this package from Emacs, use package-install or list-packages.

Full description

spacious-padding for GNU Emacs

DEMO IMAGES:

This package provides a global minor mode to increase the spacing/padding of Emacs windows and frames. The idea is to make editing and reading feel more comfortable. Enable the mode with M-x spacious-padding-mode. Adjust the exact spacing values by modifying the user option spacious-padding-widths.

Inspiration for this package comes from Nicolas Rougier's impressive designs and Daniel Mendler's org-modern package.

Old versions

spacious-padding-0.5.0.tar.lz2024-Apr-2921.8 KiB
spacious-padding-0.4.1.tar.lz2024-Mar-3120.9 KiB
spacious-padding-0.4.0.tar.lz2024-Mar-0420.9 KiB
spacious-padding-0.3.0.tar.lz2023-Dec-2118.8 KiB
spacious-padding-0.2.2.tar.lz2023-Nov-253.37 KiB
spacious-padding-0.2.1.tar.lz2023-Nov-253.37 KiB
spacious-padding-0.2.0.tar.lz2023-Nov-243.36 KiB
spacious-padding-0.1.0.tar.lz2023-Jun-062.41 KiB
spacious-padding-0.0.0.tar.lz2023-Jun-032.27 KiB

News

This document contains the release notes for each tagged commit on the project’s main git repository: https://github.com/protesilaos/spacious-padding.

The newest release is at the top. For further details, please consult the manual: https://protesilaos.com/emacs/spacious-padding.

1. Version 0.6.0 on 2025-01-06

This is a small release that makes some minor refinements. The package is otherwise stable and works as expected.

1.1. We use the spacious-padding theme instead of user

This is an internal detail with how we implement the “spacious” changes to the faces we cover. Before, we would override anything that the user would explicitly configure with custom-set-faces, either via their Elisp code or through the Custom User Interface and the snippet it automatically generates.

By storing our changes in the bespoke spacious-padding theme instead of the special user theme, we do not override the user’s preference. This is the right design in principle, though users may no longer get the same styles as before because faces they had configured before will now override what spacious-padding-mode does.

When in doubt, search your configuration for custom-set-faces, comment out the whole block, try to re-enable spacious-padding-mode, and see if the results are okay.

Thanks to Martin Marshal for making the initial change in pull request 26: https://github.com/protesilaos/spacious-padding/pull/26. The change is within the ~15-line limit of permitted changes without the need for copyright assignment to the Free Software Foundation. I then followed it up with the creation of the spacious-padding theme.

1.2. The tab-line-tab-current face is supported

This means that tab-line-mode will look consistent when spacious-padding-mode is enabled, instead of some tabs looks smaller/different.

1.3. spacious-padding-mode works with window-divider-mode

Thanks to Pierre Baille and Tobias Tschinkowitz for bringing up the problem in issue 17: https://github.com/protesilaos/spacious-padding/issues/17.

2. Version 0.5.0 on 2024-04-29

This is a bug fix release.

2.1. Starting a frame from the daemon/server works as well

Before, if Emacs would start as a new server process via a client, it would not set the faces and the frame parameters correctly.

I have made sure this no longer happens, so the padding/spacing should look as expected at startup no matter what.

Thanks to tusharhero and Julian Flake for reporting this and testing the updated code. It was done in issue 13: https://github.com/protesilaos/spacious-padding/issues/13.

2.2. The padding of relevant elements can be set to 0

This concerns anything that has a box with padding around it. From the user option spacious-padding-widths, we have the following attributes:

  • :tab-width
  • :tab-bar-width
  • :tab-line-width
  • :header-line-width
  • :mode-line-width

Thanks to Ruby Iris Juric for the contribution. It was done in pull request 7: https://github.com/protesilaos/spacious-padding/pull/7.

The change is less than the 15-line limit, so Ruby does not need to assign copyright to the Free Software foundation.

2.3. The right-divider-width has a fallback value at all times

… …