From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?Artemio_Gonz=C3=A1lez_L=C3=B3pez?= Newsgroups: gmane.emacs.devel Subject: Re: problem with Emacs 25.2.1 under Mac OS 10.13 beta 5 Date: Mon, 14 Aug 2017 17:32:28 +0200 Message-ID: References: <0417ac7d-79d9-8a79-8c79-f23a4856fa3d@mac.com> <83shgugowi.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_22B7C285-A648-45F9-BD81-28CCFBA53C70" X-Trace: blaine.gmane.org 1502724778 1625 195.159.176.226 (14 Aug 2017 15:32:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 14 Aug 2017 15:32:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 14 17:32:49 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhHMB-0007vR-CZ for ged-emacs-devel@m.gmane.org; Mon, 14 Aug 2017 17:32:43 +0200 Original-Received: from localhost ([::1]:55742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhHMH-0003DX-QW for ged-emacs-devel@m.gmane.org; Mon, 14 Aug 2017 11:32:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhHM7-0003BU-DT for emacs-devel@gnu.org; Mon, 14 Aug 2017 11:32:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhHM6-000726-1Z for emacs-devel@gnu.org; Mon, 14 Aug 2017 11:32:39 -0400 Original-Received: from mr90p56im-ztdg06161701.me.com ([17.120.72.21]:46083) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dhHM2-00070Z-8k; Mon, 14 Aug 2017 11:32:34 -0400 Original-Received: from process-dkim-sign-daemon.mr90p56im-ztdg06161701.me.com by mr90p56im-ztdg06161701.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0OUO00O00LHTA700@mr90p56im-ztdg06161701.me.com>; Mon, 14 Aug 2017 15:32:33 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=04042017; t=1502724753; bh=sGjC2O7ofvrXrmRU+iP8g6pxi2nmApRtnFgSZGCn04c=; h=From:Message-id:Content-type:MIME-version:Subject:Date:To; b=wQH64oF+7oeYF3L0vByHGoxmad5waK8j8jxQbq1Tbx0QBF9ESxjQ0OMSPvYoaMovZ wFlZ/EIWjrlEi4wypg4l71ZYq1mOlnSXhRhOo9eUstVlRMkz6f6nzaFSn4DXH5Knd5 n5U4yIZD6T0M28CgLDKtlNiK9tSYdW9q4DYUwetAL3sTgtuuA+leMpZq2g6z0u1Z5N iOwZ6qKXeI3/5MS6sd2De17wXEpl5Ru7oCoRdjWet8JnVud9uEdIEpErXs192dzyBt zg2/abgegy9KJEqLb55HgdXrUo4Qv31ZC+p8Y+VR/fwDqza2oOhU7qUpUF4IlWCFnO qK25q7nH0+vFQ== Original-Received: from icloud.com ([127.0.0.1]) by mr90p56im-ztdg06161701.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) with ESMTPSA id <0OUO00H4VLU5JL40@mr90p56im-ztdg06161701.me.com>; Mon, 14 Aug 2017 15:32:32 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-08-14_14:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1701120000 definitions=main-1708140253 In-reply-to: <83shgugowi.fsf@gnu.org> X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 17.120.72.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217539 Archived-At: --Apple-Mail=_22B7C285-A648-45F9-BD81-28CCFBA53C70 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 14, 2017, at 5:17 PM, Eli Zaretskii wrote: >=20 >> From: Artemio Gonzalez Lopez >> Date: Mon, 14 Aug 2017 11:35:39 +0200 >>=20 >> I've been using Emacs 25.2.1 (downloaded from emacsformacosx.com) = with=20 >> several developer betas of Mac OS 10.13. I had no problem until the=20= >> latest (beta 5), which does not render properly the fringes and the=20= >> header/mode lines in Emacs windows. More precisely, it renders them = in=20 >> solid black, which in particular makes it virtually impossible to = read=20 >> the text messages in the header/mode lines. I am attaching two png=20 >> files, showing how a window is rendered now (Fig. 1) and how it = should=20 >> be rendered (Fig. 2). This is probably a bug in macos's CoreGraphics = (in=20 >> fact, I've filed a bug report to the effect). However, while the bug = is=20 >> fixed (I hope in the next beta release!), I thought perhaps there = could=20 >> be a way of manually setting the background color of the fringes and=20= >> header/mode which is not overridden by macos. Any suggestion in this=20= >> respect would be very welcome! >=20 > AFAIU, the problem manifests itself in the inability of Emacs to load > the colors it wants to use. So one possible workaround would be to > find out which colors it _can_ load, and customize the 'fringe' face > to use one of those colors. >=20 > To find which colors are available, use "M-x list-colors-display=E2=80=9D= . Hi, Eli, Thanks a lot for your suggestions. In fact, =E2=80=9CM-x = list-colors-display=E2=80=9D produces the following baffling error = message: apply: Wrong number of arguments: max, 0 After getting this error, I checked the Messages buffer and found the = following lines: Unable to load color "grey75" Unable to load color "gray75" Unable to load color "dark red" Unable to load color "gray75" Unable to load color "gray50" Unable to load color "gray75" Unable to load color "gray50" Unable to load color "gray75" [3 times] Loading delsel...done Loading paren...done Loading /Users/artemio/.session...done For information about GNU Emacs and the GNU system, type C-h C-a. Unable to load color "Firebrick" Unable to load color "RoyalBlue3" Unable to load color "dark slate blue" Unable to load color "darkseagreen2" Unable to load color "gray75" [2 times] Unable to load color =E2=80=9Cgray50" So it looks that after the newest developer beta Emacs has problems = finding most (all?) colors. Does that make sense to you? Any = fixes/workarounds that come to mind? Thanks a lot, Artemio Artemio Gonzalez Lopez artemiog@mac.com --Apple-Mail=_22B7C285-A648-45F9-BD81-28CCFBA53C70 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On Aug 14, 2017, at 5:17 PM, Eli Zaretskii <eliz@gnu.org> = wrote:

From: Artemio Gonzalez = Lopez <artemiog@mac.com>
Date: Mon, 14 Aug 2017 = 11:35:39 +0200

I've been using Emacs 25.2.1 = (downloaded from emacsformacosx.com) with
several developer = betas of Mac OS 10.13. I had no problem until the
latest = (beta 5), which does not render properly the fringes and the
header/mode lines in Emacs windows. More precisely, it = renders them in
solid black, which in particular makes it = virtually impossible to read
the text messages in the = header/mode lines. I am attaching two png
files, showing = how a window is rendered now (Fig. 1) and how it should
be = rendered (Fig. 2). This is probably a bug in macos's CoreGraphics (in =
fact, I've filed a bug report to the effect). However, = while the bug is
fixed (I hope in the next beta = release!), I thought perhaps there could
be a way of = manually setting the background color of the fringes and
header/mode which is not overridden by macos. Any suggestion = in this
respect would be very welcome!

AFAIU, the problem manifests = itself in the inability of Emacs to load
the colors it = wants to use.  So one possible workaround would be to
find out which colors it _can_ load, and customize the = 'fringe' face
to use one of those colors.

To find which colors are available, use "M-x = list-colors-display=E2=80=9D.

Hi, Eli,

Thanks = a lot for your suggestions. In fact, =E2=80=9CM-x list-colors-display=E2=80= =9D produces the following baffling error message:

apply: Wrong number of arguments: max, = 0

After getting this error, I = checked the Messages buffer and found the following lines:

Unable to load color = "grey75"
Unable to load color "gray75"
Unable to = load color "dark red"
Unable to load color = "gray75"
Unable to load color "gray50"
Unable to = load color "gray75"
Unable to load color = "gray50"
Unable to load color "gray75" [3 = times]
Loading delsel...done
Loading = paren...done
Loading = /Users/artemio/.session...done
For information about GNU Emacs = and the GNU system, type C-h C-a.
Unable to load color = "Firebrick"
Unable to load color "RoyalBlue3"
Unable = to load color "dark slate blue"
Unable to load color = "darkseagreen2"
Unable to load color "gray75" [2 = times]
Unable to load color =E2=80=9Cgray50"

So it looks that after the newest developer beta = Emacs has problems finding most (all?) colors. Does that make sense to = you? Any fixes/workarounds that come to mind?

Thanks a lot,

Artemio


Artemio Gonzalez Lopez
artemiog@mac.com




= --Apple-Mail=_22B7C285-A648-45F9-BD81-28CCFBA53C70--