Skip to content

Commit

Permalink
Remove trailing whitespace from all files
Browse files Browse the repository at this point in the history
  • Loading branch information
robbyoconnor authored and syl20bnr committed Apr 2, 2017
1 parent a1fa576 commit 959a173
Show file tree
Hide file tree
Showing 20 changed files with 103 additions and 103 deletions.
16 changes: 8 additions & 8 deletions CHANGELOG.org
Expand Up @@ -1483,7 +1483,7 @@ Improve loading robustness:
- Improve =describe-system-info= function with completion engine info
(ivy completion engine will be available in 0.106) (thanks to StreakyCobra)
- Add link to =BountySource= page to =README.md= (thanks to houli)
- Move =request= storage folder to =.cache= directory
- Move =request= storage folder to =.cache= directory
*** Layer changes
**** Markdown
- Add support for javascript code blocks syntax highlighting
Expand Down Expand Up @@ -1532,9 +1532,9 @@ Improve loading robustness:
*** Fixes
**** Core
- Fix home buffer obfuscating opened file when Emacs starts (thanks to justbur)
**** Ruby layer
**** Ruby layer
- Fix =rbenv= loading (thanks to TheBB)
**** Spacemacs layouts
**** Spacemacs layouts
- Fix jumping to last layout when the last layout is the default layout
(thanks to TheBB)
**** Yasnippet
Expand Down Expand Up @@ -2268,7 +2268,7 @@ Improve loading robustness:
**** Markdown
- Fix ~SPC m c r~ binding (thanks to tko)
*** Core
- Silence =ad-handle-definition= about advised functions getting redefined
- Silence =ad-handle-definition= about advised functions getting redefined
- Improve evilification rules, now ~:~ is rebound to ~|~, ~/~ is rebound to ~\~
and ~SPC~ is rebound to ~​'​~
*** Other fixes and improvements
Expand Down Expand Up @@ -2653,7 +2653,7 @@ Improve loading robustness:
prefix (thanks to katshinka)
+ Add more cycling options for time-stamps, headlines, items, properties with
~SPC m L~, ~SPC m K~, etc... (thanks to katshinka)
+ Add key bindings ~SPC m .~ to insert time-stamps (thanks to katshinka)
+ Add key bindings ~SPC m .~ to insert time-stamps (thanks to katshinka)
+ Set =toc-org-max-depth= to 10.
+ Move ~SPC m o~ to ~SPC m l~ since ~SPC m o~ is now reserved for users
(thanks to TheBB)
Expand Down Expand Up @@ -2836,7 +2836,7 @@ Improve loading robustness:
**** Git
- Fix ~F~ in Vim style in =Magit= status buffer, now ~F~ is correctly
bound to =pull= popup menu
- Fix intermittent erroneous ~k~ key binding in =Magit= status buffer.
- Fix intermittent erroneous ~k~ key binding in =Magit= status buffer.
*** Core
- Fix mandatory dependency on =evil-escape=
- Fix evilification of =evil-escape= starter key
Expand Down Expand Up @@ -3006,7 +3006,7 @@ Improve loading robustness:
- Add font-locking for code blocks (thanks to kennethlove)
- Add support for a bunch of languages for code blocks (thanks to dexafree)
**** Ocaml
- Don't auto-close backticks (thanks to edwintorok)
- Don't auto-close backticks (thanks to edwintorok)
**** Org
- Fontify code blocks (thanks to tuhdo)
- Add =toc-org= package (thanks to CestDiego)
Expand Down Expand Up @@ -3605,7 +3605,7 @@ a batch of packages.
- Fix =flycheck= loading
- Move ~SPC m t~ to ~SPC m h t~ according to Spacemacs conventions (thanks
to jeremyjh)
- Add C-- =cmm-mode= (thanks to bgamari)
- Add C-- =cmm-mode= (thanks to bgamari)
*** Helm
- Add =helm-colors= key binding on ~SPC C l~ (thanks to tuhdo)
- Make =helm-ff-doted-directory= consistent (thanks to tuhdo)
Expand Down
2 changes: 1 addition & 1 deletion core/info/release-notes/0.102.txt
Expand Up @@ -9,7 +9,7 @@ available in the dotfile.
and `(defvar <layer>-excluded-packages ...)` by `(setq ...)`. This will
allow to install newly added packages to a layer without restarting spacemacs
by pressing `SPC f e R`. Be sure to remove the docstring when replacing the
`defvar` since `setq` does not take a third argument.
`defvar` since `setq` does not take a third argument.

`:variables` keyword now behaves like a regular `setq` so you'll have to
quote any value appropriately.
Expand Down
4 changes: 2 additions & 2 deletions core/libs/ht.el
Expand Up @@ -75,15 +75,15 @@ Errors if LIST doesn't contain an even number of elements."
;; take the head of LIST and push onto SUBLIST
(setq sublist (cons (car list) sublist))
(setq list (cdr list))

(setq len (1+ len))

(when (= len 2)
;; push this two-item list onto RESULT
(setq result (cons (nreverse sublist) result))
(setq sublist nil)
(setq len 0)))

(when sublist (error "Expected an even number of elements"))
(nreverse result)))

Expand Down
2 changes: 1 addition & 1 deletion core/libs/spacemacs-theme/README.md
Expand Up @@ -6,7 +6,7 @@
![spacemacs-theme](/../screenshots/spacemacs-theme.png)

Spacemacs theme is an Emacs color theme that started as a theme for [spacemacs](https://github.com/syl20bnr/spacemacs).
The theme comes with dark and light variants and it should work well with 256 color terminals.
The theme comes with dark and light variants and it should work well with 256 color terminals.

## Screenshots

Expand Down
2 changes: 1 addition & 1 deletion layers/+chat/erc/local/erc-sasl/erc-sasl.el
Expand Up @@ -75,7 +75,7 @@ current session"
(base64-encode-string
(concat "\0" (erc-current-nick)
"\0" erc-session-password) t)))))
(progn
(progn
(erc-display-message
parsed 'error
(if erc-server-connected 'active proc)
Expand Down
2 changes: 1 addition & 1 deletion layers/+completion/auto-completion/README.org
Expand Up @@ -192,7 +192,7 @@ your ~.spacemacs~ file with (e.g.)
'((auto-completion :variables
spacemacs-default-company-backends '(company-files company-capf))))
#+END_SRC

** Improved faces
For nicer-looking faces, try adding the following to `custom-set-faces` in your dotspacemacs file.

Expand Down
Expand Up @@ -30,14 +30,14 @@

;; The shadowed original mode key bindings are automatically reassigned
;; following a set of rules:
;; Keys such as
;; /,:,h,j,k,l,n,N,v,V,gg,G,C-f,C-b,C-d,C-e,C-u,C-y and C-z
;; Keys such as
;; /,:,h,j,k,l,n,N,v,V,gg,G,C-f,C-b,C-d,C-e,C-u,C-y and C-z
;; are working as in Evil.
;; Other keys will be moved according to this pattern:
;; a -> A -> C-a -> C-A
;; The first unreserved key will be used.
;; The first unreserved key will be used.
;; There is an exception for g, which will be directly
;; bound to C-G, since G and C-g (latest being an important escape key in Emacs)
;; bound to C-G, since G and C-g (latest being an important escape key in Emacs)
;; are already being used.

;;; Code:
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/autohotkey/packages.el
Expand Up @@ -11,7 +11,7 @@
;;; License: GPLv3

(setq autohotkey-packages
'(ahk-mode))
'(ahk-mode))

(defun autohotkey/init-ahk-mode ()
(use-package ahk-mode
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/python/local/nose/README.md
Expand Up @@ -65,7 +65,7 @@ For instance (typical example to make `PyDev` *and* `nose.el` happy):

import unittest

ALL_TESTS = unittest.TestSuite([my_suites_go_here])
ALL_TESTS = unittest.TestSuite([my_suites_go_here])

def load_tests(loader=None, tests=None, pattern=None):
return ALL_TESTS
Expand Down
26 changes: 13 additions & 13 deletions layers/+lang/python/local/pylookup/README.md
Expand Up @@ -8,13 +8,13 @@

# README

Pylookup stole idea from 'http://furius.ca/haddoc', one of my favorite
emacs mode for python documentation lookup. I reimplemented python code and
elisp code not just to support new version of python 2.7 but also to extend
it for other documentation lookup interfaces with easy. Importantly, pylookup
Pylookup stole idea from 'http://furius.ca/haddoc', one of my favorite
emacs mode for python documentation lookup. I reimplemented python code and
elisp code not just to support new version of python 2.7 but also to extend
it for other documentation lookup interfaces with easy. Importantly, pylookup
mode is much faster and supports fancy highlighting.

Please check,
Please check,
Web : http://taesoo.org/proj/pylookup.html
Repo : https://github.com/tsgates/pylookup

Expand All @@ -24,9 +24,9 @@

You can browse python documents from either online or offline. Since I prefer
offline, here is an easy step:

make download

It will download python document, and construct database for you. If you get in
any trouble, follow the below steps manually:

Expand All @@ -37,11 +37,11 @@
4. Test : './pylookup.py -l ljust'

(see updateing database section for more options)

## Elisp

Here is lisp part for emacs.

- [PATH] parameter depends on your environment (i.e. "~/.emacs.d/pylookup")

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.cl}
Expand All @@ -63,26 +63,26 @@
(autoload 'pylookup-lookup "pylookup"
"Lookup SEARCH-TERM in the Python HTML indexes." t)
(autoload 'pylookup-update "pylookup"
(autoload 'pylookup-update "pylookup"
"Run pylookup-update and create the database at `pylookup-db-file'." t)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# Updating Databases

You can easily accumulate many sources into single database. For example, you
can index python and scipy at the same time. Here are the examples:

- Single source
./pylookup.py -u http://docs.python.org
- Multiple sources, remote and local
./pylookup.py -u http://docs.python.org -u ~/doc/python2.7
- Adding local source to existing database (duplicate entries are not checked)
./pylookup.py -a -u ~/doc/python
- Example online documents of python, scipy, numpy, and matplotlib
- Example online documents of python, scipy, numpy, and matplotlib
(you can append new indexes into the current db with '-a' option)
./pylookup.py -u http://docs.python.org
./pylookup.py -u http://docs.scipy.org/doc/numpy/genindex.html
./pylookup.py -u http://docs.scipy.org/doc/scipy/reference/genindex.html
./pylookup.py -u http://matplotlib.sourceforge.net/genindex.html

You probably like to type './pylookup.py -h' to see more options.
40 changes: 20 additions & 20 deletions layers/+lang/python/local/pylookup/pylookup.el
Expand Up @@ -18,7 +18,7 @@
;; 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/>.

Expand Down Expand Up @@ -69,13 +69,13 @@
(define-key map "<" 'beginning-of-buffer)
(define-key map ">" 'end-of-buffer)
(define-key map "v" 'scroll-down)

map)
"Keymap for `pylookup-mode-mode'.")

(put 'pylookup-mode 'mode-class 'special)

(defvar pylookup-completing-read
(defvar pylookup-completing-read
(if (null ido-mode) 'completing-read 'ido-completing-read)
"Ido support with convenience")

Expand All @@ -93,7 +93,7 @@
(defun pylookup-mode ()
"Major mode for output from \\[pylookup-lookup]."
(interactive)

(kill-all-local-variables)
(use-local-map pylookup-mode-map)
(setq major-mode 'pylookup-mode)
Expand All @@ -104,29 +104,29 @@
(defun pylookup-move-prev-line ()
"Move to previous entry"
(interactive)

(when (< 3 (line-number-at-pos))
(call-interactively 'previous-line)))

(defun pylookup-mode-next-line ()
"Move to next entry"
(interactive)

(when (< (line-number-at-pos)
(- (line-number-at-pos (point-max)) 1))
(call-interactively 'next-line)))

(defun pylookup-mode-lookup-and-leave ()
"Lookup the current line in a browser and leave the completions window."
(interactive)

(call-interactively 'pylookup-mode-lookup)
(pylookup-mode-quit-window))

(defun pylookup-mode-lookup ()
"Lookup the current line in a browser."
(interactive)

(let ((url (get-text-property (point) 'pylookup-target-url)))
(if url
(progn
Expand All @@ -150,7 +150,7 @@

(split-string
(with-output-to-string
(call-process pylookup-program nil standard-output nil
(call-process pylookup-program nil standard-output nil
"-d" (expand-file-name pylookup-db-file)
"-c"))))

Expand All @@ -176,12 +176,12 @@
(defun pylookup-lookup (search-term)
"Lookup SEARCH-TERM in the Python HTML indexes."
(interactive
(list
(list
(let ((initial (thing-at-point 'word)))
(funcall pylookup-completing-read
"Search: "
(if pylookup-cache
pylookup-cache
(if pylookup-cache
pylookup-cache
(setq pylookup-cache (pylookup-exec-get-cache)))
nil nil initial 'pylookup-history))
))
Expand All @@ -194,7 +194,7 @@
(message "No matches for \"%s\"." search-term))

;; 1. A single result.
((= (length matches) 1)
((= (length matches) 1)
;; Point the browser at the unique result and get rid of the buffer
(let ((data (car matches)))
(message "Browsing: \"%s\"" (car data))
Expand All @@ -207,7 +207,7 @@
(let* ((cur-window-conf (current-window-configuration))
(tmpbuf (get-buffer-create pylookup-temp-buffer-name))
(index 0))

(display-buffer tmpbuf)
(pop-to-buffer tmpbuf)

Expand Down Expand Up @@ -236,8 +236,8 @@
(setq iter (cdr iter)))

(incf index)
(insert (format " %03d) %-25s %-30s %10s"
index
(insert (format " %03d) %-25s %-30s %10s"
index
(pylookup-trim api 25)
(pylookup-trim module 30)
(pylookup-trim type 10))))
Expand All @@ -254,8 +254,8 @@
(pylookup-mode)

;; highlighting
(font-lock-add-keywords nil `((,(format "\\(%s\\|%s\\|%s\\)"
search-term
(font-lock-add-keywords nil `((,(format "\\(%s\\|%s\\|%s\\)"
search-term
(upcase search-term)
(upcase-initials search-term))
1
Expand Down Expand Up @@ -286,11 +286,11 @@
;;;###autoload
(defun pylookup-update (src &optional append)
"Run pylookup-update and create the database at `pylookup-db-file'."
(interactive
(interactive
(list (funcall pylookup-completing-read
"Python Html Documentation source: "
pylookup-html-locations)))

;; pylookup.py -d /home/myuser/.pylookup/pylookup.db -l <URL>
(message (with-output-to-string
(call-process pylookup-program nil standard-output nil
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/python/packages.el
Expand Up @@ -440,7 +440,7 @@ fix this issue."
(defun python/init-yapfify ()
(use-package yapfify
:defer t
:init
:init
(progn
(spacemacs/set-leader-keys-for-major-mode 'python-mode
"=" 'yapfify-buffer)
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/windows-scripts/packages.el
Expand Up @@ -71,5 +71,5 @@
;; TODO
;; - split out powershell
;; - get help output with mgg (Get-Help) or Get-Help -online
;; -
;; -
)))

0 comments on commit 959a173

Please sign in to comment.