pax_global_header 0000666 0000000 0000000 00000000064 13774712647 0014534 g ustar 00root root 0000000 0000000 52 comment=69caea070379f3324c530e96e06625c3cd097cb9
page-break-lines-0.14/ 0000775 0000000 0000000 00000000000 13774712647 0014566 5 ustar 00root root 0000000 0000000 page-break-lines-0.14/.github/ 0000775 0000000 0000000 00000000000 13774712647 0016126 5 ustar 00root root 0000000 0000000 page-break-lines-0.14/.github/FUNDING.yml 0000664 0000000 0000000 00000000023 13774712647 0017736 0 ustar 00root root 0000000 0000000 patreon: sanityinc
page-break-lines-0.14/.github/workflows/ 0000775 0000000 0000000 00000000000 13774712647 0020163 5 ustar 00root root 0000000 0000000 page-break-lines-0.14/.github/workflows/test.yml 0000664 0000000 0000000 00000001067 13774712647 0021671 0 ustar 00root root 0000000 0000000 name: CI
on:
pull_request:
push:
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_version:
- 24.1
- 24.2
- 24.3
- 24.4
- 24.5
- 25.1
- 25.2
- 25.3
- 26.1
- 26.2
- 26.3
- 27.1
- snapshot
steps:
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs_version }}
- uses: actions/checkout@v1
- name: Run tests
run: make
page-break-lines-0.14/.gitignore 0000664 0000000 0000000 00000000026 13774712647 0016554 0 ustar 00root root 0000000 0000000 /page-break-lines.elc
page-break-lines-0.14/Makefile 0000664 0000000 0000000 00000001376 13774712647 0016235 0 ustar 00root root 0000000 0000000 EMACS ?= emacs
# A space-separated list of required package names
NEEDED_PACKAGES = package-lint
INIT_PACKAGES="(progn \
(require 'package) \
(push '(\"melpa\" . \"https://melpa.org/packages/\") package-archives) \
(package-initialize) \
(dolist (pkg '(${NEEDED_PACKAGES})) \
(unless (package-installed-p pkg) \
(unless (assoc pkg package-archive-contents) \
(package-refresh-contents)) \
(package-install pkg))) \
)"
all: compile package-lint clean-elc
package-lint:
${EMACS} -Q --eval ${INIT_PACKAGES} -batch -f package-lint-batch-and-exit page-break-lines.el
compile: clean-elc
${EMACS} -Q --eval ${INIT_PACKAGES} -L . -batch -f batch-byte-compile *.el
clean-elc:
rm -f f.elc
.PHONY: all compile clean-elc package-lint
page-break-lines-0.14/README.md 0000664 0000000 0000000 00000004750 13774712647 0016053 0 ustar 00root root 0000000 0000000 [](https://melpa.org/#/page-break-lines)
[](https://stable.melpa.org/#/page-break-lines)
[](https://github.com/purcell/page-break-lines/actions)
page-break-lines.el
===================
This Emacs library provides a global mode which displays ugly form feed
characters as tidy horizontal rules.
Screenshot
==========

Installation
=============
If you choose not to use one of the convenient
packages in [MELPA](https://melpa.org), you'll need to
add the directory containing `page-break-lines.el` to your `load-path`, and
then `(require 'page-break-lines)`.
Usage
=====
Enable `page-break-lines-mode` in an individual buffer like this:
```elisp
(turn-on-page-break-lines-mode)
```
Alternatively, customize `page-break-lines-modes` and enable the mode globally with
`global-page-break-lines-mode`.
Note that Emacs already supports [“Pages”](https://www.gnu.org/software/emacs/manual/html_node/emacs/Pages.html)
and jumping around between page breaks with `C-x [` (`backward-page`)
and `C-x ]` (`forward-page`).
Issues and limitations
======================
If `page-break-lines-char` is displayed at a different width to
regular characters, the rule may be either too short or too long:
rules may then wrap if `truncate-lines` is nil. On some systems,
Emacs may erroneously choose a different font for the page break
symbol, which choice can be overridden using code such as:
```elisp
(set-fontset-font "fontset-default"
(cons page-break-lines-char page-break-lines-char)
(face-attribute 'default :family))
```
Use `describe-char` on a page break char to determine whether this
is the case.
Also see Vasilij Schneidermann's
[form-feed package](https://github.com/wasamasa/form-feed), which
works using font-lock instead of glyph composition, and therefore has
different display trade-offs.