[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/webpaste b35b30d 134/298: Added documentation for how to c
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/webpaste b35b30d 134/298: Added documentation for how to configure provider priority |
Date: |
Thu, 9 Dec 2021 19:00:00 -0500 (EST) |
branch: elpa/webpaste
commit b35b30dbe01d3391b7b09a409fe3a479c227b137
Author: Elis Axelsson <elis.axelsson@gmail.com>
Commit: Elis Axelsson <elis.axelsson@gmail.com>
Added documentation for how to configure provider priority
This fixes #10.
---
README.org | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/README.org b/README.org
index b1c8b0c..49f7649 100644
--- a/README.org
+++ b/README.org
@@ -22,6 +22,38 @@ easiest way to install and configure packages.
("C-c C-p C-r" . webpaste-paste-region)))
#+END_SRC
+** Configuration
+*** Choosing providers / provider priority
+To select which providers to use in which order you need to set the variable
+=webpaste-provider-priority= which is a list of strings containing the
+providers names.
+
+Examples:
+#+begin_src emacs-lisp :tangle yes
+ ;; Choosing githup gist only
+ (setq webpaste-provider-priority '("gist.github.com"))
+
+ ;; Choosing ptpb.pw as first provider and dpaste.de as second
+ (setq webpaste-provider-priority '("ptpb.pw" "dpaste.de"))
+
+ ;; Choosing 1) ptpb.pw, 2) dpaste.de, 3) ix.io
+ (setq webpaste-provider-priority '("ptpb.pw" "dpaste.de" "ix.io"))
+
+ ;; You can always append this list as much as you like, and which providers
+ ;; that exists is documented below in the readme.
+#+end_src
+
+This can be added to the =:config= section of use-package:
+#+BEGIN_SRC emacs-lisp
+ (use-package webpaste
+ :ensure t
+ :bind (("C-c C-p C-b" . webpaste-paste-buffer)
+ ("C-c C-p C-r" . webpaste-paste-region))
+ :config
+ (progn
+ (setq webpaste-provider-priority '("ptpb.pw" "dpaste.de"))))
+#+END_SRC
+
** TODO Providers to implement [6/9]
- [X] ptpb.pw
- [X] ix.io
- [nongnu] elpa/webpaste 44364f4 109/298: Rename parameter domain to uri for webpaste-provider, (continued)
- [nongnu] elpa/webpaste 44364f4 109/298: Rename parameter domain to uri for webpaste-provider, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 1a1144f 110/298: Exposed sync parameter of request for debugging/test purposes, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste d9529de 112/298: Replaced (if (eq VAR nil)) with (unless VAR), ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 1bfa9ec 120/298: Bump version for stable release and copyright year, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 6ea53d0 123/298: Added support for custom handler of how to build the post data for providers, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste aff4e42 124/298: The error-lambda now has a default value and is now optional, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 2dc2206 126/298: Added github anonymous gists as provider. This fixes #8., ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b3bcde1 128/298: Updated some docs that was missed before release..., ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 0fa48e2 129/298: Switch github pastes to not be public. This fixes #9., ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 4e58b0a 131/298: Fix bug in link returned from dpaste.de, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b35b30d 134/298: Added documentation for how to configure provider priority,
ELPA Syncer <=
- [nongnu] elpa/webpaste 70e8fd0 135/298: Bump version for new release, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b03b90f 138/298: Add confirmation dialog of paste, before pasting, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste f0a36e2 140/298: Added some docs of how to enable the confirmation dialog before pasting, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 272757b 056/298: Change documentation string, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 58f66ef 069/298: Bump version to prepare for melpa stable, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 6e34759 072/298: Added another privider to list to implement, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste f378ca9 075/298: Added Cask file, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 2bb8a4c 077/298: Set up tests directory, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste f338ca7 083/298: Added Travis-CI build status image, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste f658339 096/298: Bump version number for stable release, ELPA Syncer, 2021/12/09