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