* lisp.h (Ftop_level): Add prototype.
- * xterm.c: (xlwmenu_window_p, xlwmenu_redisplay): Add prototypes.
+ * xterm.c (xlwmenu_window_p, xlwmenu_redisplay): Add prototypes.
(XTread_socket): Improve style of comments to follow other
comments.
2001-10-04 Gerd Moellmann <gerd@gnu.org>
This adds a post-gc-hook that's run with GC inhibited.
- Requested by Francois Pinard. XEmacs has it. Added to NEWS.
+ Requested by Franรงois Pinard. XEmacs has it. Added to NEWS.
* alloc.c (Vpost_gc_hook, Qpost_gc_hook): New variables.
(syms_of_alloc): DEFVAR_LISP post-gc-hook, initialize Qpost_gc_hook.
2001-10-02 Miles Bader <miles@gnu.org>
* textprop.c (Fnext_char_property_change)
- (Fprevious_char_property_change): Remove reference to non-existant
+ (Fprevious_char_property_change): Remove reference to non-existent
argument OBJECT from doc-string.
2001-10-01 Gerd Moellmann <gerd@gnu.org>
* xterm.c (note_mouse_highlight) <help-echo>: When looking for
help-echo for a string which doesn't have help-echo itself, use
- get-char-property to obtain the help-echo from the string's buffer
+ get-char-property to obtain the help-echo from the string's buffer.
(note_mouse_highlight) <mouse-face>: When on a string that doesn't
have mouse-face, look ``under'' the string for mouse-face from an
overlay.
* coding.c (setup_coding_system): Don't do any designation based
on reg_bits if charset is not yet defined.
- * lisp.h (XVECTOR): Verify correct object type before returning a
+ * lisp.h (XVECTOR): Verify correct object type before returning a
pointer, using eassert.
2001-07-17 Gerd Moellmann <gerd@gnu.org>
creating the directory might signal an error, and leaves
Emacs in a strange state.
- * term.c: (tty_cursor_hidden): New variable.
+ * term.c (tty_cursor_hidden): New variable.
(update_begin): Don't call tty_hide_cursor. Clean up.
(update_end, set_terminal_window, set_scroll_region): Clean up.
(ring_bell, reset_terminal_modes): Clean up.
2001-03-28 Paul Eggert <eggert@twinsun.com>
* editfns.c (Ffloat_time): Fix off-by-factor-of-10 bug in the
- microseconds calcuation. Avoid double-rounding problem.
+ microseconds calculation. Avoid double-rounding problem.
In doc string, warn that the result is approximate.
2001-03-28 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (update_menu_bar): Run activate-menu-bar-hook with
safe_run_hooks.
- * emacs.c (malloc_initialize_hook): Handle case thet `environ'
+ * emacs.c (malloc_initialize_hook): Handle case that `environ'
is null.
* ralloc.c (__morecore) [!SYSTEM_MALLOC]: Move declaration
* w32term.c (w32_encode_char): Treat eight bit graphic and control
characters the same as ASCII and latin-1.
- (x_display_and_set_cursor): Check for the focus frame's selected
+ (x_display_and_set_cursor): Check for the focus frame's selected
window instead of selected_window.
(x_after_update_window_line): Don't clear if frame's internal
border width is zero.
* w32fns.c (Fx_show_tip): Fix calls to make_number.
(x_set_font): If font hasn't changed, avoid recomputing
faces and other things.
- (x_set_tool_bar_lines): Do nothing if frame is minibuffer-only,
+ (x_set_tool_bar_lines): Do nothing if frame is minibuffer-only.
(Fx_create_frame): Add the tool bar height to the frame height.
(x_create_tip_frame): Prevent changing the tooltip's
background color by specifying a color for the default font
* fontset.c (font_family_registry): Even if FONTNAME conform to
XLFD, if it specifies other fields than family and registry,
- return FONTANME. New argument FORCE if nonzero cancel that feature.
+ return FONTNAME. New argument FORCE if nonzero cancel that feature.
(fontset_font_pattern): Call font_family_registry with FORCE 1 for
- a signle byte character. Don't set FAMILY part to nil here.
+ a single byte character. Don't set FAMILY part to nil here.
It is handled by the caller choose_face_font.
(Fnew_fontset): Call font_family_registry with FORCE 0.
(Fset_fontset_font): Likewise.
2001-01-25 Kenichi Handa <handa@etl.go.jp>
- * ccl.h (sturct ccl_program): New member suppress_error.
+ * ccl.h (struct ccl_program): New member suppress_error.
* ccl.c (ccl_driver): If ccl->suppress_error is nonzero, don't
insert error message to the output.
2001-01-07 Dave Love <fx@gnu.org>
- * keyboard.c (Fread_key_sequence_vector): Avoid newline in
+ * keyboard.c (Fread_key_sequence_vector): Avoid newline in
arglist, for documentation's sake.
2001-01-06 Andrew Innes <andrewi@gnu.org>
2001-01-05 Gerd Moellmann <gerd@gnu.org>
* sysdep.c: Don't prototype srandom; it takes an unsigned argument
- on some systems, and an unsigned long on others, like FreeBSD 4.1.
+ on some systems, and an unsigned long on others, like FreeBSD 4.1.
2001-01-04 Gerd Moellmann <gerd@gnu.org>
what's displayed in the window.
* xdisp.c (try_window_reusing_current_matrix)
- <new start <= old start>: Disable rows in the current matrix
+ <new start <= old start>: Disable rows in the current matrix
which are below the window after scrolling.
* xdisp.c (move_it_by_lines): Don't do optimizations if NEED_Y_P
* window.c (coordinates_in_window): Check mouse on mode-line or
header-line first.
- * alloc.c (Fgarbage_collect): Dox fix. Return a list as
+ * alloc.c (Fgarbage_collect): Doc fix. Return a list as
advertised by the function documentation.
* window.c (syms_of_window): Doc fix.
* md5.c: Delay include of md5.h until after namespace cleaning.
- * makefile.w32-in (fns.o): Depend on md5.h
+ * makefile.w32-in (fns.o): Depend on md5.h.
(md5.o): New target.
(sunfns.o): Remove.
(font_list): Include fonts of all alternative registries.
(FONT_POINT_SIZE_QUANTUM): New macro.
(better_font_p): Ignore point size difference less than
- FONT_POINT_SIZE_QUANTUM. Use registry_prioprity as a last resort.
+ FONT_POINT_SIZE_QUANTUM. Use registry_priority as a last resort.
* xterm.c (x_produce_glyphs): If a font for a component of
a composition is not found, use 1 pixel dot ascent and 0 dot
descent value to avoid displaying terribly tall empty boxes.
- * ccl.c (stack_idx_of_map_multiple): Don't use C initializier.
+ * ccl.c (stack_idx_of_map_multiple): Don't use C initializer.
2000-12-03 Ken Raeburn <raeburn@gnu.org>
the metrics of BDF fonts.
(x_estimate_mode_line_height): If `mode-line' face
hasn't a font, use that of the frame, as drawing glyphs does.
- (note_mouse_highlight): Change the cursor shape on the vertical
+ (note_mouse_highlight): Change the cursor shape on the vertical
border between windows [not enabled].
* w32term.h (struct w32_output): Add member horizontal_drag_cursor.
`vertical-line', `mode-line' and `header-line' events.
* xdisp.c (try_window_id): Avoid starting to display in the middle
- of a character, a TAB for instance. This is easier than to set
- up the iterator exactly, and it's not a frequent case, so the
- additional effort wouldn't really pay off.
+ of a character, a TAB for instance. This is easier than to set
+ up the iterator exactly, and it's not a frequent case, so the
+ additional effort wouldn't really pay off.
2000-11-26 Andrew Choi <akochoi@i-cable.com>
2000-11-24 Gerd Moellmann <gerd@gnu.org>
* xdisp.c (init_from_display_pos): If POS says we're already after
- an overlay string ending at POS, make sure to pop the iterator
- because it will be in front of that overlay string. When POS is
- ZV, we've thereby also ``processed'' overlay strings at ZV.
+ an overlay string ending at POS, make sure to pop the iterator
+ because it will be in front of that overlay string. When POS is
+ ZV, we've thereby also ``processed'' overlay strings at ZV.
* xfaces.c (lface_from_face_name): Function comment fix.
* lisp.h (pos_visible_p): Change prototype.
* dispextern.h (CURRENT_MODE_LINE_HEIGHT)
- (CURRENT_HEADER_LINE_HEIGHT): Look at current_mode_line_height
+ (CURRENT_HEADER_LINE_HEIGHT): Look at current_mode_line_height
and current_header_line_height first.
(current_mode_line_height, current_header_line_height):
Declare extern.
* alloc.c (toplevel) [SYSTEM_MALLOC || DOUG_LEA_MALLOC]: Undef
GC_MALLOC_CHECK.
(toplevel) [GC_MARK_STACK || GC_MALLOC_CHECK]: Move mem_node
- structure definition and related variabled to the top of the file.
+ structure definition and related variables to the top of the file.
Include this code when GC_MALLOC_CHECK is defined.
(lisp_malloc, lisp_free) [GC_MALLOC_CHECK]: Don't
register/unregister allocated region.
(create_offscreen_bitmap): New function.
(w32_BDF_TextOut): Use it. Draw glyphs as DIBs.
- * w32term.c (x_produce_glyphs): If the distance from the current
+ * w32term.c (x_produce_glyphs): If the distance from the current
position to the next tab stop is less than a canonical character
width, use the tab stop after that.
(x_draw_glyphs): Handle case START and END are out of bounds more
* charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Fix previous change.
* ccl.c (Fccl_execute_on_string): Make multibyte string correctly.
- If output buffer is too small, signal an appropriated error.
+ If output buffer is too small, signal an appropriate error.
2000-09-18 Dave Love <fx@gnu.org>
* charset.h (MAKE_CHAR): Be sure to set MSB of C1 to 0.
- * charset.c: Include composite.h
+ * charset.c: Include composite.h.
(lisp_string_width): New function.
(Fstring_width): Call lisp_string_width instead of strwidth.
* s/ms-w32.h (ORDINARY_LINK): New define.
- * w32.c (_ANONYMOUS_UNION) [__GNUC__]: New define
+ * w32.c (_ANONYMOUS_UNION) [__GNUC__]: New define.
(_ANONYMOUS_STRUCT) [__GNUC__]: New define.
* makefile.w32-in (clean): Don't delete config.h and epaths.h.
2000-09-01 Gerd Moellmann <gerd@gnu.org>
* lread.c (read1): Accept `?' as symbol constituent, for
- compatiblity with XEmacs.
+ compatibility with XEmacs.
2000-08-31 Stefan Monnier <monnier@cs.yale.edu>
CYCLE_CHECK arguments.
(merge_face_vector_with_property, Finternal_merge_in_global_face)
(lookup_named_face, lookup_derived_face, realize_named_face)
- (face_at_string_position, face_at_buffer_position): Supply
+ (face_at_string_position, face_at_buffer_position): Supply
new F and CYCLE_CHECK arguments to merge_face_vectors.
(merge_face_heights): New function.
(merge_face_vectors, merge_face_vector_with_property)
* editfns.c (find_field): Formatting changes.
(toplevel): Some old-style function forward declarations
- changed to prototypes, some new protypes added, some functions
+ changed to prototypes, some new prototypes added, some functions
made static.
* lisp.h (set_time_zone_rule): Add prototype.
(x_compute_glyph_string_overhangs): Incomplete body removed, as
the X way of doing this will not work for W32.
(w32_intersect_rectangles): Removed. Use IntersectRect API call.
- (x_draw_image_foreground): Avoid drawing outside of the clip area
+ (x_draw_image_foreground): Avoid drawing outside of the clip area
when image doesn't have a mask.
(note_mouse_highlight): Process overlays in the right order of
priority. Set help_echo_window.
(encode_coding_iso2022): New local variable safe_chars. Check
unsafe chars.
(setup_coding_system): Delete the code to initialize
- coding->safe_charses
+ coding->safe_charses.
(intersection, find_safe_codings): New functions.
(Ffind_coding_systems_region_internal): New function.
(syms_of_coding): Defsubr it. Initialize Qsafe_chars,
* w32term.c (help_echo_object, help_echo_pos): New variables.
(note_mode_line_highlight): Store additional information about the
help-echo in help_echo_object and help_echo_pos. Check both
- `local-map' and `keymap' properties for changing the cursor
+ `local-map' and `keymap' properties for changing the cursor.
(note_mouse_highlight): Store additional information about the
help-echo in help_echo_object and help_echo_pos.
(note_tool_bar_highlight): Set help_echo_object to nil and
* xterm.c (help_echo_object, help_echo_pos): New variables.
(note_mode_line_highlight): Store additional information about the
help-echo in help_echo_object and help_echo_pos. Check both
- `local-map' and `keymap' properties for changing the cursor
+ `local-map' and `keymap' properties for changing the cursor.
(note_mouse_highlight): Store additional information about the
help-echo in help_echo_object and help_echo_pos.
(note_tool_bar_highlight): Set help_echo_object to nil and
* charset.c (update_charset_table): Update the table
bytes_by_char_head.
(init_charset_once): Initialize elements of bytes_by_char_head to
- 1 except for leading codes for private charases.
+ 1 except for leading codes for private charsets.
* charset.h (CHARSET_8_BIT_GRAPHIC): Define as 0x80.
(UNIBYTE_STR_AS_MULTIBYTE_P): Fix for an invalid multibyte sequence.
* fontset.c (syms_of_fontset): Adjust the font name for ascii of
the default fontset to what Emacs uses by default.
(check_registry_encoding): This function deleted.
- (Fset_fontset_font): Remove the adhoc condition for the default
+ (Fset_fontset_font): Remove the ad hoc condition for the default
fontset. Allow cons in FONTNAME.
* fns.c (map_char_table): Ignore char-table entries for
(encode_coding_string): Likewise.
* ccl.c (ccl_driver) <CCL_ReadMultibyteChar2>
- <CCL_WriteMultibyteChar2>: Handle charsets eight-bit-control and
+ <CCL_WriteMultibyteChar2>: Handle charsets eight-bit-control and
eight-bit-graphic correctly.
2000-05-24 Kenichi HANDA <handa@etl.go.jp>
invalid multibyte sequence.
(parse_str_as_multibyte, str_as_multibyte, str_to_multibyte)
(str_as_unibyte): New functions.
- (Fstring): Simpified by assuming that byte combining never happens.
+ (Fstring): Simplified by assuming that byte combining never happens.
(init_charset_once): Initialization for
LEADING_CODE_8_BIT_CONTROL.
(syms_of_charset): Intern and staticpro Qeight_bit_control and
* fileio.c (Finsert_file_contents): Setup src_multibyte and
dst_multibyte members of coding. On handling REPLACE on unibyte
buffer, convert the result of decode_coding to unibyte. On
- inserting into a mutibyte buffer, always call code_convert_region.
+ inserting into a multibyte buffer, always call code_convert_region.
(e_write): Setup coding->src_multibyte according to the
multibyteness of the source (buffer or string).
(adjust_markers_for_replace): Likewise.
(ADJUST_CHAR_POS, combine_bytes, byte_combining_error)
(CHECK_BYTE_COMBINING_FOR_INSERT): Deleted.
- (copy_text): Delete unused local varialbe c_save. For converting
+ (copy_text): Delete unused local variable c_save. For converting
to multibyte, be sure to make all 8-bit characters in valid
multibyte form.
(count_size_as_multibyte): Handle 8-bit characters correctly.
code detecting help events that should be ignored.
* xdisp.c (handle_single_display_prop): Don't try to set PT if
- we're interating over a string.
+ we're iterating over a string.
2000-05-09 Dave Love <fx@gnu.org>
2000-04-01 Gerd Moellmann <gerd@gnu.org>
* term.c (TN_no_color_video): New variable.
- (term_init): Intitialize TN_no_color_video.
+ (term_init): Initialize TN_no_color_video.
(enum no_color_bit): New enumeration.
(MAY_USE_WITH_COLORS_P): New macro.
(turn_on_face): Use it to determine if attributes may be used
* fontset.h (FONT_NOT_OPENED, FONT_NOT_FOUND): Macros removed.
(struct fontset_info, struct fontset_data): Structs removed.
- (allloc_fontset_data, free_fontset_data, fs_regiser_fontset)
+ (alloc_fontset_data, free_fontset_data, fs_regiser_fontset)
(Vglobale_fontset_alist, font_idx_temp): Externs removed.
(fs_load_font, fs_query_fontset): Adjusted for new argument.
(fs_free_face_fontset, fontset_font_pattern)
(detect_coding_utf_8): New function.
(UTF_16_INVALID_P, UTF_16_HIGH_SURROGATE_P
UTF_16_LOW_SURROGATE_P): New macros.
- (detect_coding_utf_16): New function
+ (detect_coding_utf_16): New function.
(detect_coding_mask): When priorities are specified, skip any
categories that have `nil' coding-system. Fix bug of returning
wrong mask when PRIORITIES is specified and detect_coding_XXX()
returns a mask not set in PRIORITIES.
(detect_eol_type_in_2_octet_form): New function.
(detect_eol): selects detect_eol_type_XXX to call according to
- cooding->category_idx.
+ coding->category_idx.
(detect_coding_system): Remove `nil' coding-system in the result.
(Fupdate_coding_systems_internal): Update all coding-categories.
* makefile.nt: Add atimer.h to dependencies.
* w32.c (init_environment): Set Vw32_num_mouse_buttons here.
- * w32console.c: Only disable window system features for dispextern.h
+ * w32console.c: Only disable window system features for dispextern.h.
(initialize_w32_display): Build a display info for the console.
* w32faces.c (tty_defined_color): Apply xfaces.c change from 02-17.
* w32fns.c (w32_wnd_proc) [WM_LBUTTON_DOWN, WM_RBUTTON_DOWN,
Fx_hide_busy_cursor.
* dispextern.h (Fx_show_busy_cursor, Fx_hide_busy_cursor):
- Remove prototyoes.
+ Remove prototypes.
(start_busy_cursor, cancel_busy_cursor): Add prototypes.
* lisp.h (Fx_hide_busy_cursor): Remove prototype.
2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
- * xfaces.c (tty_defined_color): Don't return faulire indication
+ * xfaces.c (tty_defined_color): Don't return failure indication
for unspecified-fg and unspecified-bg pseudo-colors.
2000-02-17 Gerd Moellmann <gerd@gnu.org>
* atimer.c (stop_other_atimers): Don't call cancel_atimer because
that unblocks alarms.
- * alloc.c, bytecode.c, data.c, dispnew.c, ecrt0.c, editfns.c,
- emacs.c, floatfns.c, fns.c, lread.c, print.c, config.in, lisp.h,
- Makefile.in: Remove `LISP_FLOAT_TYPE' and `standalone'.
+ * alloc.c, bytecode.c, data.c, dispnew.c, ecrt0.c, editfns.c:
+ * emacs.c, floatfns.c, fns.c, lread.c, print.c, config.in, lisp.h:
+ * Makefile.in: Remove `LISP_FLOAT_TYPE' and `standalone'.
- * frame.c (make_frame): Set frame initiallly to `garbaged'.
+ * frame.c (make_frame): Set frame initially to `garbaged'.
2000-02-17 Kenichi Handa <handa@etl.go.jp>
(xim_destroy_callback, xim_open_dpy, xim_instantiate_callback)
(xim_initialize, xim_close)
[HAVE_X_I18N && HAVE_X11R6]: New functions.
- (x_destroy_window) [HAVE_X_I18N]: Call xic_destroy_frame.
+ (x_destroy_window) [HAVE_X_I18N]: Call xic_destroy_frame.
(x_term_init) [HAVE_X_I18N]: Call xim_initialize.
(x_delete_display) [HAVE_X_I18N]: Call xim_close.
(FRAME_XIM): Removed.
* xfns.c (supported_styles): New variable.
- (DEFAULT_STYLE, DEFAULT_FONT): New macros
+ (DEFAULT_STYLE, DEFAULT_FONT): New macros.
(xic_create_xfontset, best_style, xic_create_frame)
(xic_destroy_frame, xic_set_preeditarea, xic_set_statusarea)
(xic_set_xfontset): New functions.
2000-01-19 Dave Love <fx@gnu.org>
- * lread.c: (syms_of_lread) [user-init-file]: Doc change.
+ * lread.c (syms_of_lread) [user-init-file]: Doc change.
2000-01-18 Kenichi Handa <handa@etl.go.jp>
(GC_STRING_BYTES, GC_STRING_CHARS): New macros.
(DONT_COPY_FLAG): Removed.
(SBLOCK_SIZE, LARGE_STRING_BYTES): New macros.
- (struct sdata, struct sblock): New
+ (struct sdata, struct sblock): New.
(struct string_block): Rewritten.
(STRINGS_IN_STRING_BLOCK): New macro.
(oldest_sblock, current_sblock, total_strings, total_free_strings)
;; coding: utf-8
;; End:
- Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
- Free Software Foundation, Inc.
+ Copyright (C) 2001-2011 Free Software Foundation, Inc.
This file is part of GNU Emacs.
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
-
-;;; arch-tag: 38875948-6e89-4f08-b0ca-ff328f1e8b72