This guide will cover the basics on how to integrate emacs with protonmail-bridge using
- mu4e
- mbsync
- smtpmail
- protonmail-bridge
This guide will cover the basics on how to integrate emacs with protonmail-bridge using
| (defun user/mail-layer () | |
| "Set GNUS up with asynchronous mail sending, and Proton Mail support, | |
| and a relatively modern layout! | |
| Loads: | |
| - `async': for asynchronous mail" | |
| (use-package async | |
| :demand t | |
| :config | |
| (load "smtpmail-async.el") |
| #!/bin/sh | |
| #original artwork by http://www.sanderfocus.nl/#/portfolio/tech-heroes | |
| #converted to shell by #nixers @ irc.unix.chat | |
| cat << 'eof' | |
| [38;5;255m,_ ,_==▄▂[0m | |
| [38;5;255m, ▂▃▄▄▅▅[48;5;240m▅[48;5;20m▂[48;5;240m▅¾[0m. [38;5;199m/ [38;5;20m/[0m | |
| [38;5;255m[48;5;20m▄[0m[38;5;255m[48;5;199m▆[38;5;16m[48;5;255m<´ [38;5;32m"[38;5;34m»[38;5;255m▓▓[48;5;32m▓[48;5;240m%[0m\ [38;5;199m/ [38;5;20m/ [38;5;45m/ [38;5;118m/[0m |
| ;; By default, Which-key doesn't give much help for prefix-keys. It | |
| ;; either shows the generic description, "+prefix", or the name of a | |
| ;; prefix-command, which usually isn't as descriptive as we'd like. | |
| ;; | |
| ;; Here are some descriptions for the default bindings in `global-map' | |
| ;; and `org-mode-map'. | |
| (which-key-add-key-based-replacements | |
| "<f1> 4" "help-other-win" | |
| "<f1>" "help" |
| ;; nano-emacs.el --- NANO Emacs (minimal version) -*- lexical-binding: t -*- | |
| ;; Copyright (c) 2025 Nicolas P. Rougier | |
| ;; Released under the GNU General Public License 3.0 | |
| ;; Author: Nicolas P. Rougier <nicolas.rougier@inria.fr> | |
| ;; URL: https://github.com/rougier/nano-emacs | |
| ;; This is NANO Emacs in 256 lines, without any dependency | |
| ;; Usage (command line): emacs -Q -l nano.el -[light|dark] |
| # -------------------------------------------------------------------- | |
| # Recursively find pdfs from the directory given as the first argument, | |
| # otherwise search the current directory. | |
| # Use exiftool and qpdf (both must be installed and locatable on $PATH) | |
| # to strip all top-level metadata from PDFs. | |
| # | |
| # Note - This only removes file-level metadata, not any metadata | |
| # in embedded images, etc. | |
| # | |
| # Code is provided as-is, I take no responsibility for its use, |
| [ 0.000000] Linux version 5.13.8-gentoo (root@kimura) (gcc (Gentoo 11.2.0 p1) 11.2.0, GNU ld (Gentoo 2.36.1 p4) 2.36.1) #1 SMP Sat Aug 7 16:45:21 BST 2021 | |
| [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.13.8 root=UUID=987fc18f-5b26-42de-a6e1-1ea07fd1ea7d ro dolvm domdadm rootfstype=ext4 | |
| [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' | |
| [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' | |
| [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' | |
| [ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers' | |
| [ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR' | |
| [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 | |
| [ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64 | |
| [ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64 |
| [ 0.000000] Linux version 5.12.13-gentoo (root@kimura) (gcc (Gentoo 11.1.0-r1 p2) 11.1.0, GNU ld (Gentoo 2.36.1 p3) 2.36.1) #1 SMP Thu Jun 24 07:49:44 BST 2021 | |
| [ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.12.13 root=UUID=987fc18f-5b26-42de-a6e1-1ea07fd1ea7d ro dolvm domdadm rootfstype=ext4 | |
| [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' | |
| [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' | |
| [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' | |
| [ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers' | |
| [ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR' | |
| [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 | |
| [ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64 | |
| [ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64 |
| ## Filename server.R | |
| ## Author nshephard@gmail.com | |
| ## Created 2013/05/18 | |
| ## Description Performs sample size calculations | |
| ## Copyright 2013 nshephard@gmail.com | |
| ## | |
| ## This program is free software: you can redistribute it and/or modify | |
| ## it under the terms of the GNU General Public License as published by | |
| ## the Free Software Foundation, either version 3 of the License, or | |
| ## (at your option) any later version. |