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

Previous Next

Package: emacs;

Reported by: Germain Le Chapelain <germain <at> arista.com>

Date: Thu, 17 Sep 2020 23:06:01 UTC

Severity: normal

Tags: confirmed

Merged with 2845, 2891, 4295, 22939, 23366

Found in versions 25.0.92, 25.0.93, 27.1

Done: Alan Third <alan <at> idiocy.org>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alan Third <alan <at> idiocy.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#2845: closed (23.0.91; NS: 'Set Default Font' not preserved)
Date: Tue, 22 Sep 2020 12:44:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 22 Sep 2020 13:43:24 +0100
with message-id <20200922124324.GE28875 <at> breton.holly.idiocy.org>
and subject line Re: bug#43480: 27.1; Default font size not saving on Mac
has caused the debbugs.gnu.org bug report #43480,
regarding 23.0.91; NS: 'Set Default Font' not preserved
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
43480: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43480
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alberto Simões <albie <at> alfarrabio.di.uminho.pt>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.91; NS: 'Set Default Font' not preserved
Date: Wed, 01 Apr 2009 21:27:27 +0100
I have an emacs built from cvs (one week old, probably) for MacOS (NS).
I am trying to use the
  Options > Set Default Font
Followed by
  Options > Save Options
to change the default emacs font (size).

Unfortunately, when I restart emacs I get the original font size, and
not the one defined previously.

In GNU Emacs 23.0.91.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
 of 2009-03-28 on rachmaninoff.lan
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: pt_PT.utf-8
  value of $LC_CTYPE: pt_PT.utf-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
M-x r e p o <tab> r <tab> <return>

Recent messages:
Loading paren...done [3 times]
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

-- 
Alberto Simões - Departamento de Informática - Universidade do Minho
                 Campus de Gualtar - 4710-057 Braga - Portugal


[Message part 3 (message/rfc822, inline)]
From: Alan Third <alan <at> idiocy.org>
To: Germain Le Chapelain <germain <at> arista.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 43480-done <at> debbugs.gnu.org
Subject: Re: bug#43480: 27.1; Default font size not saving on Mac
Date: Tue, 22 Sep 2020 13:43:24 +0100
On Fri, Sep 18, 2020 at 09:38:31AM -0700, Germain Le Chapelain wrote:
> 
> > 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.
> 
> Yes it does!
> 
> I am saved!  Ty kindly all!

Although I'm not 100% sure what that code is doing (Customize is
completely foreign to me) I've pushed the code to master under David's
name:

c5c29a9f0f60321304125a1f3b991ce724d868cc
Author:     David Reitter <david.reitter <at> gmail.com>
AuthorDate: Tue Sep 22 13:38:16 2020 +0100
Fix font-panel on NS (bug#43480)

So I'm closing this bug (and I guess the millions of merged bugs we've
accrued over the years).
-- 
Alan Third


This bug report was last modified 4 years and 266 days ago.

Previous Next


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