From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Newsgroups: gmane.emacs.bugs Subject: bug#36030: Changing the region or the point changes the way characters are displayed Date: Fri, 31 May 2019 16:51:10 -0400 Message-ID: <3411e468-633a-f643-1cc7-58ffce2483ee@gmail.com> References: <5b0601b7-2d86-8516-f03f-59b313c19085@gmail.com> <83k1e6ws96.fsf@gnu.org> <816b2b4c-775d-eba9-44c2-611fd63d171e@gmail.com> <83ef4ewipq.fsf@gnu.org> <83blziwfx6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="212942"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 Cc: 36030@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 31 22:52:30 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWoVp-000tGw-Rk for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 May 2019 22:52:30 +0200 Original-Received: from localhost ([127.0.0.1]:49026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWoVo-0005Eg-8H for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 May 2019 16:52:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWoVP-00054S-7y for bug-gnu-emacs@gnu.org; Fri, 31 May 2019 16:52:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWoVO-0003Y8-4P for bug-gnu-emacs@gnu.org; Fri, 31 May 2019 16:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51089) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWoVN-0003Xz-Rc for bug-gnu-emacs@gnu.org; Fri, 31 May 2019 16:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWoVN-00047z-PZ for bug-gnu-emacs@gnu.org; Fri, 31 May 2019 16:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 May 2019 20:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36030 X-GNU-PR-Package: emacs Original-Received: via spool by 36030-submit@debbugs.gnu.org id=B36030.155933588215756 (code B ref 36030); Fri, 31 May 2019 20:52:01 +0000 Original-Received: (at 36030) by debbugs.gnu.org; 31 May 2019 20:51:22 +0000 Original-Received: from localhost ([127.0.0.1]:36400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWoUj-000461-7M for submit@debbugs.gnu.org; Fri, 31 May 2019 16:51:21 -0400 Original-Received: from mail-qk1-f193.google.com ([209.85.222.193]:39186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWoUf-00045G-LZ for 36030@debbugs.gnu.org; Fri, 31 May 2019 16:51:18 -0400 Original-Received: by mail-qk1-f193.google.com with SMTP id i125so7210088qkd.6 for <36030@debbugs.gnu.org>; Fri, 31 May 2019 13:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=UKhicwNEIdeKaXJR/ws12QHH5zxQPLilaoq3yi5rRWo=; b=gvbNZSECiMUjYkJCwQewoct5X4KJKJtxUiRAAvsIwR1Ao+iKj3K9oPZDJ+hNy7jvlH PzChZK5CSfSi4MFvn/+0AwQmd488SaQ006xVsdQ0bpzXA/qAIyLyAUT1vBBCxXBO7LLM 4TyPlWMmm8vyA7Mn4p7Q/Zkx2LR861XF4G0HQFEii+bhSmSti9QZoybs/QY3y1HIA8TI v1noqCy2w5DwJ7s6CPHSMhd9O/W8J+wmkBOFFQAREoKUuUtUNQZKsxP+elc9G4wk3evf qB7lkAk2D30H79euE4ZfqgSKftPJOQsBiD0Z0s4oJYSQTdT29JA0X7JP+HI5fhKJ7ZEs dcng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UKhicwNEIdeKaXJR/ws12QHH5zxQPLilaoq3yi5rRWo=; b=rKIm142LUgcv5d9pcVL1CZ48JP9kDnqi9nA8QY4WyWIO9d8QIPk2dmx/RlG398Il4F qVsFCYrpRjJH9O2dpPACBVkWAViVhyQDvm5aoZGzwql0BYrbtPsmY/uBBZRQaISHeHte 0vwMkRSb3FIQdg9XEqXRz/cecHp7NT8M0P888J9SG2m6gXnYEaMD/EiiDbQwVBhhyUWU ZYn0C5/IiPSCIcRw/+1YHd+rBfvQkvGYvi6lbyY3dDJLNmO/t0rTSaYZyPeaRjJXS5Tg 6woCauyM44JtTgfTXdcDbFR/+fvQuJVUyebxXXe5zVwFvslKNS8TsJWB2W/d3oZ5Pl1Z Pu+g== X-Gm-Message-State: APjAAAVxW3rKy58PNgx0LmeIwnDhzPfA7lf9fERo1BJAa5wlKr/P7jdM EgcRWEI464QxBc0Xj4Qp72IPl/5pmW8= X-Google-Smtp-Source: APXvYqwLmwrOnATUK4nZmoJgPku+DrAynjOkaEE0qhAHTqCuJix2vZwNpNQxRs7r95oW0V294DVrJQ== X-Received: by 2002:a05:620a:403:: with SMTP id 3mr10294739qkp.204.1559335871870; Fri, 31 May 2019 13:51:11 -0700 (PDT) Original-Received: from [128.30.93.57] (30-93-57.dynamic.csail.mit.edu. [128.30.93.57]) by smtp.googlemail.com with ESMTPSA id m55sm3895305qta.30.2019.05.31.13.51.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 May 2019 13:51:11 -0700 (PDT) In-Reply-To: <83blziwfx6.fsf@gnu.org> Content-Language: en-GB X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159983 Archived-At: On 2019-05-31 16:02, Eli Zaretskii wrote: >> Cc: 36030@debbugs.gnu.org >> From: Clément Pit-Claudel >> Date: Fri, 31 May 2019 15:28:46 -0400 >> >> I see it with many other scripts. >>> >>> Which ones? I only see this on the Arabic line, at least in "emacs -Q". >> >> I see it with Hebrew as well, but not in emacs -Q. With this string: >> >> 'ՙա-ևא-תװ-ײؠ-يٮ-ٯٱ-ۓەۥ-ۦۮ-ۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴ-ߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ' >> >> (taken from a regular expression) > > So this is not at all in the HELLO buffer? Please be sure to tell > this important detail in the future: I just spent some time trying to > reproduce the problem in HELLO. Sorry about this. It is in a Python buffer. >> But if I place it at the ܒ, then run (save-excursion (goto-char ) (what-cursor-position t)) I see xft:-GNU -FreeSans-normal-normal-normal-*-16-*-*-*-*-0-iso10646-1 (#x509) instead. >> >> Moving the point to a different line, the font changes again, this time to xft:-GNU -FreeMono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1 (#x4FF) > > The font doesn't change, just the glyph number reported by Emacs > changes (that's what that hex code in parentheses means). But it also changes from FreeSans to FreeMono; isn't that a font change? > I see none of that in "emacs -Q". I also don't understand how > resizing the frame could cause these effects. If the recipe is more > complicated than just copy/paste the strings you show into *scratch*, > please be sure to show the whole recipe. E.g., where did the face > properties come from? This is python-mode's syntax highlighting. Unfortunately, I don't have a reproducible recipe for these issues yet; they happen on my machine, but I have many custom fonts and Emacs customization here. I will try to find a recipe. Clément.