edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] Notify and Rerender
Date: Sun, 20 Sep 2015 02:04:09 -0400	[thread overview]
Message-ID: <20150820020409.eklhad@comcast.net> (raw)

I was going to document the rerender command, which I obviously need to do,
and I realize I'm not even sure how I want it to work.
The command itself is fine,
update the buffer if the active web page has changed out from under you -
but the question is, should the rerender ever just run ffor you on its own?
You may have no idea that the page is changing.
This is where it gets very very hard to shoehorn the page,
obviously made for sighted users, into our world.
A more accessible web page would be better, but we might not have that option.

Well I can't just update and notify you every time there is a change.
Recall my earlier example, where the page updates once a second.
We can't be spewing out
"line 12 has been updated" once a second.
And it could be more than that.
A page shoing stock prices in realtime -
I don't know how many updates per second that is.
On the other hand, should I just never tell you there has been a change,
and hope you someday invoke some javascript, which will force the rerender,
or type rr?
That doesn't seem right either.

I'm pretty confident that I shouldn't notify you of changes
to background screens (pushed onto the stack)
or screens in other sessions.
You'll see those changes when you switch over to them.
This question is only for the current screen.

I'm wondering if I should mark the time of the first change,
that perhaps you don't know about,
and if a rerender hasn't happened in one minute, or some such time interval,
then I force the rerender and tell you what lines have changed.
That might be the best compromise between reporting every single
asynchronous change and never saying a word.

Karl Dahlke

             reply	other threads:[~2015-09-20  6:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-20  6:04 Karl Dahlke [this message]
2015-09-20  8:14 ` Chris Brannon
2015-09-20  8:22   ` Karl Dahlke

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=20150820020409.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    /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.
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 NNTP newsgroup(s).