unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jon Dufresne <jon.dufresne@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Need help debugging Emacs: emacsclient will not draw its contents sometimes
Date: Tue, 22 Sep 2015 17:51:45 -0700	[thread overview]
Message-ID: <CADhq2b6-c+SOSnNA7RwK6WTpG7Bbhdx1aAS=RCfTOiur49SBCA@mail.gmail.com> (raw)
In-Reply-To: <83egi19usm.fsf@gnu.org>

On Mon, Sep 14, 2015 at 3:09 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Once the issue arises, if I execute "emacsclient -c", "emacsclient -c
>> filename.txt", "emacsclient -t", or "emacsclient -t filename.txt" from
>> a new gnome-terminal the frame opens and display correctly as
>> expected. It appears that only the frames created by mercurial
>> commands regularly have the issue, and then only sometimes.
>
> I guess the question is now what does Mercurial do, exactly, to invoke
> emacsclient.  Can you look at the command line Mercurial passes to it,
> for example?  Perhaps also log the communications between emacsclient
> and the server on the Emacs side, and see what is passed there.
>
> The screenshot you posted seems like the frame was never created
> completely, so Emacs doesn't think it should be displaying any text
> yet.  I wonder why that happens.
>
>> If I execute the "emacsclient -c" from a separate terminal (as
>> mentioned above), then retry the mercurial command, the next frame
>> displays correctly as expected. It seems this sequence somehow gets
>> around the issue.
>
> We need to figure out what kind of "issue" this works around.

I'm at a loss on how to continue diagnosing this issue. I continue to
hit the problem, even with the newer Emacs. Luckily less frequently
than before and it is now easier to resume normal usage, but enough
that it interrupts my flow. Any thoughts on how to possibly gather
more useful information?

Thanks,
Jon



  reply	other threads:[~2015-09-23  0:51 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-08 13:00 Need help debugging Emacs: emacsclient will not draw its contents sometimes Jon Dufresne
2015-09-08 13:28 ` Tassilo Horn
2015-09-08 17:18 ` Eli Zaretskii
2015-09-08 18:58   ` Jon Dufresne
2015-09-08 19:16     ` Eli Zaretskii
2015-09-09 22:29       ` Jon Dufresne
2015-09-10 15:26         ` Eli Zaretskii
2015-09-10 18:20           ` Jon Dufresne
2015-09-10 18:46             ` Eli Zaretskii
2015-09-10 18:52               ` Jon Dufresne
2015-09-11  7:26                 ` Eli Zaretskii
2015-09-11 16:47                   ` Jon Dufresne
2015-09-14 10:09                     ` Eli Zaretskii
2015-09-23  0:51                       ` Jon Dufresne [this message]
2015-09-23  6:45                         ` Eli Zaretskii
2015-09-27 22:21                           ` Mike Kupfer
2015-09-28  6:39                             ` Eli Zaretskii
2016-02-16  1:07                             ` Mike Kupfer
2016-02-16 16:26                               ` Eli Zaretskii
2016-02-16 16:38                                 ` Kaushal Modi
2016-02-16 16:44                                   ` Eli Zaretskii
2016-02-16 17:06                                     ` Kaushal Modi
2016-02-17  2:05                                 ` Mike Kupfer
2016-02-17 20:02                                   ` Eli Zaretskii
2016-02-18  5:01                                     ` Mike Kupfer
2016-02-20 11:24                                       ` 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='CADhq2b6-c+SOSnNA7RwK6WTpG7Bbhdx1aAS=RCfTOiur49SBCA@mail.gmail.com' \
    --to=jon.dufresne@gmail.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).