From: Klaus-Dieter Bauer <bauer.klaus.dieter@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24918@debbugs.gnu.org
Subject: bug#24918: 25.1; Fonts can make Emacs grind to a halt
Date: Tue, 29 Nov 2016 11:29:03 +0100 [thread overview]
Message-ID: <CANtbJLGr59kfGECtBYiwSB9pjv3POG36bh7LmA79E5nhhPV2Og@mail.gmail.com> (raw)
In-Reply-To: <83lgw3zjvf.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 2855 bytes --]
The issue occurs with the default fonts too ("emacs -Q"). On Windows that
means `Courier New' for `default' and `Monospace' for `fixed-pitch',
`Monospace Serif` for `fixed-pitch-serif' and `Arial` for `variable-pitch'.
With these default settings, the `package-list-packages' buffer works
mostly fine, but the info page `(cl) Structures' for instace does not.
Using different fonts, e.g. `Linux Libertine Mono' or `Noto Mono', the
issue becomes only more widespread.
I detail, I noticed that the issue indeed does occur specifically *when
font substitution kicks in*. In the info-page for `(cl) Structure' this
occurs, because the "=>" is replaced by the unicode symbol "⇒", which is
displayed in a different font; Sadly I can't figure out a way to identify
the substituted font; It is definitely a variable-pitch font (the symbol is
wider than the default font, such that characters are no longer vertically
aligned with other lines).
For such font-substituted characters, there are multiple cases where I
observed delays.
1. When the character becomes visible in the current window (small delay
if caused by a single input event, but can crash Emacs when
scrolling-events, and thus delays, queue up).
2. When `point' is moved to the line containing the character, either
with mouse or keyboard (somewhat bigger delay).
3. When `point' is moved to the character itself, either with mouse or
keyboard (extensive delay).
4. Whenever there is any change to the Window-layout (e.g. splitting the
window, or resizing the frame).
My guess would be that custom fonts only make the issue more apparent,
because font-substitution may become more widespread.
If there is any possibility to identify the font used in font substitution
(it doesn't affect the text-attributes apparently, so C-u C-x = doesn't
help), I could check if the issue is related to one of the fonts I have
installed on my system.
- Klaus
2016-11-28 16:47 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:
> > From: Klaus-Dieter Bauer <bauer.klaus.dieter@gmail.com>
> > Date: Sun, 27 Nov 2016 22:12:48 +0100
> > Cc: 24918@debbugs.gnu.org
> >
> > I tried compiling the emacs-25 branch , freshly cloned (25.1.50.1) and
> ran it as "emacs -Q". I hope that is the
> > version you meant.
> >
> > The issue persists unless setting (setq inhibit-compacting-font-caches
> t), as before.
> >
> > It can be reproduced by scrolling (with mouse or keyboard) in info node
> `(cl) Structures'. If scrolling fast, such
> > that the multiple input events queue up while Emacs is hanging, Emacs
> freezes permanently and has to be
> > killed.
>
> Is this because you use the Noto Mono font, or is this with the
> default fonts? If the latter, please show how you customized Emacs to
> use Noto Mono.
>
> Thanks.
>
[-- Attachment #2: Type: text/html, Size: 3563 bytes --]
next prev parent reply other threads:[~2016-11-29 10:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-10 15:53 bug#24918: 25.1; Fonts can make Emacs grind to a halt Klaus-Dieter Bauer
2016-11-10 16:20 ` Clément Pit--Claudel
2016-11-10 17:12 ` Eli Zaretskii
2016-11-10 22:05 ` Klaus-Dieter Bauer
2016-11-11 8:01 ` Eli Zaretskii
[not found] ` <CANtbJLGuWhD8jUQt_KEz82kpuknemNR8u2G71fqTav2bfrR-1Q@mail.gmail.com>
[not found] ` <83lgwc96nn.fsf@gnu.org>
[not found] ` <CANtbJLGpF-ME-rKFfTwpU28oJDcGr2ww2vJhPUx2zxqnreOXpQ@mail.gmail.com>
2016-11-28 15:47 ` Eli Zaretskii
2016-11-29 10:29 ` Klaus-Dieter Bauer [this message]
2016-11-29 14:09 ` Clément Pit--Claudel
2016-11-29 17:47 ` Eli Zaretskii
2016-11-29 22:42 ` Klaus-Dieter Bauer
2016-11-30 3:42 ` Eli Zaretskii
2016-11-30 10:01 ` Klaus-Dieter Bauer
2016-11-30 15:00 ` Eli Zaretskii
2016-12-01 10:21 ` Klaus-Dieter Bauer
2016-12-01 17:31 ` Eli Zaretskii
2016-11-29 23:17 ` Alan Third
2016-11-30 15:09 ` 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=CANtbJLGr59kfGECtBYiwSB9pjv3POG36bh7LmA79E5nhhPV2Og@mail.gmail.com \
--to=bauer.klaus.dieter@gmail.com \
--cc=24918@debbugs.gnu.org \
--cc=eliz@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.