~ubuntu-elisp/emacs/+git/master:scratch/python-eldoc-async

Last commit made on 2020-07-08
Get this branch:
git clone -b scratch/python-eldoc-async https://git.launchpad.net/~ubuntu-elisp/emacs/+git/master

Branch merges

Branch information

Name:
scratch/python-eldoc-async
Repository:
lp:~ubuntu-elisp/emacs/+git/master

Recent commits

9104192... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Have Python mode cooperate asynchronously with Eldoc

When combined with Flymake mode, which also adds a value to
eldoc-documentation-functions, Python-mode users can now experiment
with different eldoc-documentation-strategy values.

Also, this shoulda allow us to write automatic tests for this
particular Eldoc functionality.

* lisp/progmodes/python.el (inferior-python-mode): Set
coming-preoutput-filter-functions.
(python--shell-output-filter-in-progress)
(python--shell-output-filter-buffer): Rename from python- variant.
(python-shell-output-filter): Rework to support async operation.
(python-eldoc--get-doc-at-point): Rework to support async.
(python-eldoc-function): Use callback.

9a7aab2... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

; * etc/NEWS (Eldoc): adjust NEWS entry.

6063b54... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Shoosh warnings about obsolete eldoc-documentation-function

* lisp/progmodes/cfengine.el (cfengine3-mode): Remove mention to
obsolete eldoc-documentation-function.

* lisp/progmodes/python.el (python-mode): Use with-no-warnings.

a85026c... by Eli Zaretskii

; * etc/NEWS: Fix last change.

8cdfccf... by Eli Zaretskii

; * etc/NEWS: Minor copyedits of the recent additions.

b7058f9... by =?utf-8?q?Mattias_Engdeg=C3=A5rd?= <email address hidden>

Special-case symbol and fixnum keys in member, assoc and rassoc

* src/fns.c (Fmember, Fassoc, Frassoc): Delegate to the cheaper Fmemq,
Fassq and Frassq for arguments of the appropriate types.
(eq_comparable_value): New function.

384fa10... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Improve Eldoc docstrings

* lisp/emacs-lisp/eldoc.el (eldoc-documentation-strategy): Improve
docstring.
(eldoc--make-callback): Improve docstring.
(eldoc--invoke-strategy): New helper function.
(eldoc-print-current-symbol-info): Call eldoc--invoke-strategy.
(eldoc-documentation-functions): Improve docstring.

fbc0bc6... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Change version scheme of two Eldoc obsolete specs

* lisp/emacs-lisp/eldoc.el (eldoc-documentation-function)
(eldoc-message): Obsolete spec uses eldoc-1.1.0.

b3efd5c... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Adjust describe-char-eldoc to new eldoc-documentation-functions protocol

* lisp/descr-text.el (describe-char-eldoc): Adjust to new
eldoc-documentation-functions protocol.

bba3bea... by =?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>

Adjust Eldoc documentation after Eli's review

* etc/NEWS (Eldoc): Adjust paragraphs.

* lisp/emacs-lisp/eldoc.el (eldoc-prefer-doc-buffer): Adjust
docstring.
(eldoc--enthusiasm-curbing-timer, eldoc-documentation-strategy)
(eldoc-documentation-functions): Adjust docstring.
(eldoc--handle-docs): Adjust comments.
(eldoc--documentation-compose-1): New helper.
(eldoc-documentation-compose)
(eldoc-documentation-compose-eagerly): Use it.
(eldoc-print-current-symbol-info): Adjust comments.