Klimi's new dotfiles with stow.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

600 строки
19 KiB

5 лет назад
  1. Haskell Mode NEWS -*- org -*-
  2. This file uses Org mode. Some useful (default) key-bindings:
  3. - Use "C-c C-n"/"C-c C-p" to jump to next/prev heading
  4. - Use "<tab>" to expand/collapse nodes
  5. - Use "<backtab>" to cycle visibility of all nodes
  6. - Use "C-c C-o" to open links
  7. * Changes in 16.1
  8. - Require at least Emacs 24.3
  9. - Implemented standalone deriving indentation
  10. - Removed haskell-indentation-ifte-offset
  11. - Implemented electric characters
  12. - Added LiquidHaskell annotation highlight
  13. - Introduced haskell-hasktags-path defcustom
  14. - Added font lock tests for pattern synonyms
  15. - Hardcoded haskell-ghc-supported-extensions/options
  16. - Added multi-line input in haskell-interactive
  17. - Added haskell-mode-stylish-haskell-path
  18. - Added Windows CI builds
  19. - Added syntax highlight to Yesod rules quasi quote
  20. - Added support for line continuation in #define's
  21. - Added support unterminated strings in indentation
  22. - Implemented /italic/ and *bold* for haddock
  23. - Added significant speedups in font-lock engine
  24. - Added support for full complexity of backtick syntax
  25. - Operators at the end or beggining of line force expression continuation in indentation
  26. - Map haskell-mode-format-imports to C-c C-, to avoid conflict with haskell-indent
  27. - Improve auto add dependencies in cabal
  28. - Fix inferior-haskell warning font lock for GHC 8.0
  29. * Changes in 13.20
  30. - Require at least Emacs 24.1
  31. - Honor equals on its own line in data decl
  32. - Honor equals on separate line after guards
  33. - Allow haskell-process-path-* to be lists
  34. - Fontify True/False in cabal mode
  35. - Align | with = in data declarations
  36. - Remove haskell-package.el
  37. - Run stylish-haskell before save
  38. - Improved lexeme parsing in haskell-lexeme
  39. - Add haskell-interactive-copy-to-prompt
  40. - Remove haskell-mode-contextual-space and related var
  41. - Make haskell-indent-region do nothing
  42. - Add c2hs mode
  43. - Improve hasktags handling
  44. - Move documentation from wiki to haskell-mode manual
  45. * Changes in 13.18
  46. - Removed haskell-bot
  47. - Implement shallow indentation
  48. - Removed haskell-simple-indent
  49. - Removed haskell-indentation show dynamic positions
  50. - Improved indentation inside multiline strings
  51. - Implemented font-lock for quasi quoted XML, HTML and JavaScript
  52. - Added '{type|data} family' to font-lock-keywords-create
  53. - Started using undercover.el for emacs lisp coverage
  54. - Added keybinding for `haskell-cabal-visit-file`
  55. - Added type role to font lock
  56. - Detect and respect the comma style of a section in cabal files
  57. * Changes in 13.16
  58. - Improved parsing of comma lists in haskell indentation
  59. - Declared turn-on-haskell-indentation as obsolete
  60. - Improved QuasiQuote font lock
  61. - Fixed indentation for Unicode symbols
  62. - Improved completion engine
  63. - Added support for interaction with stack ghci
  64. - Added haskell-forward-sexp
  65. - Added overlays to haskell load
  66. - Made use of lexical binding for all emacs lisp sources
  67. - Improved indentation of guards with commas
  68. - Made three indentation modes mutually turn each other off
  69. - Added an additional trigger for pragma suggestions
  70. - Improved and documented `toggle-scc-at-point` in manual
  71. * Changes in 13.14
  72. - Add official Haskell Mode logo
  73. - Add auto deploy for html manual
  74. - Improve presentation mode
  75. - Font Lock refactoring and improvements
  76. - Properly delimit operators in prettify mode
  77. - OPTIONS and LANGUAGE completion using ghci
  78. - Merge hi2 (haskell-indentation attempt 2) in place of haskell-indentation
  79. - Prompt to reconfigure when Cabal demands it
  80. - Fontify pragmas while fontifying comments
  81. - Operators are fontified
  82. - Remove all mentions of cabal-dev
  83. - Merge hsc-mode into haskell-mode
  84. - Get type information from ghci in interaction-mode
  85. - Prettify Haskell types in eldoc support
  86. - Added haskell-hoogle-url
  87. - Fix w3m-haddock in the case of no local files
  88. * Changes in 13.12
  89. - Added haskell-bot.el
  90. - Added support for cabal repl build targets
  91. - Automatically add import lines via Hoogle
  92. - Automatically add package to cabal file
  93. - Added w3m-haddock.el
  94. - Added debugger mode
  95. - Added preliminary :present support
  96. - Added haskell-sort-imports
  97. - Added haskell-complete-module
  98. - Support if and multi-way if in indentation
  99. - Add support to generate tags on windows
  100. - Add haskell-language-extensions variable
  101. - Improve haskell-simple-indent mode
  102. - Improve test cases
  103. * Changes in 13.10
  104. - Small fix for haskell-simple-indent: Certain indentation situations
  105. cause valname-string to be nil, which haskell-trim did not handle
  106. gracefully (naturally, since nil != "").
  107. - Luke Hoersten's Shnippet merged in under snippets/.
  108. - haskell-presentation-mode is now a haskell-mode derived mode.
  109. - Small improvement to haskell-process-do-info (works on constructors
  110. now and underscored names).
  111. - Add haskell-indent-spaces configuration variable.
  112. - The command string to run cabal commands is slightly more
  113. configurable. See: C-h f haskell-process-do-cabal-format-string
  114. * Changes in 13.8
  115. See also [[https://github.com/haskell/haskell-mode/compare/v13.07...v13.08][detailed Git history]].
  116. - Make `haskell-simple-indent-mode' a proper minor mode with `SInd` as
  117. mode-line lighter
  118. - Support popular "λ> " prompt in inf-haskell by default
  119. - Hide internal `*print-haskell-mode*' buffers
  120. (used when `haskell-interactive-mode-eval-mode' is active)
  121. - Add tab-completion support for haskell-interactive-mode
  122. (requires `:complete' command support in GHCi)
  123. - Add support to `haskell-process-do-info` to perform `:browse!` query
  124. on module name when called on import statement line
  125. - `haskell-decl-scan-mode':
  126. - New customize group `haskell-decl-scan'
  127. - New flag `haskell-decl-scan-bindings-as-variables' for controlling
  128. whether to put value bindings into the "Variables" category.
  129. - New flag `haskell-decl-scan-add-to-menubar' for controlling
  130. whether to add "Declarations" menu entry to menu bar.
  131. - New manual section node `(haskell-mode)haskell-decl-scan-mode'
  132. - Add support for [[http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#lambda-case][LambdaCase]] syntax extension to `haskell-indentation`
  133. - Change `haskell-indentation-mode' to never jump back a whole line
  134. when pressing DEL. The old behavior can be restored by setting
  135. `haskell-indentation-delete-backward-jump-line' to t
  136. - New convenience function `haskell-cabal-visit-file' for locating and
  137. visiting most likely `.cabal` file associated with current buffer
  138. - Add support for [[http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#package-import][PackageImports]] and [[http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#safe-imports-ext][SafeHaskell]] syntax extensions to
  139. `haskell-decl-scan-mode' parser
  140. - Add `turn-{on,off}-haskell-doc' commands as aliases for the existing
  141. `turn-{on,off}-haskell-doc-mode' commands
  142. - Add support for "cabal repl" process type to `haskell-interactive-mode'
  143. - Add new Haskell compilation sub-mode and associated `haskell-compile'
  144. command
  145. * Changes in 13.7
  146. See also [[https://github.com/haskell/haskell-mode/compare/v13.06...v13.07][detailed Git history]].
  147. - Convert NEWS (this file) to Org mode style and include NEWS file in
  148. package and add command for visiting NEWS file
  149. (M-x haskell-mode-view-news)
  150. - Officially drop support for versions prior to Emacs 23
  151. - New work-in-progress Info manual for haskell-mode
  152. - Remove deprecated `haskell-{hugs,ghci}' modules
  153. - Font-locking changes:
  154. - Remove deprecated `turn-on-haskell-font-lock` function
  155. - Improve font-locking of type-signatures in presence of newlines
  156. - Use `font-lock-preprocessor-face' instead of the previously used
  157. `font-lock-warning-face` for CPP directives
  158. - Use `font-lock-warning-face` instead of the previously used
  159. `font-lock-preprocessor-face` for Git merge conflict annotations.
  160. - Improvements to `haskell-move-nested' module:
  161. - Add support for operating on active regions
  162. - New interactive commands `haskell-move-nested-{left,right}` which
  163. support numeric prefix arguments for controlling the amount of
  164. shifting to apply.
  165. - Add `haskell-unicode-input-method.el` to distribution
  166. (enable with `turn-on-haskell-unicode-input-method`)
  167. - Fix all byte-compilation warnings
  168. - Build-system:
  169. - For in-place installation, `haskell-site-file.el' is renamed
  170. to `haskell-mode-autoloads.el`
  171. - Auto-generate ELPA compatible README file by extracting header of
  172. haskell-mode.el
  173. - New "make check" target
  174. - Add Travis-CI build jobs for testing byte-compilation with
  175. multiple Emacs versions
  176. - Reorganize customize settings
  177. - Add new convenience function for browsing all Haskell Mode settings
  178. (M-x haskell-customize)
  179. - Add `:link' keywords pointing to the new Info manual
  180. - Add `:group' keywords to modes to make (M-x customize-mode) work
  181. - Create new customization groups `haskell-interactive' and `inferior-haskell'
  182. to clean up namespace
  183. - Create new customization group `ghc-core` containing the two new
  184. customization variables `ghc-core-program` and `ghc-core-program-args`.
  185. - Improvements to haskell-interactive-mode
  186. - Add support for deleting compile messages superseded by recompile/reloads
  187. (M-x customize-variable RET haskell-interactive-mode-delete-superseded-errors)
  188. - Fix `C-u M-x haskell-process-do-type` inserting bad signatures
  189. - Integrate with Emacs' `next-error` subsystem
  190. - Add "C-c C-f" binding to REPL keymap for enabling `next-error-follow-minor-mode'
  191. - Add support for `-ferror-spans`-style compile messages
  192. - Add `-ferror-spans` as default for `haskell-process-args-ghci`
  193. - Add optional argument to
  194. `haskell-session-{all,installed,project}-modules' to suppress
  195. session-creation. This is useful for yasnippet usage, see commit
  196. 517fd7e for an example.
  197. - Change default for `haskell-process-path-ghci` to a static "ghci"
  198. - Fix `haskell-interactive-switch` not selecting the REPL window
  199. - Make `*haskell-process-log*` buffer configurable
  200. (controlled via new `haskell-process-log` customize option)
  201. * Changes in 13.6
  202. See also [[https://github.com/haskell/haskell-mode/compare/2_9_1...v13.06][detailed Git history]].
  203. - Switch to new versioning scheme
  204. - Switch to MELPA/Marmalade based packaging
  205. - Cleanup/refactor build-system
  206. - Enhance `M-x haskell-version` to report more detailed versioning
  207. information
  208. - Make haskell-interactive-mode emulate comint/eshell history navigation
  209. (see commit 0e96843 for more details)
  210. - Improvements to haskell-interactive-mode
  211. - Improve killing/restarting haskell-interactive sessions
  212. - Improve directory prompting and resolution
  213. - Fix redundant-import suggest trigger to support qualified imports
  214. - Detect all abbreviations of an user-inputted ":quit"
  215. - Fix regexps for recent GHC 7.x compiler messages
  216. - Customizable commandline args for GHCi
  217. (M-x customize-variable RET haskell-process-args-ghci)
  218. - New command to load or reload via prefix argument
  219. (M-x haskell-process-load-or-reload)
  220. - Fix haskell-interactive-mode prompt detection
  221. - Add cabal-ghci as supported process mode
  222. - Add a customization option for the visibility of multi-line errors
  223. (M-x customize-variable RET haskell-interactive-mode-hide-multi-line-errors)
  224. - Add forward declarations to reduce Elisp bytecompile warnings
  225. - Improvements to `haskell-indentation`
  226. - Add support for the UnicodeSyntax tokens `→`, `←`, and `∷`.
  227. - Indent "=" following data/type/newtype declarations.
  228. - Align "->"/"→" arrows in types under "::"/"∷"
  229. - Make customizable whether "<backspace>" deletes indentation too
  230. (via `haskell-indentation-delete-backward-indentation` and
  231. `haskell-indentation-delete-indentation`)
  232. - Properly indent 'rec' keyword, same as 'mdo'
  233. - Minor optimizations.
  234. - Add support for "'"-prefixed constructors (-> DataKinds) to font-locking
  235. - New experimental haskell session menu mode (M-x haskell-menu)
  236. - Various minor cleanups/fixes/improvements...
  237. * Changes in 2.9.1
  238. See also [[https://github.com/haskell/haskell-mode/compare/2_9_0...2_9_1][detailed Git history]].
  239. - Bugfix release adding missing autoload declaration
  240. * Changes in 2.9.0
  241. See also [[https://github.com/haskell/haskell-mode/compare/2_8_0...2_9_0][detailed Git history]].
  242. - This is the first release after haskell-mode was migrated to GitHub
  243. - New experimental `haskell-interactive-mode' module implementing a
  244. new REPL interaction mode for GHCi sessions to eventually replace
  245. the existing "inf-haskell" mode.
  246. - New `haskell-process-cabal' command for interaction with cabal-install
  247. - New `haskell-checkers' module
  248. - Update haskell-cabal-mode font-lock keywords
  249. - Improve scrolling of hoogle output (haskell-mode.el)
  250. - Derive `haskell-mode` from `prog-mode` for Emacs 24+
  251. - Add new binding for "<backtab>" to haskell-mode's keymap which
  252. unindents current line
  253. - New modules `haskell-navigate-imports`, `haskell-sort-imports' and
  254. `haskell-align-imports' for operating on module import lines in
  255. Haskell source code
  256. - Add new binding for "C-c C-." to haskell-mode's keymap to sort and
  257. realign Haskell module imports
  258. - Add new binding for "C-c i" to haskell-mode's keymap to jump back and
  259. forth from/to the current Haskell module's module import section.
  260. - New `inferior-haskell-kind' function for querying kind via GHCi's ":kind"
  261. - New `inferior-haskell-send-decl' for sending declarations to GHCi
  262. (bound to "C-x C-d" by default)
  263. - Add new `haskell-doc-use-inf-haskell` customization variable
  264. - Add support for bird-style literate haskell editing and a new
  265. related customization variable
  266. `haskell-indentation-birdtrack-extra-space'
  267. - Font locking improvements
  268. - Add support for Git's merge annotation
  269. (with `font-lock-preprocessor-face')
  270. - Improve `import', `foreign import' and `foreign export' font
  271. locking
  272. - Add support for `rec', `proc' and `mdo` as keywords
  273. - Make whitespace within `-- |' and `{- |' optional when possible
  274. - New `haskell-move-nested` module providing utilities for
  275. interactively {in,de}denting nested "hanging" blocks.
  276. - Add stylish-haskell support
  277. (enable via `haskell-stylish-on-save` customization variable)
  278. - Add support for generating tags on save
  279. (enable via `haskell-tags-on-save' customization variable)
  280. - Set sensible dabbrev defaults in haskell-mode
  281. - Added `SCC` pragma insert/delete commands
  282. (`haskell-mode-insert-scc-at-point` and `haskell-mode-kill-scc-at-point')
  283. - New experimental `haskell-mode-contextual-space' command
  284. - And a couple more cleanups/fixes/improvements...
  285. * Changes in 2.8.0 (since 2.7.0)
  286. See also [[https://github.com/haskell/haskell-mode/compare/2_7_0...2_8_0][detailed Git history]].
  287. - Minimal indentation support for arrow syntax
  288. - Avoid opening a new inf-haskell window if one is already visible.
  289. Windows on other virtual desktops or iconified frames don't count.
  290. - Force comint-process-echoes to nil
  291. - Autolaunch haskell-mode for files starting with #!/usr/bin/runghc
  292. and similar
  293. - Added minimal major mode for parsing GHC core files, courtesy of Johan Tibell.
  294. There is a corresponding Haskell menu entry.
  295. - Allow configuration of where-clause indentation; M-x customize-group
  296. haskell-indentation.
  297. * Changes since 2.6.4
  298. - fill-paragraph (M-q) now only affects comments, and correctly
  299. handles Haddock commentary. adaptive-fill-mode is turned off, as it
  300. was interfering.
  301. - Yet more unicode symbols
  302. - Better support for unicode encoding of haskell source files
  303. - mdo correctly indented
  304. - Indentation fixes, fixes to the fixes, and fixes to the fixes to the
  305. fixes
  306. - New command: M-x haskell-check, calls (by default) hlint on the
  307. current file. Also bound to C-c C-v.
  308. You can also use the flymake minor mode with this.
  309. * Changes since 2.5.1
  310. - Parser corrections for haskell-indentation and haskell-decl-scan
  311. - haskell-indentation: Pressing tab in the rightmost position now
  312. moves to the leftmost, by default with a warning.
  313. - Typo fix: One haskell-indentation variable had ended up in the
  314. haskell-ntation customize group.
  315. - haskell-hoogle aliased to hoogle, haskell-hayoo aliased to hayoo
  316. - Courtesy of Alex Ott:
  317. - Additional unicode symbols for font-lock-symbols: () == /= >= <= !! && || sqrt
  318. - M-x haskell-hayoo search added, opens using browse-url
  319. - Bug-fix for inferior-haskell-type
  320. - If haskell-indentation errors out, it now fail-safes to inserting
  321. a literal newline or deleting one character, for return and
  322. backspace respectively.
  323. * Changes since 2.4:
  324. - haskell-indentation, a new minor mode for indentation.
  325. * Changes since 2.3:
  326. - Update license to GPLv3.
  327. - New derived major mode for .hsc files.
  328. - Removed the C-c C-r binding to reload a file. You can still call
  329. inferior-haskell-reload-file (and/or bind it to your favorite key,
  330. including C-c C-r) or you can now use C-u C-c C-l.
  331. - C-c C-d looks up the symbol at point in the Haddock docs.
  332. - Haddock comments are highlighted with font-lock-doc-face if it exists.
  333. - Use `tex' rather than `latex' for haskell-literate.
  334. - inf-haskell.el tries to find the root of the module hierarchy to determine
  335. the root of a project (either by looking for a Cabal file or relying on
  336. the `module' declaration line). If all works well, this will make C-c C-l
  337. automatically switch to the root dir, so that dependencies in other
  338. directories are automatically found. If it doesn't, complain and/or set
  339. inferior-haskell-find-project-root to nil.
  340. - The new command haskell-hoogle helps you query Hoogle from Emacs.
  341. * Changes since 2.2:
  342. - Trivial support for Cabal package description files.
  343. - Minor bug fixes.
  344. * Changes since 2.1:
  345. - There are now commands to find type and info of identifiers by querying an
  346. inferior haskell process. Available under C-c C-t, C-c C-i, and C-c M-.
  347. - Indentation now looks back further, until a line that has no indentation.
  348. To recover the earlier behavior of stopping at the first empty line
  349. instead, configure haskell-indent-look-past-empty-line.
  350. - inf-haskell can wait until a file load completes and jump directly to the
  351. first error, like haskell-ghci and haskell-hugs used to do. See the var
  352. inferior-haskell-wait-and-jump.
  353. * Changes since 2.0:
  354. - inf-haskell uses ghci if hugs is absent.
  355. - Fix up some binding conflicts (C-c C-o in haskell-doc)
  356. - Many (hopefully minor) changes to the indentation.
  357. - New symbols in haskell-font-lock-symbols-alist.
  358. * Changes since 1.45:
  359. - keybindings C-c <char> have been replaced by C-c C-<char> so as not
  360. to collide with minor modes.
  361. - The following modules are now automatically activated without having to
  362. add anything to haskell-mode-hook:
  363. haskell-font-lock (just turn on global-font-lock-mode).
  364. haskell-decl-scan (just bind `imenu' to some key).
  365. - In recent Emacsen, haskell-doc hooks into eldoc-mode.
  366. - haskell-hugs and haskell-ghci are superceded by inf-haskell.
  367. - Indentation rules have been improved when using layout inside parens/braces.
  368. - Symbols like -> and \ can be displayed as actual arrows and lambdas.
  369. See haskell-font-lock-symbols.
  370. - Tweaks to the font-lock settings. Among other things paren-matching
  371. with things like \(x,y) should work correctly now.
  372. - New maintainer <monnier@gnu.org>.