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