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