[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23366: closed (25.0.93; Custom font still not saved)

From: GNU bug Tracking System
Subject: bug#23366: closed (25.0.93; Custom font still not saved)
Date: Tue, 22 Sep 2020 12:44:03 +0000

Your message dated Tue, 22 Sep 2020 13:43:24 +0100
with message-id <20200922124324.GE28875@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 25.0.93; Custom font still not saved
to be marked as done.

(If you believe you have received this mail in error, please contact

43480: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43480
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 25.0.93; Custom font still not saved Date: Mon, 25 Apr 2016 06:00:18 +0000 User-agent: Microsoft-MacOutlook/f.15.1.160411

Already reported in 25.0.92.
I set the custom file according to the OS I'm running emacs on, using the following code:

(defun window-system-name()
  (if (display-graphic-p)
  ((eq system-type 'gnu/linux) "x")
  ((eq system-type 'darwin) "mac")
  ((eq system-type 'berkeley-unix) "bsd")
  (t (progn (error "Unsupported window-system") nil)))
(setq window-environment (window-system-name))
(setq custom-file (format "~/.emacs.d/%s-custom.el" window-environment))
(load custom-file 'noerror)

When I set the font through
Options->Set Default Font
The font will be changed for the session. However, when I try to save it with
Options->Save Options

It will not be saved in .emacs.d/$SYSTEM-custom.el

Actually, the custom-set-faces command will be empty. Happens on all systems.

In GNU Emacs (x86_64-apple-darwin15.4.0, NS appkit-1404.46 Version 10.11.4 (Build 15E65))
of 2016-04-25 built on paag.hi.inet
Windowing system distributor 'Apple', version 10.3.1404
Configured using:
'configure --disable-dependency-tracking --disable-silent-rules
--prefix=/usr/local/Cellar/emacs/25.0.93 --with-xml2 --with-dbus
--without-gnutls --with-ns --disable-ns-self-contained'

Configured features:

Important settings:
  value of $LC_ALL: C
  value of $LC_CTYPE: es_ES.UTF-8
  value of $LANG: es_ES.UTF-8
  locale-coding-system: utf-8

Major mode: Lisp Interaction

Minor modes in effect:
  global-hl-line-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  show-paren-mode: t
  server-mode: t
  global-linum-mode: t
  linum-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Loading /Volumes/Macintosh-HD/Users/paag/.emacs.d/functions.el (source)...done
Loading /Volumes/Macintosh-HD/Users/paag/.emacs.d/narrow-xml.el (source)...done
Loading /Volumes/Macintosh-HD/Users/paag/.emacs.d/modes.el (source)...done
Loading /Volumes/Macintosh-HD/Users/paag/.emacs.d/hooks.el (source)...done
Loading /Volumes/Macintosh-HD/Users/paag/.emacs.d/c-hook.el (source)...done
Loading /Volumes/Macintosh-HD/Users/paag/.emacs.d/tex-hook.el (source)...done
Loading /Volumes/Macintosh-HD/Users/paag/.emacs.d/keymaps.el (source)...done
Restarting server
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [5 times]

Load-path shadows:
~/.emacs.d/elpa/markdown-mode-20160312.2335/markdown-mode hides ~/.emacs.d/lisp/markdown-mode

(shadow sort flyspell ispell mail-extr emacsbug message dired
format-spec rfc822 mailabbrev gmm-utils mailheader sendmail edmacro
kmacro doxygen re-builder base16-ashes-dark-theme hl-line mediawiki
derived url-cache ring mm-url gnus gnus-ems nnheader mail-utils wid-edit
mml mml-sec epg mm-decode mm-bodies mm-encode url-http tls gnutls url
url-proxy url-privacy url-expand url-methods url-history mailcap
url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-cookie
url-domsuf url-util url-parse auth-source eieio eieio-core gnus-util
mm-util help-fns mail-prsvr password-cache url-gw url-vars linum-ex
cl-macs easy-mmode cl-seq yasnippet cl finder-inf package epg-config seq
byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv
cl-loaddefs pcase cl-lib paren server linum cus-start cus-load time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame
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 charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
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 dbusbind kqueue cocoa
ns multi-tty make-network-process emacs)

Memory information:
((conses 16 319156 10672)
(symbols 48 29943 6)
(miscs 40 86 295)
(strings 32 47463 9515)
(string-bytes 1 1239510)
(vectors 16 42624)
(vector-slots 8 776761 3869)
(floats 8 273 106)
(intervals 56 275 0)
(buffers 976 13))

Dr. Pedro A. Aranda Gutiérrez

Technology Exploration -
Network Innovation & Virtualisation
email: pedroa d0t aranda At telefonica d0t com
Telefónica, Investigación y Desarrollo
C/ Zurbarán,12
28010 Madrid, Spain

Fragen sind nicht da, um beantwortet zu werden.
Fragen sind da, um gestellt zu werden.
Georg Kreisler

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição

--- End Message ---
--- Begin Message --- 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

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

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]