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