all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Keith David Bershatsky <esq@lawlist.com>
To: Emacs Devel <emacs-devel@gnu.org>
Subject: Process:  Determining the origin of a command loop.
Date: Tue, 18 Dec 2018 20:34:48 -0800	[thread overview]
Message-ID: <m2imzqyw0n.wl%esq@lawlist.com> (raw)

One of the items on my todo list for developing feature requests #22873 (multiple fake cursors) and #17684 (crosshairs and visible fill column) is the suppression of redrawing the cursor(s) in certain windows due to output from an ongoing process in one of many visible window.

Let us assume that a user has an _inactive_ window that has ongoing activity; e.g., an *Eshell* buffer is compiling an application and output necessitates that its window be updated.  The user is viewing source code in another window, which may or may not be a different frame all together.  The frame with the *Eshell* buffer may even be hidden behind the active frame.  As output arrives to the *Eshell* buffer, redisplay is updating the cursor in that window and also the active window.

I am unaware of any reason why the cursor in the active window needs updating in this situation.

Q:  How can I determine the origin of the command loop in this situation so that I can suppress the cursor from being updated in the active window?

BACKGROUND:  In general (with some exceptions), multiple fake cursors, crosshairs and the visible fill column are redrawn whenever the real cursor gets updated.

Thanks,

Keith



             reply	other threads:[~2018-12-19  4:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-19  4:34 Keith David Bershatsky [this message]
2018-12-19 15:24 ` Process: Determining the origin of a command loop Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2018-12-20  4:11 Keith David Bershatsky
2018-12-20 14:11 ` Eli Zaretskii
2018-12-20 23:54 Keith David Bershatsky

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=m2imzqyw0n.wl%esq@lawlist.com \
    --to=esq@lawlist.com \
    --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.