[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/xkcd 51a00504a1 19/82: Release Version 1.0
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/xkcd 51a00504a1 19/82: Release Version 1.0 |
Date: |
Mon, 12 Dec 2022 21:59:50 -0500 (EST) |
branch: elpa/xkcd
commit 51a00504a12b03fcd6c5c7f7e44468479a872243
Author: Vibhav Pant <vibhavp@gmail.com>
Commit: Vibhav Pant <vibhavp@gmail.com>
Release Version 1.0
---
emacs-xkcd.el | 54 ++++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 44 insertions(+), 10 deletions(-)
diff --git a/emacs-xkcd.el b/emacs-xkcd.el
index 28de911cb4..72172b1184 100644
--- a/emacs-xkcd.el
+++ b/emacs-xkcd.el
@@ -1,18 +1,41 @@
+;;; emacs-xkcd.el --- View xkcd from Emacs
+;;; Copyright 2014 Vibhav Pant <vibhavp@gmail.com>
-(require 'json)
-(require 'url)
+;; Url: https://github.com/vibhavp/emacs-xkcd
+;; Author: Vibhav Pant <vibhavp@gmail.com>
+;; Version: 1.0
+;; Package-Requires: ((json "1.4"))
+;; Keywords: xkcd webcomic
-(defvar xkcd-alt nil)
-(defvar xkcd-cur nil)
+;; This file is not a part of GNU Emacs.
-(defgroup xkcd nil
- "A xkcd reader for Emacs")
+;; 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.
-(defcustom xkcd-cache-dir "~/.emacs.d/xkcd/"
- "Directory to cache images and json files to."
- :group 'xkcd
- :type 'directory)
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; emacs-xkcd uses the JSON interface provided by xkcd (http://xkcd.com)
+;; to fetch comics.
+
+;; Comics can be viewed offline as they are stored by default in
+;; ~/.emacs.d/xkcd/
+
+;; For more information, visit https://github.com/vibhavp/emacs-xkcd
+(require 'json)
+(require 'url)
+
+;;;###autoload
(define-minor-mode xkcd-mode
"Minor mode for viewing xkcd in Emacs"
:lighter " xkcd"
@@ -25,6 +48,17 @@
(define-key map (kbd "q") 'xkcd-kill-buffer)
map))
+(defvar xkcd-alt nil)
+(defvar xkcd-cur nil)
+
+(defgroup xkcd nil
+ "A xkcd reader for Emacs")
+
+(defcustom xkcd-cache-dir "~/.emacs.d/xkcd/"
+ "Directory to cache images and json files to."
+ :group 'xkcd
+ :type 'directory)
+
(defun xkcd-get-json (url &optional num)
(let ((json nil))
(let ((file (concat xkcd-cache-dir (number-to-string num) ".json")))
- [nongnu] elpa/xkcd add1413ee9 11/82: Correct typo in readme., (continued)
- [nongnu] elpa/xkcd add1413ee9 11/82: Correct typo in readme., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd c816cfa893 12/82: Add caching and offline support., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 736b1c9abf 02/82: Initial commit, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 0f1abaebf5 14/82: typo: keybinding is t not r, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd f7b5157cdd 03/82: * README.md: Fix directory path, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 7ceb6cfb46 04/82: Update README.md, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 3acd31542b 06/82: Fix up search in xkcd-get-json. Add new line to README.md., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 3a1d89e234 07/82: Add screenshot, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd ef2ae149e6 10/82: Add TODO to docs., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 637f3d546e 15/82: Merge pull request #1 from oylenshpeegul/patch-1, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 51a00504a1 19/82: Release Version 1.0,
ELPA Syncer <=
- [nongnu] elpa/xkcd b409d07459 24/82: Add travis support., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd b88b3df8b2 27/82: Update to reflect rename., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd a565d632fd 41/82: Support gif and jpg image extensions., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 11c428c1b7 17/82: Fix xkcd-rand., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 26954c3cfc 48/82: Use image-animated-p instead of image-multi-frame-p for Emacs < 24.4, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 311abf717c 20/82: Add autoload cookie for main entry point, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 746acbab54 23/82: Add .travis.yml., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 775a194d77 26/82: Screenshot should show the alt-text capabilities., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 0911bd3f5c 32/82: json 1.4 not strictly required. Fixes #5., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 86acb5dcb2 55/82: Fix typo in variable name., ELPA Syncer, 2022/12/12