bpt/emacs.git
21 years ago(build_scalable_font_name): Remove `unused var pixel_size' warning.
Stefan Monnier [Sun, 25 May 2003 17:47:13 +0000 (17:47 +0000)]
(build_scalable_font_name): Remove `unused var pixel_size' warning.

21 years ago(png_load): Remove `unused vars intent, image_gamma' warning.
Stefan Monnier [Sun, 25 May 2003 17:46:34 +0000 (17:46 +0000)]
(png_load): Remove `unused vars intent, image_gamma' warning.

21 years ago(unexec): Remove `unused var n' warning.
Stefan Monnier [Sun, 25 May 2003 17:45:27 +0000 (17:45 +0000)]
(unexec): Remove `unused var n' warning.

21 years ago(my_strftime_localtime_r): Remove `defined but unused' warning.
Stefan Monnier [Sun, 25 May 2003 17:44:14 +0000 (17:44 +0000)]
(my_strftime_localtime_r): Remove `defined but unused' warning.

21 years ago(allocate_pty): Remove `unused var stb' and
Stefan Monnier [Sun, 25 May 2003 17:43:20 +0000 (17:43 +0000)]
(allocate_pty): Remove `unused var stb' and
`cp might be used uninitialized' warnings.

21 years ago(mode_line_string): Remove unused var `f'.
Stefan Monnier [Sun, 25 May 2003 17:41:47 +0000 (17:41 +0000)]
(mode_line_string): Remove unused var `f'.

21 years ago(find_safe_codings): Remove unused var `i'.
Stefan Monnier [Sun, 25 May 2003 17:41:21 +0000 (17:41 +0000)]
(find_safe_codings): Remove unused var `i'.

21 years ago(Fbyte_code): Remove `unused val' warning.
Stefan Monnier [Sun, 25 May 2003 17:40:52 +0000 (17:40 +0000)]
(Fbyte_code): Remove `unused val' warning.

21 years ago(Fkill_buffer): Remove unused var `list'.
Stefan Monnier [Sun, 25 May 2003 17:40:27 +0000 (17:40 +0000)]
(Fkill_buffer): Remove unused var `list'.

21 years ago(Fgarbage_collect): Remove `unused var tail' warning.
Stefan Monnier [Sun, 25 May 2003 17:40:03 +0000 (17:40 +0000)]
(Fgarbage_collect): Remove `unused var tail' warning.

21 years ago(gdb-info-breakpoints-custom, gdb-assembler-custom):
Nick Roberts [Sun, 25 May 2003 16:51:34 +0000 (16:51 +0000)]
(gdb-info-breakpoints-custom, gdb-assembler-custom):
Put string associated with breakpoint at start of line so that it
is always visible.
(gdb-display-source-buffer): Display assembler during execution,
when requested.
(gud-menu-map): Add a toggle button to menubar for
gdb-many-windows.
(gdb-many-windows): Define explicitly as a function and a variable
(formerly as a minor mode). These need to be global so layout can
be reset from any buffer.
(gdb-assembler-mode): Keep fringe outside margin as the overlay
arrow is not used for assembler.

21 years ago*** empty log message ***
Nick Roberts [Sun, 25 May 2003 16:50:06 +0000 (16:50 +0000)]
*** empty log message ***

21 years ago* frame.c (make_frame): Condition want_fullscreen with
Jan Djärv [Sun, 25 May 2003 11:25:18 +0000 (11:25 +0000)]
* frame.c (make_frame): Condition want_fullscreen with
HAVE_WINDOW_SYSTEM.

21 years ago*** empty log message ***
Juanma Barranquero [Sun, 25 May 2003 02:17:23 +0000 (02:17 +0000)]
*** empty log message ***

21 years ago(Fset_window_scroll_bars): Fix typo in argument name.
Juanma Barranquero [Sun, 25 May 2003 02:11:24 +0000 (02:11 +0000)]
(Fset_window_scroll_bars): Fix typo in argument name.
(Fwindow_scroll_bars): Fix typo in docstring.

21 years agoFix typos.
Juanma Barranquero [Sun, 25 May 2003 02:06:57 +0000 (02:06 +0000)]
Fix typos.

21 years ago(which-func-update-timer): New variable.
Juanma Barranquero [Sun, 25 May 2003 02:02:45 +0000 (02:02 +0000)]
(which-func-update-timer): New variable.
(which-function-mode): Use it.

21 years ago(idle-update-delay): New variable.
Juanma Barranquero [Sun, 25 May 2003 01:45:14 +0000 (01:45 +0000)]
(idle-update-delay): New variable.

21 years ago(forward-visible-line): Fix negative arguments.
Juanma Barranquero [Sun, 25 May 2003 01:34:37 +0000 (01:34 +0000)]
(forward-visible-line): Fix negative arguments.

21 years ago(skeleton-pair-insert-maybe): Remove leftover reference to
Juanma Barranquero [Sun, 25 May 2003 01:31:48 +0000 (01:31 +0000)]
(skeleton-pair-insert-maybe): Remove leftover reference to
skeleton-abbrev-cleanup.

21 years ago*** empty log message ***
Stefan Monnier [Sun, 25 May 2003 00:45:01 +0000 (00:45 +0000)]
*** empty log message ***

21 years ago(skeleton-abbrev-cleanup, skeleton-proxy): Remove obsolete code.
Stefan Monnier [Sun, 25 May 2003 00:36:59 +0000 (00:36 +0000)]
(skeleton-abbrev-cleanup, skeleton-proxy): Remove obsolete code.

21 years agoNew per-window fringe and scroll-bar settings.
Kim F. Storm [Sat, 24 May 2003 23:54:43 +0000 (23:54 +0000)]
New per-window fringe and scroll-bar settings.

21 years ago(struct x_output): Move members left_pos, top_pos,
Kim F. Storm [Sat, 24 May 2003 22:10:38 +0000 (22:10 +0000)]
(struct x_output): Move members left_pos, top_pos,
border_width, pixel_height, pixel_width, line_height,
internal_border_width, vertical_scroll_bar_extra,
left_fringe_width, right_fringe_width, fringe_cols,
fringes_extra, win_gravity, size_hint_flags, want_fullscreen,
x_pixels_diff, and y_pixels_diff to struct frame (frame.h).
(FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h.
(FRAME_DEFAULT_FONT_WIDTH): Remove macro.
(PIXEL_WIDTH, PIXEL_HEIGHT)
(FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH)
(FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Moved to
frame.h and renamed [see frame.h changes].
(CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH)
(CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL)
(PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h
and renamed [see frame.h changes].

21 years agoMake (several) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 22:10:17 +0000 (22:10 +0000)]
Make (several) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(x_draw_glyph_string_box): Adapt to per-window fringes and
scroll-bars.
(scroll_run): Adapt to new fringe position.
(glyph_rect): Use window coordinates returned from
window_from_coordinates rather than frame_to_window_pixel_xy.
(XTset_vertical_scroll_bar): Adapt to per-window fringes and
scroll-bars.
(handle_one_xevent): Simplify a USE_GTK conditional.
(x_clip_to_row): Remove superfluous whole_line_p arg and code
(fringes are now inside margins, i.e. always in the clipping area).
All callers changed.
(x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT
directly, then call compute_fringe_widths.  Don't call
frame_update_line_height.

21 years agoMake (some) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 22:09:50 +0000 (22:09 +0000)]
Make (some) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.

21 years agoMake (many) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 22:09:34 +0000 (22:09 +0000)]
Make (many) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.

21 years ago[WINDOWSNT]: Move redefinition of FONT_WIDTH macro to
Kim F. Storm [Sat, 24 May 2003 22:09:13 +0000 (22:09 +0000)]
[WINDOWSNT]: Move redefinition of FONT_WIDTH macro to
where it's used in x_list_fonts (for clarity).
(frame_update_line_height): Remove unused function; functionality
is now done directly when setting the default font in x_set_font.

21 years agoMake (many) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 22:08:54 +0000 (22:08 +0000)]
Make (many) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(window_box_width): Adapt to per-window fringes and scroll bars,
and new fringe vs. display margin position. Note that returned
value is no longer guaranteed to be a whole multiple of the frame
column width, since per-window fringes may now be any width.
(window_box_left_offset): New function like window_box_left, but
value is relative to left border of window (rather than frame).
(window_box_right_offset): New function like window_box_right,
but value is relative to left border of window.
(window_box_left): Adapt to per-window fringes and scroll bars,
and new fringe vs. display margin position.  Simplify by using
WINDOW_LEFT_EDGE_X and window_box_left_offset.
(window_box): Allow null args for unnecessary return values;
change/simplify relevant callers.
(x_y_to_hpos_vpos): Adapt to per-window fringes and scroll bars,
and new fringe vs. display margin position.  Use
window_box_left_offset and window_box_right_offset
(get_glyph_string_clip_rect): Adapt to per-window fringes and
scroll bars, and new fringe vs. display margin position.  Use
WINDOW_LEFT_EDGE_X and WINDOW_TOTAL_WIDTH.
(draw_fringe_bitmap): Rework to handle per-window fringes and new
fringe vs. display margin position.
(hscroll_window_tree): Use window_box_width instead of window_box.
(redisplay_window):  Adapt to per-window scroll bars.
(draw_glyphs):  Rework to handle per-window fringes and scroll
bars, and new fringe vs. display margin position.  Use
WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left.
(x_clear_end_of_line):  Adapt to per-window fringes and scroll
bars, and new fringe vs. display margin position.  Fix bug which
increased total width of full_width rows by width of scroll bars
although window's total width already includes that.
(x_fix_overlapping_area): Simplify using window_box_left_offset.
(expose_area): Simplify using window_box_left_offset.
(x_draw_vertical_border): Handle per-window scroll bar settings,
mixing windows with left, right and no scroll bars.

21 years ago(struct window): Rename members left to left_col,
Kim F. Storm [Sat, 24 May 2003 22:08:20 +0000 (22:08 +0000)]
(struct window): Rename members left to left_col,
top to top_line, height to total_lines, width to total_cols,
left_margin_width to left_margin_cols, right_margin_width to
right_margin_cols, orig_height to orig_total_lines, orig_top to
orig_top_line.  All uses changed.
(struct window): New members left_fringe_width, right_fringe_width,
fringes_outside_margins, scroll_bar_width, vertical_scroll_bar_type.
(WINDOW_XFRAME, WINDOW_FRAME_COLUMN_WIDTH, WINDOW_FRAME_LINE_HEIGHT):
New macros primarily used to simplify other macros.
(WINDOW_TOTAL_COLS): New macro.  Change relevant code that
referred to XINT (w->width).
(WINDOW_TOTAL_LINES): New macro.  Change relevant code that
referred to XINT (w->height).
(WINDOW_TOTAL_WIDTH): New macro.  Change relevant code that
referred to XINT (w->width) * canon_x_unit.
(WINDOW_TOTAL_HEIGHT): New macro.  Change relevant code that
referred to XINT (w->height) * canon_y_unit.
(WINDOW_LEFT_EDGE_COL): New macro.  Change relevant code that
referred to XINT (w->left).
(WINDOW_RIGHT_EDGE_COL): Renamed from WINDOW_RIGHT_EDGE.  Change
all uses and code that referred to XINT (w->left) + XINT (w->width).
(WINDOW_TOP_EDGE_LINE): New macro.  Change relevant code that
referred to XINT (w->top).
(WINDOW_BOTTOM_EDGE_LINE): New macro.  Change relevant code that
referred to XINT (w->top) + XINT (w->height).
(WINDOW_LEFT_EDGE_X): New macro.  Change relevant code that
referred to XINT (w->left) * canon_x_unit.
(WINDOW_RIGHT_EDGE_X): New macro.  Change relevant code that
referred to (XINT (w->left) + XINT (w->width)) * canon_x_unit.
(WINDOW_TOP_EDGE_Y): New macro.  Change relevant code that
referred to XINT (w->top) * canon_y_unit.
(WINDOW_BOTTOM_EDGE_Y): New macro.  Change relevant code that
referred to (XINT (w->top) + XINT (w->height)) * canon_y_unit.
(WINDOW_LEFTMOST_P): New macro.
(WINDOW_BOX_LEFT_EDGE_COL): Renamed from WINDOW_LEFT_MARGIN.
All uses changed.
(WINDOW_BOX_RIGHT_EDGE_COL): Renamed from WINDOW_RIGHT_MARGIN.
All uses changed.
(WINDOW_BOX_LEFT_EDGE_X): Renamed from
WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, moved from dispextern.h.
Do not exclude left fringe width.
(WINDOW_BOX_RIGHT_EDGE_X): Renamed from
WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X, moved from dispextern.h.
Do not exclude fringe widths.
(WINDOW_LEFT_FRINGE_WIDTH, WINDOW_RIGHT_FRINGE_WIDTH)
(WINDOW_FRINGE_COLS, WINDOW_TOTAL_FRINGE_WIDTH): New macros.
Change relevant code that referred to FRAME_LEFT_FRINGE_WIDTH,
FRAME_RIGHT_FRINGE_WIDTH, FRAME_FRINGE_COLS, and
FRAME_TOTAL_FRINGE_WIDTH to allow per-window fringe settings.
(WINDOW_HAS_FRINGES_OUTSIDE_MARGINS): New macro.
(WINDOW_VERTICAL_SCROLL_BAR_TYPE, WINDOW_HAS_VERTICAL_SCROLL_BAR)
(WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT)
(WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT)
(WINDOW_CONFIG_SCROLL_BAR_WIDTH, WINDOW_CONFIG_SCROLL_BAR_COLS):
New macros.  Change code which referenced corresponding
FRAME_VERTICAL_SCROLL_BAR_TYPE, FRAME_HAS_VERTICAL_SCROLL_BARS,
FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT,
FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT,
FRAME_SCROLL_BAR_PIXEL_WIDTH, and FRAME_SCROLL_BAR_COLS macros to
allow per-window scroll-bar settings.
(WINDOW_LEFT_SCROLL_BAR_COLS, WINDOW_RIGHT_SCROLL_BAR_COLS): New macros.
(WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH): New macro.  Change code that
referred to FRAME_LEFT_SCROLL_BAR_WIDTH.
(WINDOW_RIGHT_SCROLL_BAR_AREA_WIDTH): New macro.  Change code
that referred to FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT and
FRAME_SCROLL_BAR_WIDTH.
(WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH)
(WINDOW_SCROLL_BAR_AREA_X): New macros.
(WINDOW_HEADER_LINE_HEIGHT): Renamed from
WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h.
(WINDOW_BOX_HEIGHT_NO_MODE_LINE): Renamed from
WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, moved from dispextern.h.
(WINDOW_BOX_TEXT_HEIGHT): Renamed from
WINDOW_DISPLAY_PIXEL_WIDTH, moved from dispextern.h.
(WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y)
(FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y)
(WINDOW_TEXT_TO_FRAME_PIXEL_X): Moved here from dispextern.h.
(WINDOW_LEFT_MARGIN_WIDTH): Renamed from
WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH, moved from dispextern.h.
(WINDOW_RIGHT_MARGIN_WIDTH): Renamed from
WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, moved from dispextern.h.
(window_from_coordinates): Update prototype.
(Fset_window_buffer): Update EXFUN.
(set_window_buffer): Update prototype.

21 years agoMake (many) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 22:07:51 +0000 (22:07 +0000)]
Make (many) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(make_window): Initialize new members
left_margin_cols, right_margin_cols, left_fringe_width,
right_fringe_width, fringes_outside_margins, scroll_bar_width,
and vertical_scroll_bar_type.
(coordinates_in_window): Adapted to new fringe/margin positions
and per-window fringes and scroll-bars.
Fix bug related to incorrectly adjusting coordinates by
frame's internal_border_width (the effect normally negible since
the internal_border_width is typically 0 or 1 pixel, but very
noticeable for an internal_border_width of e.g. 25 pixels).
Upon successful return (other than ON_NOTHING), the coordinates
are now always properly converted to window relative for the
given display element.
(window_from_coordinates): Add new parameters wx and wy to
return the window relative x and y position in the returned
window and part.  A null arg means, don't return the position.
All callers changed.
(adjust_window_margins): New function which may reduce the width
of the display margins if a window's text area is too small after
resizing or splitting windows.
(size_window): Fix bug that did not account for display margin
widths when checking the minimum width of a window; use
adjust_window_margins.
(set_window_buffer): Call Fset_window_fringes and
Fset_window_scroll_bars to setup per-window elements.
Add new arg KEEP_MARGINS_P.  Non-nil means to keep window's
existing display margin, fringe widths, and scroll bar settings
(e.g. after splitting a window or resizing the frame).  All
callers changed.
(Fset_window_buffer): New arg KEEP_MARGINS.  All callers changed.
(Fsplit_window): Duplicate original window's display margin,
fringe, and scroll-bar settings; then call Fset_window_buffer with
KEEP_MARGINS non-nil.  This fixes a bug which caused a split
window to only preserve the display margins in one of the windows.
When splitting horisontally, call adjust_window_margins on both
windows to ensure that the text area of the new windows is non too
narrow.  This fixes a bug which could cause emacs to trap if the
width of the split window was less than the width of the display
margins.
(window_box_text_cols): Renamed from window_internal_width.  All
uses changed.  Adapt to per-window fringes and scroll bars.
Fix bug that caused vertical separator to be subtracted also on
window frames.  Fix another bug that did not reduce the returned
value by the columns used for display margins.
(window_scroll_line_based): Fix bug related to scrolling too much
when display margins are present (implicitly fixed by the fix to
window_box_text_cols).
(scroll_left, scroll_right): Fix bug related to scrolling too far
by default when display margins are present (implicitly fixed by
the fix to window_box_text_cols).
(struct saved_window): Rename members left to left_col, top to
top_line, width to total_cols, height to total_lines, orig_top to
orig_top_line, orig_height to orig_total_lines.  All uses changed.
New members left_margin_cols, right_margin_cols,
left_fringe_width, right_fringe_width, fringes_outside_margins,
scroll_bar_width, and vertical_scroll_bar_type for saving
per-window display elements.
(Fset_window_configuration): Restore display margins, fringes,
and scroll bar settings.  This fixes a bug which caused display
margins to be discarded when saving and restoring a window
configuration.
(save_window_save): Save display margins, fringes, and scroll bar
settings.  This fixes a bug which caused display margins to be
discarded when saving and restoring a window configuration.
(Fset_window_margins): Do nothing if display margins are not
really changed.  Otherwise, call adjust_window_margins to ensure
the text area doesn't get too narrow.  This fixes a bug which
could cause emacs to trap if setting display margins wider than
the width of the window.
(Fset_window_fringes): New defun to allow user to specifically set
this window's fringe widths and position vs. display margins.
(Fwindow_fringes): New defun to return window's actual fringe
settings.
(Fset_window_scroll_bars): New defun to allow user to specifically
set this window's scroll bar width and position.
(Fwindow_scroll_bars): New defun to return window's actual scroll
bar settings.
(compare_window_configurations): Also compare display margins,
fringes, and scroll bar settings.
(syms_of_window): Defsubr new defuns for fringe and scroll bars.

21 years agoMake (few) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 22:07:03 +0000 (22:07 +0000)]
Make (few) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.

21 years ago(struct w32_output): Move members left_pos, top_pos,
Kim F. Storm [Sat, 24 May 2003 22:06:40 +0000 (22:06 +0000)]
(struct w32_output): Move members left_pos, top_pos,
border_width, pixel_height, pixel_width, line_height,
internal_border_width, vertical_scroll_bar_extra,
left_fringe_width, right_fringe_width, fringe_cols,
fringes_extra, win_gravity, size_hint_flags, want_fullscreen,
x_pixels_diff, and y_pixels_diff to struct frame (frame.h).
(FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h.
(FRAME_DEFAULT_FONT_WIDTH): Remove macro.
(PIXEL_WIDTH, PIXEL_HEIGHT)
(FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH)
(FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Moved to
frame.h and renamed [see frame.h changes].
(CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH)
(CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL)
(PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h
and renamed [see frame.h changes].

21 years agoMake (several) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 22:06:19 +0000 (22:06 +0000)]
Make (several) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(x_draw_glyph_string_box): Adapt to per-window fringes and
scroll-bars.
(glyph_rect): Use window coordinates returned from
window_from_coordinates rather than frame_to_window_pixel_xy.
(XTset_vertical_scroll_bar): Adapt to per-window fringes and
scroll-bars.
(w32_clip_to_row): Remove superfluous whole_line_p arg and code
(fringes are now inside margins, i.e. always in the clipping area).
All callers changed.
(x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT
directly, then call compute_fringe_widths.  Don't call
frame_update_line_height.

21 years ago(Fsun_menu_internal): Adapt to per-window fringes and scroll-bars.
Kim F. Storm [Sat, 24 May 2003 22:04:14 +0000 (22:04 +0000)]
(Fsun_menu_internal): Adapt to per-window fringes and scroll-bars.

21 years ago(struct x_output): Remove members left_pos, top_pos,
Kim F. Storm [Sat, 24 May 2003 22:03:10 +0000 (22:03 +0000)]
(struct x_output): Remove members left_pos, top_pos,
and line_height, and use corresponding new members in struct
frame.  All uses changed.
(FRAME_LINE_HEIGHT, FRAME_INTERNAL_BORDER_WIDTH): Remove macros;
superseeded by corresponding macros in frame.h.

21 years agoMake (several) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 22:02:52 +0000 (22:02 +0000)]
Make (several) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(IT_note_mouse_highlight): Use updated window coordinates returned
by window_from_coordinates, rather than adjusting them locally.
(internal_terminal_init): No need to initialize line_height here;
it now defaults to 1.

21 years agoUpdate Fset_window_buffer usage.
Kim F. Storm [Sat, 24 May 2003 22:02:14 +0000 (22:02 +0000)]
Update Fset_window_buffer usage.

21 years ago(struct mac_output): Move members left_pos, top_pos,
Kim F. Storm [Sat, 24 May 2003 22:00:57 +0000 (22:00 +0000)]
(struct mac_output): Move members left_pos, top_pos,
border_width, pixel_height, pixel_width, line_height,
internal_border_width, vertical_scroll_bar_extra,
left_fringe_width, right_fringe_width, fringe_cols,
fringes_extra, win_gravity, size_hint_flags, want_fullscreen,
x_pixels_diff, y_pixels_diff to struct frame (frame.h).
(FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h.
(FRAME_DEFAULT_FONT_WIDTH): Remove macro.
(PIXEL_WIDTH, PIXEL_HEIGHT)
(FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH)
(FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Moved to
frame.h and renamed [see frame.h changes].
(CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH)
(CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL)
(PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Moved to frame.h
and renamed [see frame.h changes].

21 years agoMake (several) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 22:00:34 +0000 (22:00 +0000)]
Make (several) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(x_draw_glyph_string_box): Adapt to per-window fringes and
scroll-bars.
(glyph_rect): Use window coordinates returned from
window_from_coordinates rather than frame_to_window_pixel_xy.
(XTset_vertical_scroll_bar): Adapt to per-window fringes and
scroll-bars.
(x_clip_to_row): Remove superfluous whole_line_p arg and code
(fringes are now inside margins, i.e. always in the clipping area).
All callers changed.
(x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT
directly, then call compute_fringe_widths.  Don't call
frame_update_line_height.

21 years agoMake (several) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 21:59:47 +0000 (21:59 +0000)]
Make (several) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(x_real_positions): Set f->x_pixels_diff and f->y_pixels_diff to 0.

21 years agoMake (many) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 21:59:25 +0000 (21:59 +0000)]
Make (many) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(make_lispy_event): Use window positions returned from
window_from_coordinates when constructing the lisp event for
MOUSE_CLICK_EVENT and DRAG_N_DROP_EVENT, rather than calculating
(incorrect) values locally.
(make_lispy_movement): Use window positions returned from
window_from_coordinates when constructing the lisp event, rather
than calculating (incorrect) values locally.

21 years ago(struct frame): Rename members height to text_lines,
Kim F. Storm [Sat, 24 May 2003 21:58:07 +0000 (21:58 +0000)]
(struct frame): Rename members height to text_lines,
width to text_cols, window_height to total_lines, window_width to
total_cols, new_height to new_text_lines, new_width to
new_text_cols.  All uses changed.
(struct frame): New members which consolidate common members of
x_output, w32_output, and mac_output structures: left_pos,
top_pos, pixel_height, pixel_width, x_pixels_diff, y_pixels_diff,
win_gravity, size_hint_flags, border_width, internal_border_width,
line_height, fringe_cols, left_fringe_width, right_fringe_width,
want_fullscreen.  All uses changed.
(struct frame): New member column_width contaning the canonical
column width, analogue to line_height.  All uses changed.
(struct frame): Rename members scroll_bar_pixel_width to
config_scroll_bar_width, and scroll_bar_cols to
config_scroll_bar_cols.  All uses changed.
(struct frame): New member scroll_bar_actual_width which
consolidates and renames the vertical_scroll_bar_extra member of
x_output, w32_output, and mac_output structures.  All uses changed.
(FRAME_PIXEL_HEIGHT): Renamed from PIXEL_HEIGHT and moved
from x/w32/macterm.h files.  All uses changed.  Also change code
which referred to f->output_data...->pixel_height.
(FRAME_PIXEL_WIDTH): Renamed from PIXEL_WIDTH and moved
from x/w32/macterm.h files.  All uses changed.  Also change code
which referred to f->output_data...->pixel_width.
(FRAME_LINES): Renamed from FRAME_HEIGHT.  All uses changed.
Also change code which referred to f->height.
(FRAME_COLS): Renamed from FRAME_WIDTH.  All uses changed.
Also change code which referred to f->width.
(FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH): Remove macros; change uses
to update new_text_lines and new_text_cols members directly.
(FRAME_CONFIG_SCROLL_BAR_WIDTH): Renamed from
FRAME_SCROLL_BAR_PIXEL_WIDTH.  All uses changed.
(FRAME_CONFIG_SCROLL_BAR_COLS): Renamed from
FRAME_SCROLL_BAR_COLS.  All uses changed.
(FRAME_LEFT_SCROLL_BAR_COLS, FRAME_RIGHT_SCROLL_BAR_COLS):
Renamed from FRAME_LEFT_SCROLL_BAR_WIDTH and
FRAME_RIGHT_SCROLL_BAR_WIDTH, resp.  All uses changed.
(FRAME_SCROLL_BAR_AREA_WIDTH, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH)
(FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH): New macros.
(FRAME_TOTAL_COLS): Renamed from FRAME_WINDOW_WIDTH.
(SET_FRAME_COLS): Renamed from SET_FRAME_WIDTH.
(FRAME_TOTAL_COLS_ARG): Renamed from FRAME_WINDOW_WIDTH_ARG.
(WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Remove unused macro.
(WINDOW_VERTICAL_SCROLL_BAR_HEIGHT): Remove unused macro.
(FRAME_LINE_HEIGHT): Renamed from CANON_Y_UNIT.  Unconditionally
return line_height member (it now has proper value also for
non-window frames).
(FRAME_COLUMN_WIDTH): Renamed from CANON_X_UNIT.  Unconditionally
return new column_width member (rather than the default font width).
(FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH)
(FRAME_RIGHT_FRINGE_WIDTH): Renamed from FRAME_X_... and moved
from x/w32/macterm.h files.  Unconditionally return corresponding
member of frame structure (they now have proper values also for
non-window frames).
(FRAME_TOTAL_FRINGE_WIDTH): Renamed from FRAME_FRINGE_WIDTH.
Calculate return value from left and right widths.
(FRAME_INTERNAL_BORDER_WIDTH): Unconditionally return
internal_border_width member (has proper value for non-window frame).
(FRAME_PIXEL_X_FROM_CANON_X): Renamed from PIXEL_X_FROM_CANON_X.
(FRAME_PIXEL_Y_FROM_CANON_Y): Renamed from PIXEL_Y_FROM_CANON_Y.
(FRAME_CANON_X_FROM_PIXEL_X): Renamed from CANON_X_FROM_PIXEL_X.
(FRAME_CANON_Y_FROM_PIXEL_Y): Renamed from CANON_Y_FROM_PIXEL_Y.
(FRAME_LINE_TO_PIXEL_Y): Renamed from CHAR_TO_PIXEL_ROW,
consolidated from xterm.h, macterm.h, and w32term.h.
(FRAME_COL_TO_PIXEL_X): Renamed from CHAR_TO_PIXEL_COL,
consolidated from xterm.h, macterm.h, and w32term.h.
(FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Renamed from
CHAR_TO_PIXEL_WIDTH consolidated from x/mac/w32term.h.
(FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Renamed from
CHAR_TO_PIXEL_HEIGHT consolidated from x/mac/w32term.h.
(FRAME_PIXEL_Y_TO_LINE): Renamed from PIXEL_TO_CHAR_ROW
consolidated from x/mac/w32term.h.
(FRAME_PIXEL_X_TO_COL): Renamed from PIXEL_TO_CHAR_COL
consolidated from x/mac/w32term.h.
(FRAME_PIXEL_WIDTH_TO_TEXT_COLS): Renamed from
PIXEL_TO_CHAR_WIDTH consolidated from x/mac/w32term.h.
(FRAME_PIXEL_HEIGHT_TO_TEXT_LINES): Renamed from
PIXEL_TO_CHAR_HEIGHT consolidated from x/mac/w32term.h.

21 years agoMake (many) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 21:57:45 +0000 (21:57 +0000)]
Make (many) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(make_frame): Initialize left_fringe_width, right_fringe_width,
fringe_cols, scroll_bar_actual_width, border_width,
internal_border_width, column_width, line_height, x_pixels_diff,
y_pixels_diff, want_fullscreen, size_hint_flags, and win_gravity
members with values suitable for a non-window frames.

21 years agoMake (many) trivial substitutions for renamed and
Kim F. Storm [Sat, 24 May 2003 21:57:05 +0000 (21:57 +0000)]
Make (many) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(mode_line_string): No need to adjust width for mode lines, as it
is already adjusted by the caller.
(marginal_area_string): Handle fringes inside/outside margins.

21 years ago(struct glyph_matrix): Rename members window_left_x
Kim F. Storm [Sat, 24 May 2003 21:56:19 +0000 (21:56 +0000)]
(struct glyph_matrix): Rename members window_left_x
to window_left_col, window_top_y to window_top_line. All uses
changed.
(FRAME_INTERNAL_BORDER_WIDTH_SAFE): Remove macro; can now safely
use FRAME_INTERNAL_BORDER_WIDTH macro instead as
internal_border_width is now set to 0 for non-window frames.
(WINDOW_DISPLAY_PIXEL_WIDTH, WINDOW_DISPLAY_PIXEL_HEIGHT)
(WINDOW_DISPLAY_MODE_LINE_HEIGHT, WINDOW_DISPLAY_HEADER_LINE_HEIGHT)
(WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, WINDOW_DISPLAY_TEXT_HEIGHT)
(WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X)
(WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y, WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y)
(WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y)
(FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y)
(WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH)
(WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, WINDOW_WANTS_MODELINE_P):
Move to window.h and renamed [see window.h changes].
(WINDOW_AREA_TO_FRAME_PIXEL_X, WINDOW_AREA_PIXEL_WIDTH)
(WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Remove macros.
(WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Use
WINDOW_TOTAL_LINES.
(frame_update_line_height): Remove prototype.

21 years ago(struct buffer): Rename members measured in columns:
Kim F. Storm [Sat, 24 May 2003 21:55:09 +0000 (21:55 +0000)]
(struct buffer): Rename members measured in columns:
left_margin_width to left_margin_cols, right_margin_width to
right_margin_cols.  All uses changed.
New members left_fringe_width, right_fringe_width,
fringes_outside_margins for per-buffer fringe settings.
New members scroll_bar_width and vertical_scroll_bar_type for
per-buffer scroll bar settings.

21 years ago(init_buffer_once): Set buffer_defaults and
Kim F. Storm [Sat, 24 May 2003 21:54:43 +0000 (21:54 +0000)]
(init_buffer_once): Set buffer_defaults and
buffer_local_flags for new buffer-local variables
left_fringe_width, right_fringe_width, fringes_outside_margins,
scroll_bar_width, and vertical_scroll_bar_type.
(syms_of_buffer): Defvar_per_buffer them, and defvar_lisp_nopro
default-* variables for them.

21 years agoMajor changes for fringes and oter window elements.
Kim F. Storm [Sat, 24 May 2003 21:52:57 +0000 (21:52 +0000)]
Major changes for fringes and oter window elements.

21 years ago*** empty log message ***
Andreas Schwab [Sat, 24 May 2003 20:18:13 +0000 (20:18 +0000)]
*** empty log message ***

21 years ago(insert-directory): Preserve CR in a file name.
Andreas Schwab [Sat, 24 May 2003 20:16:33 +0000 (20:16 +0000)]
(insert-directory): Preserve CR in a file name.

21 years ago(find_safe_codings): Fix last change.
Andreas Schwab [Sat, 24 May 2003 20:11:55 +0000 (20:11 +0000)]
(find_safe_codings): Fix last change.

21 years agoRegenerated.
Andreas Schwab [Sat, 24 May 2003 19:31:42 +0000 (19:31 +0000)]
Regenerated.

21 years ago(AH_BOTTOM) [MAC_OSX]: Do not redefine bcopy,
Andreas Schwab [Sat, 24 May 2003 19:28:34 +0000 (19:28 +0000)]
(AH_BOTTOM) [MAC_OSX]: Do not redefine bcopy,
bzero, and bcmp.

21 years ago(iconify-or-deiconify-frame): Move to frame.el.
Stefan Monnier [Sat, 24 May 2003 16:22:20 +0000 (16:22 +0000)]
(iconify-or-deiconify-frame): Move to frame.el.

21 years ago*** empty log message ***
Stefan Monnier [Sat, 24 May 2003 16:16:34 +0000 (16:16 +0000)]
*** empty log message ***

21 years ago(iconify-or-deiconify-frame): Move to frame.el.
Stefan Monnier [Sat, 24 May 2003 16:13:06 +0000 (16:13 +0000)]
(iconify-or-deiconify-frame): Move to frame.el.
Turn on mouse-wheel support by default.

21 years ago(iconify-or-deiconify-frame): Move from term/x-win.el.
Stefan Monnier [Sat, 24 May 2003 16:11:17 +0000 (16:11 +0000)]
(iconify-or-deiconify-frame): Move from term/x-win.el.

21 years ago(read_key_sequence): Adjust fkey and keytran when dropping `down' events.
Stefan Monnier [Sat, 24 May 2003 14:52:10 +0000 (14:52 +0000)]
(read_key_sequence): Adjust fkey and keytran when dropping `down' events.

21 years agoVersion 2.0.34 (of Tramp) released.
Kai Großjohann [Sat, 24 May 2003 14:10:53 +0000 (14:10 +0000)]
Version 2.0.34 (of Tramp) released.

21 years agoVersion 2.0.34 (of Tramp) released.
Kai Großjohann [Sat, 24 May 2003 14:10:15 +0000 (14:10 +0000)]
Version 2.0.34 (of Tramp) released.
(tramp-handle-file-symlink-p): If target of symlink is absolute,
return a Tramp filename.  (Ie, return "/user@host:/target" instead
of "/target".)
(tramp-handle-file-truename): Deal with new return value from
`file-symlink-p'.
(tramp-handle-expand-file-name): Make default method explicit in
file name.
(tramp-unified-filenames): Move to an earlier spot in the file.
(top-level): If tramp-unified-filenames is set and we're running
on XEmacs, load tramp-efs.
(tramp-wait-for-shell-prompt, tramp-barf-if-no-shell-prompt): New
functions, used by tramp-send-command-internal.
(tramp-open-connection-setup-interactive-shell): Simplify using
`tramp-send-command-internal'.
(tramp-send-command-internal): New function.
(tramp-methods): New entries "remsh" and "remcp" are like "rsh"
and "rcp" but invoke "remsh" instead of "rsh".  This is useful on
Cray systems, for instance.  Unify tramp-rsh-program,
tramp-telnet-program, tramp-su-program into tramp-login-program.
Likewise with tramp-login-args, tramp-copy-program,
tramp-copy-args, tramp-copy-keep-date-arg.  Users changed.  New
method plink1; like plink but pass "-1" to force protocol version
1.
(tramp-default-method): Use plink as the default on machines where
the plink program is present.
(tramp-completion-file-name-handler): Add safe-magic property.
(tramp-shell-prompt-pattern): Allow ANSI escapes at
end of prompt.  (ANSI escapes elsewhere in the prompt are
recognized properly already.)

21 years ago(x_window): Fix typo.
Thien-Thi Nguyen [Sat, 24 May 2003 08:58:03 +0000 (08:58 +0000)]
(x_window): Fix typo.

21 years agoUse `push' and replace `regi-pos' by equivalents.
Stefan Monnier [Sat, 24 May 2003 00:34:15 +0000 (00:34 +0000)]
Use `push' and replace `regi-pos' by equivalents.
(sc-emacs-features): Remove.  Use better tests instead.
(sc-minor-mode): Use define-minor-mode.
(sc-mode-string, sc-set-mode-string): Remove.
Use a better modeline expression instead.
(sc-completing-read, sc-read-string, sc-submatch, sc-member)
(sc-string-text): Remove those compatibility functions.

21 years ago(display_mode_element): Increase max depth.
Stefan Monnier [Fri, 23 May 2003 23:32:55 +0000 (23:32 +0000)]
(display_mode_element): Increase max depth.
Simplify the error handling code.  Use a different error string
for the case where we hit the depth limit.

21 years ago(gdba): Accommodate Fortran programs.
Nick Roberts [Fri, 23 May 2003 22:38:15 +0000 (22:38 +0000)]
(gdba): Accommodate Fortran programs.
(gud-gdba-command-name): Use -noasync in all cases (as Fortran
seems to require it also).
(gdb-source-info): Parse correctly when compilation directory
specifies host also (IRIX).

21 years ago*** empty log message ***
Nick Roberts [Fri, 23 May 2003 22:35:40 +0000 (22:35 +0000)]
*** empty log message ***

21 years ago(cvs-temp-buffer): Kill running process in displayed buffers.
Stefan Monnier [Fri, 23 May 2003 19:31:02 +0000 (19:31 +0000)]
(cvs-temp-buffer): Kill running process in displayed buffers.
(cvs-make-cvs-buffer): Fix up format of the header.

21 years ago*** empty log message ***
Stefan Monnier [Fri, 23 May 2003 18:51:34 +0000 (18:51 +0000)]
*** empty log message ***

21 years ago(define-ccl-program): Doc fix.
Dave Love [Fri, 23 May 2003 18:15:45 +0000 (18:15 +0000)]
(define-ccl-program): Doc fix.

21 years ago(Vfundamental_mode_abbrev_table): Don't declare.
Stefan Monnier [Fri, 23 May 2003 18:14:36 +0000 (18:14 +0000)]
(Vfundamental_mode_abbrev_table): Don't declare.

21 years ago(reset_buffer_local_variables): Remove redundant setting.
Stefan Monnier [Fri, 23 May 2003 18:11:50 +0000 (18:11 +0000)]
(reset_buffer_local_variables): Remove redundant setting.

21 years ago#
André Spiegel [Fri, 23 May 2003 17:58:46 +0000 (17:58 +0000)]
#

21 years ago(vc-cvs-checkout): Don't leave the branch when REV is t.
André Spiegel [Fri, 23 May 2003 17:57:29 +0000 (17:57 +0000)]
(vc-cvs-checkout): Don't leave the branch when REV is t.
From Don Provan <dprovan@bivio.net>.

21 years ago(perl-font-lock-syntactic-keywords): Match more cases of /.../ patterns.
Stefan Monnier [Fri, 23 May 2003 15:49:16 +0000 (15:49 +0000)]
(perl-font-lock-syntactic-keywords): Match more cases of /.../ patterns.

21 years ago*** empty log message ***
Richard M. Stallman [Fri, 23 May 2003 13:35:36 +0000 (13:35 +0000)]
*** empty log message ***

21 years agoRemove unnecessary entry.
Lute Kamstra [Fri, 23 May 2003 13:03:48 +0000 (13:03 +0000)]
Remove unnecessary entry.

21 years ago(forms--mode-commands1): Bind \t, not `tab'.
Richard M. Stallman [Fri, 23 May 2003 12:48:06 +0000 (12:48 +0000)]
(forms--mode-commands1): Bind \t, not `tab'.
(forms--mode-commands): Don't bind \t in the maps where
we call forms--mode-commands1.

21 years ago(repunctuate-sentences): New function.
Richard M. Stallman [Fri, 23 May 2003 12:46:38 +0000 (12:46 +0000)]
(repunctuate-sentences): New function.

21 years ago(archive-lzh-summarize): Calculate correct total
Richard M. Stallman [Fri, 23 May 2003 12:45:49 +0000 (12:45 +0000)]
(archive-lzh-summarize): Calculate correct total
header size for LZH level 1 header.

21 years ago(checkdoc-file-comments-engine): Use
Lute Kamstra [Fri, 23 May 2003 10:10:24 +0000 (10:10 +0000)]
(checkdoc-file-comments-engine): Use
`lm-commentary-end' to find the end of the commentary section.

21 years agoMake the description of the library more
Lute Kamstra [Fri, 23 May 2003 10:08:34 +0000 (10:08 +0000)]
Make the description of the library more
accurate.
(lm-any-header): New user option.
(lm-section-start): New function; rewrite of `lm-section-mark'.
(lm-section-mark): Make alias of `lm-section-start'.
(lm-section-end): New function.
(lm-code-start): New function; rewrite of `lm-code-mark'.
(lm-code-mark): Make alias of `lm-code-start'.
(lm-commentary-start): New function; rewrite of
`lm-commentary-mark'.
(lm-commentary-mark): Make alias of `lm-commentary-start'.
(lm-commentary-end): New function.
(lm-history-start): New function; rewrite of `lm-history-mark'.
(lm-history-mark): Make alias of `lm-history-start'.
(lm-commentary): Use `lm-commentary-end' to find the end of the
commentary section.

21 years agoFix mismatched @def/@end pairs (inadvertently nested?).
Miles Bader [Fri, 23 May 2003 01:22:32 +0000 (01:22 +0000)]
Fix mismatched @def/@end pairs (inadvertently nested?).

21 years ago(define-skeleton): Use the `no-self-insert' property.
Stefan Monnier [Fri, 23 May 2003 00:59:12 +0000 (00:59 +0000)]
(define-skeleton): Use the `no-self-insert' property.
(skeleton-proxy-new): Fix docstring.  Remove broken interactive spec.
Rely on use `no-self-insert' rather than `skeleton-abbrev-cleanup'.
(skeleton-internal-1): Add a `recursive' argument.
(skeleton-internal-list): Use it to propagate `recursive'.

21 years ago*** empty log message ***
Stefan Monnier [Thu, 22 May 2003 21:40:50 +0000 (21:40 +0000)]
*** empty log message ***

21 years agoSummary: MIME support added for e-mail processing that
Stefan Monnier [Thu, 22 May 2003 21:34:00 +0000 (21:34 +0000)]
Summary: MIME support added for e-mail processing that
skips encoded regions.  Allow user to skip saving Fcc messages with
large attachments.  Fixed region skipping bug with multi-line
comments - e.g.  tex $ regions spanning multiple lines.
Added support for postscript and uuencoded regions.
Redundant dictionary file names purged.
Dictionary definition field name changed from "Character Set"
to "Coding System".  Fixed bug in reloading dictionaries.
Modified headers to reflect new version.  XEmacs menu now adds
customize item.
(ispell-check-version): No longer an aliased function.
Returns library path if not called interactively.
Variable `temporary-file-directory' protected if not loaded.
(check-ispell-version): Now the alias for `ispell-check-version'.
(ispell-message-fcc-skip): New variable that determines if and when
to query about saving Fcc copy of message if an attachment is large.
(ispell-skip-html): Declared buffer-local.
(ispell-local-dictionary-alist): Docstring expanded.
Tag name changed from "Character Set" to "Coding System".
(ispell-dictionary-alist-1): Removed redundant command-line option to
load brasileiro, british, and castellano dictionary files.
(ispell-dictionary-alist-2): Removed redundant command-line option to
load czech dictionary file.
(ispell-dictionary-alist-3): Moved francais-tex here.
(ispell-dictionary-alist-4): Removed german and german8 dictionaries.
The deutsch ones are the correct definitions.  `nederlands'
and `nederlands8' dictionaries moved here.
(ispell-dictionary-alist-5): `polish' and `portugues' dictionaries
moved here.  Removed redundant command-line option to `norsk'
and `portugues'.
(ispell-dictionary-alist-6): Removed redundant command-line option to
load `russian' and `slovak' dictionary files.
(ispell-dictionary-alist): Tag name changed from "Character Set" to
"Coding System".
(ispell-version): Updated to 3.6.
(ispell-library-directory): Calls non-deprecated function.
(ispell-valid-dictionary-list): New function returning all valid
dictionaries on machine.
(ispell-checking-message): Documentation string improved.
(ispell-skip-region-alist): Added uuencoded and postscript region
skipping.  Improved http/e-mail/file regexp to not match `/.\w'.
(ispell-html-skip-alists): New variable for html region support.
(ispell-send-string): Removed redundant xemacs check.
(ispell-word): Fix spelling error in documentation string, added
extent information to support highlighting in ispell-minor-mode.
(ispell-command-loop): Disable horizontal scrollbar in XEmacs
choices buffer.
(ispell-show-choices): Directly select `choices-window'.
(ispell-help): Use default buffer size for electric help.
(ispell-adjusted-window-height): Correct for xemacs detection.
(ispell-start-process): Don't double specify dictionary file name.
(ispell-init-process): Set `ispell-library-path' each call.
(ispell-change-dictionary): Now only completes valid dictionaries.
(ispell-region): Add support for MIME region skipping and Fcc
message query for large attachments.
(ispell-begin-skip-region-regexp): Add documentation string.
Added message support and cleaned up code for generic and html regions.
(ispell-begin-skip-region): Function is now requires alist argument.
(ispell-begin-tex-skip-regexp): Added comments and support
improved html and message regions.
(ispell-skip-region-list): New function for MIME and region skipping.
(ispell-tex-arg-end): Add documentation string.
(ispell-ignore-fcc): New function to query saving Fcc message.
(ispell-skip-region): Calculate alist for key match dynamically,
html skipping pushed to alists.
(ispell-get-line): Add support for multi-line comment regions.
(ispell): Check that variables to continue spelling are bound.
(ispell-message-text-end): Postscript and uuencoded regions now
supported as MIME regions, rather than as end-of-message region.
(ispell-mime-multipartp): New function supporting MIME.
(ispell-mime-skip-part): New function supporting MIME.
(ispell-message): Add MIME support.
(ispell-buffer-local-parsing): Variable `ispell-skip-html' now local.
(ispell-buffer-local-dict): Fixed bug for detecting and reloading
new dictionary.

21 years ago*** empty log message ***
Juanma Barranquero [Thu, 22 May 2003 21:06:42 +0000 (21:06 +0000)]
*** empty log message ***

21 years ago(Creating Strings): Update split-string specification and examples.
Juanma Barranquero [Thu, 22 May 2003 21:05:25 +0000 (21:05 +0000)]
(Creating Strings): Update split-string specification and examples.

21 years ago(split-string): Implement specification that splitting on explicit separators
Juanma Barranquero [Thu, 22 May 2003 20:59:57 +0000 (20:59 +0000)]
(split-string): Implement specification that splitting on explicit separators
retains null fields.  Add new argument OMIT-NULLS.  Special-case (split-string
"a string").

21 years ago*** empty log message ***
Dave Love [Thu, 22 May 2003 20:01:37 +0000 (20:01 +0000)]
*** empty log message ***

21 years ago(difftime) [!HAVE_DIFFTIME]: Define.
Dave Love [Thu, 22 May 2003 20:01:19 +0000 (20:01 +0000)]
(difftime) [!HAVE_DIFFTIME]: Define.
(strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.

21 years ago(Indentation): Explain the concepts.
Kai Großjohann [Thu, 22 May 2003 14:53:58 +0000 (14:53 +0000)]
(Indentation): Explain the concepts.
(Just Spaces): Explain why preventing tabs for indentation might
be useful.

21 years agoInclude lisp.h, not ../src/lisp.h.
Dave Love [Thu, 22 May 2003 13:38:44 +0000 (13:38 +0000)]
Include lisp.h, not ../src/lisp.h.
(make_drawing_gcs): Remove unused `xswa', `mask'.

21 years agoInclude lisp.h, not ../src/lisp.h.
Dave Love [Thu, 22 May 2003 13:30:20 +0000 (13:30 +0000)]
Include lisp.h, not ../src/lisp.h.
(lw_lucid_widget_p): Remove unused `mw'.
(xlw_update_one_widget, xlw_pop_instance) [PROTOTYPES]: Provide
ISO C arglists.

21 years agoRemove redundant test for term.h. Test for
Dave Love [Thu, 22 May 2003 13:19:53 +0000 (13:19 +0000)]
Remove redundant test for term.h.  Test for
difftime.

21 years ago(ENCODE_UNSAFE_CHARACTER): Adjusted for the name change
Kenichi Handa [Thu, 22 May 2003 05:53:23 +0000 (05:53 +0000)]
(ENCODE_UNSAFE_CHARACTER): Adjusted for the name change
of CODING_REPLACEMENT_CHARACTER.
(decode_coding_iso2022): If CODING_FLAG_ISO_SAFE, set
CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in coding->mode, and
check this flag on encoding.
(encode_coding_sjis_big5): Check
CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag of coding->mode.
(Fset_terminal_coding_system_internal): Set
CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in terminal_coding.mode
instead of setting CODING_FLAG_ISO_SAFE flag in
terminal_coding.flags.

21 years ago(CODING_REPLACEMENT_CHARACTER): Renamed from
Kenichi Handa [Thu, 22 May 2003 05:52:15 +0000 (05:52 +0000)]
(CODING_REPLACEMENT_CHARACTER): Renamed from
CODING_INHIBIT_CHARACTER_SUBSTITUTION.
(CODING_MODE_INHIBIT_UNENCODABLE_CHAR): New macro.

21 years agoUpdated.
Kenichi Handa [Thu, 22 May 2003 04:43:12 +0000 (04:43 +0000)]
Updated.

21 years ago*** empty log message ***
Kenichi Handa [Thu, 22 May 2003 04:42:34 +0000 (04:42 +0000)]
*** empty log message ***

21 years ago("chinese-py-punct-b5"): Change the title
Kenichi Handa [Thu, 22 May 2003 04:20:28 +0000 (04:20 +0000)]
("chinese-py-punct-b5"): Change the title
Chinese characters from GB to Big5.

21 years ago(select-safe-coding-system): Try
Kenichi Handa [Thu, 22 May 2003 01:50:11 +0000 (01:50 +0000)]
(select-safe-coding-system): Try
default-buffer-file-coding-system too for automatic selection.