all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Elias Mårtenson" <lokedhs@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: raeburn@raeburn.org, Tino Calancha <tino.calancha@gmail.com>,
	25247@debbugs.gnu.org
Subject: bug#25247: 26.0.50; Concurrency crashes with XLib
Date: Sun, 1 Jan 2017 01:28:10 +0800	[thread overview]
Message-ID: <CADtN0WJ+eE8AufDVZQWzAqOaF8uVvWBnTvdek-tzkSyxXmh1dQ@mail.gmail.com> (raw)
In-Reply-To: <83k2agggp9.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1729 bytes --]

On 1 January 2017 at 01:18, Eli Zaretskii <eliz@gnu.org> wrote:

I don't understand what you are saying here; it sounds like a
> contradiction: the file on disk is updated (with presumably the next
> Foo:%d strings), but the "buffer content isn't refreshed"?  Maybe by
> "buffer content" you mean its display on the screen?  Because if the
> file is updated, the buffer's content must also be updated, as that's
> what gets written to the file.  Right?
>

That is correct. I meant that the screen has not been updated to reflect
the buffer content.


> The display on the screen will only change if Emacs enters redisplay.
> If you see the file's contents change, but the display on the screen
> doesn't reflect that, it means Emacs does not get a chance to perform
> redisplay, because it doesn't become idle in any of the threads that
> are active.  Which could be the case, since every time a running
> thread is about to become idle, there's another thread ready to run.
>

I'm not sure exactly what you refer to when you say "ready to run". There
are of course more threads, but none of them should be "ready to run".
They're all sitting in 'sleep-for' already.


> > Interestingly enough, the minibuffer message does get updated.
>
> Displaying minibuffer messages uses a separate entry to redisplay, and
> that entry only displays the echo area, unless it needs to resize the
> mini-window.
>

I see. I did notice that calling 'redisplay' after the 'insert' makes
everything work exactly the way I'd expect it to.

I guess doing that is perfectly acceptable and understandable once one has
had the benefit of someone explaining it to him, like in this case. That
said, it would be nice if I didn' thave to.

Thanks,
Elias

[-- Attachment #2: Type: text/html, Size: 2717 bytes --]

  reply	other threads:[~2016-12-31 17:28 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-22 10:20 bug#25247: 26.0.50; Concurrency crashes Tino Calancha
2016-12-22 17:28 ` Eli Zaretskii
2016-12-23  3:34   ` Tino Calancha
2016-12-23  8:34     ` Eli Zaretskii
2016-12-23 11:32       ` Tino Calancha
2016-12-23 14:14         ` Eli Zaretskii
2016-12-29 11:37           ` bug#25247: 26.0.50; Concurrency crashes with XLib Tino Calancha
2016-12-29 17:44             ` Eli Zaretskii
2016-12-30  3:13               ` Tino Calancha
2016-12-30  7:19             ` Ken Raeburn
2016-12-30  8:37               ` Eli Zaretskii
2016-12-30  9:41                 ` Eli Zaretskii
2016-12-30 10:30                   ` Elias Mårtenson
2016-12-30 11:05                     ` Eli Zaretskii
2016-12-30 11:21                       ` Elias Mårtenson
2016-12-30 18:54                         ` Eli Zaretskii
2016-12-30 20:40                           ` Eli Zaretskii
2016-12-31 11:05                         ` Eli Zaretskii
2016-12-31 15:34                           ` Elias Mårtenson
2016-12-31 15:51                             ` Eli Zaretskii
2016-12-31 16:24                               ` Elias Mårtenson
2016-12-31 17:18                                 ` Eli Zaretskii
2016-12-31 17:28                                   ` Elias Mårtenson [this message]
2016-12-31 18:06                                     ` Eli Zaretskii
2016-12-31 18:16                                       ` Elias Mårtenson
2016-12-31 18:29                                         ` Eli Zaretskii
2016-12-31 18:38                                           ` Eli Zaretskii
2016-12-30 13:45                   ` Tino Calancha
2016-12-30 16:57                     ` Eli Zaretskii
2017-01-06  0:03                       ` npostavs
2017-01-06  7:48                         ` Eli Zaretskii
2016-12-23  9:34   ` bug#25247: 26.0.50; Concurrency crashes Ken Raeburn
2016-12-23 10:04     ` 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=CADtN0WJ+eE8AufDVZQWzAqOaF8uVvWBnTvdek-tzkSyxXmh1dQ@mail.gmail.com \
    --to=lokedhs@gmail.com \
    --cc=25247@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=raeburn@raeburn.org \
    --cc=tino.calancha@gmail.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.
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.