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

9 years agocompany-gtags-modes: Turn into defcustom
Dmitry Gutov [Tue, 9 Sep 2014 01:08:03 +0000 (05:08 +0400)]
company-gtags-modes: Turn into defcustom

Closes #178.

9 years agocompany-complete-number: Make interactive, read the pressed digit
Frank Fischer [Tue, 9 Sep 2014 00:22:46 +0000 (04:22 +0400)]
company-complete-number: Make interactive, read the pressed digit

Fixes #177.

9 years agoUse posn-actual-col-row to calculate the row
Dmitry Gutov [Tue, 9 Sep 2014 00:01:42 +0000 (04:01 +0400)]
Use posn-actual-col-row to calculate the row

Approximation by `posn-col-row' is not good enough, particularly in the Log-Edit
buffer.

9 years agoDon't use end-of-buffer-workaround
Dmitry Gutov [Mon, 8 Sep 2014 23:41:27 +0000 (03:41 +0400)]
Don't use end-of-buffer-workaround

Instead, start the overlay one character earlier, if not at eob.

That also improves the situation with fci-mode (#180).

9 years agoAdjust for debbugs:18384 being fixed now
Dmitry Gutov [Tue, 2 Sep 2014 23:56:13 +0000 (03:56 +0400)]
Adjust for debbugs:18384 being fixed now

9 years agoAdd test for the previous commit
Dmitry Gutov [Mon, 1 Sep 2014 22:09:59 +0000 (02:09 +0400)]
Add test for the previous commit

Was broken in d65c53e.

9 years agocompany--posn-col-row: incf instead of decf for non-nil h-l-f
Dmitry Gutov [Mon, 1 Sep 2014 21:25:58 +0000 (01:25 +0400)]
company--posn-col-row: incf instead of decf for non-nil h-l-f

http://debbugs.gnu.org/18384

9 years agocompany--posn-col-row: use `posn-col-row'
Dmitry Gutov [Mon, 1 Sep 2014 19:07:34 +0000 (23:07 +0400)]
company--posn-col-row: use `posn-col-row'

Fixes #175

9 years agocompany-begin-commands: include some cc-mode commands
Dmitry Gutov [Sat, 30 Aug 2014 23:44:48 +0000 (03:44 +0400)]
company-begin-commands: include some cc-mode commands

Closes #174

9 years agoBump the version
Dmitry Gutov [Wed, 27 Aug 2014 01:11:33 +0000 (05:11 +0400)]
Bump the version

9 years agocompany-dabbrev-code-ignore-case: rephrase a bit
Dmitry Gutov [Wed, 27 Aug 2014 01:10:51 +0000 (05:10 +0400)]
company-dabbrev-code-ignore-case: rephrase a bit

9 years agoDocument `company-dabbrev-ignore-case' better
Dmitry Gutov [Wed, 27 Aug 2014 01:09:52 +0000 (05:09 +0400)]
Document `company-dabbrev-ignore-case' better

Closes #134

9 years agoUse `company-dabbrev-ignore-case' when searching for candidates
Dmitry Gutov [Wed, 27 Aug 2014 01:04:24 +0000 (05:04 +0400)]
Use `company-dabbrev-ignore-case' when searching for candidates

9 years agoFix WRT `keep-prefix'
Dmitry Gutov [Wed, 27 Aug 2014 01:02:39 +0000 (05:02 +0400)]
Fix WRT `keep-prefix'

9 years agocompany--capf-data: use caching
Dmitry Gutov [Sun, 24 Aug 2014 16:51:52 +0000 (20:51 +0400)]
company--capf-data: use caching

#170

9 years agoAdd a comment
Dmitry Gutov [Sat, 23 Aug 2014 23:05:37 +0000 (03:05 +0400)]
Add a comment

9 years agocompany-pseudo-tooltip-unhide: fix rendering at eob
Dmitry Gutov [Sat, 23 Aug 2014 22:56:47 +0000 (02:56 +0400)]
company-pseudo-tooltip-unhide: fix rendering at eob

Regression from bb0a1d5

9 years agocompany-pseudo-tooltip-unhide: use local vars
Dmitry Gutov [Sat, 23 Aug 2014 22:52:43 +0000 (02:52 +0400)]
company-pseudo-tooltip-unhide: use local vars

9 years agoSkip company-buffer-lines tests in terminal
Dmitry Gutov [Mon, 18 Aug 2014 02:26:06 +0000 (06:26 +0400)]
Skip company-buffer-lines tests in terminal

They seem to freeze.

9 years agocompany-input-noop still seems to be needed in the terminal
Dmitry Gutov [Mon, 18 Aug 2014 02:17:02 +0000 (06:17 +0400)]
company-input-noop still seems to be needed in the terminal

9 years agocompany-buffer-lines: handle multiline display better
Dmitry Gutov [Mon, 18 Aug 2014 01:51:10 +0000 (05:51 +0400)]
company-buffer-lines: handle multiline display better

Improves #136.

9 years agoFix the tests
Dmitry Gutov [Mon, 18 Aug 2014 01:23:27 +0000 (05:23 +0400)]
Fix the tests

9 years agoWork around http://debbugs.gnu.org/18285
Dmitry Gutov [Mon, 18 Aug 2014 01:14:17 +0000 (05:14 +0400)]
Work around http://debbugs.gnu.org/18285

Closes #136

9 years agoUse `posn-actual-col-row' to determine the current col and row
Dmitry Gutov [Mon, 18 Aug 2014 00:49:19 +0000 (04:49 +0400)]
Use `posn-actual-col-row' to determine the current col and row

Issue #136 WIP.

Reverting d21bb454dcfacda8808b596e4bca85a53a99eabf, for the most part,
http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00361.html.

9 years agoTweak wording
Dmitry Gutov [Mon, 11 Aug 2014 17:56:34 +0000 (21:56 +0400)]
Tweak wording

9 years agoUse window-screen-lines when available
Dmitry Gutov [Wed, 6 Aug 2014 04:35:00 +0000 (08:35 +0400)]
Use window-screen-lines when available

Fixes #160

9 years agoMention company-tooltip-search in NEWS
Dmitry Gutov [Tue, 5 Aug 2014 00:13:14 +0000 (04:13 +0400)]
Mention company-tooltip-search in NEWS

9 years agoMerge pull request #164 from holomorph/tooltip-search
Dmitry Gutov [Mon, 4 Aug 2014 23:05:56 +0000 (03:05 +0400)]
Merge pull request #164 from holomorph/tooltip-search

Assign a face for the tooltip search string

9 years agoAssign a face for the tooltip search string
Mark Oteiza [Mon, 4 Aug 2014 22:21:55 +0000 (18:21 -0400)]
Assign a face for the tooltip search string

9 years agocompany--window-inner-height: remove, use `window-body-height'
Dmitry Gutov [Sun, 3 Aug 2014 22:38:37 +0000 (02:38 +0400)]
company--window-inner-height: remove, use `window-body-height'

Available since Emacs 24.1.

Fixes #160

9 years agoUse `window-body-width' instead of the now-alias `window-width'
Dmitry Gutov [Sun, 3 Aug 2014 22:34:29 +0000 (02:34 +0400)]
Use `window-body-width' instead of the now-alias `window-width'

9 years agocompany--show-inline-p: never ignore case
Dmitry Gutov [Sun, 3 Aug 2014 21:25:57 +0000 (01:25 +0400)]
company--show-inline-p: never ignore case

Fixes #162