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