]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
10 years agoInitial support for asynchonous backends (#62)
Dmitry Gutov [Tue, 1 Apr 2014 01:33:24 +0000 (04:33 +0300)]
Initial support for asynchonous backends (#62)

10 years agoBump version
Dmitry Gutov [Sun, 30 Mar 2014 03:56:50 +0000 (06:56 +0300)]
Bump version

10 years agoAdd Package-Requires header
Dmitry Gutov [Sun, 30 Mar 2014 03:53:44 +0000 (06:53 +0300)]
Add Package-Requires header

10 years agoUse `condition-case-unless-debug'
Dmitry Gutov [Sun, 30 Mar 2014 03:51:53 +0000 (06:51 +0300)]
Use `condition-case-unless-debug'

10 years agoDrop support for `crop'
Dmitry Gutov [Sun, 30 Mar 2014 03:51:06 +0000 (06:51 +0300)]
Drop support for `crop'

10 years agoDrop Emacs 23 compatibility
Dmitry Gutov [Fri, 28 Mar 2014 19:15:27 +0000 (21:15 +0200)]
Drop Emacs 23 compatibility

* Replace `cl-case' with `pcase' in some places: it's more hip and somewhat faster.

10 years agoUpdate NEWS
Dmitry Gutov [Tue, 25 Mar 2014 23:02:22 +0000 (01:02 +0200)]
Update NEWS

Closes #81

10 years agoMinor tweaks
Dmitry Gutov [Tue, 25 Mar 2014 23:00:40 +0000 (01:00 +0200)]
Minor tweaks

* Rename --explicit-action to --manual-action.

* Add tests for '("foo" . t), remove some duplicating tests.

* Tweak the defcustom properties.

* Simplify `company--good-prefix-p' a bit more; handle t cdr better.

10 years agoTest new prefix behavior, option company-abort-manual-when-too-short
Ingo Lohmar [Tue, 25 Mar 2014 21:42:09 +0000 (22:42 +0100)]
Test new prefix behavior, option company-abort-manual-when-too-short

10 years agoMore robust and simpler logic in prefix test
Ingo Lohmar [Tue, 25 Mar 2014 21:41:49 +0000 (22:41 +0100)]
More robust and simpler logic in prefix test

10 years agoNew option company-abort-manual-when-too-short
Ingo Lohmar [Sun, 23 Mar 2014 10:10:41 +0000 (11:10 +0100)]
New option company-abort-manual-when-too-short

For manually started completions, backspacing to a prefix shorter
than company-minimum-prefix-length still shows completions.

Setting the new option to t turns that off, so that completions
disappear whenever your prefix gets too short.

With either value of the new option, even if the user changes the
selection, that no longer suffices to make any prefix valid in this
completion invocation.

10 years agoRelease 0.7.3
Dmitry Gutov [Tue, 25 Mar 2014 04:44:02 +0000 (06:44 +0200)]
Release 0.7.3

10 years agocompany-etags-ignore-case: simplify docstring and type; mention in NEWS
Dmitry Gutov [Mon, 24 Mar 2014 06:42:22 +0000 (08:42 +0200)]
company-etags-ignore-case: simplify docstring and type; mention in NEWS

10 years agoUse company-dabbrev-code-ignore-case when finding candidates
Ingo Lohmar [Sun, 23 Mar 2014 10:46:19 +0000 (11:46 +0100)]
Use company-dabbrev-code-ignore-case when finding candidates

10 years agoNew option company-etags-ignore-case
Ingo Lohmar [Sun, 23 Mar 2014 10:25:59 +0000 (11:25 +0100)]
New option company-etags-ignore-case

When t, find tags candidates case-insensitively

10 years agocompany-clang--build-location: try to be more careful with encoding
Dmitry Gutov [Fri, 21 Mar 2014 04:47:30 +0000 (06:47 +0200)]
company-clang--build-location: try to be more careful with encoding

http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00656.html

10 years agoRelease 0.7.2
Dmitry Gutov [Wed, 19 Mar 2014 03:27:33 +0000 (05:27 +0200)]
Release 0.7.2

Officially drop support for Emacs 22, it was broken in the last point release
anyway.

10 years agocompany-clang: handle multibyte chars between bol and point
Dmitry Gutov [Tue, 18 Mar 2014 13:44:36 +0000 (15:44 +0200)]
company-clang: handle multibyte chars between bol and point

Thanks @Sarcasm!

10 years agoFix #80
Dmitry Gutov [Tue, 18 Mar 2014 07:50:06 +0000 (09:50 +0200)]
Fix #80

10 years agoRelease 0.7.1
Dmitry Gutov [Tue, 18 Mar 2014 05:16:02 +0000 (07:16 +0200)]
Release 0.7.1

10 years agoRemove leftover debug statement
Dmitry Gutov [Tue, 18 Mar 2014 01:17:15 +0000 (03:17 +0200)]
Remove leftover debug statement

10 years agocompany-semantic: don't try to fetch doc for tag without buffer
Dmitry Gutov [Mon, 17 Mar 2014 19:17:36 +0000 (21:17 +0200)]
company-semantic: don't try to fetch doc for tag without buffer

Fixes #74

10 years agocompany-semantic--current-tags: make buffer-local
Dmitry Gutov [Sun, 16 Mar 2014 05:01:30 +0000 (07:01 +0200)]
company-semantic--current-tags: make buffer-local

10 years agoSupport the keyword :with
Dmitry Gutov [Sun, 16 Mar 2014 03:57:56 +0000 (05:57 +0200)]
Support the keyword :with

Closes #79

10 years agocompany-keywords-alist: add missing question mark
Dmitry Gutov [Sun, 16 Mar 2014 03:20:37 +0000 (05:20 +0200)]
company-keywords-alist: add missing question mark

10 years agocompany-yasnippet: autoload, to make it easy to use separately
Dmitry Gutov [Sun, 16 Mar 2014 03:11:17 +0000 (05:11 +0200)]
company-yasnippet: autoload, to make it easy to use separately

10 years agoDefine company-version
Dmitry Gutov [Fri, 14 Mar 2014 00:30:42 +0000 (02:30 +0200)]
Define company-version

Closes #77

10 years agocompany-sort-by-occurrence: do stable sorting
Dmitry Gutov [Thu, 13 Mar 2014 17:49:40 +0000 (19:49 +0200)]
company-sort-by-occurrence: do stable sorting

10 years agocompany-init-backend: don't try to initialize lambdas
Dmitry Gutov [Thu, 13 Mar 2014 17:07:08 +0000 (19:07 +0200)]
company-init-backend: don't try to initialize lambdas

10 years agoFix company-yasnippet summary
Dmitry Gutov [Tue, 11 Mar 2014 13:28:28 +0000 (15:28 +0200)]
Fix company-yasnippet summary

10 years agoHighlight last annotation character, too
Dmitry Gutov [Tue, 11 Mar 2014 13:25:23 +0000 (15:25 +0200)]
Highlight last annotation character, too

10 years agocompany--multi-backend-adapter: noop when arg is empty
Dmitry Gutov [Tue, 11 Mar 2014 13:13:16 +0000 (15:13 +0200)]
company--multi-backend-adapter: noop when arg is empty

10 years agoAdd company-yasnippet
Dmitry Gutov [Tue, 11 Mar 2014 12:59:14 +0000 (14:59 +0200)]
Add company-yasnippet

Closes #73

10 years agoTag candidates from grouped backends
Dmitry Gutov [Tue, 11 Mar 2014 06:32:25 +0000 (08:32 +0200)]
Tag candidates from grouped backends

Closes #25

10 years agoClear company-backend in company-auto-begin
Dmitry Gutov [Wed, 5 Mar 2014 05:55:02 +0000 (07:55 +0200)]
Clear company-backend in company-auto-begin

10 years agoFix indentation
Dmitry Gutov [Mon, 3 Mar 2014 04:30:07 +0000 (06:30 +0200)]
Fix indentation

10 years agoMerge pull request #70 from sadboy/master
Dmitry Gutov [Mon, 3 Mar 2014 04:17:54 +0000 (06:17 +0200)]
Merge pull request #70 from sadboy/master

Fix `args-out-of-bounds' error on formatting annotations when annotation start position is greater than the width of window.

10 years agoFix `args-out-of-bounds' error on formatting annotations when
Bo Lin [Sun, 2 Mar 2014 15:48:45 +0000 (10:48 -0500)]
Fix `args-out-of-bounds' error on formatting annotations when
annotation start position is greater than the width of window.

* company.el(company-fill-propertize): Check `ann-start' against
  `width' before adding annotation text properties.

* company-tests.el(company-create-lines-truncates-annotations):
  Add test case.

10 years agoRemove superfluous statement
Dmitry Gutov [Mon, 3 Mar 2014 02:36:27 +0000 (04:36 +0200)]
Remove superfluous statement

10 years agocompany-auto-begin: wrap `company-begin' in `condition-case-no-debug'
Dmitry Gutov [Mon, 24 Feb 2014 06:48:01 +0000 (08:48 +0200)]
company-auto-begin: wrap `company-begin' in `condition-case-no-debug'

10 years agoReuse `company-auto-begin' in `company-idle-begin'
Dmitry Gutov [Mon, 24 Feb 2014 06:46:25 +0000 (08:46 +0200)]
Reuse `company-auto-begin' in `company-idle-begin'

10 years agoWrap `company-call-backend' in `condition-case'
Dmitry Gutov [Mon, 24 Feb 2014 06:09:50 +0000 (08:09 +0200)]
Wrap `company-call-backend' in `condition-case'

10 years agoTurn off company-tooltip-align-annotations by default
Dmitry Gutov [Fri, 21 Feb 2014 04:58:52 +0000 (06:58 +0200)]
Turn off company-tooltip-align-annotations by default

#63

10 years agoHopefully fix the Emacs 23 breakage
Dmitry Gutov [Fri, 21 Feb 2014 01:10:36 +0000 (03:10 +0200)]
Hopefully fix the Emacs 23 breakage

10 years agoAdd user option company-tooltip-align-annotations
Dmitry Gutov [Thu, 20 Feb 2014 21:09:22 +0000 (23:09 +0200)]
Add user option company-tooltip-align-annotations

Closes #63

10 years agoMention it in NEWS
Dmitry Gutov [Thu, 20 Feb 2014 04:16:03 +0000 (06:16 +0200)]
Mention it in NEWS

10 years agoRemove company-bbdb-records, it was unused
Dmitry Gutov [Thu, 20 Feb 2014 04:14:33 +0000 (06:14 +0200)]
Remove company-bbdb-records, it was unused

10 years agoDeclare bbdb functions, instead of requiring it
Dmitry Gutov [Thu, 20 Feb 2014 04:12:59 +0000 (06:12 +0200)]
Declare bbdb functions, instead of requiring it

10 years agoBBDB completion in message-mode
Jan Tatarik [Wed, 19 Feb 2014 22:22:42 +0000 (23:22 +0100)]
BBDB completion in message-mode

10 years agoBump the version
Dmitry Gutov [Tue, 18 Feb 2014 05:45:28 +0000 (07:45 +0200)]
Bump the version

10 years agocompany-continue-commands: change the default value
Dmitry Gutov [Tue, 18 Feb 2014 05:37:17 +0000 (07:37 +0200)]
company-continue-commands: change the default value

10 years agocommon-part: rename to `match' and document
Dmitry Gutov [Tue, 18 Feb 2014 04:51:44 +0000 (06:51 +0200)]
common-part: rename to `match' and document

10 years agocompany-capf: cache the capf data
Dmitry Gutov [Mon, 17 Feb 2014 05:43:40 +0000 (07:43 +0200)]
company-capf: cache the capf data

The annotation command can be called a lot of times. At least in theory.

10 years agocompany-capf common-part: look up font-lock-face
Dmitry Gutov [Mon, 17 Feb 2014 04:58:16 +0000 (06:58 +0200)]
company-capf common-part: look up font-lock-face

Because completion-pcm--hilit-commonality uses it.

10 years agocompany--capf-data: Check that the cdr is cons, not data itself
Dmitry Gutov [Mon, 17 Feb 2014 01:30:19 +0000 (03:30 +0200)]
company--capf-data: Check that the cdr is cons, not data itself

10 years agocompany-capf: fix when company-point is nil
Dmitry Gutov [Wed, 12 Feb 2014 05:52:29 +0000 (07:52 +0200)]
company-capf: fix when company-point is nil

10 years agoIntroduce company-dabbrev-downcase
Dmitry Gutov [Tue, 11 Feb 2014 01:48:28 +0000 (03:48 +0200)]
Introduce company-dabbrev-downcase

Closes #60

10 years agoFix out-of-bounds error on truncated anno fontification
Dmitry Gutov [Sun, 9 Feb 2014 16:32:40 +0000 (18:32 +0200)]
Fix out-of-bounds error on truncated anno fontification

10 years agoFix scrolling up from the last item
Dmitry Gutov [Sun, 9 Feb 2014 14:28:21 +0000 (16:28 +0200)]
Fix scrolling up from the last item

10 years agoNew user option, company-continue-commands
Dmitry Gutov [Sun, 9 Feb 2014 05:26:12 +0000 (07:26 +0200)]
New user option, company-continue-commands

Closes #59

10 years agoDon't `company-cancel' twice
Dmitry Gutov [Sat, 8 Feb 2014 20:19:15 +0000 (22:19 +0200)]
Don't `company-cancel' twice

10 years agoSet company-added-newline to t if the buffer was modified
Dmitry Gutov [Thu, 6 Feb 2014 05:03:26 +0000 (07:03 +0200)]
Set company-added-newline to t if the buffer was modified

Fixes #58

10 years agoRemove outdated comment
Dmitry Gutov [Mon, 3 Feb 2014 17:34:16 +0000 (19:34 +0200)]
Remove outdated comment

10 years agoFix #56
Dmitry Gutov [Mon, 3 Feb 2014 15:33:04 +0000 (17:33 +0200)]
Fix #56

Continuation of 9218392f.

10 years agoDisplay annotations
Dmitry Gutov [Mon, 3 Feb 2014 15:16:47 +0000 (17:16 +0200)]
Display annotations

To be used instead of the undocumented and now deprecated command `crop'.

http://debbugs.gnu.org/16555
#31

10 years agocompany-capf: strip duplicates
Dmitry Gutov [Mon, 3 Feb 2014 13:50:56 +0000 (15:50 +0200)]
company-capf: strip duplicates

10 years agoDon't "transform" twice
Dmitry Gutov [Sat, 1 Feb 2014 16:06:02 +0000 (18:06 +0200)]
Don't "transform" twice

10 years agoRemove NEWS entry for 9b0d457, it's a bugfix
Dmitry Gutov [Sat, 1 Feb 2014 13:59:45 +0000 (15:59 +0200)]
Remove NEWS entry for 9b0d457, it's a bugfix

10 years agocompany-sort-by-occurrence: consider the preceding line
Dmitry Gutov [Sat, 1 Feb 2014 05:37:11 +0000 (07:37 +0200)]
company-sort-by-occurrence: consider the preceding line

10 years agocompany--continue-failed: require matching input properly
Dmitry Gutov [Sat, 1 Feb 2014 05:33:27 +0000 (07:33 +0200)]
company--continue-failed: require matching input properly

Even when it breaks prefix.

10 years agocompany-preview* faces: inherit from company-tooltip-[common-]selection
Dmitry Gutov [Sat, 1 Feb 2014 03:29:27 +0000 (05:29 +0200)]
company-preview* faces: inherit from company-tooltip-[common-]selection

when background is light.

10 years agoRender company-preview-frontend after the cursor
Dmitry Gutov [Sat, 1 Feb 2014 03:12:09 +0000 (05:12 +0200)]
Render company-preview-frontend after the cursor

10 years agoDon't generate bogus event in Emacs 24.4
Dmitry Gutov [Sat, 1 Feb 2014 02:40:08 +0000 (04:40 +0200)]
Don't generate bogus event in Emacs 24.4

10 years agocompany-transformers: improve the defcustom widget
Dmitry Gutov [Fri, 31 Jan 2014 05:09:29 +0000 (07:09 +0200)]
company-transformers: improve the defcustom widget

10 years agoAdd new option, company-dabbrev-minimum-length
Dmitry Gutov [Fri, 31 Jan 2014 04:29:41 +0000 (06:29 +0200)]
Add new option, company-dabbrev-minimum-length

10 years agocompany-sort-by-occurrence: update the docstring
Dmitry Gutov [Fri, 31 Jan 2014 03:14:03 +0000 (05:14 +0200)]
company-sort-by-occurrence: update the docstring

10 years agoFix #54
Dmitry Gutov [Thu, 30 Jan 2014 18:11:18 +0000 (20:11 +0200)]
Fix #54

10 years agocompany-sort-by-occurrence: handle cons prefixes
Dmitry Gutov [Thu, 30 Jan 2014 17:13:14 +0000 (19:13 +0200)]
company-sort-by-occurrence: handle cons prefixes

10 years agoAdd company-transformers
Dmitry Gutov [Thu, 30 Jan 2014 16:45:59 +0000 (18:45 +0200)]
Add company-transformers

Closes #52

10 years agoLower dabbrev time limits
Dmitry Gutov [Thu, 30 Jan 2014 06:18:41 +0000 (08:18 +0200)]
Lower dabbrev time limits

Computers are faster now; I prefer things to be snappier

10 years agoMake dabbrev and dabbrev-code more customizable
Dmitry Gutov [Thu, 30 Jan 2014 05:08:35 +0000 (07:08 +0200)]
Make dabbrev and dabbrev-code more customizable

#52

10 years agocompany-begin-commands: add `org-self-insert-command'
Dmitry Gutov [Mon, 27 Jan 2014 01:56:25 +0000 (03:56 +0200)]
company-begin-commands: add `org-self-insert-command'

#50

10 years agoRemove leftover message statement
Dmitry Gutov [Sat, 25 Jan 2014 11:28:59 +0000 (13:28 +0200)]
Remove leftover message statement

10 years agoRelease 0.6.14
Dmitry Gutov [Sat, 25 Jan 2014 11:24:09 +0000 (13:24 +0200)]
Release 0.6.14

10 years ago* company-capf.el (company--capf-data): Don't get confused by lambda exps.
Stefan Monnier [Sat, 25 Jan 2014 11:20:09 +0000 (13:20 +0200)]
* company-capf.el (company--capf-data): Don't get confused by lambda exps.

10 years agocompany--create-lines: Clear the old offset when appropriate
Dmitry Gutov [Sat, 25 Jan 2014 10:47:43 +0000 (12:47 +0200)]
company--create-lines: Clear the old offset when appropriate

10 years agocompany--create-lines: only reserve width for numbers when they'll be displayed
Dmitry Gutov [Sat, 25 Jan 2014 08:18:11 +0000 (10:18 +0200)]
company--create-lines: only reserve width for numbers when they'll be displayed

10 years agocompany-select-mouse: update for when scrollbar is used
Dmitry Gutov [Sat, 25 Jan 2014 08:13:23 +0000 (10:13 +0200)]
company-select-mouse: update for when scrollbar is used

10 years agoRender scrollbar on the side of the tooltip
Dmitry Gutov [Fri, 24 Jan 2014 05:04:39 +0000 (07:04 +0200)]
Render scrollbar on the side of the tooltip

Closes #48

10 years ago{cutoff,offset}, {numbered,position}-line
Dmitry Gutov [Fri, 24 Jan 2014 00:30:00 +0000 (02:30 +0200)]
{cutoff,offset}, {numbered,position}-line

10 years agocompany--numbered-line: span tooltip face to the margins
Dmitry Gutov [Thu, 23 Jan 2014 11:22:50 +0000 (13:22 +0200)]
company--numbered-line: span tooltip face to the margins

10 years agoRender the popup with margins
Dmitry Gutov [Thu, 23 Jan 2014 04:38:34 +0000 (06:38 +0200)]
Render the popup with margins

10 years agoFix #49
Dmitry Gutov [Thu, 23 Jan 2014 01:54:28 +0000 (03:54 +0200)]
Fix #49

Adjust for window-width aberrations when Emacs runs in a terminal.

10 years agoUpdate some docstrings for clarity
Dmitry Gutov [Mon, 20 Jan 2014 00:40:32 +0000 (02:40 +0200)]
Update some docstrings for clarity

10 years agoRelease 0.6.13
Dmitry Gutov [Wed, 15 Jan 2014 03:45:16 +0000 (05:45 +0200)]
Release 0.6.13

10 years agoIf there's just one candidate, set company-common to it
Dmitry Gutov [Wed, 15 Jan 2014 03:06:21 +0000 (05:06 +0200)]
If there's just one candidate, set company-common to it

10 years agocompany-capf: Highlight the "common" part
Dmitry Gutov [Wed, 15 Jan 2014 02:55:50 +0000 (04:55 +0200)]
company-capf: Highlight the "common" part

As in "the part of the candidate up to the last matched character".
Now for partial completion, too.

10 years agocompany-capf: Use base-size returned by completion-all-completions
Dmitry Gutov [Wed, 15 Jan 2014 01:01:06 +0000 (03:01 +0200)]
company-capf: Use base-size returned by completion-all-completions

Thanks to Stefan for the tip

10 years agoFix a broken test, remove a duplicate one
Dmitry Gutov [Tue, 14 Jan 2014 13:20:59 +0000 (15:20 +0200)]
Fix a broken test, remove a duplicate one

10 years agoClose #45
Dmitry Gutov [Tue, 14 Jan 2014 07:41:34 +0000 (09:41 +0200)]
Close #45

* Replace prefix with candidate unless backend says to keep it.
* Add non-prefix completions support.