GNU bug report logs - #43480
27.1; Default font size not saving on Mac

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Germain Le Chapelain <germain@HIDDEN>; Keywords: confirmed; merged with #2845, #2891, #4295, #22939, #23366; dated Thu, 17 Sep 2020 23:06:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 2845 2891 4295 22939 23366 43480. Request was from Alan Third <alan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 43480 <at> debbugs.gnu.org:


Received: (at 43480) by debbugs.gnu.org; 18 Sep 2020 09:48:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 18 05:48:42 2020
Received: from localhost ([127.0.0.1]:40909 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJD0U-0003MF-C2
	for submit <at> debbugs.gnu.org; Fri, 18 Sep 2020 05:48:42 -0400
Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:41362)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alan@HIDDEN>)
 id 1kJD0T-0003Lv-9M; Fri, 18 Sep 2020 05:48:41 -0400
Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24])
 by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 997161177;
 Fri, 18 Sep 2020 11:48:35 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600422515; 
 s=20200222-6h9o; d=idiocy.org; i=alan@HIDDEN;
 h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To;
 l=1375; bh=GlfTLt15lTRil4Y0tNenLy+HKQ5iRYBbfyg7ptTzH7A=;
 b=MDb+vPvYmlD58DQGg/TjDoM1n6H7kbX4Ht8G/N9aXald3Ep5ySki3OoR1HYKKcwk
 o221yCQNzI6/QLOBa+DTrpjAhIIQCNk0j9bpGdXrqs085rP2j1CQNd/gchDvJFWn4jt
 xNWahNg3hPeZp9VpKmUOjcOisWX9i5i6vL/2toF8qcGParheFW89ABmLfUfcMJOKBNX
 L/gCVMwEy7NbAszPGlWWAaLygk+nJlJp0NPJyAKbzvn77LTMWQjL/tgFoYUjwdRnLGx
 d0h35yz1ZljTlsz7RLTy5ZR33NstfKfOngGsQaus3EsEvfBdjQb7//C2bhaXRITQuGg
 bhgRJGCUhA==
Received: by smtp.mailfence.com with ESMTPA ;
 Fri, 18 Sep 2020 11:48:29 +0200 (CEST)
Received: by breton.holly.idiocy.org (Postfix, from userid 501)
 id 200ED2025680FE; Fri, 18 Sep 2020 10:48:27 +0100 (BST)
Date: Fri, 18 Sep 2020 10:48:27 +0100
From: Alan Third <alan@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#43480: 27.1; Default font size not saving on Mac
Message-ID: <20200918094827.GE635@HIDDEN>
Mail-Followup-To: Alan Third <alan@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>,
 Germain Le Chapelain <germain@HIDDEN>, 43480 <at> debbugs.gnu.org
References: <6CFA63DA-A324-4F92-9D8F-1478AFED0F6E@HIDDEN>
 <83bli3600m.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <83bli3600m.fsf@HIDDEN>
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=4.7 symbols=ALL_TRUSTED,
 BAYES_00 device=10.2.0.20
X-ContactOffice-Account: com:241649512
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43480
Cc: Germain Le Chapelain <germain@HIDDEN>, 43480 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

merge 23366 43480
stop

On Fri, Sep 18, 2020 at 10:02:01AM +0300, Eli Zaretskii wrote:
> > Date: Thu, 17 Sep 2020 16:02:30 -0700
> > From: Germain Le Chapelain via "Bug reports for GNU Emacs,
> >  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> > 
> > So, the default font options don't save across session on MacOS.
> > 
> > What I did is:
> > 
> > o clicked `Option > Set Default Font...'
> > o Reduce the font size (from 12 to 11)
> > o Closed the window
> > o Clicked `Option > Save Options'
> > 
> > Quit Emacs
> > Restart Emacs
> > 
> > I was seeing size 12 font again (and would see 12 selected in going back
> > to Options > Set Default Font')
> > 
> > I would have expected to see the font at the same size as saved in the
> > previous session.
> 
> See bug#40796, maybe it will give some hints (although that bug was
> not on macOS).
> 
> Basically, some of your customizations likely causes the manual
> setting of the font size to be overwritten.

It's actually down to the way the font picker on macOS is implemented,
I believe. I've tried in the past to work out how to make it match the
other terms, but have had no luck.

Although a quick search shows David Reitter provided some code before:

    https://lists.gnu.org/archive/html/bug-gnu-emacs/2009-04/msg00704.html

I've no idea if that works.
-- 
Alan Third




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43480; Package emacs. Full text available.

Message received at 43480 <at> debbugs.gnu.org:


Received: (at 43480) by debbugs.gnu.org; 18 Sep 2020 07:01:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 18 03:01:59 2020
Received: from localhost ([127.0.0.1]:40514 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJAP8-00054P-Sm
	for submit <at> debbugs.gnu.org; Fri, 18 Sep 2020 03:01:59 -0400
Received: from eggs.gnu.org ([209.51.188.92]:50598)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1kJAP7-00054C-5F
 for 43480 <at> debbugs.gnu.org; Fri, 18 Sep 2020 03:01:57 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:57217)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1kJAP1-0000Vz-G6; Fri, 18 Sep 2020 03:01:51 -0400
Received: from [176.228.60.248] (port=3769 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1kJAOy-0002aR-0h; Fri, 18 Sep 2020 03:01:50 -0400
Date: Fri, 18 Sep 2020 10:02:01 +0300
Message-Id: <83bli3600m.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Germain Le Chapelain <germain@HIDDEN>
In-Reply-To: <6CFA63DA-A324-4F92-9D8F-1478AFED0F6E@HIDDEN>
 (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#43480: 27.1; Default font size not saving on Mac
References: <6CFA63DA-A324-4F92-9D8F-1478AFED0F6E@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43480
Cc: 43480 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Thu, 17 Sep 2020 16:02:30 -0700
> From: Germain Le Chapelain via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> So, the default font options don't save across session on MacOS.
> 
> What I did is:
> 
> o clicked `Option > Set Default Font...'
> o Reduce the font size (from 12 to 11)
> o Closed the window
> o Clicked `Option > Save Options'
> 
> Quit Emacs
> Restart Emacs
> 
> I was seeing size 12 font again (and would see 12 selected in going back
> to Options > Set Default Font')
> 
> I would have expected to see the font at the same size as saved in the
> previous session.

See bug#40796, maybe it will give some hints (although that bug was
not on macOS).

Basically, some of your customizations likely causes the manual
setting of the font size to be overwritten.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#43480; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Sep 2020 23:05:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 17 19:05:26 2020
Received: from localhost ([127.0.0.1]:40004 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kJ2xx-0003LA-NY
	for submit <at> debbugs.gnu.org; Thu, 17 Sep 2020 19:05:26 -0400
Received: from lists.gnu.org ([209.51.188.17]:34666)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <germain@HIDDEN>) id 1kJ2vG-0003Gg-Ti
 for submit <at> debbugs.gnu.org; Thu, 17 Sep 2020 19:02:39 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33704)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <germain@HIDDEN>)
 id 1kJ2vG-0008T9-G2
 for bug-gnu-emacs@HIDDEN; Thu, 17 Sep 2020 19:02:38 -0400
Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:45108)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <germain@HIDDEN>)
 id 1kJ2vE-0007Ru-4u
 for bug-gnu-emacs@HIDDEN; Thu, 17 Sep 2020 19:02:38 -0400
Received: by mail-pf1-x42e.google.com with SMTP id k15so2162125pfc.12
 for <bug-gnu-emacs@HIDDEN>; Thu, 17 Sep 2020 16:02:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=arista.com; s=googlenew;
 h=from:content-transfer-encoding:mime-version:subject:message-id:date
 :to; bh=kkcmJDmJtVf1Dy9YTBnDWn1r7leBrFkHAKeX5czAwvM=;
 b=D7iYNTuDTa0qfILNojihZxyszj5rzCs1ehzQqDzcZVtywvwLUGXMObFyfngjpyI3/v
 kxmVpnF8ai3GFVwGr2iKGD5blQ+0XNipQ7L0hyNYsRV30xopPzsPs8g5XjIFQ7F0B/cL
 h6H2TtcLU88mCEbtU4AQnzhZ5wjpHoWWku2HpsPkuyid5p5EZKEK+gY5u981Pn4nIZBj
 PaQqPVX1c1SGDLdlqINziqpUUi8enVD3ypQEchPJHNGf3dU/rITuAVm0yq3ROOV7e10v
 rM8noSoL3+cvXlgPJ9SIhKcas6BWvph19CokV1MJ6ayUu1Jzqik2gY2OgbM5FLe7npe3
 GNaw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:content-transfer-encoding:mime-version
 :subject:message-id:date:to;
 bh=kkcmJDmJtVf1Dy9YTBnDWn1r7leBrFkHAKeX5czAwvM=;
 b=GikzEz0N55iC29ixFez2DJuk8evdpK0vsrLyxigz1W/avF4Injlvg4YYErZR7cF5jG
 GIk3b1mAs880uRmb0Bh7vAOf8POKmKfk18LiVzCjtBRNBdPHZkt0iMrN72zxcZE0ZHEg
 FCVHbpsAiTfzw6JoZCCBcH366ImJgXFVhVLWbWVZsKohWyYXQnmK12ZpScdAFk8u/fjp
 P4/2Bt7jPgbuxUHKBkFeAvAfi5c4kq8YfIEM83e8tuHXTCwNVxplyglDWAcp5c8MSF4L
 JIUJrkXYgbdq6jTlt3jiVk3KLyNBBKAizwRjMP1LfkqnfMXii72X0tgR0EOG2Z34V8M8
 rMTg==
X-Gm-Message-State: AOAM5324JnwQQdjAetw0rFwasM5Ldfk2NtCu4NTP0FAjRQVCfW95rpi8
 UNYpGpd6K1XDqxIdW9gYSdEUzyBfTogInQ==
X-Google-Smtp-Source: ABdhPJzxQeAfFbSzdNMZ/qCfYzf+i5ORCyP6FaQLc/7wgceyTtn2mottX7HHQSaM/ma9HeNwqS929w==
X-Received: by 2002:a63:1d5c:: with SMTP id d28mr23235999pgm.82.1600383752287; 
 Thu, 17 Sep 2020 16:02:32 -0700 (PDT)
Received: from [192.168.0.105] (germ.lanvaux.fr. [184.68.159.242])
 by smtp.gmail.com with ESMTPSA id j1sm668290pgp.93.2020.09.17.16.02.31
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 17 Sep 2020 16:02:31 -0700 (PDT)
From: Germain Le Chapelain <germain@HIDDEN>
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
Subject: 27.1; Default font size not saving on Mac
Message-Id: <6CFA63DA-A324-4F92-9D8F-1478AFED0F6E@HIDDEN>
Date: Thu, 17 Sep 2020 16:02:30 -0700
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3608.120.23.2.1)
Received-SPF: pass client-ip=2607:f8b0:4864:20::42e;
 envelope-from=germain@HIDDEN; helo=mail-pf1-x42e.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -50
X-Spam_score: -5.1
X-Spam_bar: -----
X-Spam_report: (-5.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-2.997,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 17 Sep 2020 19:05:24 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)




Hello!


So, the default font options don't save across session on MacOS.

What I did is:

o clicked `Option > Set Default Font...'
o Reduce the font size (from 12 to 11)
o Closed the window
o Clicked `Option > Save Options'

Quit Emacs
Restart Emacs

I was seeing size 12 font again (and would see 12 selected in going back
to Options > Set Default Font')

I would have expected to see the font at the same size as saved in the
previous session.

:(

In GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 =
Version 10.14.6 (Build 18G95))
of 2020-08-11 built on builder10-14.porkrind.org
Windowing system distributor 'Apple', version 10.3.1894
System Description:  Mac OS X 10.15.6

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
<vertical-scroll-bar> <drag-mouse-2> is undefined
Making completion list...
RET =3D select, <mouse-2> =3D select, d =3D to finder directory, q =3D =
quit, ? =3D help
<vertical-scroll-bar> <drag-mouse-2> is undefined
Mark set

Configured using:
'configure --with-ns '--enable-locallisppath=3D/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
THREADS JSON PDUMPER

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Info

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util
rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils finder finder-inf
find-func lisp-mnt package browse-url url-handlers url-parse auth-source
cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map
url-vars seq byte-opt gv bytecomp byte-compile cconv jka-compr info
easymenu time-date subr-x cl-loaddefs cl-lib tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads kqueue cocoa ns
multi-tty make-network-process emacs)

Memory information:
((conses 16 86701 7095)
(symbols 48 8086 1)
(strings 32 25474 1961)
(string-bytes 1 765896)
(vectors 16 13920)
(vector-slots 8 169185 13404)
(floats 8 25 40)
(intervals 56 4593 0)
(buffers 1000 14))




Acknowledgement sent to Germain Le Chapelain <germain@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#43480; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 18 Sep 2020 10:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.