GNU bug report logs -
#2845
23.0.91; NS: 'Set Default Font' not preserved
Previous Next
Reported by: albie <at> alfarrabio.di.uminho.pt
Date: Wed, 1 Apr 2009 20:35:02 UTC
Severity: normal
Tags: confirmed
Merged with 2891,
4295,
22939,
23366,
43480
Found in versions 25.0.92, 25.0.93, 27.1
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2845 in the body.
You can then email your comments to 2845 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#2845
; Package
emacs
.
(Wed, 01 Apr 2009 20:35:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
albie <at> alfarrabio.di.uminho.pt
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 01 Apr 2009 20:35:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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
bug reassigned from package `emacs' to `emacs,ns'.
Request was from
Juanma Barranquero <lekktu <at> gmail.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 01 Apr 2009 23:45:04 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#2845
; Package
emacs,ns
.
(Tue, 28 Apr 2009 13:30:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
David Reitter <david.reitter <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Tue, 28 Apr 2009 13:30:04 GMT)
Full text and
rfc822 format available.
Message #12 received at 2845 <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello Alberto,
> 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).
Does the following bit of code solve the problem for you?
(defun ns-respond-to-change-font ()
"Respond to changeFont: event, expecting ns-input-font and\n\
ns-input-fontsize of new font."
(interactive)
(let ((face 'default))
(set-face-attribute face t
:family ns-input-font
:height (* 10 ns-input-fontsize))
(set-face-attribute face (selected-frame)
:family ns-input-font
:height (* 10 ns-input-fontsize))
(let ((spec
(list (list t (face-attr-construct 'default)))))
(put face 'customized-face spec)
(custom-push-theme 'theme-face face 'user 'set spec)
(put face 'face-modified nil))))
[smime.p7s (application/pkcs7-signature, attachment)]
Merged 2845 2891.
Request was from
Glenn Morris <rgm+emacsbugs <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 17 Jun 2009 21:00:05 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
:
bug#2845
; Package
emacs,ns
.
(Thu, 23 Jul 2009 17:05:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Adrian Robert <adrian.b.robert <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>, owner <at> emacsbugs.donarmstrong.com
.
(Thu, 23 Jul 2009 17:05:06 GMT)
Full text and
rfc822 format available.
Message #19 received at 2845 <at> emacsbugs.donarmstrong.com (full text, mbox):
> (defun ns-respond-to-change-font ()
> "Respond to changeFont: event, expecting ns-input-font and\n\
> ns-input-fontsize of new font."
> (interactive)
> (let ((face 'default))
> (set-face-attribute face t
> :family ns-input-font
> :height (* 10 ns-input-fontsize))
> (set-face-attribute face (selected-frame)
> :family ns-input-font
> :height (* 10 ns-input-fontsize))
> (let ((spec
> (list (list t (face-attr-construct 'default)))))
> (put face 'customized-face spec)
> (custom-push-theme 'theme-face face 'user 'set spec)
> (put face 'face-modified nil))))
This would change the behavior of the font panel in other
circumstances so that it wouldn't just set the font of the current
frame. Also it seems to work around the functionality in menu-set-font.
We might need to implement x-select-font to put up a font panel and
return the result (without doing any actual setting of anything itself).
Merged 2845 2891 4295.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Tue, 01 Sep 2009 22:25:07 GMT)
Full text and
rfc822 format available.
Added tag(s) confirmed.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 26 Apr 2016 19:22:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 21 Oct 2020 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 89 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.