]> git.eshelyaron.com Git - emacs.git/commit
Eglot: rename and redocument encoding-related functions (bug#61726)
authorJoão Távora <joaotavora@gmail.com>
Sun, 26 Feb 2023 12:50:42 +0000 (12:50 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sun, 26 Feb 2023 13:00:24 +0000 (13:00 +0000)
commitca79b138d424766e3bfe8e4ca5d2b315b9ea4408
tree19a49dc52140c2a3641367926ef4ab81c387b90f
parent3e3e6d71be76b80beca946f9dd433d12aa450695
Eglot: rename and redocument encoding-related functions (bug#61726)

* lisp/progmodes/eglot.el (eglot-current-column): Obsolete.
(eglot-lsp-abiding-column): Obsolete.
(eglot-current-column-function): Obsolete.
(eglot-current-linepos-function): Rename from eglot-current-column-function.
(eglot-utf-8-linepos): Rename from eglot-bytewise-column.
(eglot-utf-16-linepos): Rename from eglot-lsp-abiding-column.
(eglot-utf-32-linepos): Rename from eglot-current-column.
(eglot-move-to-current-column): Obsolete.
(eglot-move-to-lsp-abiding-column): Obsolete.
(eglot-move-to-column-function): Obsolete.
(eglot-move-to-linepos-function): Rename from eglot-move-to-column-function.
(eglot-move-to-utf-8-linepos): Rename from eglot-move-to-bytewise-column.
(eglot-move-to-utf-16-linepos): Rename from eglot-move-to-lsp-abiding-column.
(eglot-move-to-utf-32-linepos): Rename from eglot-move-to-current-column.
(eglot--managed-mode): Adjust.
(eglot-client-capabilities): Trim whitespace.

* test/lisp/progmodes/eglot-tests.el (eglot-test-lsp-abiding-column)
(eglot-test-lsp-abiding-column-1): Use new function/variable names.
lisp/progmodes/eglot.el
test/lisp/progmodes/eglot-tests.el