Mercurial > emacs
annotate etc/future-bug @ 106085:cd4cbab8bb21
Handle system default font and changing font parameters.
* xterm.h (struct x_display_info): Add atoms and Window for xsettings.
* xterm.c (handle_one_xevent): Call xft_settings_event for
ClientMessage, PropertyNotify and DestroyNotify.
(x_term_init): If we have XFT, get DPI from Xft.dpi.
Call xsettings_initialize.
* xftfont.c (xftfont_fix_match): New function.
(xftfont_open): Call XftDefaultSubstitute before XftFontMatch.
Call xftfont_fix_match after XftFontMatch.
* xfont.c (xfont_driver): Initialize all members.
* xfns.c (x_default_font_parameter): Try font from Ffont_get_system_font.
Do not get font from x_default_parameter if we got one from
Ffont_get_system_font.
(Fx_select_font): Get the defaut font name from :name of FRAME_FONT (f).
* w32font.c (w32font_driver): Initialize all members.
* termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new.
* lisp.h: Declare syms_of_xsettings.
* keyboard.c (kbd_buffer_get_event, make_lispy_event): Handle
CONFIG_CHANGED_EVENT.
* ftfont.c (ftfont_filter_properties): New function.
* frame.c (x_set_font): Remove unused variable lval.
* font.h (struct font_driver): filter_properties is new.
* font.c (font_put_extra): Don't return if val is nil, it means
boolean option is off.
(font_parse_fcname): Collect all extra properties in extra_props
and call filter_properties for all drivers with extra_props and
font as parameter.
(font_open_entity): Do not use cache, it does not pick up new fontconfig
settings like hinting.
(font_load_for_lface): If spec had a name in it, store it in entity.
* emacs.c (main): Call syms_of_xsettings
* config.in: HAVE_GCONF is new.
* Makefile.in (GCONF_CFLAGS, GCONF_LIBS): New variables for HAVE_GCONF.
xsettings.o is new.
* menu-bar.el: Put "Use system font" in Option-menu.
* loadup.el: If feature system-font-setting or font-render-setting is
there, load font-setting.
* Makefile.in (ELCFILES): font-settings.el is new.
* font-setting.el: New file.
* NEWS: Mention dynamic font changes (font-use-system-font).
* configure.in: New option: --with(out)-gconf.
Set HAVE_GCONF if we find gconf.
| author | Jan Dj?rv <jan.h.d@swipnet.se> |
|---|---|
| date | Tue, 17 Nov 2009 08:21:23 +0000 |
| parents | 40be809ca221 |
| children |
| rev | line source |
|---|---|
| 25852 | 1 Date: Tue, 23 Feb 2199 21:03:50 -0600 |
| 2 From: Karl Fogel <kfogel@floss.cyclic.com> | |
| 3 To: bug-gnu-emacs@prep.ai.mit.edu | |
| 4 Subject: M-x search-backward-in-time broken... | |
| 5 X-Windows: you'll envy the dead. | |
| 6 | |
| 7 In GNU Emacs 51.70.4 (i9986-unknown-linux-gnu, X toolkit) of Sat Feb 20 2199 on floss | |
| 8 configured using `configure --with-x-toolkit=yes' | |
| 9 | |
| 10 The `search-backward-in-time' function appears to be broken in | |
|
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
25852
diff
changeset
|
11 Emacs 51.70. |
| 25852 | 12 |
| 13 Unfortunately, I can never seem to start the debugger early | |
| 14 enough to catch the error as it happens. However I have traced the | |
| 15 problem through source by eye, and it looks like `time-forward' can't | |
| 16 handle negative arguments anymore. This is consistent with other | |
| 17 symptoms: for example, `undo' (which since 51.25 has worked by passing | |
| 18 a negative arg to `time-forward') is also broken. However, `do' still | |
| 19 works -- it seems that `time-forward' continues to handle positive | |
| 20 arguments just fine. | |
| 21 | |
| 22 No one here-and-now can figure out how to fix the problem, | |
| 23 because the code for `time-forward' is so hairy. We're using M-x | |
| 24 report-future-emacs-bug to request that you folks include more | |
| 25 comments when you write it (sometime in 2198 as I recall). | |
| 26 | |
| 27 Thanks! | |
| 28 | |
| 29 -Karl Fogel <kfogel@red-bean.com> | |
| 30 | |
| 31 | |
| 32 P.S. You'll be pleased to know that since (time-forward N) still works | |
| 33 for N >= 0, we've used it to pre-emptively update configure.in. | |
| 34 Emacs now configures and builds on every platform that will ever | |
| 35 be made. It wasn't easy, but at least that's one problem out of | |
| 36 the way for good. If you'd like the patch, just ask. | |
| 37 |
