bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#23366: 25.0.93; Custom font still not saved


From: PEDRO ANDRES ARANDA GUTIERREZ
Subject: bug#23366: 25.0.93; Custom font still not saved
Date: Mon, 25 Apr 2016 07:45:00 +0000
User-agent: Microsoft-MacOutlook/f.15.1.160411

Answers inline,



-----Mensaje original-----
De: Eli Zaretskii <eliz@gnu.org>
Responder a: Eli Zaretskii <eliz@gnu.org>
Fecha: lunes, 25 de abril de 2016, 9:38
Para: paag <pedroa.aranda@telefonica.com>
CC: "23366@debbugs.gnu.org" <23366@debbugs.gnu.org>
Asunto: Re: bug#23366: 25.0.93; Custom font still not saved

>> From: PEDRO ANDRES ARANDA GUTIERREZ <pedroa.aranda@telefonica.com>
>> Date: Mon, 25 Apr 2016 06:00:18 +0000
>>
>> Already reported in 25.0.92.
>
>Could you please point out where this was reported?  I couldn't find it.

bug#22939: Acknowledgement (25.0.92; Font management for Mac OSX broken)

Also happens in Linux and BSD with all kinds of distress...

>> 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.
>
>I cannot reproduce this on my system (MS-Windows) with the latest
>emacs-25 branch and with stock Emacs 25.0.93.  When I set custom-file
>to some file name, then select "Set Default Font" from the menu bar,
>and finally click "Options->Save Options", I see a message in the echo
>area saying that the custom-file was written (it shows the exact name
>I set custom-file to), and in the custom-file I see this part:
>
>  (custom-set-faces
>   ;; custom-set-faces was added by Custom.
>   ;; If you edit it by hand, you could mess it up, so be careful.
>   ;; Your init file should contain only one such instance.
>   ;; If there is more than one, they won't work right.
>   '(default ((t (:family "Arial Unicode MS" :foundry "outline" :slant normal 
> :weight normal :height 98 :width normal)))))
>
>(Arial Unicode MS is the font I selected.)
>
>So there's something else in your customizations or your init files
>that prevents this from working.  Please look closer at those
>customizations and try to find the culprit.
>
>Thanks.

________________________________

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

reply via email to

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