diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-02-04 14:35:26 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-02-04 14:35:26 -0700 |
commit | 8e392fccf958ad564a5fb79d57d0e3b0d52c6784 (patch) | |
tree | 8600b62d86287eb60c5da3069f8c00274212a913 | |
parent | 171cc11ce9310bae8b40c697b85a8d059b7a61fa (diff) |
patch README for Debian
-rw-r--r-- | README.org | 34 |
1 files changed, 0 insertions, 34 deletions
@@ -5,40 +5,6 @@ provides receiving, posting and deleting pastes using XML-RPC. Highlighting (i.e. enabling a major-mode depending on a paste language) is supported. -* Dependencies -[[https://www.emacswiki.org/emacs/XmlRpc][XmlRpc]] package is required. It can be installed from [[http://melpa.org][MELPA]] or -[[https://marmalade-repo.org][Marmalade]]. - -* Installation -** Manual -As usual you need to add this to your =.emacs=: -#+BEGIN_SRC emacs-lisp - (add-to-list 'load-path "/path/to/debpaste-dir") -#+END_SRC -After that you can either load the package on emacs start with: -#+BEGIN_SRC emacs-lisp - (require 'debpaste) -#+END_SRC -or add a bunch of lines for autoloading functions and put into -=eval-after-load= what should be put there, for example: -#+BEGIN_SRC emacs-lisp - (autoload 'debpaste-display-paste "debpaste" nil t) - (autoload 'debpaste-paste-region "debpaste" nil t) - (autoload 'debpaste-paste-buffer "debpaste" nil t) - (autoload 'debpaste-delete-paste "debpaste" nil t) - (with-eval-after-load 'debpaste - (delete 'debpaste-display-received-info-in-minibuffer - debpaste-received-filter-functions) - (define-key debpaste-command-map "i" - 'debpaste-display-received-info-in-buffer) - (define-key debpaste-command-map "l" - 'debpaste-display-posted-info-in-buffer)) -#+END_SRC - -** MELPA -The package can be installed from [[http://melpa.org][MELPA]] (with =M-x package-install= or -=M-x list-packages=). - * Using and configuration You can explore variables available for customizing with: : M-x customize-group RET debpaste |