From b13f4712dcc24d0f52bb5cff81a4f8a968e4de5b Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 21 Jul 2026 17:23:35 -0700 Subject: [PATCH] Remove debug stuff from mozc-posframe.el --- elisp/mozc-posframe.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/elisp/mozc-posframe.el b/elisp/mozc-posframe.el index ce0e75b..b7c1b2c 100644 --- a/elisp/mozc-posframe.el +++ b/elisp/mozc-posframe.el @@ -21,7 +21,7 @@ "Update the candidate window using posframes. CANDIDATES is the list of candidates." (let ((contents (mozc-cand-overlay-make-contents candidates)) - (position (posn-point mozc-preedit-posn-origin)) + (position (point)) space-idxs right-sizes) (with-current-buffer (get-buffer-create my/-mozc-cand-posframe-name) @@ -41,10 +41,8 @@ CANDIDATES is the list of candidates." (put-text-property start (point) 'face face) (insert "\n"))) (let ((width (car (buffer-text-pixel-size)))) - (message "%s" width) (cl-loop for pos in space-idxs for right-width in right-sizes - do (message "%s" (- width right-width)) do (put-text-property pos (1+ pos) 'display `(space :align-to (,(- width right-width))))))