Kim F. Storm [Fri, 9 Jun 2006 13:04:13 +0000 (13:04 +0000)]
(ispell-kill-ispell): If ispell has been
launched asynchronously, delete its process instead of being cool.
(ispell-async-processp): Check for `delete-process' existence
instead of `kill-process' one for consistency.
Submitted by: Michaël Cadilhac <michael.cadilhac@lrde.org>
Kenichi Handa [Fri, 9 Jun 2006 02:15:05 +0000 (02:15 +0000)]
(Qiso8859_1, Qiso10646_1, Qunicode_bmp): Moved to
font.c.
(ftfont_pattern_entity): New function.
(ftfont_get_cache): Assume that freetype_font_cache is already
initialized.
(ftfont_list): Handle the case that a file is specified in font
name. Use ftfont_pattern_entity to generate entities.
(ftfont_has_char): Check if the pattern contains FC_CHARSET.
(syms_of_ftfont): Initialize freetype_font_cache.
Kenichi Handa [Fri, 9 Jun 2006 02:14:49 +0000 (02:14 +0000)]
(reorder_font_vector): Pay attention to the case that
the 3rd element of font_def is nil.
(fontset_font): For the default fontset, append one more fontset
elements for a script-based font specification. Don't add script
attribute on finding a font.
(new_fontset_from_font): Unconditionally set FONTSET_ASCII to the
font name.
(fontset_ascii_font): If a font can't be opened, return nil.
Kenichi Handa [Fri, 9 Jun 2006 02:14:31 +0000 (02:14 +0000)]
* font.c (Qiso8859_1, Qiso10646_1, Qunicode_bmp): Moved from
ftfont.c.
(font_unparse_xlfd): Fix argument type declaration. Append "*" if
registry doesn't specify encoding part.
(font_find_for_lface): Pay attention to LFACE_FONT_INDEX.
(font_open_by_name): At first try parsing the name.
(syms_of_font): Declare Qiso8859_1, Qiso10646_1, and Qunicode_bmp
as Lisp symbols.
Kenichi Handa [Wed, 7 Jun 2006 06:37:23 +0000 (06:37 +0000)]
(xftfont_default_fid): Set fid_known to 1.
(struct xftdraw_list, xftdraw_list): Delete them.
(register_xftdraw, check_xftdraw): Delete them.
(xftfont_prepare_face): Don't call register_xftdraw.
(xftfont_done_face): Don't call check_xftdraw.
(xftfont_draw): Get backroudn color only when with_background is
nonzero.
Nick Roberts [Tue, 6 Jun 2006 23:16:32 +0000 (23:16 +0000)]
(Watch Expressions): Move node to end.
(GDB Graphical Interface): Move description of clicks in fringe...
(GDB commands in the Fringe): ...to here. New node.
Chong Yidong [Tue, 6 Jun 2006 14:06:13 +0000 (14:06 +0000)]
* diff-mode.el (diff-mode): Set buffer-read-only to t when
diff-default-read-only is non-nill.
* diff.el (diff-sentinel, diff): Set inhibit-read-only to t when
modifying the *Diff* buffer.
(diff-process-filter): New filter function for diff process that
sets inhibit-read-only to t when modifying the *Diff* buffer.
Carsten Dominik [Tue, 6 Jun 2006 08:26:10 +0000 (08:26 +0000)]
(org-archive-subtree): Use end-of-subtree as insertion
point and control the number of empty lines.
(org-paste-subtree): Limit the number of empty lines at the end of
the inserted tree.
(org-agenda): Use buffer name of current file for narrowing.
(org-export-as-xml): Command removed.
(org-export-xml-type): Option removed.
(org-mode-map): Call `org-export-as-xoxo' directly.
(org-get-indentation): New optional argument LINE.
(org-fix-indentation, org-remove-tabs): New functions.
(org-export-as-ascii, org-ascii-level-start): Determine and apply
correct indentation for headlines that are converted it items.
(org-skip-comments): Remove table lines that contain narrowing
cookies but no other non-empty fields.
(org-set-tags): Allow groups of mutually exclusive tags.
(org-cmp-time): Sort 24:21 before items without time.
(org-get-time-of-day): Fixed the interpretation of 12pm and 12am.
(org-open-at-point): Require double colon also for numbers.
Kenichi Handa [Tue, 6 Jun 2006 03:56:46 +0000 (03:56 +0000)]
Include "font.h".
(x_default_font_parameter) [USE_FONT_BACKEND]: New function.
(Fx_create_frame) [USE_FONT_BACKEND]: If enable_font_backend is
nonzero, register all available font drivers. Call
x_default_font_parameter for deciding a font.
(x_create_tip_frame) [USE_FONT_BACKEND]: Likewise.
Kenichi Handa [Tue, 6 Jun 2006 03:52:51 +0000 (03:52 +0000)]
Include "font.h".
(x_set_mouse_face_gc, x_set_glyph_string_clipping)
(x_set_glyph_string_clipping_exactly)
(x_compute_glyph_string_overhangs)
(x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground, x_draw_glyph_string)
(x_free_frame_resources) [USE_FONT_BACKEND]: If
enable_font_backend is nonzero, use font-backend mechanism.
(x_new_fontset2) [USE_FONT_BACKEND]: New function.
Kenichi Handa [Tue, 6 Jun 2006 03:52:26 +0000 (03:52 +0000)]
If USE_FONT_BACKEND is defined, include "font.h".
Through out the file, use FONT_INFO_FROM_FACE instead of
FONT_INFO_FROM_ID, use get_per_char_metric instead of
rif->per_char_metric.
(handle_composition_prop) [USE_FONT_BACKEND]: If the composition
method is COMPOSITION_WITH_GLYPH_STRING, just set it->c to ' '.
(get_glyph_face_and_encoding, fill_composite_glyph_string)
(get_char_face_and_encoding, BUILD_COMPOSITE_GLYPH_STRING)
(x_produce_glyphs) [USE_FONT_BACKEND]: If enable_font_backend is
nonzero, use font-backend mechanism.
(get_per_char_metric): New function.
Kenichi Handa [Tue, 6 Jun 2006 03:51:57 +0000 (03:51 +0000)]
(struct frame): New members resx and resy.
(struct frame) [USE_FONT_BACKEND]: New member font_driver_list.
(x_new_fontset2) [USE_FONT_BACKEND]: Extern it.
Kenichi Handa [Tue, 6 Jun 2006 03:51:41 +0000 (03:51 +0000)]
Include "font.h".
(fontset_font, fontset_ascii, face_for_char)
(make_fontset_for_ascii_face, Ffont_info)
(Finternal_char_font) [USE_FONT_BACKEND]: If enable_font_backend
is nonzero, use font-backend mechanism.
(find_font_encoding): Make it non-static.
(new_fontset_from_font, fontset_ascii_font) [USE_FONT_BACKEND]:
New functions.
Kenichi Handa [Tue, 6 Jun 2006 03:50:45 +0000 (03:50 +0000)]
(struct glyph_string) [USE_FONT_BACKEND]: New
members clip_x, clip_y, clip_width, and clip_height.
(struct face) [USE_FONT_BACKEND]: New members font_info and extra.