* bug#43480: 27.1; Default font size not saving on Mac
@ 2020-09-17 23:02 Germain Le Chapelain via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-18 7:02 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Germain Le Chapelain via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-09-17 23:02 UTC (permalink / raw)
To: 43480
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 = select, <mouse-2> = select, d = to finder directory, q = quit, ? = help
<vertical-scroll-bar> <drag-mouse-2> is undefined
Mark set
Configured using:
'configure --with-ns '--enable-locallisppath=/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))
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#43480: 27.1; Default font size not saving on Mac
2020-09-17 23:02 bug#43480: 27.1; Default font size not saving on Mac Germain Le Chapelain via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2020-09-18 7:02 ` Eli Zaretskii
2020-09-18 9:48 ` Alan Third
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2020-09-18 7:02 UTC (permalink / raw)
To: Germain Le Chapelain; +Cc: 43480
> 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@gnu.org>
>
> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#43480: 27.1; Default font size not saving on Mac
2020-09-18 7:02 ` Eli Zaretskii
@ 2020-09-18 9:48 ` Alan Third
2020-09-18 16:38 ` Germain Le Chapelain via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 1 reply; 5+ messages in thread
From: Alan Third @ 2020-09-18 9:48 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Germain Le Chapelain, 43480
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@gnu.org>
> >
> > 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#43480: 27.1; Default font size not saving on Mac
2020-09-18 9:48 ` Alan Third
@ 2020-09-18 16:38 ` Germain Le Chapelain via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-22 12:43 ` Alan Third
0 siblings, 1 reply; 5+ messages in thread
From: Germain Le Chapelain via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-09-18 16:38 UTC (permalink / raw)
To: Alan Third; +Cc: Eli Zaretskii, 43480
> On Sep 18, 2020, at 2:48 AM, Alan Third <alan@idiocy.org> wrote:
>
> ...
>
> On Fri, Sep 18, 2020 at 10:02:01AM +0300, Eli Zaretskii wrote:
>>
>>
>> Basically, some of your customizations likely causes the manual
>> setting of the font size to be overwritten.
\x10Thank you Eli! It was a fresh install though, setting the font size was my first dabble w/ it.
> 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.
\x10Yes it does!
I am saved! Ty kindly all!
Kind regards,
—
Germain
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#43480: 27.1; Default font size not saving on Mac
2020-09-18 16:38 ` Germain Le Chapelain via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2020-09-22 12:43 ` Alan Third
0 siblings, 0 replies; 5+ messages in thread
From: Alan Third @ 2020-09-22 12:43 UTC (permalink / raw)
To: Germain Le Chapelain; +Cc: 43480-done
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.
>
> \x10Yes 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@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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-09-22 12:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-17 23:02 bug#43480: 27.1; Default font size not saving on Mac Germain Le Chapelain via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-18 7:02 ` Eli Zaretskii
2020-09-18 9:48 ` Alan Third
2020-09-18 16:38 ` Germain Le Chapelain via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-09-22 12:43 ` Alan Third
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.