]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
9 years agocompany-search-map: Add company-complete-number bindings
Dmitry Gutov [Sun, 1 Feb 2015 05:42:48 +0000 (07:42 +0200)]
company-search-map: Add company-complete-number bindings

#292

9 years agoTrack the current selection better
Dmitry Gutov [Sun, 1 Feb 2015 05:35:20 +0000 (07:35 +0200)]
Track the current selection better

* company-update-candidates: Restore selection even if it's 0. Don't rely on
  lexical sorting. Compare annotations. Maybe reset company-selection-changed.

* company-search-mode, company-search-abort: Save and restore the value of
  company-selection-changed.

#292

9 years agocompany-search-map: Include <up> and <down> bindings
Dmitry Gutov [Sun, 1 Feb 2015 04:02:54 +0000 (06:02 +0200)]
company-search-map: Include <up> and <down> bindings

#292

9 years agoAdd a comment
Dmitry Gutov [Fri, 30 Jan 2015 16:52:51 +0000 (18:52 +0200)]
Add a comment

9 years agoFix version
Dmitry Gutov [Wed, 28 Jan 2015 16:08:13 +0000 (18:08 +0200)]
Fix version

9 years agoEnable company-search-map in company-search-mode body
Dmitry Gutov [Wed, 28 Jan 2015 16:06:02 +0000 (18:06 +0200)]
Enable company-search-map in company-search-mode body

Fixes #289

9 years agoBump the version
Dmitry Gutov [Thu, 22 Jan 2015 23:02:35 +0000 (01:02 +0200)]
Bump the version

9 years agoAdd company-next-page and company-previous-page
Dmitry Gutov [Thu, 22 Jan 2015 23:01:23 +0000 (01:01 +0200)]
Add company-next-page and company-previous-page

Resolves #283

9 years agoUpdate copyright years
Dmitry Gutov [Thu, 22 Jan 2015 21:48:25 +0000 (23:48 +0200)]
Update copyright years

9 years agocompany-ispell: Filter returned candidates locally
Dmitry Gutov [Thu, 22 Jan 2015 21:47:05 +0000 (23:47 +0200)]
company-ispell: Filter returned candidates locally

Resolves #284

9 years agocompany--create-lines: Handle keep-prefix with multiple-width chars in prefix
Dmitry Gutov [Fri, 16 Jan 2015 01:51:59 +0000 (04:51 +0300)]
company--create-lines: Handle keep-prefix with multiple-width chars in prefix

9 years ago* packages/company/test/clang-tests.el: Add copyright notice
Stefan Monnier [Thu, 15 Jan 2015 11:36:27 +0000 (14:36 +0300)]
* packages/company/test/clang-tests.el: Add copyright notice

9 years agoBump the version in NEWS
Dmitry Gutov [Tue, 13 Jan 2015 03:52:57 +0000 (06:52 +0300)]
Bump the version in NEWS

9 years agoRelease 0.8.8
Dmitry Gutov [Tue, 13 Jan 2015 02:41:38 +0000 (05:41 +0300)]
Release 0.8.8

9 years agoImprove duplicates removal
Dmitry Gutov [Tue, 13 Jan 2015 02:28:20 +0000 (05:28 +0300)]
Improve duplicates removal

Remove items with equal annotations, even when separated by item(s) with
different annotation(s). Provided the string values match, of course.

9 years agoSplit company--process-candidates into -pre and -post
Dmitry Gutov [Mon, 12 Jan 2015 17:06:31 +0000 (20:06 +0300)]
Split company--process-candidates into -pre and -post

* Call the -pre function before saving to cache.
* Copy the candidates list first thing inside the -post function.
* Replace `company-apply-predicate' with `cl-delete-if-not': it's faster.

Fixes #275.

9 years agocompany-search-delete-char: Use `ding'
Dmitry Gutov [Mon, 12 Jan 2015 08:41:24 +0000 (11:41 +0300)]
company-search-delete-char: Use `ding'

9 years agoReplace `cl-plusp' usages with `string='
Dmitry Gutov [Mon, 12 Jan 2015 08:40:31 +0000 (11:40 +0300)]
Replace `cl-plusp' usages with `string='

9 years agocompany-search-abort: Move predicate reset to the mode function
Dmitry Gutov [Sun, 11 Jan 2015 19:49:54 +0000 (22:49 +0300)]
company-search-abort: Move predicate reset to the mode function

9 years agoWork around http://debbugs.gnu.org/19553
Dmitry Gutov [Sat, 10 Jan 2015 06:26:53 +0000 (09:26 +0300)]
Work around http://debbugs.gnu.org/19553

Fixes #274

9 years agoFixup a test
Dmitry Gutov [Sat, 10 Jan 2015 06:24:46 +0000 (09:24 +0300)]
Fixup a test

9 years agoSimplify NEWS entry
Dmitry Gutov [Fri, 9 Jan 2015 21:16:03 +0000 (00:16 +0300)]
Simplify NEWS entry

9 years agocompany-search-map: Add M-n and M-p bindings
Dmitry Gutov [Fri, 9 Jan 2015 20:36:13 +0000 (23:36 +0300)]
company-search-map: Add M-n and M-p bindings

9 years agocompany-fill-propertize: Don't highlight match beg till common part
Dmitry Gutov [Fri, 9 Jan 2015 14:24:32 +0000 (17:24 +0300)]
company-fill-propertize: Don't highlight match beg till common part

It's more confusing than useful. We already highlight the common part.

9 years agoAdd company-complete-common-or-cycle
Dmitry Gutov [Fri, 9 Jan 2015 12:51:51 +0000 (15:51 +0300)]
Add company-complete-common-or-cycle

9 years agoUpdate NEWS.md
Dmitry Gutov [Fri, 9 Jan 2015 04:18:34 +0000 (07:18 +0300)]
Update NEWS.md

9 years agoIntroduce `company-search-toggle-filtering'
Dmitry Gutov [Fri, 9 Jan 2015 04:14:31 +0000 (07:14 +0300)]
Introduce `company-search-toggle-filtering'

Plus calculate-candidates/update-candidates cleanup.

It's not good to save processed candidates list to the cache. `copy-sequence' is
the price for neater code.

9 years agoPrivatize some search functions (and a var)
Dmitry Gutov [Thu, 8 Jan 2015 19:54:37 +0000 (22:54 +0300)]
Privatize some search functions (and a var)

9 years agocompany-search-old-map: Remove, unused
Dmitry Gutov [Thu, 8 Jan 2015 19:50:54 +0000 (22:50 +0300)]
company-search-old-map: Remove, unused

9 years agoDon't repeat search with empty string
Dmitry Gutov [Thu, 8 Jan 2015 19:17:08 +0000 (22:17 +0300)]
Don't repeat search with empty string

9 years agocompany-search-delete-char: New command
Dmitry Gutov [Thu, 8 Jan 2015 19:02:33 +0000 (22:02 +0300)]
company-search-delete-char: New command

9 years agocompany-search-map: Support keypad numbers
Dmitry Gutov [Thu, 8 Jan 2015 18:21:45 +0000 (21:21 +0300)]
company-search-map: Support keypad numbers

Fixes #273

9 years agocompany--continue-failed: Don't burp on `stop'
Dmitry Gutov [Thu, 8 Jan 2015 17:09:06 +0000 (20:09 +0300)]
company--continue-failed: Don't burp on `stop'

#273

9 years agoRemove ineffective change from c6e9fbad312fc62876d40032a84a94439a055d05
Dmitry Gutov [Wed, 7 Jan 2015 18:26:09 +0000 (21:26 +0300)]
Remove ineffective change from c6e9fbad312fc62876d40032a84a94439a055d05

The strings before " : " should only contain function names.

9 years agoSupport template functions in company-clang annotations
Dmitry Gutov [Wed, 7 Jan 2015 17:49:47 +0000 (20:49 +0300)]
Support template functions in company-clang annotations

Fixes #271

9 years agoAdd .elpaignore
Dmitry Gutov [Wed, 7 Jan 2015 16:05:22 +0000 (19:05 +0300)]
Add .elpaignore

9 years agoReorganize tests layout
Dmitry Gutov [Wed, 7 Jan 2015 16:04:39 +0000 (19:04 +0300)]
Reorganize tests layout

9 years agoDon't idle-begin when company-candidates is non-nil
Dmitry Gutov [Fri, 2 Jan 2015 23:26:37 +0000 (01:26 +0200)]
Don't idle-begin when company-candidates is non-nil

That should prevent bugs like ensime/ensime-server#754 in the future.

9 years agoClear out unused variable warnings
Dmitry Gutov [Fri, 2 Jan 2015 21:41:41 +0000 (23:41 +0200)]
Clear out unused variable warnings

9 years ago#267 follow-up fixes
Dmitry Gutov [Tue, 30 Dec 2014 16:48:20 +0000 (18:48 +0200)]
#267 follow-up fixes

9 years agocompany-preview-show-at-point: Handle the pseudo-tooltip-overlay
Dmitry Gutov [Tue, 30 Dec 2014 04:29:53 +0000 (06:29 +0200)]
company-preview-show-at-point: Handle the pseudo-tooltip-overlay

Or rather, rendering at its beginning.

Fixes #267

9 years agoFix typo
Dmitry Gutov [Tue, 16 Dec 2014 12:32:53 +0000 (14:32 +0200)]
Fix typo

9 years agoAdd NEWS entry
Dmitry Gutov [Tue, 16 Dec 2014 12:26:17 +0000 (14:26 +0200)]
Add NEWS entry

9 years agocompany-semantic: add simple annotations
aerique [Tue, 16 Dec 2014 12:09:11 +0000 (13:09 +0100)]
company-semantic: add simple annotations

9 years agocompany--insert-candidate: Don't change buffer modification status unnecessarily
Dmitry Gutov [Sun, 14 Dec 2014 19:55:02 +0000 (21:55 +0200)]
company--insert-candidate: Don't change buffer modification status unnecessarily

Fixes #256

9 years agos/`bbdb'/BBDB
Dmitry Gutov [Thu, 11 Dec 2014 11:59:54 +0000 (13:59 +0200)]
s/`bbdb'/BBDB

9 years agoMerge pull request #252 from markus1189/bbdb-customize-group
Dmitry Gutov [Thu, 11 Dec 2014 11:54:41 +0000 (13:54 +0200)]
Merge pull request #252 from markus1189/bbdb-customize-group

Define customize group for company-bbdb

9 years agoDefine customize group for company-bbdb
Markus Hauck [Thu, 11 Dec 2014 08:40:05 +0000 (09:40 +0100)]
Define customize group for company-bbdb

9 years agoWork around http://debbugs.gnu.org/18384
Dmitry Gutov [Wed, 10 Dec 2014 22:55:28 +0000 (00:55 +0200)]
Work around http://debbugs.gnu.org/18384

Closes #249

9 years agocompany--window-width: Make it a defun
Dmitry Gutov [Mon, 8 Dec 2014 01:42:48 +0000 (03:42 +0200)]
company--window-width: Make it a defun

#249

9 years agocompany-clang--start-process: Bind process-adaptive-read-buffering to nil
Dmitry Gutov [Sun, 7 Dec 2014 02:59:15 +0000 (04:59 +0200)]
company-clang--start-process: Bind process-adaptive-read-buffering to nil

This speeds up completion on my system when a lot of candidates are returned, by
a factor of 2.5 (#228).

Inspired by https://github.com/Sarcasm/irony-mode/issues/131#issuecomment-60008803.

9 years agocompany-capf: Pass `sole' or 'finished' to exit-function, not `exact'
Dmitry Gutov [Thu, 4 Dec 2014 15:14:15 +0000 (17:14 +0200)]
company-capf: Pass `sole' or 'finished' to exit-function, not `exact'

9 years agocompany-backends: Add "to this command"
Dmitry Gutov [Thu, 4 Dec 2014 12:22:05 +0000 (14:22 +0200)]
company-backends: Add "to this command"

9 years agoEdit NEWS
Dmitry Gutov [Thu, 4 Dec 2014 09:52:15 +0000 (11:52 +0200)]
Edit NEWS

9 years agoAdd company-bbdb-modes defcustom
Dmitry Gutov [Wed, 3 Dec 2014 23:53:19 +0000 (01:53 +0200)]
Add company-bbdb-modes defcustom

9 years agocompany-backends: Clarify that responding to `match' is never mandatory
Dmitry Gutov [Mon, 24 Nov 2014 03:27:08 +0000 (05:27 +0200)]
company-backends: Clarify that responding to `match' is never mandatory

https://github.com/abingham/emacs-ycmd/pull/92

9 years agocompany-input-noop: Use a symbol for the dummy event binding
Dmitry Gutov [Sun, 23 Nov 2014 14:24:45 +0000 (16:24 +0200)]
company-input-noop: Use a symbol for the dummy event binding

Closes #241

9 years agoReword comment
Dmitry Gutov [Sun, 23 Nov 2014 03:50:45 +0000 (05:50 +0200)]
Reword comment

9 years agocompany-update-candidates: Fix WRT ignore-case
Dmitry Gutov [Sun, 23 Nov 2014 03:49:45 +0000 (05:49 +0200)]
company-update-candidates: Fix WRT ignore-case

9 years agocompany-update-candidates: Don't be fooled by a few prefix completions
Dmitry Gutov [Sun, 23 Nov 2014 03:36:15 +0000 (05:36 +0200)]
company-update-candidates: Don't be fooled by a few prefix completions

...among non-prefix ones.

Obsoletes https://github.com/abingham/emacs-ycmd/pull/92.

`company-complete-common' was likewise too eager; this fixes it.

9 years agocompany-files--complete: Ignore case on appropriate systems
Dmitry Gutov [Sat, 22 Nov 2014 00:32:01 +0000 (02:32 +0200)]
company-files--complete: Ignore case on appropriate systems

#240

9 years agoSupport multiple-width chars in annotations
Dmitry Gutov [Sun, 16 Nov 2014 20:45:53 +0000 (22:45 +0200)]
Support multiple-width chars in annotations

Fixes #230

9 years agoBump the version for development
Dmitry Gutov [Sun, 9 Nov 2014 01:56:09 +0000 (03:56 +0200)]
Bump the version for development

9 years agoShow numbers in tooltip irrespective of scrolling
Dmitry Gutov [Sun, 9 Nov 2014 01:55:22 +0000 (03:55 +0200)]
Show numbers in tooltip irrespective of scrolling

9 years agocompany-complete-number: Handle keypad events
Dmitry Gutov [Sat, 8 Nov 2014 21:12:25 +0000 (23:12 +0200)]
company-complete-number: Handle keypad events

9 years agocompany-bbdb: Use the whole line content after `: ' as prefix
Dmitry Gutov [Fri, 7 Nov 2014 13:52:55 +0000 (15:52 +0200)]
company-bbdb: Use the whole line content after `: ' as prefix

9 years agocompany-etags-file-table: Check that TAGS is not a directory
Dmitry Gutov [Fri, 7 Nov 2014 10:10:31 +0000 (12:10 +0200)]
company-etags-file-table: Check that TAGS is not a directory

#222

9 years agoUpdate NEWS
Dmitry Gutov [Thu, 6 Nov 2014 09:24:12 +0000 (11:24 +0200)]
Update NEWS

9 years agocompany-cmake: Support G77/Fortran distinction
Dmitry Gutov [Thu, 6 Nov 2014 09:22:01 +0000 (11:22 +0200)]
company-cmake: Support G77/Fortran distinction

#197

9 years agocompany-cmake--unexpand-candidate: Remove extra underscore
Dmitry Gutov [Thu, 6 Nov 2014 07:38:50 +0000 (09:38 +0200)]
company-cmake--unexpand-candidate: Remove extra underscore

9 years agoEliminate one `setq'
Dmitry Gutov [Thu, 6 Nov 2014 07:38:32 +0000 (09:38 +0200)]
Eliminate one `setq'

9 years agoInline company-cmake--find-match
Dmitry Gutov [Thu, 6 Nov 2014 07:30:47 +0000 (09:30 +0200)]
Inline company-cmake--find-match

9 years agoBump the year
Dmitry Gutov [Thu, 6 Nov 2014 07:22:20 +0000 (09:22 +0200)]
Bump the year

9 years agoMore cleanup
Dmitry Gutov [Thu, 6 Nov 2014 07:22:10 +0000 (09:22 +0200)]
More cleanup

9 years agos/Fortran/G77
Dmitry Gutov [Thu, 6 Nov 2014 07:16:46 +0000 (09:16 +0200)]
s/Fortran/G77

9 years agoClean up a little
Dmitry Gutov [Thu, 6 Nov 2014 07:16:17 +0000 (09:16 +0200)]
Clean up a little

9 years agoreplace <LANG> <CONFIG> tag in variables
Chen Bin [Sat, 25 Oct 2014 03:36:56 +0000 (14:36 +1100)]
replace <LANG> <CONFIG> tag in variables

9 years agocompany-capf: Distinguish between `finished' and `exact' in post-completion
Dmitry Gutov [Wed, 5 Nov 2014 07:44:12 +0000 (09:44 +0200)]
company-capf: Distinguish between `finished' and `exact' in post-completion

Fixes #217

9 years agoBump the version
Dmitry Gutov [Tue, 28 Oct 2014 01:32:31 +0000 (08:32 +0700)]
Bump the version

9 years agoNo need to set paren's syntax class after 55c3a66
Dmitry Gutov [Mon, 27 Oct 2014 01:29:50 +0000 (08:29 +0700)]
No need to set paren's syntax class after 55c3a66

9 years agocompany-template-c-like-templatify: Use current syntax-table as parent
Dmitry Gutov [Fri, 24 Oct 2014 19:19:07 +0000 (02:19 +0700)]
company-template-c-like-templatify: Use current syntax-table as parent

Because that unbreaks indentation (!) in c++-mode, for some unfathomable reason.

Fixes #212.

9 years agoDo minor cleanup
Stefan Monnier [Sat, 18 Oct 2014 19:30:51 +0000 (02:30 +0700)]
Do minor cleanup

* company-xcode.el (company-xcode-fetch): Avoid add-to-list on local var.

* company.el (company--window-height) (company--window-width):
  Move before first use.

9 years agoBump the version
Dmitry Gutov [Tue, 14 Oct 2014 22:17:11 +0000 (02:17 +0400)]
Bump the version

9 years agocompany-template-c-like-templatify: Support generics
Dmitry Gutov [Sun, 12 Oct 2014 20:41:36 +0000 (00:41 +0400)]
company-template-c-like-templatify: Support generics

Closes #201

9 years agoExtract regexp for buffers to ignore into a new var
Dmitry Gutov [Fri, 10 Oct 2014 05:09:43 +0000 (09:09 +0400)]
Extract regexp for buffers to ignore into a new var

#199

9 years agoCall `bbdb-search' inside `eval' block
Dmitry Gutov [Fri, 10 Oct 2014 02:22:34 +0000 (06:22 +0400)]
Call `bbdb-search' inside `eval' block

Fixes #202

9 years agoHandle nil company-common, in order not to bind it in tests
Dmitry Gutov [Wed, 8 Oct 2014 04:23:32 +0000 (08:23 +0400)]
Handle nil company-common, in order not to bind it in tests

9 years agocompany-fill-propertize: Use `string-width' on `company-common'
Dmitry Gutov [Wed, 8 Oct 2014 04:18:04 +0000 (08:18 +0400)]
company-fill-propertize: Use `string-width' on `company-common'

It also might contain multiple-width chars.

9 years agoMake new tests and interactive-only
Dmitry Gutov [Wed, 8 Oct 2014 03:57:26 +0000 (07:57 +0400)]
Make new tests and interactive-only

The display table is different in batch mode, I guess.

9 years agocompany-dabbrev--search: Ignore "uninteresting" buffers
Dmitry Gutov [Wed, 8 Oct 2014 03:29:16 +0000 (07:29 +0400)]
company-dabbrev--search: Ignore "uninteresting" buffers

Closes #199

9 years agocompany-call-backend-raw: Use `condition-case-unless-debug', too
Dmitry Gutov [Wed, 8 Oct 2014 03:17:16 +0000 (07:17 +0400)]
company-call-backend-raw: Use `condition-case-unless-debug', too

9 years agoHandle non-printable and multiple-width chars in completions
Dmitry Gutov [Wed, 8 Oct 2014 03:05:50 +0000 (07:05 +0400)]
Handle non-printable and multiple-width chars in completions

#199

9 years agocompany-clang-arguments: Fix default element value
Dmitry Gutov [Sun, 5 Oct 2014 13:19:13 +0000 (17:19 +0400)]
company-clang-arguments: Fix default element value

Closes #200

9 years agoUse `condition-case-unless-debug' more
Dmitry Gutov [Sat, 4 Oct 2014 10:09:39 +0000 (14:09 +0400)]
Use `condition-case-unless-debug' more

9 years agocompany-begin-commands: Add `orgtbl-self-insert-command'
Dmitry Gutov [Tue, 30 Sep 2014 14:12:07 +0000 (18:12 +0400)]
company-begin-commands: Add `orgtbl-self-insert-command'

Closes #196.

9 years agocompany-file--keys-match-p: Handle OLD being nil
Dmitry Gutov [Mon, 29 Sep 2014 01:30:41 +0000 (05:30 +0400)]
company-file--keys-match-p: Handle OLD being nil

9 years agocompany-files: Fix cache behavior for when we're backspacing
Dmitry Gutov [Sun, 28 Sep 2014 20:14:25 +0000 (00:14 +0400)]
company-files: Fix cache behavior for when we're backspacing

As discussed
in https://github.com/Lompik/company-mode/commit/528cd1b4c94e1d6b0009068be618bde2b27ec583#commitcomment-7953472.

9 years agocompany-files.el: Use the "private function" naming convention
Dmitry Gutov [Sun, 28 Sep 2014 20:05:04 +0000 (00:05 +0400)]
company-files.el: Use the "private function" naming convention

9 years agoUpdate a comment
Dmitry Gutov [Sun, 28 Sep 2014 17:11:05 +0000 (21:11 +0400)]
Update a comment

9 years agoUpdate NEWS; do the forgotten version bump
Dmitry Gutov [Sun, 28 Sep 2014 16:58:18 +0000 (20:58 +0400)]
Update NEWS; do the forgotten version bump