]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
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

9 years agocompany-files-complete: Include mtime in the cache key
Dmitry Gutov [Sun, 28 Sep 2014 16:17:56 +0000 (20:17 +0400)]
company-files-complete: Include mtime in the cache key

9 years agoUpdate docstring, change words, bump copyright year
Dmitry Gutov [Sun, 28 Sep 2014 16:11:19 +0000 (20:11 +0400)]
Update docstring, change words, bump copyright year

9 years agocompany-files.el: Change regexp prefix
James Browder [Sun, 21 Sep 2014 22:52:53 +0000 (17:52 -0500)]
company-files.el: Change regexp prefix

* Fix Windows drive letters recognition.
* Complete relative paths, starting with ./ or ../.

9 years agocompany-post-command: Handle being called after quitting
Dmitry Gutov [Sun, 28 Sep 2014 03:10:22 +0000 (07:10 +0400)]
company-post-command: Handle being called after quitting

Fixes #190

9 years agocompany-create-match-predicate: Just replace the predicate
Dmitry Gutov [Sun, 28 Sep 2014 00:57:05 +0000 (04:57 +0400)]
company-create-match-predicate: Just replace the predicate

Building on the previous one is ridiculous, because the main use case is
company-search-mode, and any previous search string is a prefix of the current
one.  With company-filter-candidates, it was especially wasteful.

9 years agocompany-search-printing-char: Don't update company-search-string when no match
Dmitry Gutov [Sun, 28 Sep 2014 00:39:57 +0000 (04:39 +0400)]
company-search-printing-char: Don't update company-search-string when no match

Fixes #194

9 years agocompany--insert-candidate: Don't use `insert-before-markers'
Dmitry Gutov [Mon, 22 Sep 2014 03:10:10 +0000 (07:10 +0400)]
company--insert-candidate: Don't use `insert-before-markers'

Fixes #189.

Apparently, it's enough to pass t REAR-ADVANCE agrument to `make-overlay' when
creating the pseudo-tooltip overlay.

9 years agocompany-gtags: Don't try to complete in non-file buffers
Dmitry Gutov [Fri, 19 Sep 2014 03:02:48 +0000 (07:02 +0400)]
company-gtags: Don't try to complete in non-file buffers

9 years agoMerge pull request #191 from jorgenschaefer/master
Dmitry Gutov [Sat, 20 Sep 2014 21:10:50 +0000 (01:10 +0400)]
Merge pull request #191 from jorgenschaefer/master

Use read-kbd-macro instead of kbd as a function.

9 years agoUse read-kbd-macro instead of kbd as a function.
Jorgen Schaefer [Sat, 20 Sep 2014 20:08:41 +0000 (22:08 +0200)]
Use read-kbd-macro instead of kbd as a function.

In Emacs 24.1 and 24.2, kbd was a macro and not a function,
so that a call like (kbd (format ...)) would fail. Use
read-kbd-macro instead, which works for all Emacsen in 24.x.

9 years agoFix company-yasnippet compilation without yasnippet
Dmitry Gutov [Fri, 19 Sep 2014 02:39:48 +0000 (06:39 +0400)]
Fix company-yasnippet compilation without yasnippet

Closes #187

9 years agoRelease 0.8.5
Dmitry Gutov [Sun, 14 Sep 2014 07:04:04 +0000 (11:04 +0400)]
Release 0.8.5

9 years agocompany-pseudo-tooltip-guard: Handle wrapped lines
Dmitry Gutov [Sat, 13 Sep 2014 22:39:06 +0000 (02:39 +0400)]
company-pseudo-tooltip-guard: Handle wrapped lines

9 years agocompany-pseudo-tooltip-show: Improve tooltip-guard results
Dmitry Gutov [Sat, 13 Sep 2014 22:34:28 +0000 (02:34 +0400)]
company-pseudo-tooltip-show: Improve tooltip-guard results

9 years agocompany--insert-candidate: Insert before overlays that begin at point
Dmitry Gutov [Sat, 13 Sep 2014 20:33:06 +0000 (00:33 +0400)]
company--insert-candidate: Insert before overlays that begin at point

That fixes `company-with-candidate-inserted' to work with the way the
pseudo-tooltip overlay is now rendered (at the end of the current line).

9 years agoRelease 0.8.4
Dmitry Gutov [Sat, 13 Sep 2014 12:15:02 +0000 (16:15 +0400)]
Release 0.8.4

9 years agocompany--posn-col-row: add comment
Dmitry Gutov [Sat, 13 Sep 2014 12:14:46 +0000 (16:14 +0400)]
company--posn-col-row: add comment

9 years agoOnly use company-ropemacs when ropemacs-mode is on
Dmitry Gutov [Sat, 13 Sep 2014 12:13:06 +0000 (16:13 +0400)]
Only use company-ropemacs when ropemacs-mode is on

Step 1 of moving company-ropemacs out, #159.

9 years agocompany-with-candidate-inserted: restore buffer modification status
Dmitry Gutov [Sat, 13 Sep 2014 11:57:30 +0000 (15:57 +0400)]
company-with-candidate-inserted: restore buffer modification status