# HG changeset patch # User Stefan Monnier # Date 1053823501 0 # Node ID 7d48b06d1fd1e57ffcff28d664f5a8e122d56a38 # Parent f1218b1b5c065f71f0c8ceffbe1fe348ca45e94d *** empty log message *** diff -r f1218b1b5c06 -r 7d48b06d1fd1 lisp/ChangeLog --- a/lisp/ChangeLog Sun May 25 00:36:59 2003 +0000 +++ b/lisp/ChangeLog Sun May 25 00:45:01 2003 +0000 @@ -2,6 +2,19 @@ * files.el (insert-directory): Preserve CR in a file name. +2003-05-24 Stefan Monnier + + * skeleton.el (skeleton-abbrev-cleanup, skeleton-proxy): + Remove obsolete code. + + * term/w32-win.el (iconify-or-deiconify-frame): + * term/mac-win.el (iconify-or-deiconify-frame): Move to frame.el. + + * term/x-win.el (iconify-or-deiconify-frame): Move to frame.el. + Turn on mouse-wheel support by default. + + * frame.el (iconify-or-deiconify-frame): Move from term/x-win.el. + 2003-05-24 Kai Gro,A_(Bjohann * net/tramp.el: Version 2.0.34 released. @@ -15,8 +28,8 @@ (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-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. @@ -26,8 +39,7 @@ 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. + 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. @@ -41,12 +53,28 @@ * net/tramp.el (tramp-handle-file-truename): `sym' shouldn't be quoted. - (tramp-methods, tramp-multi-connection-function-alist): Use - argument "-p Password:" for "sudo" method, because password prompt + (tramp-methods, tramp-multi-connection-function-alist): + Use argument "-p Password:" for "sudo" method, because password prompt might be changed by either passprompt option in /etc/sudoers, or SUDO_PROMPT environment variable. Suggested by Peter Oliver . +2003-05-23 Stefan Monnier + + * mail/supercite.el: 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. + + * pcvs.el (cvs-temp-buffer): Kill running process in displayed buffers. + (cvs-make-cvs-buffer): Fix up format of the header. + + * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): + Match more cases of /.../ patterns. + 2003-05-23 Nick Roberts * gdb-ui.el (gdba): Accommodate Fortran programs. @@ -59,7 +87,7 @@ * vc-cvs.el (vc-cvs-checkout): Don't leave the branch when REV is t. From Don Provan - + 2003-05-23 Richard M. Stallman * forms.el (forms--mode-commands1): Bind \t, not `tab'. @@ -89,8 +117,7 @@ (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-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'. @@ -98,10 +125,18 @@ (lm-commentary): Use `lm-commentary-end' to find the end of the commentary section. - * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): Use - `lm-commentary-end' to find the end of the commentary section. - -2003-05-22 Ken Stevens + * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): + Use `lm-commentary-end' to find the end of the commentary section. + +2003-05-22 Stefan Monnier + + * skeleton.el (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'. + +2003-05-22 Ken Stevens * ispell.el: Sync to version 3.6. Summary: MIME support added for e-mail processing that diff -r f1218b1b5c06 -r 7d48b06d1fd1 src/ChangeLog --- a/src/ChangeLog Sun May 25 00:36:59 2003 +0000 +++ b/src/ChangeLog Sun May 25 00:45:01 2003 +0000 @@ -9,11 +9,11 @@ 2) Allow fringe and scroll bar parameters to be set per-buffer and per-window (like display margins). Such settings are now stored in window configurations, preserved when frames are resized, and - copied when windows are split vertically or horisontally. + copied when windows are split vertically or horizontally. Several bugs related to display margins have been fixed. 3) Consistently use FRAME_FONT and FRAME_FONTSET macros. - + 4) Use FRAME_COLUMN_WIDTH (f) consistently throughout the code rather than FRAME_WIDTH (FRAME_FONT (f)). @@ -179,7 +179,7 @@ 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_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 @@ -196,9 +196,9 @@ (window_from_coordinates): Update prototype. (Fset_window_buffer): Update EXFUN. (set_window_buffer): Update prototype. - + * dispextern.h (struct glyph_matrix): Rename members window_left_x - to window_left_col, window_top_y to window_top_line. All uses + 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 @@ -212,11 +212,11 @@ (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]. + 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. + (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): + Use WINDOW_TOTAL_LINES. (frame_update_line_height): Remove prototype. * buffer.h (struct buffer): Rename members measured in columns: @@ -239,7 +239,7 @@ (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. - + * frame.c: 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, @@ -250,7 +250,7 @@ * gtkutil.c: Make (many) trivial substitutions for renamed and new macros in dispextern.h, frame.h and window.h. - + * indent.c: Make (few) trivial substitutions for renamed and new macros in dispextern.h, frame.h and window.h. @@ -286,9 +286,9 @@ 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. + 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 + 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 @@ -308,8 +308,8 @@ 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. + (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 @@ -320,8 +320,8 @@ 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. + (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. @@ -378,18 +378,18 @@ (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 + 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. + 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. + 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 @@ -426,7 +426,7 @@ (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]. - + * xterm.c: 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 @@ -460,7 +460,7 @@ (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]. - + * w32term.c: 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 @@ -501,7 +501,7 @@ (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]. - + * macterm.c: 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 @@ -519,7 +519,7 @@ * macfns.c: 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. + (x_real_positions): Set f->x_pixels_diff and f->y_pixels_diff to 0. * macmenu.c: Make (few) trivial substitutions for renamed and new macros in dispextern.h, frame.h and window.h. @@ -533,10 +533,15 @@ * msdos.c: 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. + by window_from_coordinates, rather than adjusting them locally. (internal_terminal_init): No need to initialize line_height here; it now defaults to 1. +2003-05-24 Stefan Monnier + + * keyboard.c (read_key_sequence): Adjust fkey and keytran when + dropping `down' events. + 2003-05-24 Andreas Schwab * coding.c (find_safe_codings): Fix last change. @@ -547,6 +552,10 @@ 2003-05-23 Stefan Monnier + * xdisp.c (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. + * lisp.h (Vfundamental_mode_abbrev_table): Don't declare. * buffer.c (reset_buffer_local_variables): Remove redundant setting.