Package: emacs;
Reported by: PEDRO ANDRES ARANDA GUTIERREZ <pedroa.aranda <at> telefonica.com>
Date: Mon, 25 Apr 2016 06:01:02 UTC
Severity: normal
Tags: confirmed
Merged with 2845, 2891, 4295, 22939, 43480
Found in versions 25.0.92, 25.0.93, 27.1
Done: Alan Third <alan <at> idiocy.org>
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: PEDRO ANDRES ARANDA GUTIERREZ <pedroa.aranda <at> telefonica.com> To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org> Subject: 25.0.93; Custom font still not saved Date: Mon, 25 Apr 2016 06:00:18 +0000
[Message part 1 (text/plain, inline)]
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) (cond ((eq system-type 'gnu/linux) "x") ((eq system-type 'darwin) "mac") ((eq system-type 'berkeley-unix) "bsd") (t (progn (error "Unsupported window-system") nil))) "nox")) (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 25.0.93.1 (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 --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/25.0.93/share/info/emacs --prefix=/usr/local/Cellar/emacs/25.0.93 --with-xml2 --with-dbus --without-gnutls --with-ns --disable-ns-self-contained' Configured features: JPEG DBUS NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS 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 Features: (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
[Message part 2 (text/html, inline)]
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.