Thien-Thi Nguyen [Tue, 19 Feb 2008 11:45:54 +0000 (11:45 +0000)]
Make sure all backends support vc-BACKEND-root.
* vc-hooks.el (vc-find-root): Take optional arg INVERT.
If non-nil, reverse the sense of the check.
* vc-rcs.el (vc-rcs-root): New func.
* vc-cvs.el (vc-cvs-root): New func.
* vc-svn.el (vc-svn-root): New func.
Kenichi Handa [Mon, 18 Feb 2008 11:52:16 +0000 (11:52 +0000)]
Delete occurances of non-Unicode
tibetan and ethiopic characters.
(cjk-char-width-table): New variable.
(use-cjk-char-width-table, use-default-char-width-table): New
functions.
Stefan Monnier [Mon, 18 Feb 2008 04:08:04 +0000 (04:08 +0000)]
(image-get-display-property): New fun.
(image-forward-hscroll, image-next-line, image-eol, image-eob, image-mode)
(image-minor-mode, image-toggle-display-text, image-toggle-display): Use it.
Jason Rumney [Mon, 18 Feb 2008 01:45:54 +0000 (01:45 +0000)]
* international/mule.el (sgml-xml-auto-coding-function): Detect
and warn if file encoding is not utf-8 and encoding not specified.
(xml-find-file-coding-system): New function.
* international/mule-conf.el (file-coding-system-alist): Use it.
Roland Winkler [Sun, 17 Feb 2008 21:02:29 +0000 (21:02 +0000)]
(bibtex-search-entry): Rename from bibtex-find-entry.
Add outoload cookie.
(bibtex-find-entry): Alias for bibtex-search-entry.
(bibtex-search-crossref): Rename from bibtex-find-crossref.
(bibtex-find-crossref): Alias for bibtex-search-crossref.
(bibtex-clean-entry): atomic-change-group removed.
(bibtex-format-entry): Use atomic-change-group. Use
unwind-protect to locate buffer location where error occured.
Make error messages more specific.
(bibtex-parse-keys): Only parse if buffer uses bibtex-mode.
Kenichi Handa [Sun, 17 Feb 2008 02:05:08 +0000 (02:05 +0000)]
Include xterm.h.
[HAVE_NTGUI]: Include w32term.h.
[MAC_OS]: Include macterm.ch.
(font_otf_ValueRecord): Use make_number.
(font_finish_cache): Fix handling of reference count.
(font_clear_cache): Update num_fonts.
(font_open_entity): Update smallest_char_width and
smallest_font_height of the frame.
(font_close_object): Update num_fonts.
(Fclear_font_cache): Fix finding the target cache data.
Kenichi Handa [Sun, 17 Feb 2008 02:03:44 +0000 (02:03 +0000)]
(FONTSET_OBJLIST): New macro.
(fontset_find_font): Update font-object list of the fontset.
(free_realized_fontset): New function.
(free_face_fontset): Call free_realized_fontset.
(Ffont_info): Call font_close_object only when enable_font_backend
is set.
Kenichi Handa [Sun, 17 Feb 2008 02:01:43 +0000 (02:01 +0000)]
(handle_composition_prop): Set it->c to the fist
characte of the composed region.
(fill_composite_glyph_string): Set base_face->font_info to
s->font_info. Get a face for ascii from base_face->ascii_face.
(BUILD_COMPOSITE_GLYPH_STRING): Call fill_composite_glyph_string
with a face already decided.
(x_produce_glyphs): Be sure to set it->ascent and it->descent to
non-negative.
(x_produce_glyphs): If the composition method is
..._WITH_GLYPH_STRING, call font_prepare_composition
unconditionally.
Kenichi Handa [Sun, 17 Feb 2008 02:01:26 +0000 (02:01 +0000)]
(prepare_face_for_display): Use display_info->font->fid
for GCs.
(Finternal_set_font_selection_order): Call font_update_sort_order
only when enable_font_backend is set.
(realize_x_face): Set face->font_info to that of default face only
when enable_font_backend is set.
Glenn Morris [Sat, 16 Feb 2008 22:20:12 +0000 (22:20 +0000)]
(emacs-startup-time): Rename to `before-init-time'.
(before-init-time): New name for `emacs-startup-time'.
(command-line): Use before-init-time rather than emacs-startup-time.
Dan Nicolaescu [Sat, 16 Feb 2008 07:40:06 +0000 (07:40 +0000)]
Remove the minor-mode bookkeeping. Move
make-variable-buffer-local code after the corresponding defvar.
(hs-minor-mode-map): Define and initialize in one step.
(hs-minor-mode): Change from defun to define-minor-mode.
Nick Roberts [Sat, 16 Feb 2008 06:45:07 +0000 (06:45 +0000)]
(gdb-ready): Move declaration from gud.el to here.
(gdb-early-user-input): New variable.
(gdb): Reset gdb-flush-pending-output to nil and set
comint-input-sender here (before gdb-prompt), instead of...
(gdb-init-1): ...here.
(gdb-send): If Emacs is not ready, defer user input to...
(gdb-prompt): ...here.
(uniquify-managed): Don't defvar.
(desktop-buffer-info): Use `uniquify-buffer-base-name', not `uniquify-managed'.
Return also the buffer's base name.
(desktop-save): When saving the buffer info, filter out the base name, and save
it as buffer name if the buffer is managed by uniquify.
(uniquify-item-base): Don't declare; not called anymore.