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