Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: gleber/emacs-prelude
base: ce93841357
...
head fork: gleber/emacs-prelude
compare: eb2b83ae91
  • 13 commits
  • 601 files changed
  • 0 commit comments
  • 1 contributor
Showing with 2,872 additions and 83,875 deletions.
  1. +0 −2  .gitignore
  2. +6 −0 .gitmodules
  3. +3 −332 README.md
  4. +2 −3 modules/prelude-editor.el
  5. +1 −1  modules/prelude-global-keybindings.el
  6. +5 −4 modules/prelude-packages.el
  7. +1 −0  personal
  8. 0  personal/.gitkeep
  9. 0  personal/snippets/.gitkeep
  10. +0 −18 samples/personal-erc.el
  11. +0 −18 samples/personal.el
  12. +6 −4 utils/installer.sh
  13. +1 −0  vendor/feature-mode
  14. +0 −461 vendor/feature-mode/feature-mode.el
  15. +0 −575 vendor/feature-mode/i18n.yml
  16. +0 −4 vendor/feature-mode/snippets/feature-mode/and
  17. +0 −5 vendor/feature-mode/snippets/feature-mode/bac
  18. +0 −7 vendor/feature-mode/snippets/feature-mode/fea
  19. +0 −4 vendor/feature-mode/snippets/feature-mode/giv
  20. +0 −4 vendor/feature-mode/snippets/feature-mode/sce
  21. +0 −4 vendor/feature-mode/snippets/feature-mode/the
  22. +0 −4 vendor/feature-mode/snippets/feature-mode/whe
  23. +0 −79 vendor/feature-mode/support/go_to_step.rb
  24. +591 −0 vendor/groovy-mode.el
  25. +0 −12,531 vendor/helm/helm-config.el
  26. +0 −550 vendor/helm/helm-match-plugin.el
  27. +0 −4,427 vendor/helm/helm.el
  28. +2,146 −0 vendor/mediawiki.el
  29. +110 −0 vendor/melpa.el
  30. +0 −251 vendor/yasnippet/dropdown-list.el
  31. +0 −690 vendor/yasnippet/extras/imported/html-mode/.yas-setup.el
  32. +0 −88 vendor/yasnippet/extras/imported/objc-mode/.yas-setup.el
  33. 0  vendor/yasnippet/extras/imported/objc-mode/Support/.yas-skip
  34. +0 −59,477 vendor/yasnippet/extras/imported/objc-mode/Support/alldefs.txt
  35. +0 −1,257 vendor/yasnippet/extras/imported/rails-mode/.yas-setup.el
  36. +0 −1,032 vendor/yasnippet/extras/imported/ruby-mode/.yas-setup.el
  37. +0 −467 vendor/yasnippet/extras/textmate_import.rb
  38. +0 −1  vendor/yasnippet/snippets/c++-mode/.yas-parents
  39. +0 −4 vendor/yasnippet/snippets/c++-mode/beginend
  40. +0 −9 vendor/yasnippet/snippets/c++-mode/class
  41. +0 −4 vendor/yasnippet/snippets/c++-mode/ns
  42. +0 −4 vendor/yasnippet/snippets/c++-mode/template
  43. +0 −5 vendor/yasnippet/snippets/c++-mode/using
  44. +0 −1  vendor/yasnippet/snippets/c-mode/.yas-parents
  45. +0 −4 vendor/yasnippet/snippets/c-mode/fopen
  46. +0 −7 vendor/yasnippet/snippets/c-mode/printf
  47. +0 −1  vendor/yasnippet/snippets/cc-mode/.yas-parents
  48. +0 −7 vendor/yasnippet/snippets/cc-mode/do
  49. +0 −7 vendor/yasnippet/snippets/cc-mode/for
  50. +0 −7 vendor/yasnippet/snippets/cc-mode/if
  51. +0 −4 vendor/yasnippet/snippets/cc-mode/inc
  52. +0 −4 vendor/yasnippet/snippets/cc-mode/inc.1
  53. +0 −8 vendor/yasnippet/snippets/cc-mode/main
  54. +0 −9 vendor/yasnippet/snippets/cc-mode/once
  55. +0 −7 vendor/yasnippet/snippets/cc-mode/struct
  56. +0 −1  vendor/yasnippet/snippets/cperl-mode/.yas-parents
  57. +0 −1  vendor/yasnippet/snippets/csharp-mode/.yas-parents
  58. +0 −8 vendor/yasnippet/snippets/csharp-mode/attrib
  59. +0 −22 vendor/yasnippet/snippets/csharp-mode/attrib.1
  60. +0 −22 vendor/yasnippet/snippets/csharp-mode/attrib.2
  61. +0 −22 vendor/yasnippet/snippets/csharp-mode/class
  62. +0 −7 vendor/yasnippet/snippets/csharp-mode/comment
  63. +0 −5 vendor/yasnippet/snippets/csharp-mode/comment.1
  64. +0 −5 vendor/yasnippet/snippets/csharp-mode/comment.2
  65. +0 −5 vendor/yasnippet/snippets/csharp-mode/comment.3
  66. +0 −11 vendor/yasnippet/snippets/csharp-mode/method
  67. +0 −8 vendor/yasnippet/snippets/csharp-mode/namespace
  68. +0 −17 vendor/yasnippet/snippets/csharp-mode/prop
  69. +0 −7 vendor/yasnippet/snippets/csharp-mode/region
  70. +0 −5 vendor/yasnippet/snippets/csharp-mode/using
  71. +0 −5 vendor/yasnippet/snippets/csharp-mode/using.1
  72. +0 −5 vendor/yasnippet/snippets/csharp-mode/using.2
  73. +0 −1  vendor/yasnippet/snippets/css-mode/.yas-parents
  74. +0 −4 vendor/yasnippet/snippets/css-mode/bg
  75. +0 −4 vendor/yasnippet/snippets/css-mode/bg.1
  76. +0 −4 vendor/yasnippet/snippets/css-mode/bor
  77. +0 −5 vendor/yasnippet/snippets/css-mode/cl
  78. +0 −5 vendor/yasnippet/snippets/css-mode/disp.block
  79. +0 −5 vendor/yasnippet/snippets/css-mode/disp.inline
  80. +0 −5 vendor/yasnippet/snippets/css-mode/disp.none
  81. +0 −5 vendor/yasnippet/snippets/css-mode/ff
  82. +0 −5 vendor/yasnippet/snippets/css-mode/fs
  83. +0 −5 vendor/yasnippet/snippets/css-mode/mar.bottom
  84. +0 −5 vendor/yasnippet/snippets/css-mode/mar.left
  85. +0 −5 vendor/yasnippet/snippets/css-mode/mar.mar
  86. +0 −5 vendor/yasnippet/snippets/css-mode/mar.margin
  87. +0 −5 vendor/yasnippet/snippets/css-mode/mar.right
  88. +0 −5 vendor/yasnippet/snippets/css-mode/mar.top
  89. +0 −5 vendor/yasnippet/snippets/css-mode/pad.bottom
  90. +0 −5 vendor/yasnippet/snippets/css-mode/pad.left
  91. +0 −5 vendor/yasnippet/snippets/css-mode/pad.pad
  92. +0 −5 vendor/yasnippet/snippets/css-mode/pad.padding
  93. +0 −5 vendor/yasnippet/snippets/css-mode/pad.right
  94. +0 −5 vendor/yasnippet/snippets/css-mode/pad.top
  95. +0 −7 vendor/yasnippet/snippets/emacs-lisp-mode/.read_me
  96. +0 −1  vendor/yasnippet/snippets/emacs-lisp-mode/.yas-parents
  97. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/add-hook.yasnippet
  98. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/and.yasnippet
  99. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/append.yasnippet
  100. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/apply.yasnippet
  101. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/aref.yasnippet
  102. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/aset.yasnippet
  103. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/assq.yasnippet
  104. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/autoload.yasnippet
  105. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/backward-char.yasnippet
  106. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/beginning-of-line.yasnippet
  107. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/bounds-of-thing-at-point.yasnippet
  108. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/buffer-file-name.yasnippet
  109. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/buffer-modified-p.yasnippet
  110. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/buffer-substring-no-properties.yasnippet
  111. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/buffer-substring.yasnippet
  112. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/car.yasnippet
  113. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/cdr.yasnippet
  114. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/concat.yasnippet
  115. +0 −8 vendor/yasnippet/snippets/emacs-lisp-mode/cond.yasnippet
  116. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/condition-case.yasnippet
  117. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/cons.yasnippet
  118. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/consp.yasnippet
  119. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/copy-directory.yasnippet
  120. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/copy-file.yasnippet
  121. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/current-buffer.yasnippet
  122. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/custom-autoload.yasnippet
  123. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/defalias.yasnippet
  124. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/defcustom.yasnippet
  125. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/define-key.yasnippet
  126. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/defsubst.yasnippet
  127. +0 −12 vendor/yasnippet/snippets/emacs-lisp-mode/defun.yasnippet
  128. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/defvar.yasnippet
  129. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/delete-char.yasnippet
  130. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/delete-directory.yasnippet
  131. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/delete-file.yasnippet
  132. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/delete-region.yasnippet
  133. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/directory-files.yasnippet
  134. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/dolist.yasnippet
  135. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/end-of-line.yasnippet
  136. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/eq.yasnippet
  137. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/equal.yasnippet
  138. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/error.yasnippet
  139. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/expand-file-name.yasnippet
  140. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/f.yasnippet
  141. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/fboundp.yasnippet
  142. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/file-name-directory.yasnippet
  143. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/file-name-extension.yasnippet
  144. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/file-name-nondirectory.yasnippet
  145. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/file-name-sans-extension.yasnippet
  146. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/file-relative-name.yasnippet
  147. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/find-file.yasnippet
  148. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/format.yasnippet
  149. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/forward-char.yasnippet
  150. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/forward-line.yasnippet
  151. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/funcall.yasnippet
  152. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/function.yasnippet
  153. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/get.yasnippet
  154. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/global-set-key.yasnippet
  155. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/goto-char.yasnippet
  156. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/if.yasnippet
  157. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/insert-file-contents.yasnippet
  158. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/insert.yasnippet
  159. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/interactive.yasnippet
  160. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/kbd.yasnippet
  161. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/kill-buffer.yasnippet
  162. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/lambda.yasnippet
  163. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/length.yasnippet
  164. +0 −8 vendor/yasnippet/snippets/emacs-lisp-mode/let.yasnippet
  165. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/line-beginning-position.yasnippet
  166. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/line-end-position.yasnippet
  167. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/list.yasnippet
  168. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/looking-at.yasnippet
  169. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/make-directory.yasnippet
  170. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/make-local-variable.yasnippet
  171. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/mapc.yasnippet
  172. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/mapcar.yasnippet
  173. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/match-beginning.yasnippet
  174. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/match-end.yasnippet
  175. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/match-string.yasnippet
  176. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/memq.yasnippet
  177. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/message.yasnippet
  178. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/not.yasnippet
  179. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/nth.yasnippet
  180. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/null.yasnippet
  181. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/number-to-string.yasnippet
  182. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/or.yasnippet
  183. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/point-max.yasnippet
  184. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/point-min.yasnippet
  185. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/point.yasnippet
  186. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/princ.yasnippet
  187. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/print.yasnippet
  188. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/progn.yasnippet
  189. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/push.yasnippet
  190. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/put.yasnippet
  191. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/re-search-backward.yasnippet
  192. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/re-search-forward.yasnippet
  193. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/region-active-p.yasnippet
  194. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/region-beginning.yasnippet
  195. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/region-end.yasnippet
  196. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/rename-file.yasnippet
  197. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/repeat.yasnippet
  198. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/replace-regexp-in-string.yasnippet
  199. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/replace-regexp.yasnippet
  200. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/require.yasnippet
  201. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/save-buffer.yasnippet
  202. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/save-excursion.yasnippet
  203. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/search-backward-regexp.yasnippet
  204. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/search-backward.yasnippet
  205. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/search-forward-regexp.yasnippet
  206. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/search-forward.yasnippet
  207. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/set-buffer.yasnippet
  208. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/set-file-modes.yasnippet
  209. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/set-mark.yasnippet
  210. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/set.yasnippet
  211. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/setq.yasnippet
  212. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/skip-chars-backward.yasnippet
  213. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/skip-chars-forward.yasnippet
  214. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/split-string.yasnippet
  215. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/string-match.yasnippet
  216. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/string-to-number.yasnippet
  217. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/string.yasnippet
  218. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/string=.yasnippet
  219. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/stringp.yasnippet
  220. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/substring.yasnippet
  221. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/thing-at-point.yasnippet
  222. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/unless.yasnippet
  223. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/vector.yasnippet
  224. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/when.yasnippet
  225. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/while.yasnippet
  226. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/widget-get.yasnippet
  227. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/with-current-buffer.yasnippet
  228. +0 −17 vendor/yasnippet/snippets/emacs-lisp-mode/x-dired.process_marked.yasnippet
  229. +0 −18 vendor/yasnippet/snippets/emacs-lisp-mode/x-file.process.yasnippet
  230. +0 −18 vendor/yasnippet/snippets/emacs-lisp-mode/x-file.read-lines.yasnippet
  231. +0 −18 vendor/yasnippet/snippets/emacs-lisp-mode/x-find-replace.yasnippet
  232. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/x-grabstring.yasnippet
  233. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/x-grabthing.yasnippet
  234. +0 −7 vendor/yasnippet/snippets/emacs-lisp-mode/x-traverse_dir.yasnippet
  235. +0 −28 vendor/yasnippet/snippets/emacs-lisp-mode/x-word-or-region.yasnippet
  236. +0 −6 vendor/yasnippet/snippets/emacs-lisp-mode/y-or-n-p.yasnippet
  237. +0 −5 vendor/yasnippet/snippets/emacs-lisp-mode/yes-or-no-p.yasnippet
  238. +0 −1  vendor/yasnippet/snippets/erlang-mode/.yas-parents
  239. +0 −5 vendor/yasnippet/snippets/erlang-mode/after
  240. +0 −6 vendor/yasnippet/snippets/erlang-mode/begin
  241. +0 −5 vendor/yasnippet/snippets/erlang-mode/beh
  242. +0 −6 vendor/yasnippet/snippets/erlang-mode/case
  243. +0 −5 vendor/yasnippet/snippets/erlang-mode/compile
  244. +0 −5 vendor/yasnippet/snippets/erlang-mode/def
  245. +0 −6 vendor/yasnippet/snippets/erlang-mode/exp
  246. +0 −4 vendor/yasnippet/snippets/erlang-mode/fun
  247. +0 −7 vendor/yasnippet/snippets/erlang-mode/if
  248. +0 −6 vendor/yasnippet/snippets/erlang-mode/ifdef
  249. +0 −6 vendor/yasnippet/snippets/erlang-mode/ifndef
  250. +0 −6 vendor/yasnippet/snippets/erlang-mode/imp
  251. +0 −5 vendor/yasnippet/snippets/erlang-mode/inc
  252. +0 −5 vendor/yasnippet/snippets/erlang-mode/inc.lib
  253. +0 −9 vendor/yasnippet/snippets/erlang-mode/loop
  254. +0 −7 vendor/yasnippet/snippets/erlang-mode/mod
  255. +0 −6 vendor/yasnippet/snippets/erlang-mode/rcv
  256. +0 −7 vendor/yasnippet/snippets/erlang-mode/rcv.after
  257. +0 −5 vendor/yasnippet/snippets/erlang-mode/rec
  258. +0 −8 vendor/yasnippet/snippets/erlang-mode/try
  259. +0 −5 vendor/yasnippet/snippets/erlang-mode/undef
  260. +0 −1  vendor/yasnippet/snippets/f90-mode/.yas-parents
  261. +0 −5 vendor/yasnippet/snippets/f90-mode/au
  262. +0 −5 vendor/yasnippet/snippets/f90-mode/bd
  263. +0 −5 vendor/yasnippet/snippets/f90-mode/c
  264. +0 −5 vendor/yasnippet/snippets/f90-mode/ch
  265. +0 −5 vendor/yasnippet/snippets/f90-mode/cx
  266. +0 −5 vendor/yasnippet/snippets/f90-mode/dc
  267. +0 −7 vendor/yasnippet/snippets/f90-mode/do
  268. +0 −5 vendor/yasnippet/snippets/f90-mode/dp
  269. +0 −5 vendor/yasnippet/snippets/f90-mode/eq
  270. +0 −5 vendor/yasnippet/snippets/f90-mode/ib
  271. +0 −5 vendor/yasnippet/snippets/f90-mode/ic
  272. +0 −5 vendor/yasnippet/snippets/f90-mode/ich
  273. +0 −7 vendor/yasnippet/snippets/f90-mode/if
  274. +0 −5 vendor/yasnippet/snippets/f90-mode/ii
  275. +0 −5 vendor/yasnippet/snippets/f90-mode/il
  276. +0 −5 vendor/yasnippet/snippets/f90-mode/in
  277. +0 −5 vendor/yasnippet/snippets/f90-mode/inc
  278. +0 −5 vendor/yasnippet/snippets/f90-mode/intr
  279. +0 −5 vendor/yasnippet/snippets/f90-mode/ir
  280. +0 −5 vendor/yasnippet/snippets/f90-mode/l
  281. +0 −5 vendor/yasnippet/snippets/f90-mode/pa
  282. +0 −7 vendor/yasnippet/snippets/f90-mode/pr
  283. +0 −5 vendor/yasnippet/snippets/f90-mode/re
  284. +0 −5 vendor/yasnippet/snippets/f90-mode/st
  285. +0 −5 vendor/yasnippet/snippets/f90-mode/su
  286. +0 −5 vendor/yasnippet/snippets/f90-mode/wr
  287. 0  vendor/yasnippet/snippets/html-mode/.yas-make-groups
  288. +0 −1  vendor/yasnippet/snippets/html-mode/.yas-parents
  289. +0 −5 vendor/yasnippet/snippets/html-mode/b.yasnippet
  290. +0 −7 vendor/yasnippet/snippets/html-mode/body
  291. +0 −5 vendor/yasnippet/snippets/html-mode/br
  292. +0 −7 vendor/yasnippet/snippets/html-mode/code
  293. +0 −7 vendor/yasnippet/snippets/html-mode/code.class
  294. +0 −4 vendor/yasnippet/snippets/html-mode/div
  295. +0 −7 vendor/yasnippet/snippets/html-mode/div.class
  296. +0 −7 vendor/yasnippet/snippets/html-mode/div.id
  297. +0 −7 vendor/yasnippet/snippets/html-mode/div.id-class
  298. +0 −12 vendor/yasnippet/snippets/html-mode/dov
  299. +0 −7 vendor/yasnippet/snippets/html-mode/form
  300. +0 −7 vendor/yasnippet/snippets/html-mode/head
Sorry, we could not display the entire diff because too many files (601) changed.
View
2  .gitignore
@@ -7,7 +7,5 @@ eshell
elpa
el-get
semanticdb
-custom.el
url
-personal/*.el
ede-projects.el
View
6 .gitmodules
@@ -0,0 +1,6 @@
+[submodule "personal"]
+ path = personal
+ url = https://github.com/bbatsov/emacs-prelude-personal.git
+[submodule "vendor/feature-mode"]
+ path = vendor/feature-mode
+ url = https://github.com/michaelklishin/cucumber.el
View
335 README.md
@@ -34,340 +34,11 @@ following command:
https://github.com/bbatsov/emacs-prelude/raw/master/utils/installer.sh
| sh`
-You can now power up your Emacs, sit back and enjoy Prelude,
-forgetting about the rest of this manual.
+You can now power up your Emacs, sit back and enjoy Prelude.
-## Getting Emacs 24
+## Would you like to know more?
-Obviously to use the Emacs Prelude you have to install Emacs 24
-first. Here's a few tips on doing so:
-
-### OS X
-
-Obtaining Emacs 24 on OS X is really simple. There are two popular
-ways to do it. The first is to simply download a pretest (or a nightly
-build) from [Emacs for OSX](http://emacsformacosx.com). My personal
-recommendation would be to get the latest pretest from
-[here](http://emacsformacosx.com/builds).
-
-That was really easy, right?
-
-The second easy way to obtain Emacs 24 is via
-[homebrew](http://mxcl.github.com/homebrew/). Just type the following
-incantation in your shell and you're done:
-
-```bash
-$ brew install emacs --cocoa --use-git-head --HEAD
-$ cp -r /usr/local/Cellar/emacs/HEAD/Emacs.app /Applications/
-```
-
-The second step is optional, but it's recommended if you like to start
-Emacs from the launchpad or from Spotlight. Personally I prefer to
-start Emacs in daemon mode (`emacs --daemon`), so that I could share a
-single Emacs instance between several Emacs clients (`emacsclient
--c/t`).
-
-Chances are good you have an older version of Emacs installed by
-default with OS X. I suggest you to remove that older Emacs version to
-avoid conflicts with the new one. Do this:
-
-```bash
-$ sudo rm /usr/bin/emacs
-$ sudo rm -rf /usr/share/emacs
-```
-
-That's all folk! You may now proceed to the configuration section.
-
-### Linux
-
-Given that Linux is more or less the home os of Emacs it presents us
-with the most installation options. Of course, we can build Emacs from
-[source](https://github.com/emacsmirror/emacs) on every distribution
-out there, but I rarely bother to do so. Using the distribution's
-package manager is a better idea for many reasons - you don't need to
-install a build chain and lots of dev libraries, you get updated
-versions when they are released and you get automated dependency
-manager, just to name a few.
-
-That said, few distributions include in their primary repositories
-builds of Emacs 24. Luckily there are some unofficial repos that come
-to the rescue.
-
-Debian users should look no further than the amazing
-[emacs-snapshot APT repo](http://emacs.naquadah.org/). You'll find
-installation instructions there for all the relevant Debian
-versions out there. High quality, highly recommended builds! After
-you've added the repo you can install Emacs 24 with the following
-command:
-
-```bash
-$ sudo apt-get install emacs-snapshot
-```
-
-Ubuntu users have easy access to Emacs 24 as well:
-
-```bash
-$ sudo apt-add-repository ppa:cassou/emacs
-$ sudo apt-get install emacs-snapshot
-```
-
-Gentoo users have even less to do, since Emacs 24 can be obtained via
-the emacs-vcs package in portage, as noted in the official
-[Emacs on Gentoo page](http://www.gentoo.org/proj/en/lisp/emacs/emacs.xml).
-
-Unfortunately I wasn't able to find prebuilt Emacs 24 packages for any
-of the RPM distros (Fedora, SUSE, Mandriva, etc). Since, I'm Debian
-user I have to admit that I didn't look that far, but the source
-installation is not particularly hard and is always an option.
-
-### Windows
-
-There are several ways to obtain precompiled Emacs 24 binaries if
-you're a Windows users. The most popular are
-[EmacsW32](http://ourcomments.org/cgi-bin/emacsw32-dl-latest.pl),
-[Emacs for Windows](http://code.google.com/p/emacs-for-windows/) and
-of course the official
-[Emacs Windows builds](http://alpha.gnu.org/gnu/emacs/windows/). I've
-,personally, never used any builds other than the official ones. The
-unofficial builds usually include installers and various patches that
-might be of use to some users.
-
-Since I rarely use Windows I cannot give you any more advice on the
-choice of a binary vendor.
-
-## Enhanced programming experience
-
-The following list will be expanded greatly in the future.
-
-### Additional programming languages support
-
-* [Clojure](https://github.com/technomancy/clojure-mode)
-* [CoffeeScript](https://github.com/defunkt/coffee-mode)
-* [Erlang](http://www.erlang.org/doc/apps/tools/erlang_mode_chapter.html)
-* [Groovy](http://groovy.codehaus.org/Emacs+Groovy+Mode)
-* [Haskell](http://www.haskell.org/haskellwiki/Haskell_mode_for_Emacs)
-
-### Additional markup languages support
-
-* Markdown
-* Sass
-* Haml
-* Yaml
-* LaTeX
-
-### Enhanced configuration
-
-* C
-* Clojure
-* CoffeeScript
-* Common Lisp
-* ERC
-* JavaScript
-* Python
-* Ruby
-* Scheme
-* XML
-
-## Enhanced productivity
-
-* [Projectile](https://github.com/bbatsov/projectile)
-* yasnippet
-
-## Bundled packages
-
-* auctex (LaTeX editing)
-* clojure-mode
-* coffee-mode
-* deft (note taking)
-* gist (snippet sharing on github.com)
-* groovy-mode
-* expand-region
-* haml-mode
-* haskell-mode
-* magit (enhanced git integration)
-* markdown-mode
-* paredit
-* projectile (project management mode)
-* python.el (improved Python mode)
-* sass-mode
-* scss-mode
-* yaml-mode
-* yari (ri frontend)
-* yasnippet
-
-## Installation
-
-### Automated
-
-You can install Emacs via the command line with either `curl` or
-`wget`. Naturally `git` is also required.
-
-#### Via Curl
-
-If you're using `curl` type the following command:
-
-`curl -L https://github.com/bbatsov/emacs-prelude/raw/master/utils/installer.sh | sh`
-
-#### Via Wget
-
-If you're using `wget` type:
-
-`wget --no-check-certificate https://github.com/bbatsov/emacs-prelude/raw/master/utils/installer.sh -O - | sh`
-
-### Manual
-
-```bash
-$ git clone git://github.com/bbatsov/emacs-prelude.git path/to/local/repo
-$ ln -s path/to/local/repo ~/.emacs.d
-```
-
-You'd do well to replace `~/.emacs.d` with the value of
-`user-emacs-directory` for your OS. You can check the value by doing
-`C-h v user-emacs-directory` inside Emacs.
-
-You might have to install the `make` and `makeinfo` packages if you
-don't have them already, since the build of some packages obtained via
-`el-get` might require them.
-
-## Running
-
-Nothing fancy here. Just start Emacs as usual. Personally I run Emacs
-in daemon mode:
-
-`$ emacs --daemon`
-
-Afterwards I connect to the server with either a terminal or a GUI
-client like this:
-
-```bash
-$ emacsclient -t
-$ emacsclient -c
-```
-
-You'd probably do well to put a few aliases in your `.zshrc` (or
-`.bashrc`):
-
-```bash
-alias e=emacsclient -t
-alias ec=emacsclient -c
-alias vim=emacsclient -t
-alias vi=emacsclient -t
-```
-
-The last two aliases are helpful if you're used to editing files from
-the command line using `vi(m)`.
-
-## Getting to know Prelude
-
-Certainly the best way to understand how Prelude enhances the default
-Emacs experience is to peruse Prelude's source code (which is
-obviously written in Emacs Lisp). If you're intimidated by the source
-- do not despair. Prelude includes a `prelude-mode` minor Emacs mode
- which collects some of the additional functionality added by
- Prelude. It also adds an additional keymap that binds many of those
- extensions to keybindings.
-
-## Color Themes
-
-Emacs 24 ships with a new theming facility that effectively renders
-the old color-theme package obsolete. Emacs 24 provides a dozen of
-built-in themes you can use out-of-the-box by invoking the `M-x
-load-theme` command. Emacs Prelude adds two more popular themes to the
-mix - [Zenburn](https://github.com/bbatsov/zenburn-emacs) and
-[Solarized](https://github.com/bbatsov/solarized-emacs) (I'm the
-maintainer of the Emacs ports included).
-
-Zenburn is the default color theme in Prelude, but you can change it
-at your discretion. Why Zenburn? I (and lots of hackers around the
-world) find it pretty neat for some reason. Personally I find the
-default theme pretty tiresome for the eyes, that's why I took that
-"controversial" decision to replace it. You can, of course, easily go
-back to the default (or select another theme entirely).
-
-To disable Zenburn just put in your personal config the following
-line:
-
-```elisp
-(disable-theme 'zenburn)
-```
-
-Or you can use another theme altogether by adding something like:
-
-```elisp
-(load-theme 'solarized-dark t)
-```
-
-## Personalizing
-
-If you'd like to change some of the setting in Prelude (or simply add
-more) the proper way to do so would be to create Emacs Lisp files
-under the **personal** directory in `prelude-dir`. They will be loaded
-automatically be Prelude on startup.
-
-Avoid modifying the Prelude config itself (unless you're not
-intimidated to maintain a personal fork on GitHub) - this will make it
-hard for you to receive automatic updates in the future.
-
-## Caveats & Pitfalls
-
-### Problems with flyspell-mode
-
-Prelude makes heavy use of the flyspell-mode package for spell
-checking of various things. The proper operation of flyspell depends
-on the presence of the `aspell` program and an `en` dictionary on your
-system. You can install `aspell` and the dictionary on OS X with
-`homebrew` like this:
-
-```bash
-$ brew install aspell --lang=en
-```
-
-On Linux distros - just use your distro's package manager.
-
-### Ugly colors in the terminal Emacs version
-
-If your Emacs looks considerably uglier in a terminal (compared to the
-GUI version) try adding this to your `.bashrc` or `.zshrc`:
-
-```bash
-export TERM=xterm-256color
-```
-
-Source the `.bashrc` file and start Emacs again.
-
-### Marmalade error on initial startup
-
-If you get some http connection error related to the Marmalade repo
-just do a manual `M-x package-refresh-contents` and restart Emacs
-afterwards.
-
-### No arrow navigation in editor buffers
-
-This is not a bug - it's a feature! I firmly believe that the one true
-way to use Emacs is by using it the way it was intended to be used (as
-far as navigation is concerned at least). That's why I've disabled all
-movement commands with arrows - to prevent you from being tempted to
-use them.
-
-If you'd still like to use the arrow keys just invoke `M-x
-prelude-restore-arrow-keys` to enable them for the duration of your
-current Emacs session or add `(prelude-restore-arrow-keys)` to your
-personal Emacs customization to enable them permanently.
-
-### Windows compatibility
-
-While everything in Prelude should work fine in Windows, I test it only
-with Linux & OSX, so there are Windows related problems from time to
-time. This situation will probably improve over time.
-
-## Share the knowledge
-
-[WikEmacs](http://wikemacs.org) collects useful resources for working
-with GNU Emacs. Please, take the time to peruse and improve them as
-you accumulate knowledge about Emacs. Prelude makes this especially
-easy, since it bundles
-[MediaWiki support](http://wikemacs.org/wiki/Mediawiki.el) + the
-settings required to access WikEmacs right away.
+Check out the [Prelude's project page](http://batsov.com/emacs-prelude).
## Known issues
View
5 modules/prelude-editor.el
@@ -203,9 +203,8 @@
;; load yasnippet
(require 'yasnippet)
-(yas/initialize)
-(add-to-list 'yas/snippet-dirs prelude-snippets-dir)
-(add-to-list 'yas/snippet-dirs prelude-personal-snippets-dir)
+(setq yas/snippet-dirs prelude-snippets-dir prelude-personal-snippets-dir)
+(yas/global-mode 1)
;; Helm makes finding stuff in Emacs much simpler
(require 'helm-config)
View
2  modules/prelude-global-keybindings.el
@@ -100,7 +100,7 @@
(global-set-key (kbd "C-=") 'er/expand-region)
(global-set-key (kbd "C-c w") (make-repeatable-command 'er/expand-region))
-(global-set-key (kbd "C-x j") 'helm)
+(global-set-key (kbd "C-c h") 'helm-mini)
(provide 'prelude-global-keybindings)
View
9 modules/prelude-packages.el
@@ -34,8 +34,9 @@
;;; Code:
(require 'package)
+(require 'melpa)
(add-to-list 'package-archives
- '("marmalade" . "http://marmalade-repo.org/packages/") t)
+ '("melpa" . "http://melpa.milkbox.net/packages/") t)
(package-initialize)
; this is a workaround for a bug in emacs' http fetching, see
@@ -44,10 +45,10 @@
(defvar prelude-packages
'(ack-and-a-half auctex clojure-mode coffee-mode deft expand-region
- gist groovy-mode haml-mode haskell-mode inf-ruby
- magit magithub markdown-mode mediawiki paredit projectile
+ gist haml-mode haskell-mode helm helm-projectile inf-ruby
+ magit magithub markdown-mode paredit projectile
python sass-mode rainbow-mode scss-mode solarized-theme
- volatile-highlights yaml-mode yari zenburn-theme)
+ volatile-highlights yaml-mode yari yasnippet zenburn-theme)
"A list of packages to ensure are installed at launch.")
(defun prelude-packages-installed-p ()
1  personal
@@ -0,0 +1 @@
+Subproject commit c80a783ca07e048bc164629dddae2b6fad223f28
View
0  personal/.gitkeep
No changes.
View
0  personal/snippets/.gitkeep
No changes.
View
18 samples/personal-erc.el
@@ -1,18 +0,0 @@
-;; Join the a couple of interesting channels whenever connecting to Freenode.
-(setq erc-autojoin-channels-alist '(("freenode.net"
- "#emacs" "#ruby" "#lisp" "#clojure"
- "#scala" "#haskell")))
-;; set your nickname
-(setq erc-nick "bozhidar")
-
-;; share your username (optional)
-(setq erc-user-full-name "Bozhidar Batsov")
-
-;; auto identify
-(when (file-exists-p (expand-file-name "~/.ercpass"))
- (load "~/.ercpass")
- (require 'erc-services)
- (erc-services-mode 1)
- (setq erc-prompt-for-nickserv-password nil)
- (setq erc-nickserv-passwords
- `((freenode ((erc-nick . ,erc-pass))))))
View
18 samples/personal.el
@@ -1,18 +0,0 @@
-
-;; example_el -- Rename to example.el to activate, and restart emacs
-
-;; Here are some examples of how to override the defaults for the
-;; various prelude-emacs settings. To *append* to any of the
-;; configurations attached to prelude-*-hooks, you can attach a
-;; function to the appropriate hook:
-
-(add-hook 'prelude-prog-mode-hook
- (lambda ()
- (prelude-turn-off-whitespace)
- (remove-hook 'before-save-hook 'whitespace-cleanup)) t)
-
-;; For other global settings, just run the appropriate function; all
-;; personal/*.el files will be evaluate after prelude-emacs is loaded.
-
-(global-hl-line-mode -1)
-(blink-cursor-mode t)
View
10 utils/installer.sh
@@ -8,21 +8,23 @@ hash git 2>&- || { echo >&2 "not found. Aborting installation!'."; exit 1; }
echo "found"
echo -n "Looking for an existing Emacs config..."
-if [ -f $PRELUDE_INSTALL_DIR ]
+if [ -d $PRELUDE_INSTALL_DIR ]
then
- echo "Found $PRELUDE_INSTALL_DIR. Backing up to $PRELUDE_INSTALL_DIR.pre-prelude"
+ echo "Found an existing $PRELUDE_INSTALL_DIR. Backing it up to $PRELUDE_INSTALL_DIR.pre-prelude"
mv $PRELUDE_INSTALL_DIR $PRELUDE_INSTALL_DIR.pre-prelude
fi
if [ -f ~/.emacs ]
then
- echo "Found ~/.emacs. Backing up to ~/.emacs.pre-prelude"
+ echo "Found an existing ~/.emacs. Backing it up to ~/.emacs.pre-prelude"
mv ~/.emacs ~/.emacs.pre-prelude
fi
-
echo -n "Cloning Emacs Prelude from GitHub... "
/usr/bin/env git clone $PRELUDE_URL $PRELUDE_INSTALL_DIR > /dev/null
+cd $PRELUDE_INSTALL_DIR
+/usr/bin/env git submodule init
+/usr/bin/env git submodule update
echo "done."
echo ' _____ ____ _ _ '
1  vendor/feature-mode
@@ -0,0 +1 @@
+Subproject commit 8571029f35f0c41c14132927de0c5864665e2eb0
View
461 vendor/feature-mode/feature-mode.el
@@ -1,461 +0,0 @@
-;; cucumber.el -- Emacs mode for editing plain text user stories
-;;
-;; Copyright (C) 2008 — 2011 Michael Klishin and other contributors
-;;
-;; 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 2
-;; of the License, or (at your option) any later version.
-;;
-;; 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, write to the Free Software
-;; Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110.
-;;
-;; Copy files to ~/.emacs.d/elisp/feature-mode and add this to your
-;; .emacs to load the mode
-;; (add-to-list 'load-path "~/.emacs.d/elisp/feature-mode")
-;; ;; optional configurations
-;; ;; default language if .feature doesn't have "# language: fi"
-;; ;(setq feature-default-language "fi")
-;; ;; point to cucumber languages.yml or gherkin i18n.yml to use
-;; ;; exactly the same localization your cucumber uses
-;; ;(setq feature-default-i18n-file "/path/to/gherkin/gem/i18n.yml")
-;; ;; and load it
-;; (require 'feature-mode)
-;; (add-to-list 'auto-mode-alist '("\.feature$" . feature-mode))
-;;
-;; Language used in feature file is automatically detected from
-;; "language: [2-letter ISO-code]" tag in feature file. You can
-;; choose the language feature-mode should use in case autodetection
-;; fails. Just add
-;; (setq feature-default-language "en")
-;; to your .emacs
-;;
-;; Translations are loaded from ~/.emacs.d/elisp/feature-mode/i18n.yml
-;; by default. You can configure feature-mode to load translations
-;; directly from cucumber languages.yml or gherkin i18n.yml. Just add
-;; (setq feature-default-i18n-file
-;; "/usr/lib/ruby/gems/1.8/gems/cucumber-0.4.4/lib/cucumber/languages.yml")
-;; to your .emacs before
-;; (require 'feature-mode)
-;;
-;;
-;; In order to get goto-step-definition to work, you must install the
-;; ruby_parser gem (version 2.0.x). For example:
-;;
-;; gem install ruby_parser --version=2.0.5
-;;
-;; (be sure and use the ruby-interpreter that emacs will use based on
-;; `exec-path')
-;;
-;;
-;; Key Bindings
-;; ------------
-;;
-;; \C-c ,v
-;; : Verify all scenarios in the current buffer file.
-;;
-;; \C-c ,s
-;; : Verify the scenario under the point in the current buffer.
-;;
-;; \C-c ,f
-;; : Verify all features in project. (Available in feature and
-;; ruby files)
-;;
-;; \C-c ,r
-;; : Repeat the last verification process.
-;;
-;; \C-c ,g
-;; : Go to step-definition under point
-
-(eval-when-compile (require 'cl))
-(require 'thingatpt)
-
-;;
-;; Keywords and font locking
-;;
-
-(when (featurep 'font-lock)
- (or (boundp 'font-lock-variable-name-face)
- (setq font-lock-variable-name-face font-lock-type-face)))
-
-(defun load-gherkin-i10n (filename)
- "Read and parse Gherkin l10n from given file."
- (interactive "Load l10n file: ")
- (with-temp-buffer
- (insert-file-contents filename)
- (parse-gherkin-l10n)))
-
-(defun parse-gherkin-l10n ()
- (let (languages-alist)
- (save-excursion
- (goto-char (point-min))
- (while (not (eobp))
- (if (try-find-next-language)
- (let ((lang-beg (+ (point) 1))
- (lang-end (progn (end-of-line) (- (point) 2)))
- (kwds-beg (+ (point) 1))
- (kwds-end (progn (try-find-next-language) (point))))
- (add-to-list
- 'languages-alist
- (cons
- (filter-buffer-substring lang-beg lang-end)
- (parse-gherkin-l10n-translations kwds-beg kwds-end)))))))
- (nreverse languages-alist)))
-
-(defun try-find-next (regexp)
- (let (search-result)
- (setq search-result (search-forward-regexp regexp nil t))
- (if search-result
- (beginning-of-line)
- (goto-char (point-max)))
- search-result))
-
-(defun try-find-next-language ()
- (try-find-next "^\"[^\"]+\":"))
-
-(defun try-find-next-translation ()
- (try-find-next "^ \\([^ :]+\\): +\"?\\*?|?\\([^\"\n]+\\)\"?"))
-
-(defun parse-gherkin-l10n-translations (beg end)
- (let (translations-alist)
- (save-excursion
- (save-restriction
- (narrow-to-region beg end)
- (goto-char (point-min))
- (while (not (eobp))
- (if (try-find-next-translation)
- (let ((kwname (match-string-no-properties 1))
- (kw (match-string-no-properties 2)))
- (add-to-list
- 'translations-alist
- (cons
- (intern kwname)
- (if (or (equal kwname "name")
- (equal kwname "native"))
- kw
- (build-keyword-matcher kw))))))
- (end-of-line))))
- (nreverse translations-alist)))
-
-(defun build-keyword-matcher (keyword)
- (concat "^[ \t]*\\(" (replace-regexp-in-string "|" "\\\\|" keyword) "\\):?"))
-
-(defvar feature-default-language "en")
-(defvar feature-default-i18n-file "~/.emacs.d/elisp/feature-mode/i18n.yml")
-
-(defconst feature-keywords-per-language
- (if (file-readable-p feature-default-i18n-file)
- (load-gherkin-i10n feature-default-i18n-file)
- '(("en" . ((feature . "^ *Feature:")
- (background . "^ *Background:")
- (scenario . "^ *Scenario:")
- (scenario_outline .
- "^ *Scenario Outline:")
- (given . "^ *Given")
- (when . "^ *When")
- (then . "^ *Then")
- (but . "^ *But")
- (and . "^ *And")
- (examples . "^ *\\(Examples\\|Scenarios\\):?"))))))
-
-(defconst feature-font-lock-keywords
- '((feature (0 font-lock-keyword-face)
- (".*" nil nil (0 font-lock-type-face t)))
- (background . (0 font-lock-keyword-face))
- (scenario (0 font-lock-keyword-face)
- (".*" nil nil (0 font-lock-function-name-face t)))
- (scenario_outline
- (0 font-lock-keyword-face)
- (".*" nil nil (0 font-lock-function-name-face t)))
- (given . font-lock-keyword-face)
- (when . font-lock-keyword-face)
- (then . font-lock-keyword-face)
- (but . font-lock-keyword-face)
- (and . font-lock-keyword-face)
- (examples . font-lock-keyword-face)
- ("^ *@.*" . font-lock-preprocessor-face)
- ("^ *#.*" 0 font-lock-comment-face t)))
-
-
-;;
-;; Keymap
-;;
-
-(defvar feature-mode-map nil "Keymap used in feature mode")
-
-(if feature-mode-map
- nil
- (setq feature-mode-map (make-sparse-keymap))
- (define-key feature-mode-map "\C-m" 'newline)
- (define-key feature-mode-map (kbd "C-c ,s") 'feature-verify-scenario-at-pos)
- (define-key feature-mode-map (kbd "C-c ,v") 'feature-verify-all-scenarios-in-buffer)
- (define-key feature-mode-map (kbd "C-c ,f") 'feature-verify-all-scenarios-in-project)
- (define-key feature-mode-map (kbd "C-c ,g") 'feature-goto-step-definition))
-
-;; Add relevant feature keybindings to ruby modes
-(add-hook 'ruby-mode-hook
- (lambda ()
- (local-set-key (kbd "C-c ,f") 'feature-verify-all-scenarios-in-project)))
-
-
-;;
-;; Syntax table
-;;
-
-(defvar feature-mode-syntax-table nil
- "Syntax table in use in ruby-mode buffers.")
-
-(unless feature-mode-syntax-table
- (setq feature-mode-syntax-table (make-syntax-table)))
-
-;; Constants
-
-(defconst feature-blank-line-re "^[ \t]*$"
- "Regexp matching a line containing only whitespace.")
-
-(defun feature-feature-re (language)
- (cdr (assoc 'feature (cdr (assoc language feature-keywords-per-language)))))
-
-(defun feature-scenario-re (language)
- (cdr (assoc 'scenario (cdr (assoc language feature-keywords-per-language)))))
-
-(defun feature-background-re (language)
- (cdr (assoc 'background (cdr (assoc language feature-keywords-per-language)))))
-
-;;
-;; Variables
-;;
-
-(defvar feature-mode-hook nil
- "Hook run when entering `feature-mode'.")
-
-(defcustom feature-indent-level 2
- "Indentation of feature statements"
- :type 'integer :group 'feature)
-
-(defcustom feature-indent-offset 2
- "*Amount of offset per level of indentation."
- :type 'integer :group 'feature)
-
-(defun feature-compute-indentation ()
- "Calculate the maximum sensible indentation for the current line."
- (save-excursion
- (beginning-of-line)
- (if (bobp) 10
- (forward-line -1)
- (while (and (looking-at feature-blank-line-re)
- (> (point) (point-min)))
- (forward-line -1))
- (+ (current-indentation)
- (if (or (looking-at (feature-feature-re (feature-detect-language)))
- (looking-at (feature-scenario-re (feature-detect-language)))
- (looking-at (feature-background-re (feature-detect-language))))
- feature-indent-offset 0)))))
-
-(defun feature-indent-line ()
- "Indent the current line.
-The first time this command is used, the line will be indented to the
-maximum sensible indentation. Each immediately subsequent usage will
-back-dent the line by `feature-indent-offset' spaces. On reaching column
-0, it will cycle back to the maximum sensible indentation."
- (interactive "*")
- (let ((ci (current-indentation))
- (cc (current-column))
- (need (feature-compute-indentation)))
- (save-excursion
- (beginning-of-line)
- (delete-horizontal-space)
- (if (and (equal last-command this-command) (/= ci 0))
- (indent-to (* (/ (- ci 1) feature-indent-offset) feature-indent-offset))
- (indent-to need)))
- (if (< (current-column) (current-indentation))
- (forward-to-indentation 0))))
-
-(defun feature-font-lock-keywords-for (language)
- (let ((result-keywords . ()))
- (dolist (pair feature-font-lock-keywords)
- (let* ((keyword (car pair))
- (font-locking (cdr pair))
- (language-keyword (cdr (assoc keyword
- (cdr (assoc
- language
- feature-keywords-per-language))))))
-
- (push (cons (or language-keyword keyword) font-locking) result-keywords)))
- result-keywords))
-
-(defun feature-detect-language ()
- (save-excursion
- (goto-char (point-min))
- (if (re-search-forward "language: \\([[:alpha:]-]+\\)"
- (line-end-position)
- t)
- (match-string 1)
- feature-default-language)))
-
-(defun feature-mode-variables ()
- (set-syntax-table feature-mode-syntax-table)
- (setq require-final-newline t)
- (setq comment-start "# ")
- (setq comment-start-skip "#+ *")
- (setq comment-end "")
- (setq parse-sexp-ignore-comments t)
- (set (make-local-variable 'indent-tabs-mode) 'nil)
- (set (make-local-variable 'indent-line-function) 'feature-indent-line)
- (set (make-local-variable 'font-lock-defaults)
- (list (feature-font-lock-keywords-for (feature-detect-language)) nil nil))
- (set (make-local-variable 'font-lock-keywords)
- (feature-font-lock-keywords-for (feature-detect-language))))
-
-(defun feature-minor-modes ()
- "Enable all minor modes for feature mode."
- (turn-on-orgtbl))
-
-;;
-;; Mode function
-;;
-
-;;;###autoload
-(defun feature-mode()
- "Major mode for editing plain text stories"
- (interactive)
- (kill-all-local-variables)
- (use-local-map feature-mode-map)
- (setq mode-name "Feature")
- (setq major-mode 'feature-mode)
- (feature-mode-variables)
- (feature-minor-modes)
- (run-mode-hooks 'feature-mode-hook))
-
-(add-to-list 'auto-mode-alist '("\\.feature\\'" . feature-mode))
-
-;;
-;; Snippets
-;;
-
-(defvar feature-snippet-directory (concat (file-name-directory load-file-name) "snippets")
- "Path to the feature-mode snippets.
-
-If the yasnippet library is loaded, snippets in this directory
-are loaded on startup. If nil, don't load snippets.")
-
-(defvar feature-support-directory (concat (file-name-directory load-file-name) "support")
- "Path to support folder
-
- The support folder contains a ruby script that takes a step as an
- argument, and outputs a list of all matching step definitions")
-
-(declare-function yas/load-directory "yasnippet" t)
-(when (and (featurep 'yasnippet)
- feature-snippet-directory
- (file-exists-p feature-snippet-directory))
- (yas/load-directory feature-snippet-directory))
-
-
-;;
-;; Verifying features
-;;
-
-(defun feature-scenario-name-re (language)
- (concat (feature-scenario-re (feature-detect-language)) "[[:space:]]+\\(.*\\)$"))
-
-(defun feature-scenario-name-at-pos (&optional pos)
- "Returns the name of the scenario at the specified position. if pos is not specified the current buffer location will be used."
- (interactive)
- (let ((start (or pos (point))))
- (save-excursion
- (end-of-line)
- (unless (re-search-backward (feature-scenario-name-re (feature-detect-language)) nil t)
- (error "Unable to find an scenario"))
- (match-string-no-properties 1))))
-
-(defun feature-verify-scenario-at-pos (&optional pos)
- "Run the scenario defined at pos. If post is not specified the current buffer location will be used."
- (interactive)
- (feature-run-cucumber
- (list "-n" (concat "'" (feature-escape-scenario-name (feature-scenario-name-at-pos)) "'"))
- :feature-file (buffer-file-name)))
-
-(defun feature-verify-all-scenarios-in-buffer ()
- "Run all the scenarios defined in current buffer."
- (interactive)
- (feature-run-cucumber '() :feature-file (buffer-file-name)))
-
-
-(defun feature-verify-all-scenarios-in-project ()
- "Run all the scenarios defined in current project."
- (interactive)
- (feature-run-cucumber '()))
-
-(defun feature-register-verify-redo (redoer)
- "Register a bit of code that will repeat a verification process"
- (let ((redoer-cmd (eval (list 'lambda ()
- '(interactive)
- (list 'let (list (list `default-directory
- default-directory))
- redoer)))))
-
- (global-set-key (kbd "C-c ,r") redoer-cmd)))
-
-(defun feature-run-cucumber (cuke-opts &optional &key feature-file)
- "Runs cucumber with the specified options"
- (feature-register-verify-redo (list 'feature-run-cucumber
- (list 'quote cuke-opts)
- :feature-file feature-file))
- ;; redoer is registered
-
- (let ((opts-str (mapconcat 'identity cuke-opts " "))
- (feature-arg (if feature-file
- (concat " FEATURE='" feature-file "'")
- "")))
- (ansi-color-for-comint-mode-on)
- (let ((default-directory (feature-project-root)))
- (compile (concat "rake cucumber CUCUMBER_OPTS=\"" opts-str "\"" feature-arg) t)))
- (end-of-buffer-other-window 0))
-
-(defun feature-escape-scenario-name (scenario-name)
- "Escapes all the characaters in a scenario name that mess up using in the -n options"
- (replace-regexp-in-string "\\(\"\\)" "\\\\\\\\\\\\\\1" (replace-regexp-in-string "\\([()\']\\|\\[\\|\\]\\)" "\\\\\\1" scenario-name)))
-
-(defun feature-root-directory-p (a-directory)
- "Tests if a-directory is the root of the directory tree (i.e. is it '/' on unix)."
- (equal a-directory (file-name-directory (directory-file-name a-directory))))
-
-(defun feature-project-root (&optional directory)
- "Finds the root directory of the project by walking the directory tree until it finds Rakefile (presumably, application root)"
- (let ((directory (file-name-as-directory (or directory default-directory))))
- (if (feature-root-directory-p directory) (error "No rakefle found"))
- (if (file-exists-p (concat directory "Rakefile"))
- directory
- (feature-project-root (file-name-directory (directory-file-name directory))))))
-
-(defun feature-goto-step-definition ()
- "Goto the step-definition under (point). Requires ruby"
- (interactive)
- (let* ((root (feature-project-root))
- (input (thing-at-point 'line))
- (_ (set-text-properties 0 (length input) nil input))
- (result (shell-command-to-string (format "cd %S && ruby %S/go_to_step.rb %S"
- root
- feature-support-directory
- input)))
- (file-and-line (car (split-string result "\n")))
- (matched? (string-match "^\\(.+\\):\\([0-9]+\\)$" file-and-line)))
- (if matched?
- (let ((file (format "%s/%s" root (match-string 1 file-and-line)))
- (line-no (string-to-number (match-string 2 file-and-line))))
- (find-file file)
- (goto-char (point-min))
- (forward-line (1- line-no)))
- (if (equal "" result)
- (message "No matching steps found for:\n%s" input)
- (message "An error occurred:\n%s" result)))))
-
-(provide 'cucumber-mode)
-(provide 'feature-mode)
View
575 vendor/feature-mode/i18n.yml
@@ -1,575 +0,0 @@
-# encoding: UTF-8
-#
-# We use ISO 639-1 (language) and ISO 3166 alpha-2 (region - if appliccable):
-# http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
-# http://en.wikipedia.org/wiki/ISO_3166-1
-#
-# If you want several aliases for a keyword, just separate them
-# with a | character. Make sure there are no ambiguities in the
-# keywords.
-#
-# If you do *not* want a trailing space after a keyword, end it with a < character.
-# (See Chinese for examples).
-#
-"en":
- name: English
- native: English
- feature: Feature
- background: Background
- scenario: Scenario
- scenario_outline: Scenario Outline
- examples: Examples|Scenarios
- given: "*|Given"
- when: "*|When"
- then: "*|Then"
- and: "*|And"
- but: "*|But"
-
-# Please keep the grammars in alphabetical order by name from here and down.
-
-"ar":
- name: Arabic
- native: العربية
- feature: خاصية
- background: الخلفية
- scenario: سيناريو
- scenario_outline: سيناريو مخطط
- examples: امثلة
- given: "*|بفرض"
- when: "*|متى|عندما"
- then: "*|اذاً|ثم"
- and: "*|و"
- but: "*|لكن"
-"bg":
- name: Bulgarian
- native: български
- feature: Функционалност
- background: Предистория
- scenario: Сценарий
- scenario_outline: Рамка на сценарий
- examples: Примери
- given: "*|Дадено"
- when: "*|Когато"
- then: "*|То"
- and: "*|И"
- but: "*|Но"
-"ca":
- name: Catalan
- native: català
- background: Rerefons|Antecedents
- feature: Característica|Funcionalitat
- scenario: Escenari
- scenario_outline: Esquema de l'escenari
- examples: Exemples
- given: "*|Donat|Donada|Atès|Atesa"
- when: "*|Quan"
- then: "*|Aleshores|Cal"
- and: "*|I"
- but: "*|Però"
-"cy-GB":
- name: Welsh
- native: Cymraeg
- background: Cefndir
- feature: Arwedd
- scenario: Scenario
- scenario_outline: Scenario Amlinellol
- examples: Enghreifftiau
- given: "*|Anrhegedig a"
- when: "*|Pryd"
- then: "*|Yna"
- and: "*|A"
- but: "*|Ond"
-"cs":
- name: Czech
- native: Česky
- feature: Požadavek
- background: Pozadí|Kontext
- scenario: Scénář
- scenario_outline: Náčrt Scénáře|Osnova scénáře
- examples: Příklady
- given: "*|Pokud"
- when: "*|Když"
- then: "*|Pak"
- and: "*|A|A také"
- but: "*|Ale"
-"da":
- name: Danish
- native: dansk
- feature: Egenskab
- background: Baggrund
- scenario: Scenarie
- scenario_outline: Abstrakt Scenario
- examples: Eksempler
- given: "*|Givet"
- when: "*|Når"
- then: "*|Så"
- and: "*|Og"
- but: "*|Men"
-"de":
- name: German
- native: Deutsch
- feature: Funktionalität
- background: Grundlage
- scenario: Szenario
- scenario_outline: Szenariogrundriss
- examples: Beispiele
- given: "*|Angenommen|Gegeben sei"
- when: "*|Wenn"
- then: "*|Dann"
- and: "*|Und"
- but: "*|Aber"
-"en-au":
- name: Australian
- native: Australian
- feature: Crikey
- background: Background
- scenario: Mate
- scenario_outline: Blokes
- examples: Cobber
- given: "*|Ya know how"
- when: "*|When"
- then: "*|Ya gotta"
- and: "*|N"
- but: "*|Cept"
-"en-lol":
- name: LOLCAT
- native: LOLCAT
- feature: OH HAI
- background: B4
- scenario: MISHUN
- scenario_outline: MISHUN SRSLY
- examples: EXAMPLZ
- given: "*|I CAN HAZ"
- when: "*|WEN"
- then: "*|DEN"
- and: "*|AN"
- but: "*|BUT"
-"en-Scouse":
- name: Scouse
- native: Scouse
- feature: Feature
- background: "Dis is what went down"
- scenario: "The thing of it is"
- scenario_outline: "Wharrimean is"
- examples: Examples
- given: "*|Givun|Youse know when youse got"
- when: "*|Wun|Youse know like when"
- then: "*|Dun|Den youse gotta"
- and: "*|An"
- but: "*|Buh"
-"en-tx":
- name: Texan
- native: Texan
- feature: Feature
- background: Background
- scenario: Scenario
- scenario_outline: All y'all
- examples: Examples
- given: "*|Given y'all"
- when: "*|When y'all"
- then: "*|Then y'all"
- and: "*|And y'all"
- but: "*|But y'all"
-"eo":
- name: Esperanto
- native: Esperanto
- feature: Trajto
- background: Fono
- scenario: Scenaro
- scenario_outline: Konturo de la scenaro
- examples: Ekzemploj
- given: "*|Donitaĵo"
- when: "*|Se"
- then: "*|Do"
- and: "*|Kaj"
- but: "*|Sed"
-"es":
- name: Spanish
- native: español
- background: Antecedentes
- feature: Característica
- scenario: Escenario
- scenario_outline: Esquema del escenario
- examples: Ejemplos
- given: "*|Dado"
- when: "*|Cuando"
- then: "*|Entonces"
- and: "*|Y"
- but: "*|Pero"
-"et":
- name: Estonian
- native: eesti keel
- feature: Omadus
- background: Taust
- scenario: Stsenaarium
- scenario_outline: Raamstsenaarium
- examples: Juhtumid
- given: "*|Eeldades"
- when: "*|Kui"
- then: "*|Siis"
- and: "*|Ja"
- but: "*|Kuid"
-"fi":
- name: Finnish
- native: suomi
- feature: Ominaisuus
- background: Tausta
- scenario: Tapaus
- scenario_outline: Tapausaihio
- examples: Tapaukset
- given: "*|Oletetaan"
- when: "*|Kun"
- then: "*|Niin"
- and: "*|Ja"
- but: "*|Mutta"
-"fr":
- name: French
- native: français
- feature: Fonctionnalité
- background: Contexte
- scenario: Scénario
- scenario_outline: Plan du scénario|Plan du Scénario
- examples: Exemples
- given: "*|Soit|Etant donné"
- when: "*|Quand|Lorsque|Lorsqu'<"
- then: "*|Alors"
- and: "*|Et"
- but: "*|Mais"
-"he":
- name: Hebrew
- native: עברית
- feature: תכונה
- background: רקע
- scenario: תרחיש
- scenario_outline: תבנית תרחיש
- examples: דוגמאות
- given: "*|בהינתן"
- when: "*|כאשר"
- then: "*|אז|אזי"
- and: "*|וגם"
- but: "*|אבל"
-"hr":
- name: Croatian
- native: hrvatski
- feature: Osobina|Mogućnost|Mogucnost
- background: Pozadina
- scenario: Scenarij
- scenario_outline: Skica|Koncept
- examples: Primjeri|Scenariji
- given: "*|Zadan|Zadani|Zadano"
- when: "*|Kada|Kad"
- then: "*|Onda"
- and: "*|I"
- but: "*|Ali"
-"hu":
- name: Hungarian
- native: magyar
- feature: Jellemző
- background: Háttér
- scenario: Forgatókönyv
- scenario_outline: Forgatókönyv vázlat
- examples: Példák
- given: "*|Ha"
- when: "*|Majd"
- then: "*|Akkor"
- and: "*|És"
- but: "*|De"
-"id":
- name: Indonesian
- native: Bahasa Indonesia
- feature: Fitur
- background: Dasar
- scenario: Skenario
- scenario_outline: Skenario konsep
- examples: Contoh
- given: "*|Dengan"
- when: "*|Ketika"
- then: "*|Maka"
- and: "*|Dan"
- but: "*|Tapi"
-"it":
- name: Italian
- native: italiano
- feature: Funzionalità
- background: Contesto
- scenario: Scenario
- scenario_outline: Schema dello scenario
- examples: Esempi
- given: "*|Dato"
- when: "*|Quando"
- then: "*|Allora"
- and: "*|E"
- but: "*|Ma"
-"ja":
- name: Japanese
- native: 日本語
- feature: フィーチャ|機能
- background: 背景
- scenario: シナリオ
- scenario_outline: シナリオアウトライン|シナリオテンプレート|テンプレ|シナリオテンプレ
- examples: 例|サンプル
- given: "*|前提<"
- when: "*|もし<"
- then: "*|ならば<"
- and: "*|かつ<"
- but: "*|しかし<|但し<|ただし<"
-"ko":
- name: Korean
- native: 한국어
- background: 배경
- feature: 기능
- scenario: 시나리오
- scenario_outline: 시나리오 개요
- examples:
- given: "*|조건<|먼저<"
- when: "*|만일<|만약<"
- then: "*|그러면<"
- and: "*|그리고<"
- but: "*|하지만<|단<"
-"lt":
- name: Lithuanian
- native: lietuvių kalba
- feature: Savybė
- background: Kontekstas
- scenario: Scenarijus
- scenario_outline: Scenarijaus šablonas
- examples: Pavyzdžiai|Scenarijai|Variantai
- given: "*|Duota"
- when: "*|Kai"
- then: "*|Tada"
- and: "*|Ir"
- but: "*|Bet"
-"lv":
- name: Latvian
- native: latviešu
- feature: Funkcionalitāte|Fīča
- background: Konteksts|Situācija
- scenario: Scenārijs
- scenario_outline: Scenārijs pēc parauga
- examples: Piemēri|Paraugs
- given: "*|Kad"
- when: "*|Ja"
- then: "*|Tad"
- and: "*|Un"
- but: "*|Bet"
-"nl":
- name: Dutch
- native: Nederlands
- feature: Functionaliteit
- background: Achtergrond
- scenario: Scenario
- scenario_outline: Abstract Scenario
- examples: Voorbeelden
- given: "*|Gegeven|Stel"
- when: "*|Als"
- then: "*|Dan"
- and: "*|En"
- but: "*|Maar"
-"no":
- name: Norwegian
- native: norsk
- feature: Egenskap
- background: Bakgrunn
- scenario: Scenario
- scenario_outline: Abstrakt Scenario
- examples: Eksempler
- given: "*|Gitt"
- when: "*|Når"
- then: "*|Så"
- and: "*|Og"
- but: "*|Men"
-"pl":
- name: Polish
- native: polski
- feature: Właściwość
- background: Założenia
- scenario: Scenariusz
- scenario_outline: Szablon scenariusza
- examples: Przykłady
- given: "*|Zakładając"
- when: "*|Jeżeli"
- then: "*|Wtedy"
- and: "*|Oraz"
- but: "*|Ale"
-"pt":
- name: Portuguese
- native: português
- background: Contexto
- feature: Funcionalidade
- scenario: Cenário|Cenario
- scenario_outline: Esquema do Cenário|Esquema do Cenario
- examples: Exemplos
- given: "*|Dado"
- when: "*|Quando"
- then: "*|Então|Entao"
- and: "*|E"
- but: "*|Mas"
-"ro":
- name: Romanian
- native: română
- background: Conditii
- feature: Functionalitate
- scenario: Scenariu
- scenario_outline: Scenariul de sablon
- examples: Exemplele
- given: "*|Daca"
- when: "*|Cand"
- then: "*|Atunci"
- and: "*|Si"
- but: "*|Dar"
-"ro-RO":