all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arash Esbati <arash@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Menu-bar flickering on Win10
Date: Wed, 02 Nov 2022 14:35:19 +0100	[thread overview]
Message-ID: <86cza57a3s.fsf@gnu.org> (raw)
In-Reply-To: <83v8nxa41n.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 02 Nov 2022 15:17:56 +0200")

Eli Zaretskii <eliz@gnu.org> 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:

 • emacs -Q

 • 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=c
     \end{equation}

     \ref{eq:1}; \cref{sec:firstsec}

     \end{document}

     %%% Local Variables:
     %%% mode: latex
     %%% TeX-master: t
     %%% End:

 • 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")))

  • M-x eglot RET

  • Started playing with the file by hitting \usep<TAB> 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



  reply	other threads:[~2022-11-02 13:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-02 12:08 Menu-bar flickering on Win10 Arash Esbati
2022-11-02 12:14 ` Po Lu
2022-11-02 13:17 ` Eli Zaretskii
2022-11-02 13:35   ` Arash Esbati [this message]
2022-11-02 13:53     ` Eli Zaretskii
2022-11-02 14:07       ` Arash Esbati
2022-11-02 15:11         ` Eli Zaretskii
2022-11-03 10:46           ` Arash Esbati
2022-11-03 11:26             ` Eli Zaretskii
2022-11-03 11:51               ` Po Lu
2022-11-03 13:55                 ` Arash Esbati
  -- strict thread matches above, loose matches on Subject: below --
2022-11-04 12:51 Johan Myréen
2022-11-04 13:54 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86cza57a3s.fsf@gnu.org \
    --to=arash@gnu.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.