Dmitry Gutov
6c7731d4ec
company--clean-string: Handle negative ADD-LENGTH by falling back to NEW-STR
...
Fixes #1472
2024-05-24 05:06:34 +03:00
Dmitry Gutov
57734334e2
Update old test for the "new interpreted lambda" format in Emacs 30.1
2024-05-15 02:20:26 +03:00
Dmitry Gutov
32f030a4c7
Merge pull request #1469 from rnkn/patch-1
...
company-plainify: Only concat string when satisfying stringp
2024-04-29 01:58:25 +03:00
Paul W. Rankin
914772bf6e
company-plainify: Only concat string when satisfying stringp
2024-04-28 19:35:43 +10:00
Dmitry Gutov
b0a522ac5b
Merge pull request #1462 from Hi-Angel/dont-change-match-data
...
Replace `string-match` with `string-match-p` when appropriate and use `string-empty-p` helper
2024-03-11 21:43:38 +02:00
Konstantin Kharlamov
06e9a9782a
treewide: replace (equal= … "") comparisons with (string-empty-p …)
...
Due to `equal` accepting an arg of different type than a string, each
replacement was manually examined to make sure the parameter is
expected to be a string.
2024-03-11 18:44:30 +03:00
Konstantin Kharlamov
eae259bbcb
treewide: replace (string= … "") comparisons with (string-empty-p …)
2024-03-11 18:44:30 +03:00
Konstantin Kharlamov
311442d58c
company: replace `string-match` with `string-match-p` if match data unused
2024-03-11 18:44:30 +03:00
Dmitry Gutov
42c2aa60b8
Merge pull request #1459 from whatacold/master
...
Let company-ispell-dictionary be compatible with the ~user notation.
2024-03-02 17:25:56 +02:00
Dmitry Gutov
5404b3ab7d
Merge pull request #1460 from corngood/sps-hook-fix
...
Inhibit modification hooks in *company-sps*
2024-03-02 17:08:12 +02:00
David McFarland
525832274d
Inhibit modification hooks in *company-sps*
2024-03-02 10:48:21 -04:00
Ken Huang
ff091f66a6
Let company-ispell-dictionary be compatible with the ~user notation.
2024-03-02 13:33:39 +08:00
Dmitry Gutov
abd9099b30
Redo the fix for #1455 again
2024-03-02 07:13:03 +02:00
Dmitry Gutov
cf6b86e52f
Remove the company-elisp backend
2024-03-01 05:46:11 +02:00
Dmitry Gutov
02eace9547
Improve the fix for #1455
2024-03-01 05:33:54 +02:00
Dmitry Gutov
0c0186cca8
Merge pull request #1456 from Hi-Angel/dont-change-match-data
...
treewide: replace `looking-at` with `looking-at-p` if match data unused
2024-02-18 20:12:02 +02:00
Konstantin Kharlamov
17ce46b37b
treewide: replace `looking-at` with `looking-at-p` if match data unused
...
`looking-at-p` does not change match data and so should be a bit faster.
2024-02-18 20:57:30 +03:00
Dmitry Gutov
695b94b86e
Handle cons value in company--manual-prefix properly
...
Fixes #1455
2024-02-11 23:22:22 +02:00
Dmitry Gutov
eb8197ff72
Make sure company-template-c-like-templatify uses the default f-s-f
...
Fixes #1452
2024-02-11 23:22:22 +02:00
Dmitry Gutov
c52a163a6e
Merge pull request #1454 from catern/abort-complete-symbol
...
Abort completion also on a few other entry points to completion-at-point
2024-02-08 21:43:53 +02:00
Spencer Baugh
8ce0d648d0
Abort completion also on a few other entry points to completion-at-point
...
This is a further elaboration of the fix to #778
2024-02-08 12:46:17 -05:00
Dmitry Gutov
02903bd708
Merge pull request #1450 from zonuexe/add/php-ts-mode
...
Add php-ts-mode as an alias of php-mode
2024-01-30 21:05:54 +02:00
USAMI Kenta
2091a68330
Add php-ts-mode as an alias of php-mode
2024-01-31 02:46:15 +09:00
Dmitry Gutov
84b111f266
company--multi-prefix: Make sure not to shorten the computed prefix length
...
https://github.com/company-mode/company-mode/discussions/1448
2024-01-25 20:38:34 +02:00
Dmitry Gutov
619c8f2b23
Merge pull request #1446 from yugaego/ci-emacs-version
...
CI: run tests on Emacs 29.2
2024-01-23 00:35:26 +02:00
YugaEgo
0d4b84159f
CI: run tests on Emacs 29.2
2024-01-22 22:18:39 +02:00
Dmitry Gutov
0cf9232317
company--clean-string: Try to print the newlines better in the popup
...
For the benefit of ML-driven completions, mostly
2024-01-08 01:10:47 +02:00
Dmitry Gutov
d04e665d8c
Merge pull request #1439 from darkfeline/fix
...
Fix company-tests.el footer
2023-12-21 01:16:04 +02:00
Allen Li
be2157ddd8
Fix company-tests.el footer
2023-12-20 15:12:01 -08:00
Dmitry Gutov
9c12b02620
Update files-tests.el
2023-12-08 19:44:37 +02:00
Dmitry Gutov
10e9d6efea
Make company-files's completions shorter
...
Resolves #1040
2023-12-08 19:30:35 +02:00
Dmitry Gutov
ead3d00e62
company-tooltip-scrollbar-thumb: Make a bit lighter in light themes
2023-12-08 02:16:44 +02:00
Dmitry Gutov
f0fee2c59d
Merge pull request #1438 from Guyslain/master
...
Update company-keywords.el with OCaml keywords
2023-12-07 15:44:28 +02:00
Guyslain Naves
ccb4a197e6
sort Ocaml keywords in company-keywords
2023-12-07 13:59:19 +01:00
Guyslain Naves
982fcb1f7a
Update company-keywords.el with OCaml keywords
2023-12-07 11:52:07 +01:00
Dmitry Gutov
7bcffac8f8
Disable ispell-completion-at-point
...
Preferring company-dabbrev by default or company-ispell when configured.
Resolves #1437 .
2023-12-06 01:53:30 +02:00
Dmitry Gutov
2a30ec0f94
company--capf-workaround: Remove, not needed since Emacs 25.1
...
Which is the minimum required version already.
2023-12-06 01:23:47 +02:00
Dmitry Gutov
73edf6b7fb
Fix popup display in the presence of hscroll
...
* Ensure the pixel-measuring routines don't change window's hscroll.
* Pad the popup display lines with window-hscroll worth of spaces.
* Preprocess the "old" strings to avoid showing the "hidden" part.
Fixes #1436
2023-12-05 02:55:20 +02:00
Dmitry Gutov
ed46a616ab
Remove now redundant code
2023-11-28 18:25:00 +02:00
Dmitry Gutov
106c908520
Adapt to the change of derived-mode-p's cc, part 2
2023-11-28 16:24:48 +02:00
Dmitry Gutov
9de449cbf5
Adapt to the change of derived-mode-p's calling convention upstream
2023-11-28 16:22:03 +02:00
Dmitry Gutov
ca09e29750
Support non-string values inside buffer-display-table
...
Fixes #1435
2023-11-28 16:10:57 +02:00
Dmitry Gutov
97d3b3586f
company-capf--current-completion-metadata: New cache variable
...
Resolves #1351
2023-11-27 04:05:11 +02:00
Dmitry Gutov
9b21604d19
Re-fix #202 with 'eval' again; now lexical-style
...
Related: #1429
2023-11-23 20:42:43 +02:00
Dmitry Gutov
5d05b0829b
In grouped backend, use the highest prefix length override
...
Should help in scenarios related to #1268 . Made possible by #1405 .
2023-11-23 03:35:39 +02:00
Dmitry Gutov
bc3e0fdc2d
company-yasnippet: Support yas-key-syntaxes better
...
* Use the longest key-prefix internally (while still returning symbol prefix)
that has any matching snippets. But attach the key-prefix's length.
* And only return the completions for that key-prefix.
Fixes #1268
2023-11-23 03:32:43 +02:00
Dmitry Gutov
de82743aff
Fix the fractional scrollbar residing inside the right margin
2023-11-22 19:59:53 +02:00
Dmitry Gutov
7e401cbe16
Fix the "async" test failure
...
Resolves #906
2023-11-22 02:06:08 +02:00
Dmitry Gutov
42633400b3
Retarget tests that depend on wide characters' width to -nw
...
Because there it's always just 2.
2023-11-21 23:46:48 +02:00
Dmitry Gutov
dde921a839
Fix some test failures
...
In "interactive-only" tests.
2023-11-21 23:03:02 +02:00