aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-27 12:11:30 -0500
committerSean Allred <code@seanallred.com>2014-11-27 12:11:30 -0500
commit89a260220c60877c0766cbe79043ecb4dd1fa5f4 (patch)
tree92b644cad6c60f0fdcb37c305732d15f7e6d3ea6
parent1e730aa1b56f5343629225f60ec9c04f4dc4b703 (diff)
Fix #110
-rw-r--r--README.org16
-rw-r--r--sx-auth.el2
-rw-r--r--sx-cache.el6
-rw-r--r--sx-encoding.el2
-rw-r--r--sx-question-list.el2
-rw-r--r--sx-question-mode.el2
-rw-r--r--sx-question.el3
-rw-r--r--sx-tab.el4
-rw-r--r--sx-time.el2
-rw-r--r--sx.el13
-rw-r--r--sx.org2
11 files changed, 27 insertions, 27 deletions
diff --git a/README.org b/README.org
index ea115dd..f8b01ea 100644
--- a/README.org
+++ b/README.org
@@ -1,8 +1,8 @@
-#+Title: Stack-Mode
+#+Title: SX -- Stack Exchange for Emacs
-[[https://travis-ci.org/vermiculus/stack-mode][https://travis-ci.org/vermiculus/stack-mode.svg?branch=master]]
-[[https://gitter.im/vermiculus/stack-mode?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge][https://badges.gitter.im/Join Chat.svg]]
-[[https://www.waffle.io/vermiculus/stack-mode][https://badge.waffle.io/vermiculus/stack-mode.svg]]
+[[https://travis-ci.org/vermiculus/sx.el][https://travis-ci.org/vermiculus/sx.el.svg?branch=master]]
+[[https://gitter.im/vermiculus/sx.el?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge][https://badges.gitter.im/Join Chat.svg]]
+[[https://www.waffle.io/vermiculus/sx.el][https://badge.waffle.io/vermiculus/sx.el.svg]]
StackMode will be a full featured Stack Exchange mode for GNU Emacs 24
and up. Using the official API, we aim to create a more versatile
@@ -43,13 +43,13 @@ Depending on community involvement, it may even be submitted to the
official GNU ELPA.
* Contributing
Please help contribute! Doing any of the following will help us immensely:
- - [[https://github.com/vermiculus/stack-mode/issues/new][Open an issue]]
- - [[https://github.com/vermiculus/stack-mode/pulls][Submit a pull request]]
- - [[https://gitter.im/vermiculus/stack-mode][Suggest a package or library in our Chat on Gitter]]
+ - [[https://github.com/vermiculus/sx.el/issues/new][Open an issue]]
+ - [[https://github.com/vermiculus/sx.el/pulls][Submit a pull request]]
+ - [[https://gitter.im/vermiculus/sx.el][Suggest a package or library in our Chat on Gitter]]
- Spread the word!
For a better view of all of the open issues, take a look at our lovely
-[[http://www.waffle.io/vermiculus/stack-mode][Waffle board]]. Feel free to take the torch on anything in =backlog= or
+[[http://www.waffle.io/vermiculus/sx.el][Waffle board]]. Feel free to take the torch on anything in =backlog= or
=ready=. If you have thoughts on any other issues, don't hesitate to
chime in!
* Resources
diff --git a/sx-auth.el b/sx-auth.el
index dba978e..b4ad633 100644
--- a/sx-auth.el
+++ b/sx-auth.el
@@ -28,7 +28,7 @@
(defconst sx-auth-root
"https://stackexchange.com/oauth/dialog")
(defconst sx-auth-redirect-uri
- "http://vermiculus.github.io/stack-mode/auth/auth.htm")
+ "http://vermiculus.github.io/sx.el/auth/auth.htm")
(defconst sx-auth-client-id
"3291")
(defvar sx-auth-access-token
diff --git a/sx-cache.el b/sx-cache.el
index 07352d0..b9f65ba 100644
--- a/sx-cache.el
+++ b/sx-cache.el
@@ -1,4 +1,4 @@
-;;; sx-cache.el --- caching for stack-mode
+;;; sx-cache.el --- caching
;; Copyright (C) 2014 Sean Allred
@@ -29,7 +29,7 @@
;;; Code:
(defcustom sx-cache-directory
- (expand-file-name ".stackmode" user-emacs-directory)
+ (expand-file-name ".sx" user-emacs-directory)
"Directory containing cached data."
:type 'directory
:group 'sx-cache)
@@ -99,7 +99,7 @@ as delete the list of hidden questions."
(when save-auth
(setq caches (cl-remove-if (lambda (x)
(string= x "auth.el")) caches)))
- (lwarn 'stack-mode :debug "Invalidating: %S" caches)
+ (lwarn 'sx :debug "Invalidating: %S" caches)
(mapc #'delete-file caches)
(sx-initialize 'force)))
diff --git a/sx-encoding.el b/sx-encoding.el
index 0e8a5e2..0e66677 100644
--- a/sx-encoding.el
+++ b/sx-encoding.el
@@ -1,4 +1,4 @@
-;;; sx-encoding.el --- encoding for stack-mode
+;;; sx-encoding.el --- encoding
;; Copyright (C) 2014 Sean Allred
diff --git a/sx-question-list.el b/sx-question-list.el
index fbed4ea..ae2177a 100644
--- a/sx-question-list.el
+++ b/sx-question-list.el
@@ -33,7 +33,7 @@
;;; Customization
(defcustom sx-question-list-height 12
- "Height, in lines, of stack-mode's *question-list* buffer."
+ "Height, in lines, of SX's *question-list* buffer."
:type 'integer
:group 'sx-question-list)
diff --git a/sx-question-mode.el b/sx-question-mode.el
index b2f4604..8d806d0 100644
--- a/sx-question-mode.el
+++ b/sx-question-mode.el
@@ -73,7 +73,7 @@ If WINDOW is given, use that to display the buffer."
;; Create the buffer if necessary.
(unless (buffer-live-p sx-question-mode--buffer)
(setq sx-question-mode--buffer
- (generate-new-buffer "*stack-question*")))
+ (generate-new-buffer "*sx-question*")))
(cond
;; Window was given, use it.
((window-live-p window)
diff --git a/sx-question.el b/sx-question.el
index a7aadb2..01ba030 100644
--- a/sx-question.el
+++ b/sx-question.el
@@ -1,4 +1,4 @@
-;;; sx-question.el --- question logic for stack-mode -*- lexical-binding: t; -*-
+;;; sx-question.el --- question logic
;; Copyright (C) 2014 Sean Allred
@@ -167,4 +167,5 @@ If no cache exists for it, initialize one with SITE."
;; Local Variables:
;; indent-tabs-mode: nil
+;; lexical-binding: t
;; End:
diff --git a/sx-tab.el b/sx-tab.el
index 8a51236..bcf3849 100644
--- a/sx-tab.el
+++ b/sx-tab.el
@@ -30,11 +30,11 @@
(defcustom sx-tab-default-site "emacs"
"Name of the site to use by default when listing questions."
:type 'string
- :group 'stack-exchange)
+ :group 'sx-tab)
(defmacro sx-tab--define (tab pager &optional printer refresher
&rest body)
- "Define a stack-exchange tab called TAB.
+ "Define a StackExchange tab called TAB.
TAB is a capitalized string.
This defines a command `sx-tab-TAB' for displaying the tab,
diff --git a/sx-time.el b/sx-time.el
index 057a397..8ee214e 100644
--- a/sx-time.el
+++ b/sx-time.el
@@ -1,4 +1,4 @@
-;;; sx-time.el --- time for stack-mode
+;;; sx-time.el --- time
;; Copyright (C) 2014 Sean Allred
diff --git a/sx.el b/sx.el
index e47e6e3..18cf166 100644
--- a/sx.el
+++ b/sx.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2014 Sean Allred
;; Author: Sean Allred <code@seanallred.com>
-;; URL: https://github.com/vermiculus/stack-mode/
+;; URL: https://github.com/vermiculus/sx.el/
;; Version: 0.1
;; Keywords: help, hypermedia, tools
;; Package-Requires: ((emacs "24.1") (cl-lib "0.5") (json "1.3") (markdown-mode "2.0"))
@@ -23,8 +23,7 @@
;;; Commentary:
-;; This file defines basic commands used by all other parts of
-;; StackMode.
+;; This file defines basic commands used by all other parts of SX.
;;; Code:
(require 'tabulated-list)
@@ -43,7 +42,7 @@
(defun sx-bug-report ()
"File a bug report about the `sx' package."
(interactive)
- (browse-url "https://github.com/vermiculus/stack-mode/issues/new"))
+ (browse-url "https://github.com/vermiculus/sx.el/issues/new"))
;;; Browsing filter
@@ -100,7 +99,7 @@ is intentionally skipped."
(defun sx-message (format-string &rest args)
"Display FORMAT-STRING as a message with ARGS.
See `format'."
- (message "[stack] %s" (apply #'format format-string args)))
+ (message "[sx] %s" (apply #'format format-string args)))
(defun sx-message-help-echo ()
"If there's a 'help-echo property under point, message it."
@@ -265,13 +264,13 @@ is equivalent to
,@body)))
(defcustom sx-init-hook nil
- "Hook run when stack-mode initializes.
+ "Hook run when SX initializes.
Run after `sx-init--internal-hook'."
:group 'sx
:type 'hook)
(defvar sx-init--internal-hook nil
- "Hook run when stack-mode initializes.
+ "Hook run when SX initializes.
This is used internally to set initial values for variables such
as filters.")
diff --git a/sx.org b/sx.org
index cb1c109..f866aa5 100644
--- a/sx.org
+++ b/sx.org
@@ -4,7 +4,7 @@
#+TITLE: SX: A StackExchange Client (v{{{version}}})
#+DATE: 16 November 2014
-#+AUTHOR: @@texinfo:@url{@@www.github.com/vermiculus/stack-mode@@texinfo:}@@
+#+AUTHOR: @@texinfo:@url{@@www.github.com/vermiculus/sx.el@@texinfo:}@@
#+LANGUAGE: en
#+OPTIONS: ':t toc:t