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