update packages
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
(define-package "anaconda-mode" "20231123.1806" "Code navigation, documentation lookup and completion for Python"
|
(define-package "anaconda-mode" "20250310.1512" "Code navigation, documentation lookup and completion for Python"
|
||||||
'((emacs "25.1")
|
'((emacs "25.1")
|
||||||
(pythonic "0.1.0")
|
(pythonic "0.1.0")
|
||||||
(dash "2.6.0")
|
(dash "2.6.0")
|
||||||
(s "1.9")
|
(s "1.9")
|
||||||
(f "0.16.2"))
|
(f "0.16.2"))
|
||||||
:commit "92a6295622df7fae563d6b599e2dc8640e940ddf" :authors
|
:commit "28b3e0088ac7113390aa006bf277c8aa14e561a2" :authors
|
||||||
'(("Artem Malyshev" . "proofit404@gmail.com"))
|
'(("Artem Malyshev" . "proofit404@gmail.com"))
|
||||||
:maintainers
|
:maintainers
|
||||||
'(("Artem Malyshev" . "proofit404@gmail.com"))
|
'(("Artem Malyshev" . "proofit404@gmail.com"))
|
||||||
|
|||||||
@@ -94,7 +94,7 @@
|
|||||||
(declare-function posframe-show "posframe")
|
(declare-function posframe-show "posframe")
|
||||||
|
|
||||||
;;; Server.
|
;;; Server.
|
||||||
(defvar anaconda-mode-server-version "0.1.16"
|
(defvar anaconda-mode-server-version "0.1.17"
|
||||||
"Server version needed to run `anaconda-mode'.")
|
"Server version needed to run `anaconda-mode'.")
|
||||||
|
|
||||||
(defvar anaconda-mode-process-name "anaconda-mode"
|
(defvar anaconda-mode-process-name "anaconda-mode"
|
||||||
@@ -784,14 +784,14 @@ Show ERROR-MESSAGE if result is empty."
|
|||||||
(defun turn-on-anaconda-eldoc-mode ()
|
(defun turn-on-anaconda-eldoc-mode ()
|
||||||
"Turn on `anaconda-eldoc-mode'."
|
"Turn on `anaconda-eldoc-mode'."
|
||||||
(add-hook 'eldoc-documentation-functions
|
(add-hook 'eldoc-documentation-functions
|
||||||
'anaconda-mode-eldoc-function nil 't)
|
#'anaconda-mode-eldoc-function nil 't)
|
||||||
(eldoc-mode +1))
|
(unless (bound-and-true-p eldoc-mode)
|
||||||
|
(eldoc-mode +1)))
|
||||||
|
|
||||||
(defun turn-off-anaconda-eldoc-mode ()
|
(defun turn-off-anaconda-eldoc-mode ()
|
||||||
"Turn off `anaconda-eldoc-mode'."
|
"Turn off `anaconda-eldoc-mode'."
|
||||||
(remove-hook 'eldoc-documentation-functions
|
(remove-hook 'eldoc-documentation-functions
|
||||||
'anaconda-mode-eldoc-function 't)
|
#'anaconda-mode-eldoc-function 't))
|
||||||
(eldoc-mode -1))
|
|
||||||
|
|
||||||
(provide 'anaconda-mode)
|
(provide 'anaconda-mode)
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
@@ -25,7 +24,7 @@ if IS_PY2:
|
|||||||
jedi_dep = ('jedi', '0.17.2')
|
jedi_dep = ('jedi', '0.17.2')
|
||||||
server_directory += '-py2'
|
server_directory += '-py2'
|
||||||
else:
|
else:
|
||||||
jedi_dep = ('jedi', '0.19.1')
|
jedi_dep = ('jedi', '0.19.2')
|
||||||
server_directory += '-py3'
|
server_directory += '-py3'
|
||||||
service_factory_dep = ('service_factory', '0.1.6')
|
service_factory_dep = ('service_factory', '0.1.6')
|
||||||
|
|
||||||
@@ -71,10 +70,19 @@ def install_deps_setuptools():
|
|||||||
instrument_installation()
|
instrument_installation()
|
||||||
|
|
||||||
def install_deps_pip():
|
def install_deps_pip():
|
||||||
|
import pathlib
|
||||||
|
import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
cmd = [sys.executable, '-m', 'pip', 'install', '--target', server_directory]
|
import tempfile
|
||||||
|
import venv
|
||||||
|
temp_dir = pathlib.Path(tempfile.mkdtemp())
|
||||||
|
venv.create(temp_dir, with_pip=True)
|
||||||
|
cmd = [temp_dir / 'bin' / 'pip', 'install', '--target', server_directory]
|
||||||
cmd.extend(missing_dependencies)
|
cmd.extend(missing_dependencies)
|
||||||
|
try:
|
||||||
subprocess.check_call(cmd)
|
subprocess.check_call(cmd)
|
||||||
|
finally:
|
||||||
|
shutil.rmtree(temp_dir)
|
||||||
instrument_installation()
|
instrument_installation()
|
||||||
|
|
||||||
if missing_dependencies:
|
if missing_dependencies:
|
||||||
|
|||||||
@@ -238,7 +238,8 @@ so we can't just use the preceding variable instead.")
|
|||||||
(defun company-capf--post-completion (arg)
|
(defun company-capf--post-completion (arg)
|
||||||
(let* ((res company-capf--current-completion-data)
|
(let* ((res company-capf--current-completion-data)
|
||||||
(exit-function (plist-get (nthcdr 4 res) :exit-function))
|
(exit-function (plist-get (nthcdr 4 res) :exit-function))
|
||||||
(table (nth 3 res)))
|
(table (nth 3 res))
|
||||||
|
(prefix (nth 0 (company-capf--prefix))))
|
||||||
(if exit-function
|
(if exit-function
|
||||||
;; Follow the example of `completion--done'.
|
;; Follow the example of `completion--done'.
|
||||||
(funcall exit-function arg
|
(funcall exit-function arg
|
||||||
@@ -247,8 +248,8 @@ so we can't just use the preceding variable instead.")
|
|||||||
;; particular candidate explicitly (it only checks whether
|
;; particular candidate explicitly (it only checks whether
|
||||||
;; further completions exist). Whereas company user can press
|
;; further completions exist). Whereas company user can press
|
||||||
;; RET (or use implicit completion with company-tng).
|
;; RET (or use implicit completion with company-tng).
|
||||||
(if (= (car (completion-boundaries arg table nil ""))
|
(if (= (car (completion-boundaries prefix table nil ""))
|
||||||
(length arg))
|
(length prefix))
|
||||||
'exact
|
'exact
|
||||||
'finished)))))
|
'finished)))))
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
(define-package "company" "20250223.352" "Modular text completion framework"
|
(define-package "company" "20250228.258" "Modular text completion framework"
|
||||||
'((emacs "26.1"))
|
'((emacs "26.1"))
|
||||||
:commit "5bb6f6d3d44ed919378e6968a06feed442165545" :maintainers
|
:commit "8d599ebc8a9aca27c0a6157aeb31c5b7f05ed0a3" :maintainers
|
||||||
'(("Dmitry Gutov" . "dmitry@gutov.dev"))
|
'(("Dmitry Gutov" . "dmitry@gutov.dev"))
|
||||||
:maintainer
|
:maintainer
|
||||||
'("Dmitry Gutov" . "dmitry@gutov.dev")
|
'("Dmitry Gutov" . "dmitry@gutov.dev")
|
||||||
|
|||||||
+76
-76
@@ -1,4 +1,4 @@
|
|||||||
This is company.info, produced by makeinfo version 6.8 from
|
This is company.info, produced by makeinfo version 7.1.1 from
|
||||||
company.texi.
|
company.texi.
|
||||||
|
|
||||||
This user manual is for Company version 1.0.3-snapshot
|
This user manual is for Company version 1.0.3-snapshot
|
||||||
@@ -47,7 +47,7 @@ Copyright © 2021-2024 Free Software Foundation, Inc.
|
|||||||
* Troubleshooting:: When Something Goes Wrong
|
* Troubleshooting:: When Something Goes Wrong
|
||||||
* Index::
|
* Index::
|
||||||
|
|
||||||
— The Detailed Node Listing —
|
-- The Detailed Node Listing --
|
||||||
|
|
||||||
Overview
|
Overview
|
||||||
|
|
||||||
@@ -122,8 +122,8 @@ configurable through the user option ‘completion-styles’, which see.
|
|||||||
For illustrations on how Company visualizes the matches, *note
|
For illustrations on how Company visualizes the matches, *note
|
||||||
Frontends::.
|
Frontends::.
|
||||||
|
|
||||||
The package’s name ‘Company’ is based on the combination of the two
|
The package's name ‘Company’ is based on the combination of the two
|
||||||
words: ‘Complete’ and ‘Anything’. These words reflect the package’s
|
words: ‘Complete’ and ‘Anything’. These words reflect the package's
|
||||||
commitment to handling completion candidates and its extensible nature
|
commitment to handling completion candidates and its extensible nature
|
||||||
allowing it to cover a wide range of usage scenarios.
|
allowing it to cover a wide range of usage scenarios.
|
||||||
|
|
||||||
@@ -154,10 +154,10 @@ commands for the user to operate with. For more details, *note
|
|||||||
Customization:: and *note Commands::.
|
Customization:: and *note Commands::.
|
||||||
|
|
||||||
Also, Company is bundled with an alternative workflow configuration
|
Also, Company is bundled with an alternative workflow configuration
|
||||||
“company-tng” — defining ‘company-tng-frontend’, ‘company-tng-mode’, and
|
“company-tng” -- defining ‘company-tng-frontend’, ‘company-tng-mode’,
|
||||||
‘company-tng-map’ — that allows performing completion with just <TAB>.
|
and ‘company-tng-map’ -- that allows performing completion with just
|
||||||
To enable this configuration, add the following line to the Emacs
|
<TAB>. To enable this configuration, add the following line to the
|
||||||
initialization file (*note (emacs)Init File::):
|
Emacs initialization file (*note (emacs)Init File::):
|
||||||
|
|
||||||
(add-hook 'after-init-hook 'company-tng-mode)
|
(add-hook 'after-init-hook 'company-tng-mode)
|
||||||
|
|
||||||
@@ -216,7 +216,7 @@ File: company.info, Node: Usage Basics, Next: Commands, Prev: Initial Setup,
|
|||||||
2.3 Usage Basics
|
2.3 Usage Basics
|
||||||
================
|
================
|
||||||
|
|
||||||
By default — having _company-mode_ enabled (*note Initial Setup::) — a
|
By default -- having _company-mode_ enabled (*note Initial Setup::) -- a
|
||||||
tooltip with completion candidates is shown when the user types a few
|
tooltip with completion candidates is shown when the user types a few
|
||||||
characters.
|
characters.
|
||||||
|
|
||||||
@@ -228,7 +228,7 @@ respectively key bindings ‘C-n’ and ‘C-p’, then do one of the following:
|
|||||||
• Hit <RET> to choose a selected candidate for completion.
|
• Hit <RET> to choose a selected candidate for completion.
|
||||||
|
|
||||||
• Hit <TAB> to expand the “common part” of all completions. Exactly
|
• Hit <TAB> to expand the “common part” of all completions. Exactly
|
||||||
what that means, can vary by backend. In the simplest case it’s
|
what that means, can vary by backend. In the simplest case it's
|
||||||
the longest string that all completion start with, but when a
|
the longest string that all completion start with, but when a
|
||||||
backend returns _non-prefix matches_, it can implement the same
|
backend returns _non-prefix matches_, it can implement the same
|
||||||
kind of expansion logic for the input string.
|
kind of expansion logic for the input string.
|
||||||
@@ -261,8 +261,8 @@ commands of the out-of-the-box Company.
|
|||||||
|
|
||||||
‘TAB’
|
‘TAB’
|
||||||
‘<tab>’
|
‘<tab>’
|
||||||
Insert the _common part_ of all completion candidates or — if no
|
Insert the _common part_ of all completion candidates or -- if no
|
||||||
_common part_ is present — select the next candidate
|
_common part_ is present -- select the next candidate
|
||||||
(‘company-complete-common-or-cycle’). In the latter case,
|
(‘company-complete-common-or-cycle’). In the latter case,
|
||||||
wraparound is implicitly enabled (*note
|
wraparound is implicitly enabled (*note
|
||||||
company-selection-wrap-around::).
|
company-selection-wrap-around::).
|
||||||
@@ -360,7 +360,7 @@ core settings that influence its overall behavior.
|
|||||||
than the default value of ‘3’.
|
than the default value of ‘3’.
|
||||||
|
|
||||||
-- User Option: company-idle-delay
|
-- User Option: company-idle-delay
|
||||||
This is the second of the options that configure Company’s
|
This is the second of the options that configure Company's
|
||||||
auto-start behavior (together with
|
auto-start behavior (together with
|
||||||
‘company-minimum-prefix-length’). The value of this option defines
|
‘company-minimum-prefix-length’). The value of this option defines
|
||||||
how fast Company is going to react to the typed input, such that
|
how fast Company is going to react to the typed input, such that
|
||||||
@@ -390,7 +390,7 @@ core settings that influence its overall behavior.
|
|||||||
(setq company-global-modes '(not erc-mode message-mode eshell-mode))
|
(setq company-global-modes '(not erc-mode message-mode eshell-mode))
|
||||||
|
|
||||||
-- User Option: company-selection-wrap-around
|
-- User Option: company-selection-wrap-around
|
||||||
Enable this option to loop (cycle) the candidates’ selection: after
|
Enable this option to loop (cycle) the candidates' selection: after
|
||||||
selecting the last candidate on the list, a command to select the
|
selecting the last candidate on the list, a command to select the
|
||||||
next candidate does so with the first candidate. By default, this
|
next candidate does so with the first candidate. By default, this
|
||||||
option is disabled, which means the selection of the next candidate
|
option is disabled, which means the selection of the next candidate
|
||||||
@@ -398,7 +398,7 @@ core settings that influence its overall behavior.
|
|||||||
influenced by this option similarly.
|
influenced by this option similarly.
|
||||||
|
|
||||||
-- User Option: company-require-match
|
-- User Option: company-require-match
|
||||||
To allow typing in characters that don’t match the candidates, set
|
To allow typing in characters that don't match the candidates, set
|
||||||
the value of this option to ‘nil’. For an opposite behavior (that
|
the value of this option to ‘nil’. For an opposite behavior (that
|
||||||
is, to disallow non-matching input), set it to ‘t’. By default,
|
is, to disallow non-matching input), set it to ‘t’. By default,
|
||||||
Company is configured to require a matching input only if the user
|
Company is configured to require a matching input only if the user
|
||||||
@@ -484,7 +484,7 @@ listed below.
|
|||||||
-- Function: company-pseudo-tooltip-unless-just-one-frontend
|
-- Function: company-pseudo-tooltip-unless-just-one-frontend
|
||||||
This is one of the default frontends. It starts displaying a
|
This is one of the default frontends. It starts displaying a
|
||||||
tooltip only if more than one completion candidate is available,
|
tooltip only if more than one completion candidate is available,
|
||||||
which nicely combines — and it is done so by default — with
|
which nicely combines -- and it is done so by default -- with
|
||||||
‘company-preview-if-just-one-frontend’, *note Preview Frontends::.
|
‘company-preview-if-just-one-frontend’, *note Preview Frontends::.
|
||||||
|
|
||||||
-- Function: company-pseudo-tooltip-frontend
|
-- Function: company-pseudo-tooltip-frontend
|
||||||
@@ -535,7 +535,7 @@ user options.
|
|||||||
| |||||||