[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company 934a525112 09/24: Add a FIXME
From: |
ELPA Syncer |
Subject: |
[elpa] externals/company 934a525112 09/24: Add a FIXME |
Date: |
Mon, 6 Nov 2023 09:57:37 -0500 (EST) |
branch: externals/company
commit 934a525112ec979c20f90c8fec22745dd2198700
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Add a FIXME
---
company.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/company.el b/company.el
index 14631b269a..21ccb33d8b 100644
--- a/company.el
+++ b/company.el
@@ -2816,6 +2816,9 @@ from the candidates list.")
(string-width str)))
;; TODO: Add a bunch of tests!
+;;
+;; FIXME: Could work better with text-scale-mode. But that requires copying
+;; face-remapping-alist into " *string-pixel-width*" and using
default-font-width.
(defun company-safe-pixel-substring (str from &optional to)
(let ((from-chars (ceiling (/ from (frame-char-width))))
(to-chars (and to (ceiling (/ to (frame-char-width)))))
- [elpa] externals/company updated (66201465a9 -> 4301ea14c5), ELPA Syncer, 2023/11/06
- [elpa] externals/company 4ac63de5d8 06/24: Do a bit less consing, ELPA Syncer, 2023/11/06
- [elpa] externals/company 934a525112 09/24: Add a FIXME,
ELPA Syncer <=
- [elpa] externals/company a6a27340e3 08/24: company-safe-pixel-substring: Handle characters near eol better, ELPA Syncer, 2023/11/06
- [elpa] externals/company 8a53285ca0 01/24: Try to handle widths of CJK characters better, ELPA Syncer, 2023/11/06
- [elpa] externals/company 8b516c547c 12/24: Handle 'invisible' and character composition by using a buffer again, ELPA Syncer, 2023/11/06
- [elpa] externals/company 315741353e 05/24: Restore compatibility with Emacs < 29, ELPA Syncer, 2023/11/06
- [elpa] externals/company 9805c7a37d 03/24: Eliminate some repeat calls, ELPA Syncer, 2023/11/06
- [elpa] externals/company 57b6414a3a 14/24: Merge branch 'master' into cjk-string-width, ELPA Syncer, 2023/11/06
- [elpa] externals/company 6c579f7000 13/24: Add new test, for the previous, ELPA Syncer, 2023/11/06
- [elpa] externals/company ec51f51b22 04/24: Define company-safe-pixel-substring to do more accurate popup positioning, ELPA Syncer, 2023/11/06
- [elpa] externals/company d19d7a7ae7 23/24: Fix CI in Emacs 29, ELPA Syncer, 2023/11/06
- [elpa] externals/company 705af6470b 17/24: Fix an edge case, ELPA Syncer, 2023/11/06