unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Keith David Bershatsky <esq@lawlist.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: What triggers a redisplay when no command or timer?
Date: Thu, 07 Sep 2017 09:43:28 -0700	[thread overview]
Message-ID: <m21snijw7j.wl%esq@lawlist.com> (raw)

Thank you, Eli, for teaching me to make better use of the gdb breakpoint facilities and for letting me know that Emacs may not be responsible for triggering the redisplay at issue.  I look forward to examining this issue further as time permits.

Your help and insight is greatly appreciated.

Keith

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

DATE:  [09-07-2017 07:50:20] <07 Sep 2017 17:50:20 +0300>
FROM:  Eli Zaretskii <eliz@gnu.org>
> 
> * * *
> 
> I don't see here what you describe.  Emacs is sitting doing nothing
> and not entering redisplay, if I take care not to move the mouse
> and/or having the Emacs frame have focus.
> 
> But you don't need us to answer your question: just run Emacs under a
> debugger, put a breakpoint in redisplay_internal, and when it breaks,
> look at the backtrace.  If you cannot figure out what you see, post
> the backtrace here.
> 
> In general any event provided by any input source, including messages
> from the window-system, could potentially cause what you describe.
> 
> Note that the trace message you are citing means just that Emacs
> entered redisplay, but it doesn't mean something will actually be
> redisplayed, because redisplay_internal could return right away under
> some conditions.



             reply	other threads:[~2017-09-07 16:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-07 16:43 Keith David Bershatsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-09-07  4:57 What triggers a redisplay when no command or timer? Keith David Bershatsky
2017-09-07 14:50 ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m21snijw7j.wl%esq@lawlist.com \
    --to=esq@lawlist.com \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).