From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.devel Subject: Re: Menu-bar flickering on Win10 Date: Wed, 02 Nov 2022 14:35:19 +0100 Message-ID: <86cza57a3s.fsf@gnu.org> References: <86a6598soc.fsf@gnu.org> <83v8nxa41n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5682"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 02 14:36:34 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oqDuz-0001F0-LG for ged-emacs-devel@m.gmane-mx.org; Wed, 02 Nov 2022 14:36:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqDuQ-0005E6-7t; Wed, 02 Nov 2022 09:35:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqDuO-0005DV-Fv for emacs-devel@gnu.org; Wed, 02 Nov 2022 09:35:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqDuO-0004EQ-3P for emacs-devel@gnu.org; Wed, 02 Nov 2022 09:35:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=KQmPvRYREuzedo/k4nkao65+qlM5GPemjo7K0epcSjc=; b=in/LVE/d/l2/D/8vlLLd sq4Ph9gZP4LhNo6VoLGmmJEsoUIroi1xXBgYtWN/uUt3163Bpw4RO0geKpMtoEsakNofqrQXNAEI5 DM+8zsrcDAY+T8+El3xfZZewr/yqtLrldn0fHsoO1ML5Px0KqV+YKqir4t0nDSkCwFiJmn0Frl7Sa cwn58yR4mBTFvR6VsIy4BNvK02FbV8/+os7mfhgLAIygh0txC1EMsuQix/EqghE3+KJoURm6s2bXe LXciu4oa7X7YMaodvMfTDS8L7GKo1Shog5Hfx39R31v7XHBVuz4NdbgOTv6Xn6aaGu0YMfatRS22T dP2uUDq4TVUxxw==; Original-Received: from p5b326552.dip0.t-ipconnect.de ([91.50.101.82] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqDuK-0004Iy-EM; Wed, 02 Nov 2022 09:35:55 -0400 In-Reply-To: <83v8nxa41n.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 02 Nov 2022 15:17:56 +0200") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299016 Archived-At: Eli Zaretskii writes: > Does the code involved in the display of completion temporarily > switches to a different window, or changes the major mode? No, it is in a single window and the only buffer I used. > IOW, I suggest to step through the code which is involved, and see > which part of it actually causes the flickering. There's too many > unknowns in what you described. I did only this: =E2=80=A2 emacs -Q =E2=80=A2 Opened a trivial and small .tex file like this: \documentclass{article} \usepackage{cleveref} \begin{document} \section{This is my first section} \label{sec:firstsec} \begin{equation} \label{eq:1} a+b=3Dc \end{equation} \ref{eq:1}; \cref{sec:firstsec} \end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: =E2=80=A2 Eval'ed the following lines to setup the buffer: (setq tab-always-indent 'complete) (tool-bar-mode -1) (add-to-list 'load-path (directory-file-name "~/.emacs.d/elpa/corfu-0.28/") t) (require 'corfu) (corfu-mode 1) (require 'eglot) (add-to-list 'eglot-server-programs '((tex-mode context-mode texinfo-mode bibtex-mode) . ("texlab"))) =E2=80=A2 M-x eglot RET =E2=80=A2 Started playing with the file by hitting \usep to see what happens. My first reaction was if corfu is probably the problem since it uses child frames and not overlays, hence my question. Best, Arash