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