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