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