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