]> code.delx.au - gnu-emacs-elpa/blob - NEWS.md
Fix a test (after adding `should`)
[gnu-emacs-elpa] / NEWS.md
1 # History of user-visible changes
2
3 ## Next
4
5 * When duplicates are removed, completions without annotations are also removed
6 in favor of completions with equal names that have annotations (experimental
7 change) ([#432](https://github.com/company-mode/company-mode/issues/432)).
8 * New user option `company-etags-everywhere`.
9 * `company-yasnippet` supports `yas-key-syntaxes` better. But we use them in the
10 reverse order, preferring the longest key prefix that matches anything. And we
11 only consider trigger key prefixes that are at least as long as the symbol at
12 point, which effectively means skipping the `"w"` element
13 ([#422](https://github.com/company-mode/company-mode/issues/422)).
14 * New user option `company-search-regexp-function`.
15 * Completion is not started automatically when a keyboard macro is being
16 recorded ([#374](https://github.com/company-mode/company-mode/issues/374)).
17 * New command `company-indent-or-complete-common`.
18 * Backend command `doc-buffer` now can also return a cons of buffer and window
19 start position.
20 * Backend command `ignore-case` has been documented.
21 * `company-template-c-like-templatify` does not replace the default argument
22 values with `argN` anymore
23 ([#336](https://github.com/company-mode/company-mode/issues/336)). This
24 affects `company-clang` and all third-party backends that use this function.
25 * Likewise for `company-clang-objc-templatify`.
26 * `company-template-add-field` calling convention has changed.
27 * New user option `company-dabbrev-ignore-invisible`.
28 * `company-ropemacs` was removed. `ropemacs` supports completion via
29 `completion-at-point-functions` starting with version 0.8.
30 * `company-pysmell` was removed.
31 * `company-select-next`, `company-select-previous`,
32 `company-select-next-or-abort`, `company-select-previous-or-abort` and
33 `company-complete-common-or-cycle` accept a numeric argument.
34 * The documentation buffer window can be scrolled with the mouse wheel.
35 * New command `company-diag`. Use it in bug reports.
36
37 ## 2015-02-02 (0.8.10)
38
39 * New variable `company-lighter-base`.
40 * Better tracking of the current selection.
41 * Pressing `M-0`...`M-9` works in the search mode.
42 * Pressing `<up>` or `<down>` doesn't quit the search mode.
43
44 ## 2015-01-23 (0.8.9)
45
46 * New commands `company-next-page` and `company-previous-page`, remapping
47 `scroll-up-command` and `scroll-down-command` during completion.
48
49 ## 2015-01-13 (0.8.8)
50
51 * Pressing `M-n` or `M-p` doesn't quit the search mode.
52 * New command `company-complete-common-or-cycle`. No default binding.
53 * `company-search-toggle-filtering` replaced `company-search-kill-others`.
54 * Quitting the search mode resets the filtering.
55 * Pressing `backspace` in the search mode deletes the character at the end of
56 the search string.
57 * `company-semantic` displays function arguments as annotations.
58 * New user option, `company-bbdb-modes`.
59 * `company-show-numbers` and `company-complete-number` now use visual numbering
60 of the candidates, taking into account only the ones currently displayed.
61 * `company-complete-number` can be bound to keypad numbers directly, with or
62 without modifiers.
63 * `company-cmake` expands `<LANG>` and `<CONFIG>` placeholders inside variable
64 names.
65
66 ## 2014-10-15 (0.8.6)
67
68 * `company-clang` and `company-template-c-like-templatify` support templated
69 functions and arguments.
70 * `company-dabbrev` ignores "uninteresting" buffers by default. Depends on the
71 new user option, `company-dabbrev-ignore-buffers`.
72 * `company-files` checks directory's last modification time.
73 * `company-files` supports relative paths and Windows drive letters.
74
75 ## 2014-08-13 (0.8.4)
76
77 * `company-ropemacs` is only used when `ropemacs-mode` is on.
78 * `company-gtags` is enabled in all `prog-mode` derivatives by default.
79 * `company-end-of-buffer-workaround` is not used anymore.
80 * `company-begin-commands` includes some of `cc-mode` commands.
81
82 ## 2014-08-27 (0.8.3)
83
84 * On Emacs 24.4 or newer, tooltip positioning takes line-spacing into account.
85 * New face `company-tooltip-search`, used for the search string in the tooltip.
86 * The default value of `company-dabbrev-minimum-length` is set to 4, independent
87 of the `company-minimum-prefix-length` value.
88
89 ## 2014-07-26 (0.8.2)
90
91 * New user option `company-occurrence-weight-function`, allowing to tweak the
92 behavior of the transformer `company-sort-by-occurrence`.
93 * Setting `company-idle-delay` to `t` is deprecated. Use the value 0 instead.
94
95 ## 2014-07-01 (0.8.1)
96
97 * `company-require-match` is not in effect when the new input doesn't continue
98 the previous prefix, and that prefix was a match.
99 * The meaning of `company-begin-commands` value t has slightly changed.
100 * New transformer, `company-sort-by-backend-importance`.
101 * When grouped back-ends are used, the back-end of the current candidate is
102 indicated in the mode-line, enclosed in angle brackets.
103 * New user option `company-gtags-insert-arguments`, t by default.
104 * `company-css` knows about CSS3.
105 * `company-gtags` supports `meta` and `annotation`.
106 * User option `company-dabbrev-code-other-buffers` can have a new value: `code`.
107 * New user option `company-tooltip-flip-when-above`.
108 * `company-clang` uses the standard header search paths by default.
109 * `C-h` is bound to `company-show-doc-buffer` (like `f1`).
110
111 ## 2014-04-19 (0.8.0)
112
113 * `company-capf` is included in `company-backends` in any supported Emacs
114 version (>= 24.1). `company-elisp` goes before it if Emacs version is < 24.4.
115 * New user option `company-clang-insert-arguments`, by default t.
116 * Default value of `company-idle-delay` lowered to `0.5`.
117 * New user option `company-tooltip-minimum-width`, by default 0.
118 * New function `company-grab-symbol-cons`.
119 * `company-clang` fetches completion candidates asynchronously.
120 * Added support for asynchronous back-ends (experimental).
121 * Support for back-end command `crop` dropped (it was never documented).
122 * Support for Emacs 23 dropped.
123 * New user option `company-abort-manual-when-too-short`.
124
125 ## 2014-03-25 (0.7.3)
126
127 * New user option `company-etags-ignore-case`.
128
129 ## 2014-03-19 (0.7.2)
130
131 * Support for Emacs 22 officially dropped.
132 * `company-clang` supports `indent-tabs-mode` and multibyte chars before point.
133
134 ## 2014-03-18 (0.7.1)
135
136 * Group of back-ends can now contain keyword `:with`, which makes all back-ends
137 after it to be skipped for prefix calculation.
138 * New function `company-version`.
139 * New bundled back-end `company-yasnippet`.
140 * Completion candidates returned from grouped back-ends are tagged to remember
141 which back-end each came from.
142 * New user option `company-tooltip-align-annotations`, off by default.
143 * New bundled back-end `company-bbdb`.
144
145 ## 2014-02-18 (0.7)
146
147 * New back-end command, `match`, for non-prefix completion.
148 * New user option `company-continue-commands`. The default value aborts
149 completion on buffer saving commands.
150 * New back-end command, `annotation`, for text displayed inline in the popup
151 that's not a part of completion candidate.
152 * `company-capf`, `company-clang` and `company-eclim` use `annotation`.
153 * `company-preview*` faces inherit from `company-tooltip-selection` and
154 `company-tooltip-common-selection` on light themes.
155 * New user option `company-transformers`.
156 * First transformer, `company-sort-by-occurrence`.
157 * New user options controlling `company-dabbrev` and `company-dabbrev-code`.
158
159 ## 2014-01-25 (0.6.14)
160
161 * The tooltip front-end is rendered with scrollbar, controlled by the user
162 option `company-tooltip-offset-display`.
163 * The tooltip front-end is rendered with margins, controlled by the user option
164 `company-tooltip-margin`.
165
166 ## 2014-01-14 (0.6.13)
167
168 * Experimental support for non-prefix completion.
169 * Starting with Emacs version 24.4, `company-capf` is included in
170 `company-backends` and replaces `company-elisp`.
171 * `company-capf` supports completion tables that return non-default boundaries.
172 * `company-elisp` is enabled in `inferior-emacs-lisp-mode`.
173
174 ## 2013-09-28 (0.6.12)
175
176 * Default value of `company-begin-commands` changed to `(self-insert-command)`.
177 * Futher improvement in `org-indent-mode` compatibility.
178
179 ## 2013-08-18 (0.6.11)
180
181 * `company-template-c-like-templatify` removes all text after closing paren, for
182 use in backends that display additional info there.
183 * `company-cmake` is now bundled.
184 * Better `linum` compatibility in Emacs <= 24.2.
185 * `company-global-modes`: New option.
186
187 ## 2013-05-26 (0.6.10)
188
189 * Plays nicer with `org-indent-mode`.
190 * Works in horizontally scrolled windows.
191
192 ## 2013-05-10 (0.6.9)
193
194 * `company-capf` respects `:exit-function` completion property.
195 * `company-backends`: `prefix` command can return `t` in the cdr.
196 * `company-clang-begin-after-member-access`: New option.
197 * Mouse click outside the tooltip aborts completion.
198 * `company-clang` uses standard input to pass the contents of current buffer to
199 Clang 2.9+, otherwise saves the buffer and passes the path to the file.
200 * `company-clang-auto-save` option has been removed.
201 * Better interaction with `outline-minor-mode`.
202 * `company-dabbrev-code` supports all `prog-mode` derivatives.
203
204 ## 2013-04-16 (0.6.8)
205
206 * `company-auto-complete` is disabled by default.
207 * `company-auto-complete-chars` default value includes fewer syntax classes.
208 * In expanded function calls, arguments skipped by the user default to "argN".
209 * `company-eclim` and `company-clang` do not strip argument types from fields.
210 * `company-clang` expands function calls for all three modes now.
211 * `company-clang` supports `c++-mode` by default.
212
213 ## 2013-04-05 (0.6.7)
214
215 * Two `company-elisp` tweaks.
216
217 ## 2013-04-01 (0.6.6)
218
219 * `company-elisp` doesn't offer completions when typing the name and the
220 arguments of a new function or macro definition, allowing to fall back to
221 other back-ends like `company-dabbrev-code`.
222
223 ## 2013-03-30 (0.6.5)
224
225 * Fixed keybindings when running in a terminal.
226 * `company-elisp-show-locals-first`: new customizable variable.
227 * `company-elisp` shows more accurate and comprehensive candidates list.
228
229 ## 2013-03-26 (0.6.4)
230
231 * `company-eclim` shows valid completions after an opening paren.
232 * Expanded template does not get removed until the point leaves it. After your
233 input the last argument in a method call expanded by `company-eclim`, you can
234 press `<tab>` once more, to jump after the closing paren. No other bundled
235 back-ends are affected.
236
237 ## 2013-03-25 (0.6.3)
238
239 * New tooltip face colors used on themes with light background.
240 * Pseudo-tooltip stays up-to-date when text is inserted after the point.
241 * Fixed `company-require-match` mechanics.
242
243 ## 2013-03-24 (0.6.2)
244
245 * `global-company-mode` is now autoloaded.
246
247 ## 2013-03-23 (0.6.1)
248
249 * Documented `init` and `post-completion` back-end commands.
250 * `company-eclim` and `company-clang` only expand the template on explicit user
251 action (such as `company-complete-{selection,number,mouse}`).
252 * `company-template` has some breaking changes. When point is at one of the
253 fields, it's displayed at the beginning, not right after it; `<tab>` jumps to
254 the next field, `forward-word` and `subword-forward` remappings are removed;
255 when you jump to the next field, if the current one hasn't been edited, the
256 overlay gets removed but the text remains.
257 * `company-eclim` shows method overloads and expands templates for calls.
258 * `company-clang-objc-templatify` does not insert spaces after colons anymore.
259 * `company-clang` is now only initialized in supported buffers.
260 So, no error messages if you don't have Clang until you open a C file.
261 * `company-clang` recognizes Clang included in recent Xcode.
262 * New commands `company-select-previous-or-abort` and
263 `company-select-next-or-abort`, bound to `<up>` and `<down>`.
264
265 ## 2013-03-19 (0.6)
266
267 * Across-the-board bugfixing.
268 * `company-pysmell` is not used by default anymore.
269 * Loading of `nxml`, `semantic`, `pymacs` and `ropemacs` is now deferred.
270 * Candidates from grouped back-ends are merged more conservatively: only
271 back-ends that return the same prefix at point are used.
272 * `company-clang` now shows meta information, too.
273 * Some performance improvements.
274 * Fixed two old tooltip annoyances.
275 * Instead of `overrriding-terminal-local-map`, we're now using
276 `emulation-mode-map-alists` (experimental). This largely means that when the
277 completion keymap is active, other minor modes' keymaps are still used, so,
278 for example, it's not as easy to accidentally circumvent `paredit-mode`
279 when it's enabled.
280 * `company-elisp` has seen some improvements.
281 * Added `company-capf`: completion adapter using
282 `completion-at-point-functions`. (Stefan Monnier)
283 * Clang completions now include macros and are case-sensitive.
284 * Switching between tag files now works correctly with `company-etags`.
285
286 ## 2010-02-24 (0.5)
287
288 * `company-ropemacs` now provides location and docs. (Fernando H. Silva)
289 * Added `company-with-candidate-inserted` macro.
290 * Added `company-clang` back-end.
291 * Added new mechanism for non-consecutive insertion.
292 (So far only used by clang for ObjC.)
293 * The semantic back-end now shows meta information for local symbols.
294 * Added compatibility for CEDET in Emacs 23.2 and from CVS. (Oleg Andreev)
295
296 ## 2009-05-07 (0.4.3)
297
298 * Added `company-other-backend`.
299 * Idle completion no longer interrupts multi-key command input.
300 * Added `company-ropemacs` and `company-pysmell` back-ends.
301
302 ## 2009-04-25 (0.4.2)
303
304 * In C modes . and -> now count towards `company-minimum-prefix-length`.
305 * Reverted default front-end back to `company-preview-if-just-one-frontend`.
306 * The pseudo tooltip will no longer be clipped at the right window edge.
307 * Added `company-tooltip-minimum`.
308 * Windows compatibility fixes.
309
310 ## 2009-04-19 (0.4.1)
311
312 * Added `global-company-mode`.
313 * Performance enhancements.
314 * Added `company-eclim` back-end.
315 * Added safer workaround for Emacs `posn-col-row` bug.
316
317 ## 2009-04-18 (0.4)
318
319 * Automatic completion is now aborted if the prefix gets too short.
320 * Added option `company-dabbrev-time-limit`.
321 * `company-backends` now supports merging back-ends.
322 * Added back-end `company-dabbrev-code` for generic code.
323 * Fixed `company-begin-with`.
324
325 ## 2009-04-15 (0.3.1)
326
327 * Added 'stop prefix to prevent dabbrev from completing inside of symbols.
328 * Fixed issues with tabbar-mode and line-spacing.
329 * Performance enhancements.
330
331 ## 2009-04-12 (0.3)
332
333 * Added `company-begin-commands` option.
334 * Added abbrev, tempo and Xcode back-ends.
335 * Back-ends are now interactive. You can start them with M-x backend-name.
336 * Added `company-begin-with` for starting company from elisp-code.
337 * Added hooks.
338 * Added `company-require-match` and `company-auto-complete` options.
339
340 ## 2009-04-05 (0.2.1)
341
342 * Improved Emacs Lisp back-end behavior for local variables.
343 * Added `company-elisp-detect-function-context` option.
344 * The mouse can now be used for selection.
345
346 ## 2009-03-22 (0.2)
347
348 * Added `company-show-location`.
349 * Added etags back-end.
350 * Added work-around for end-of-buffer bug.
351 * Added `company-filter-candidates`.
352 * More local Lisp variables are now included in the candidates.
353
354 ## 2009-03-21 (0.1.5)
355
356 * Fixed elisp documentation buffer always showing the same doc.
357 * Added `company-echo-strip-common-frontend`.
358 * Added `company-show-numbers` option and M-0 ... M-9 default bindings.
359 * Don't hide the echo message if it isn't shown.
360
361 ## 2009-03-20 (0.1)
362
363 * Initial release.