This will make it much easier for the user to discover available
options. It seems like a bad thing to autoload defcustom's but not
defgroup's.
This conclusion is based on what's have been done in haskell-mode:
Here they remove their autoloads of customs because it breaks shit:
f0affb46b8
But, what they don't remove is the autoload of the group:
f0affb46b8/ghc-core.el (L35)
So I'll assume that it's safe to autoload the group. This makes it
possible for users to run M-x customize-group webpaste without having
to either do a manual require or to use the mode before configuring.
This is a good improvement for discoverability for new users.
Squashed commit of the following:
commit a870501c91bf4f96f863400b577e3c96ff1ecd60
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sun Jun 11 11:16:07 2017 +0200
Rename webpaste-provider function to be in the "private scope" by name
commit 9dc6c8e2ce7edf88cf63c2795bfdd903d72473ba
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sun Jun 11 11:12:22 2017 +0200
Rename webpaste-get-provider-priority to be in the "private scope" by name
commit 7e786fdb3069c2c79040179684821136906729f7
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sun Jun 11 11:10:00 2017 +0200
Rename webpaste-return-url function to be in the "private scope" by name
commit 0dd576487b1edfe7d9522e499bedc26d4ee31b12
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sun Jun 11 11:02:00 2017 +0200
Rename webpaste-default-lang-alist and webpaste-get-lang-alist-with-overrides to be in "private scope" by name
commit bf4ac93a04fb7c79a20f32a69fed6cd7df84ef5c
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sun Jun 11 11:00:05 2017 +0200
Rename webpaste-provider-lang-alists to be in "private scope" by name
commit feec4b26750573d1e12b982772d3aa978a5fa678
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sun Jun 11 10:55:35 2017 +0200
Rename webpaste-provider-separators to be in "private scope" by name
commit 7b6a0207c1921bb8f53cf18a8ab644790fa2feb9
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sun Jun 11 10:51:15 2017 +0200
Rename tested-providers variable to be in "private scope" by name
commit e2926ffbb9feeaf1a56f54477583b52a97167e88
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sun Jun 11 10:44:51 2017 +0200
Switch all defun's to cl-defuns for consistency, rearrange some page breaks
If simpleclip is installed, users can send their returned URL to the
clipboard by setting webpaste/copy-to-clipboard to a non-nil value.
This change also adds webpaste/add-to-killring so that sending the URL
to the killring can be disabled, although to keep the same default
behavior the var's value is set to t by default.
The README is also updated to reflect these new options.
Due to the specifial handling for syntax, some providers would have an
extra POST parameter, which then caused some providers to reject the
paste upload completely.
This change makes it so that if a provider doesn't specify special
language rules, don't try to add a syntax POST parameter.
Squashed commit of the following:
commit a30392580e74d209025b17477387de3be2eab5ad
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sat May 20 15:13:43 2017 +0200
Added test for appending of language on return
commit bc79bb4df16a16864810fdf67c4ee8b447b47722
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sat May 20 14:24:02 2017 +0200
Added test for failover testing
commit ba7210503165d1a6bda30f6d1cdb3a437d8c8801
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sat May 20 13:57:05 2017 +0200
Added test for triggering success lambda
commit 85acab8052a73b7c723f86b4d3ab40072c1c232e
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sat May 20 13:50:12 2017 +0200
Added test to trigger error lambda for a provider
commit da272a6d3831651a9d0efc24449353541b209146
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sat May 20 12:13:41 2017 +0200
Check if it can open a browser
commit 46da19799de01ae6838e17d54c114b4b33b9552f
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Sat May 20 11:55:11 2017 +0200
Fix test for webaste-paste-text-to-provider
commit 984caed0a69043aa66e5fa5f20fa28d40891e38a
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Thu May 18 21:43:52 2017 +0200
Added first test for returning of links to the user
commit 32bd218f49586a536c9f80d9fa674ec09cb9add7
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Thu May 18 17:19:50 2017 +0200
Disable test because it fails all the time on travis
commit 4fb1521f847810e614d66bb69a95551b23fcb1ca
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Wed May 17 18:55:42 2017 +0200
Added buttercup test for calling of the provider lambda
commit c850899b27c4eade94e7afa44cd9b28c49c6b558
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Wed May 17 18:22:55 2017 +0200
Added buttercup test for pasting of regions and buffers
commit b09c6c8f1944b956df6d3e7ca9f92bbc04937b28
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Tue May 16 23:50:12 2017 +0200
Added test to test failover of pasting text to any provider
commit 1bfe835a15170840f5044ab84f108d0a2e0ac928
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Tue May 16 22:25:22 2017 +0200
Added buttercup tests for webpaste/get-provider-priority
commit 0703e8a0ea4787e5fdc143bf1ce59464d93837e0
Author: Elis Axelsson <elis.axelsson@gmail.com>
Date: Tue May 16 21:09:23 2017 +0200
Setup of buttercup, cask and undercover and placeholder file for tests