• Stars
    star
    126
  • Rank 284,543 (Top 6 %)
  • Language
    Emacs Lisp
  • Created almost 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Emacs assisted PDF document filing

MELPA Build Status

Paperless - Emacs assisted PDF document filing

You've just scanned a stack of papers that have been cluttering up your desk. Now what? Paperless mode is an Emacs major mode designed to assist with the filing of scanned documents into a hierarchy of folders.

alt text

Paperless mode provides PDF document previews, ido-based target directory completion, and simple batch filing commands designed to simplify and speed the filing of all of your scanned documents.

Here's how it works...

Step 1

Scan your documents and dump them into a holding directory. Set the variable paperless-capture-directory to reference this directory. Use M-x customize-variable to set this string.

Step 2

Tell paperless-mode where to file the documents by setting paperless-root-directory with M-x customize-variable, or you can set both variables in your ~/.emacs/init.el like so:

(custom-set-variables
 '(paperless-capture-directory "/home/green/CAPTURE")
 '(paperless-root-directory "/home/green/Documents"))

Under paperless-root-directory, create a hierarchy of directories that makes sense for you. For example, you might create directories to sort documents like so:

[paperless-root-directory]/Finance
                             /Taxes
                                /2015
                                /2016
                             /Insurance
                                /Car
                                /Home
                             /Work
                                /Expenses
                                   /2016-FOSDEM
                                   /20170102-NYC
                                   /20170202-SFO
                          /Medical
                             /Receipts
                                /2016
                                /2017
                          /Utilities
                             /Mobile
                             /Electricity

At the time of this writing, the author's directory tree contains over 620 folders.

Step 3

Once loaded, start paperless with M-x paperless and you'll be presented with the list of PDF files in paperless-capture-directory. Use the [SPC] key to open PDF preview buffers. The -, +, = and 0 keys will adjust the scale of the preview, just as they do in DocView or PDFView mode. Use the r key to rename the file. If you omit a filename extention, paperless will append ".pdf" to your new filename. Use the f key to select the destination directory. Use the d key to mark the file for deletion. Deletion always moves the file to the system trash folder (emacs's move-file-to-trash). Use the g key to rescan the directory hierarchy under paperless-root-directory for new or deleted folders. Files aren't renamed, moved or deleted until you select the x key.

Org Mode Integration

Paperless features basic Org mode integration as well. Org links stored while in paperless mode point to the appropriate target file location. Be sure to (require 'org-paperless) to enable this feature.

Installation

Paperless requires Emacs 24.4, and is available in the MELPA package repository.

To install from source, simply download this package to your local filesystem, and add something like the following to your ~/.emacs/init.el:

(autoload 'paperless "paperless" "A major mode for filing PDFs" t)
(add-to-list 'load-path
	     (expand-file-name "/home/green/git/paperless/"))

Don't forget to set paperless-capture-directory and paperless-root-directory as per above.

Paperless requires DocView mode, which currently ships with GNU Emacs, however it will always prefer to use PDF Tools if you have that installed.

Licensing

Copyright (C) 2016, 2017, 2018 by Anthony Green

Paperless is provided under the terms of the 3-clause BSD license. See paperless.el for details.

More Repositories

1

ggx

How To Retarget the GNU Toolchain in 21 Patches
79
star
2

red-light-green-light

A git-centric policy management and enforcement tool designed to accelerate your CI/CD pipelines.
Common Lisp
46
star
3

moxie-cores

Moxie-compatible core repository
Verilog
45
star
4

moxiedev

Tools, runtime code, and HDL source for the moxie processor core.
C
37
star
5

lisp-openshift

Run sbcl-powered lisp-based web apps on Red Hat's OpenShift
Common Lisp
25
star
6

FreeRTOS

FreeRTOS - the moxie port
C
18
star
7

idm-satellite-openshift-demo

Notes on installing and configuring an OpenShift Container Platform in a disconnected environment with IdM and Satellite 6
13
star
8

green-orb

An 'Observe and Report Buddy' for your SRE toolbox
Go
12
star
9

cl-chat

A Common Lisp LLM chat library
Common Lisp
12
star
10

cl-etcd

Run etcd as an asynchronous inferior process
Common Lisp
11
star
11

gdash-countdown-clock

Common Lisp
10
star
12

trivial-system-loader

A system installation/loading abstraction for Common Lisp
Common Lisp
9
star
13

cl-completions

A Common Lisp LLM completions library
Common Lisp
9
star
14

howto-change-container-yum-source

Example of how to set up yum in a container to source content from a Satellite CV other than the container hosts'
Makefile
8
star
15

stack2shift

Proof-of-concept OpenStack to OpenShift migration tool
Common Lisp
8
star
16

wrapilator

Wraps verilator output in Common Lisp for testing digital logic in Lisp
Common Lisp
7
star
17

cl-rag-example

A simple Common Lisp example of using LLMs with RAG
Common Lisp
7
star
18

cl-embeddings

A Common Lisp embeddings library
Common Lisp
6
star
19

cl-text-splitter

A Common Lisp text splitting library
Common Lisp
6
star
20

cl-chroma

A Common Lisp client for the Chroma vector database
Common Lisp
5
star
21

emacs

My emacs config
Emacs Lisp
5
star
22

u-boot-moxie

Staging repository for moxie u-boot port.
C
5
star
23

emacs-allow-lists-for-ai-services

How to implement an "allow list" for AI services in GNU Emacs
4
star
24

scandy

Common Lisp
4
star
25

devbox

Tools to create a cloud hosted development box
Shell
3
star
26

cl-python-venv

Manage python virtual environments from Common Lisp
Common Lisp
3
star
27

RTEMS

RTEMS
C
3
star
28

simple-scaler

A simple on-prem OpenShift worker node scaler for stretching into Azure
Common Lisp
3
star
29

advent-of-code-2020

Common Lisp answers to the Advent of Code 2020 puzzles
Common Lisp
3
star
30

OLD-s2i-lisp

OpenShift source-to-image builder for Common Lisp and quicklisp
Shell
3
star
31

gcc

C
3
star
32

aon

Common Lisp
3
star
33

linux-2.6-moxie

Staging area for linux-2.6 moxie patches.
C
2
star
34

greenfx-oanda-to-tickq

Part of an OpenShift Container Platform demo
C++
2
star
35

surrender

Common Lisp
2
star
36

LaptopLab

Scripts to build/manage demo guests on Red Hat Enterprise Linux
Shell
2
star
37

advent-of-code-2023

Common Lisp
2
star
38

make-like

Create a LIKE application template (Lisp In Kubernetes + Emacs)
Common Lisp
2
star
39

uClibc-moxie

Staging area for uClibc moxie patches.
C
2
star
40

busybox-moxie

Staging area for moxie busybox patches.
C
2
star
41

buildchart-ag

Build interesting charts from Jenkins and Kubernetes logs
HTML
2
star
42

s2i-confd

Build webhook-like triggers based on changes in your key/value stores.
Shell
2
star
43

s3-sync-sidecar

Shell
2
star
44

advent-of-code-2022

Common Lisp
2
star
45

moxiedev-releng

Spec files and related release engineering scripts for moxie tools.
Shell
2
star
46

greenfx-webtest

HTML
1
star
47

gdash-gcal-poll

Shell
1
star
48

openldk

Java in Common Lisp
Java
1
star
49

privacy-output-stream

A Common Lisp output stream that masks secret strings
Common Lisp
1
star
50

didit

Common Lisp
1
star
51

tiysoo

This Is Your Satellite On OpenShift
Shell
1
star
52

tower-pull

Pull job data from Tower
Common Lisp
1
star
53

howto-mongodb-tls-on-openshift

Shell
1
star
54

autofile

Content based PDF filer for your paperless office.
Common Lisp
1
star
55

blow

A Lisp-based Web Application Framework for Java Servlet Containers.
Common Lisp
1
star
56

scare-me

Transform RHEL Insights reports into tomorrow's headlines!
Common Lisp
1
star
57

qemu-moxie

C
1
star
58

json2csv

Convert conveniently formatted json files into csv
Common Lisp
1
star
59

jenkins-mock-build-container

A docker build container for use with jenkins that is primed with a mock chroot for RPM package builds
1
star