Jason Rumney [Sun, 1 Jun 2008 21:57:06 +0000 (21:57 +0000)]
(w32_enumfont_pattern_entity): Use requested registry.
Treat iso10646-1 and Windows DEFAULT_CHARSET specially.
Duplicate iso8859-1 fonts as iso10646-1 if no registry specified.
Don't add empty script list.
(w32_registry): Only map DEFAULT_CHARSET to iso10646-1 here.
Dan Nicolaescu [Sun, 1 Jun 2008 16:59:27 +0000 (16:59 +0000)]
(dot, dotdot): Remove, update users.
".." has been used elsewhere in the file for a long time.
(LIBXT_STATIC): Remove conditional based on unused variable.
Stefan Monnier [Fri, 30 May 2008 21:07:50 +0000 (21:07 +0000)]
* chartab.c (Foptimize_char_table, optimize_sub_char_table):
Add a `test' argument so another predicate than `equal' can be used.
(map_sub_char_table): Use `eq' rather than `equal' to merge ranges.
(map_char_table): Remove unused vars `c' and `i'.
* lisp.h (Foptimize_char_table): Adjust declaration.
* charset.c (Fclear_charset_maps): Adjust call to Foptimize_char_table.
Glenn Morris [Fri, 30 May 2008 02:57:27 +0000 (02:57 +0000)]
(diary-display-function): New name for diary-display-hook. Keep old
name as obsolete alias. Doc fix. Change custom type and version.
(diary-list-entries-hook, diary-list-entries, diary-simple-display)
(diary-fancy-display): Doc fixes.
(diary-list-entries, diary-include-other-diary-files, diary-mail-entries):
Use diary-display-function rather than diary-display-hook.
Glenn Morris [Fri, 30 May 2008 02:56:59 +0000 (02:56 +0000)]
(update-elclist): Hide the warning when it does not apply, make it
milder when it does.
(autogen-clean): New target.
(maintainer-clean): Use autogen-clean.
Stefan Monnier [Fri, 30 May 2008 02:37:40 +0000 (02:37 +0000)]
(Fmake_variable_buffer_local, Fmake_local_variable)
(Fmake_variable_frame_local): Disallow mixing buffer-local and
frame-local settings for the same variable.
Kenichi Handa [Fri, 30 May 2008 02:34:46 +0000 (02:34 +0000)]
(font_style_to_value, font_score): Delete casting of the
args to xstcasecmp.
(register_font_driver): Increment num_font_drivers only when
registering the driver globally.
(Ffont_info): Moved from fontset.c. Handle a font object too.
(syms_of_font): Defsubr Sfont_info.
Kenichi Handa [Thu, 29 May 2008 22:58:00 +0000 (22:58 +0000)]
(enum define_coding_utf8_arg_index): New enum.
(enum coding_attr_index): Change coding_attr_utf_16_bom to
coding_attr_utf_bom.
(enum utf_bom_type): Renamed from utf_16_bom_type.
(struct utf_16_spec): Adjusted for the above change.
(struct coding_system): Add utf_8_bom in `spec' union.
Jason Rumney [Thu, 29 May 2008 16:57:00 +0000 (16:57 +0000)]
(add_font_entity_to_list): Allow non-opentype truetype fonts back
in the uniscribe backend, but disallow any font that has no
unicode subrange support.
Stefan Monnier [Thu, 29 May 2008 16:54:53 +0000 (16:54 +0000)]
(Faccept_process_output): If `millisec' is non-nil, `seconds' default to 0.
(wait_reading_process_output): Also return non-nil if we read output
from a non-running process.
Stefan Monnier [Thu, 29 May 2008 05:25:22 +0000 (05:25 +0000)]
(tar-header): New field `header-start'.
(tar-header-block-tokenize): Set it when useful.
Drop "GNUtar " magic value, which even GNU Tar doesn't know about.
(tar-header-data-end): New function.
(tar-summarize-buffer): Use it.
(tar-next-line): Fix goal column for long usernames.
(tar-expunge-internal): Use header-start.
(tar-rename-entry): Handle ustar-style long names.
(tar-alter-one-field): Add optional `descriptor' argument.
(tar-subfile-save-buffer): Use it.
Stefan Monnier [Wed, 28 May 2008 17:43:58 +0000 (17:43 +0000)]
(tar-summarize-buffer): Fix reporter initialization.
(tar-mode): Use write-region-annotate-functions rather than
write-contents-functions.
(tar-extract): Remove unused var `pos'.
(tar-subfile-save-buffer): Remove unused var `following-descs'.
(tar-mode-write-file): Remove.
(tar-write-region-annotate): New function.
Stefan Monnier [Wed, 28 May 2008 12:36:15 +0000 (12:36 +0000)]
* src/fileio.c (Fwrite_region): Delay the defaulting to beg&z to after
calling build_annotations.
* lisp/files.el (basic-save-buffer-2): Pass nil rather than (point-min)
to write-region.
Kenichi Handa [Wed, 28 May 2008 11:47:01 +0000 (11:47 +0000)]
(font_parse_family_registry): Use Ffont_put to validate
foundry and family.
(font_delete_unmatched): Don't check spacing.
(font_list_entities): Add spacing to the spec to list fonts.
Kenichi Handa [Wed, 28 May 2008 06:38:47 +0000 (06:38 +0000)]
(encode_coding_raw_text): Fix previous change.
(encode_coding_object): When the dst_object is a buffer and is
different from src_object, move gap to PT.