all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24482: 25.1; font setting in ".emacs" is not respected
@ 2016-09-20 16:24 me
  2016-09-20 17:08 ` martin rudalics
  2017-07-17  1:51 ` npostavs
  0 siblings, 2 replies; 5+ messages in thread
From: me @ 2016-09-20 16:24 UTC (permalink / raw)
  To: 24482

--text follows this line--

I change the default font via "Easy Customization" and save it. The 
contents of the file
".emacs" is below.
{{{
(custom-set-variables
  ;; custom-set-variables 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.
  )
(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 "Nimbus Roman" :foundry "UKWN" :slant normal 
:weight normal :height 201 :width normal)))))
}}}

After I restart Emacs, the font shown is not the font I chose. Actually,
I see how Emacs changes the font I chose to another font promptly.

This bug appeared after upgrading from 24.5 to 25.1.



In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9)
  of 2016-09-18 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
Configured using:
  'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
  --localstatedir=/var --with-x-toolkit=gtk3 --with-xft
  'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe
  -fstack-protector-strong' CPPFLAGS=-D_FORTIFY_SOURCE=2
  LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
   value of $LANG: uk_UA.utf8
   locale-coding-system: utf-8-unix

Major mode: Fundamental

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
   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

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message idna dired format-spec rfc822
mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel x-win term/common-win x-dnd 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 inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 89255 4158)
  (symbols 48 19778 0)
  (miscs 40 99 121)
  (strings 32 14457 4856)
  (string-bytes 1 414237)
  (vectors 16 11874)
  (vector-slots 8 436804 4847)
  (floats 8 164 55)
  (intervals 56 243 13)
  (buffers 976 20))






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#24482: 25.1; font setting in ".emacs" is not respected
  2016-09-20 16:24 bug#24482: 25.1; font setting in ".emacs" is not respected me
@ 2016-09-20 17:08 ` martin rudalics
  2016-09-20 18:08   ` Drew Adams
  2017-07-17  1:51 ` npostavs
  1 sibling, 1 reply; 5+ messages in thread
From: martin rudalics @ 2016-09-20 17:08 UTC (permalink / raw)
  To: me, 24482

 > I change the default font via "Easy Customization" and save it. The contents of the file
 > ".emacs" is below.
 > {{{
 > (custom-set-variables
 >   ;; custom-set-variables 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.
 >   )
 > (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 "Nimbus Roman" :foundry "UKWN" :slant normal :weight normal :height 201 :width normal)))))
 > }}}
 >
 > After I restart Emacs, the font shown is not the font I chose. Actually,
 > I see how Emacs changes the font I chose to another font promptly.
 >
 > This bug appeared after upgrading from 24.5 to 25.1.

See the thread "Note on e65c307 breaks font-height" on emacs-devel.

martin





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#24482: 25.1; font setting in ".emacs" is not respected
  2016-09-20 17:08 ` martin rudalics
@ 2016-09-20 18:08   ` Drew Adams
  0 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2016-09-20 18:08 UTC (permalink / raw)
  To: martin rudalics, me, 24482

>  > This bug appeared after upgrading from 24.5 to 25.1.
> 
> See the thread "Note on e65c307 breaks font-height" on emacs-devel.

This is the thread, in case it helps someone:
http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00557.html





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#24482: 25.1; font setting in ".emacs" is not respected
  2016-09-20 16:24 bug#24482: 25.1; font setting in ".emacs" is not respected me
  2016-09-20 17:08 ` martin rudalics
@ 2017-07-17  1:51 ` npostavs
  2017-09-02 14:00   ` Eli Zaretskii
  1 sibling, 1 reply; 5+ messages in thread
From: npostavs @ 2017-07-17  1:51 UTC (permalink / raw)
  To: me; +Cc: 24482

merge 24482 25228
quit

me@beroal.in.ua writes:

> I change the default font via "Easy Customization" and save it. The
> contents of the file
> ".emacs" is below.
> {{{
> (custom-set-variables
>  ;; custom-set-variables 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.
>  )
> (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 "Nimbus Roman" :foundry "UKWN" :slant normal
> :weight normal :height 201 :width normal)))))
> }}}
>
> After I restart Emacs, the font shown is not the font I chose. Actually,
> I see how Emacs changes the font I chose to another font promptly.
>
> This bug appeared after upgrading from 24.5 to 25.1.

Possible workarounds are

    (define-key special-event-map [config-changed-event] #'ignore)

or

    (advice-add 'dynamic-setting-handle-config-changed-event :override #'ignore)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#24482: 25.1; font setting in ".emacs" is not respected
  2017-07-17  1:51 ` npostavs
@ 2017-09-02 14:00   ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2017-09-02 14:00 UTC (permalink / raw)
  To: npostavs; +Cc: me, 24482

unblock 24655 by 24482
thanks

> From: npostavs@users.sourceforge.net
> Date: Sun, 16 Jul 2017 21:51:02 -0400
> Cc: 24482@debbugs.gnu.org
> 
> > After I restart Emacs, the font shown is not the font I chose. Actually,
> > I see how Emacs changes the font I chose to another font promptly.
> >
> > This bug appeared after upgrading from 24.5 to 25.1.
> 
> Possible workarounds are
> 
>     (define-key special-event-map [config-changed-event] #'ignore)
> 
> or
> 
>     (advice-add 'dynamic-setting-handle-config-changed-event :override #'ignore)

With workarounds available, and no GTK expert on board to help us find
a better fix, I don't think this problem should block the release of
Emacs 26.1.

Thanks.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-02 14:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-20 16:24 bug#24482: 25.1; font setting in ".emacs" is not respected me
2016-09-20 17:08 ` martin rudalics
2016-09-20 18:08   ` Drew Adams
2017-07-17  1:51 ` npostavs
2017-09-02 14:00   ` Eli Zaretskii

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.