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