1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00
Commit Graph

92914 Commits

Author SHA1 Message Date
Alan Mackenzie
6cc6582e5e *** empty log message *** 2009-11-18 07:06:43 +00:00
Katsumi Yamaoka
30123838c5 (rfc2047-decode-region): Don't quote decoded words containing tspecial
characters if they have been already quoted.  -- Synch with Gnus trunk.
2009-11-17 22:10:40 +00:00
Andreas Schwab
1b9ac1453d * lisp.h: Remove declaration of Ffont_get_system_font.
* xfns.c: Move include of "xsettings.h".
* xsettings.h: Use EXFUN to declare Ffont_get_system_font.
2009-11-17 21:57:48 +00:00
Jan Djärv
dfb3c4c640 xsettings.c didn't check font-use-system-font, fix that.
* xsettings.c (something_changedCB, Ffont_get_system_font): Check
use_system_font.
(syms_of_xsettings): DEFVAR font-use-system-font.

* font-setting.el (font-use-system-font): Moved ...

* cus-start.el (all): ... to here.
2009-11-17 20:17:46 +00:00
Andreas Schwab
25fe851a7c (x_default_font_parameter): Remove dead assignment. 2009-11-17 19:13:14 +00:00
Andreas Schwab
9370c1d8eb (Fbyteorder, init_font, Ffont_get_system_font): Declare. 2009-11-17 19:11:53 +00:00
Michael Albinus
303ffde825 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
modification time.
2009-11-17 14:58:08 +00:00
Jan Djärv
21050de1b8 * xftfont.c (xftfont_fix_match): Older versions of fontconfig does
not have FC_LCD_*.  #define them if not there.
2009-11-17 13:47:29 +00:00
Michael Albinus
e268e987dc * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
Don't set `ad-return-value' if `ad-do-it' doesn't.
2009-11-17 10:38:44 +00:00
Jan Djärv
a6eb20d8fe #ifdef on FC_LCD_FILTER.
* xftfont.c (xftfont_fix_match): Older versions of fontconfig does
not have FC_LCD_FILTER.  #ifdef it.

* xsettings.c (parse_xft_settings, apply_xft_settings): Ditto

* xftfont.c (xftfont_fix_match): New function.
(xftfont_open): Call XftDefaultSubstitute before XftFontMatch.
Call xftfont_fix_match after XftFontMatch.
2009-11-17 09:53:45 +00:00
Jan Djärv
ad413b3564 menu-bar.el(menu-bar-options-save): Add font-use-system-font. 2009-11-17 09:19:12 +00:00
Jan Djärv
749cebc32f Add font-setting.el to DOC. 2009-11-17 09:13:36 +00:00
Jan Djärv
637fa98808 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.
2009-11-17 08:21:23 +00:00
Glenn Morris
77fd3e0c13 Add 2009 to copyright years. 2009-11-17 04:44:58 +00:00
Glenn Morris
2d84f8043a (newsticker--treeview-list-update-faces):
Preserve point in the list buffer.  (Bug#4939)
Use point-at-eol.
(newsticker--treeview-list-update-highlight)
(newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
2009-11-17 04:41:15 +00:00
Glenn Morris
1d16a255ba (vc-svn-print-log): Fix typo in previous. 2009-11-17 04:35:33 +00:00
Glenn Morris
371b0117bf (INFO_FILES): Add semantic. 2009-11-17 04:34:45 +00:00
Kenichi Handa
5a94293248 (x_produce_glyphs): Consider face-remapping when falling
back to the default font in case that no suitable font is found.
2009-11-17 04:17:19 +00:00
Stefan Monnier
b7c7a4d1f8 (Fx_popup_menu) [HAVE_NS]: Use generic code for window edge.
Suggested by Chad Brown <yandros@mit.edu>.
(push_menu_item): Use MENU_ITEMS_ITEM_* names.
2009-11-17 03:32:04 +00:00
Jay Belanger
b06df1929b Mention twos-complement notation. 2009-11-17 02:01:44 +00:00
Juanma Barranquero
be479117b1 * semantic.texi (Semantic Internals, Glossary):
* sem-user.texi (Semantic mode, Include paths, Idle Scheduler)
  (Semanticdb search debugging commands): Fix typos.
2009-11-17 01:52:48 +00:00
Jay Belanger
17291a1fc4 (Radix modes): Mention twos-complement notation. 2009-11-16 23:41:36 +00:00
Jay Belanger
14467b99c9 (calc-b-prefix-help): Remove references to `calc-symclip'. 2009-11-16 23:35:14 +00:00
Jay Belanger
dd279d77ab (calc-arithmetic-menu): Remove `calc-symclip'. 2009-11-16 23:30:42 +00:00
Jay Belanger
e788cd434e (calc-get-operator):
(calc-b-oper-keys): Remove references to `calc-symclip'.
2009-11-16 23:30:18 +00:00
Jay Belanger
62be857ba2 (calc-init-extensions): Remove references to symclip. 2009-11-16 23:29:53 +00:00
Jay Belanger
0cfc719dc7 (math-symclip, calcFunc-symclip, calc-symclip): Remove. 2009-11-16 23:29:20 +00:00
Kevin Ryde
497de631d5 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
(lm-keywords-list): Allow comma-only separator like "foo,bar".
Ignore trailing spaces by omit-nulls to split-string (fixing
regression from Emacs 21 due to the incompatible split-string
change).  (Bug #4928.)
2009-11-16 22:59:09 +00:00
Juanma Barranquero
af42a9cc38 * makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean): Add semantic.
($(infodir)/semantic, semantic.dvi): New targets.
2009-11-16 22:55:14 +00:00
Kevin Ryde
e3c39c01f5 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Use
`sgml-lexical-context' instead of own parse for tag.  (Further to
Bug#4511).
2009-11-16 22:53:21 +00:00
Chong Yidong
8834a98b6b * info/dir: Add Semantic. 2009-11-16 22:26:36 +00:00
Chong Yidong
3149927d2f * Makefile.in: Build the Semantic manual.
* semantic.texi, sem-user.texi: New files, adapted from the Semantic
repository.
2009-11-16 22:25:49 +00:00
Dan Nicolaescu
48b2757534 * vc.el (vc-log-show-limit): Default to 2000.
(vc-print-log-internal): Insert buttons to request more entries
when limiting the output.

* vc-sccs.el (vc-sccs-print-log):
* vc-rcs.el (vc-rcs-print-log):
* vc-cvs.el (vc-cvs-print-log):
* vc-git.el (vc-git-print-log): Return 'limit-unsupported when
LIMIT is non-nil.
2009-11-16 20:36:06 +00:00
Michael Albinus
d3e971853d * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
error when `tramp-gvfs-dbus-event-vector' is set.
(tramp-gvfs-maybe-open-connection): Loop over `read-event'.
2009-11-16 20:10:39 +00:00
Jan Djärv
118141564b *** empty log message *** 2009-11-16 19:46:56 +00:00
Jan Djärv
072f1e39a2 xmenu.c(x_menu_wait_for_event): Call XFlush before select. 2009-11-16 19:43:40 +00:00
Chong Yidong
50d1a4ac3f Remove unneeded declare-function calls. 2009-11-16 15:34:19 +00:00
Stefan Monnier
68d87786ae (vc-rcs-consult-headers): Add missing save-excursion. 2009-11-16 14:41:05 +00:00
Michael Albinus
977640ed13 * dbus.texi (Receiving Method Calls): New defun
`dbus-unregister-service'.
2009-11-16 14:29:55 +00:00
Michael Albinus
c0a3970225 * net/dbus.el (dbus-unregister-service): New defun.
(dbus-register-property): Register the handlers for
"org.freedesktop.DBus.Properties" for SERVICE.
(dbus-property-handler): Fix docstring.
2009-11-16 14:25:43 +00:00
YAMAMOTO Mitsuharu
1e8571214b (byte-compile-output-file-form):
Quote doc string reference in defvaralias as it is not in special form.
(byte-compile-output-docform): Doc fix.
2009-11-16 04:06:12 +00:00
Glenn Morris
7d8ba25431 Regenerate autoloads. 2009-11-16 02:08:12 +00:00
Glenn Morris
92424f959d (install-arch-indep): Use a more restrictive Makefile
pattern, so as not to exclude makefile*.el.  (Bug#4912)
2009-11-16 02:06:36 +00:00
Jay Belanger
887484c140 (calc-b-prefix-help): Add help for `calc-symclip'. 2009-11-16 00:11:51 +00:00
Jay Belanger
fa2c374a22 (calc-arithmetic-menu): Add item for `calc-symclip'.
(calc-modes-menu): Add item for twos complement.
2009-11-16 00:07:07 +00:00
Jay Belanger
43a4260ead (calc-get-operator): Add `calc-symclip'.
(calc-b-oper-keys): Add `calc-symclip' to list.
2009-11-16 00:02:21 +00:00
Jay Belanger
6f1b89435a (math-read-number-fancy): Read complement signed numbers.
(calc-init-extensions): Add binding for `calc-symclip'.
Add autoloads for `calcFunc-symclip' and `calc-symclip'.
2009-11-16 00:01:57 +00:00
Jay Belanger
802732d033 (calc-embedded-mode-vars): Add `calc-complement-signed-mode'. 2009-11-16 00:01:17 +00:00
Jay Belanger
b1d9611c47 (calc-word-size): Reset the variables math-2-word-size' and math-half-2-word-size'.
(math-format-complement-signed, math-symclip, calcFunc-symclip, calc-symclip): New functions.
2009-11-16 00:00:22 +00:00
Jay Belanger
55c222f6ed (math-read-token): Read complement signed numbers. 2009-11-15 23:59:38 +00:00