all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Noam Postavsky <npostavs@users.sourceforge.net>
Cc: 29095@debbugs.gnu.org, Alexander Shukaev <emacs@Alexander.Shukaev.name>
Subject: bug#29095: Bug: The '20a09de953f437109a098fa8c4d380663d921481' merge increased my Emacs configuration loading time from 9 s to 60 s
Date: Thu, 09 Nov 2017 08:28:46 +0100	[thread overview]
Message-ID: <5A0403AE.6020305@gmx.at> (raw)
In-Reply-To: <87vaik51ld.fsf@users.sourceforge.net>

 >> But as long as a user doesn't switch to that workspace she won't observe
 >> that making a new frame is slower. So I seem to be missing something.
 >
 > She can observe it indirectly via lisp code.

But Alexander said

  Furthermore, other operations like navigation across windows or
  performing an incremental search are also noticeably slower, i.e. they
  stutter annoyingly, and from what I see is a result of extensive GC
  spam which did not occur in previous versions.  Looks like something

so he must have had a direct, immediate experience.

 >> Anyway, we probably should add to /etc/PROBLEMS lines like
 >>
 >> "If a new Emacs frame is supposed to appear on a different virtual
 >> workspace, Emacs may not be notified about the visibility of the frame
 >> until the user switches to that workspace.
 >
 > Hmm, not sure.  This sounds to me like "Emacs may not be notified about
 > the visibility of the frame until the frame is visible".  Which doesn't
 > seem like something which belongs in /etc/PROBLEMS.

Apparently there are corner cases (like that of the virtual workspaces)
where we cannot fulfill a contract that ‘make-frame’ and
‘make-frame-visible’ supply a visible frame at the time the operation
terminates.  So either we should not provide such a contract in the
first place or mention that in some cases there are obvious problems.

 > I was operating under the assumption that the timeout is for the benefit
 > of the user's lisp code, not their interactions with the UI.  Not sure
 > the timeout would be that helpful for missing messages; under normal
 > circumstances it's not even hit, and 100ms goes by pretty quickly for a
 > human...

I think that Lisp code (1) must be able to deal with the fact that any
frame is currently invisible and (2) should never wait until a frame
gets visible.  In my experience being nice to Lisp code sooner or later
fails.

 > I would still like to phase it out.  Maybe we could set the default to
 > nil for Emacs 27?

I'd set the default to nil for the release.  Did we have any open bugs
when you added that option?

martin






  reply	other threads:[~2017-11-09  7:28 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01  0:44 bug#29095: Bug: The '20a09de953f437109a098fa8c4d380663d921481' merge increased my Emacs configuration loading time from 9 s to 60 s Alexander Shukaev
2017-11-01  1:31 ` Noam Postavsky
2017-11-01 23:49   ` Alexander Shukaev
2017-11-02  0:21     ` Noam Postavsky
2017-11-04 23:28       ` Alexander Shukaev
2017-11-04 23:53         ` Noam Postavsky
2017-11-04 23:58           ` Alexander Shukaev
2017-11-05 10:53           ` martin rudalics
2017-11-07  9:10             ` Noam Postavsky
2017-11-07 12:57               ` Noam Postavsky
2017-11-08  7:13               ` martin rudalics
2017-11-08 13:42                 ` Noam Postavsky
2017-11-09  7:28                   ` martin rudalics [this message]
2017-11-09 13:20                     ` Noam Postavsky
2017-11-09 18:12                       ` martin rudalics
2017-11-09 22:09                         ` Alexander Shukaev
2017-11-09 22:22                           ` Alexander Shukaev
2017-11-10  0:53                           ` Noam Postavsky
2019-04-23  2:52                             ` Noam Postavsky
2017-11-12 10:09                           ` martin rudalics
2017-11-08  7:13               ` martin rudalics
2017-11-01  3:44 ` 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=5A0403AE.6020305@gmx.at \
    --to=rudalics@gmx.at \
    --cc=29095@debbugs.gnu.org \
    --cc=emacs@Alexander.Shukaev.name \
    --cc=npostavs@users.sourceforge.net \
    /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.