# HG changeset patch # User Stefan Monnier # Date 1100720244 0 # Node ID b6a73af2024e13cda414061f68ba72e6a0b7d029 # Parent 58d9e096acca80c8035d94050fc1b7c7a1ad7022 *** empty log message *** diff -r 58d9e096acca -r b6a73af2024e lisp/ChangeLog --- a/lisp/ChangeLog Wed Nov 17 19:30:19 2004 +0000 +++ b/lisp/ChangeLog Wed Nov 17 19:37:24 2004 +0000 @@ -1,54 +1,59 @@ 2004-11-17 Jay Belanger - * calc/calc-alg.el (calc-poly-div): Made calc-poly-div-remainder - a local variable. - - (math-eval-rules-cache, math-eval-rules-cache-other): Declared - them. - - (math-top-only): New variable. - (math-simplify, math-simplify-step): Replaced variable top-only by + + * calc/calc-alg.el (calc-poly-div): Make calc-poly-div-remainder + a local variable. + + (math-eval-rules-cache, math-eval-rules-cache-other): Declare them. + + (math-top-only): New variable. + (math-simplify, math-simplify-step): Replace variable top-only by declared variable math-top-only. - (math-simplify-expr): Declared it. + (math-simplify-expr): Declare it. Replaced argument expr in all calls of math-defsimplify by math-simplify-expr. (math-simplify-plus, math-simplify-times, math-simplify-divide) (math-simplify-divisor, math-simplify-one-divisor) (math-simplify-mod, math-simplify-ineq, math-simplify-sqrt) - (math-simplify-pow): Replaced variable expr by declared variable + (math-simplify-pow): Replace variable expr by declared variable math-simplify-expr. - (math-simplify-divisor): Removed local variables temp and op. - (math-simplify-one-divisor): Made temp and op local variables. - - (math-simplify-divisor-nover, math-simplify-divisor-dover): New - variables. - (math-simplify-divisor, math-simplify-one-divisor): Replaced - variables nover and dover by declared variables. - - (math-expr-subst-new, math-expr-subst-old): New variables. - (math-expr-subst, math-expr-subst-rec): Replaced variables new + (math-simplify-divisor): Remove local variables temp and op. + (math-simplify-one-divisor): Make temp and op local variables. + + (math-simplify-divisor-nover, math-simplify-divisor-dover): + New variables. + (math-simplify-divisor, math-simplify-one-divisor): + Replace variables nover and dover by declared variables. + + (math-expr-subst-new, math-expr-subst-old): New variables. + (math-expr-subst, math-expr-subst-rec): Replace variables new and old by declared variables. - (math-is-poly-degree, math-is-poly-loose): New variables. - (math-is-polynomial, math-is-poly-rec): Replaced variables degree + (math-is-poly-degree, math-is-poly-loose): New variables. + (math-is-polynomial, math-is-poly-rec): Replace variables degree and loose by declared variables. (math-poly-base-const-ok, math-poly-base-pred): New variables. - (math-polynomial-base, math-polynomial-base-rec): Replaced - variables const-ok and mpb-pred by declared variables. - - * calc/calc-poly.el (calc-poly-div-remainder): Declared it. - - * calc/calc-ext.el (math-defsimplify): Changed the argument in - the created function to math-simplify-expr. - - * calc/calc-units.el (math-simplify-expr): Declared it. - Replaced argument expr in all calls of math-defsimplify by + (math-polynomial-base, math-polynomial-base-rec): + Replace variables const-ok and mpb-pred by declared variables. + + * calc/calc-poly.el (calc-poly-div-remainder): Declare it. + + * calc/calc-ext.el (math-defsimplify): Change the argument in + the created function to math-simplify-expr. + + * calc/calc-units.el (math-simplify-expr): Declare it. + Replace argument expr in all calls of math-defsimplify by math-simplify-expr. - (math-simplify-units-prod): Replaced variable expr by declared + (math-simplify-units-prod): Replace variable expr by declared variable math-simplify-expr. +2004-11-17 Stefan Monnier + + * buff-menu.el (list-buffers-noselect): Massage to fit in 80 columns. + Replace mapcar->dolist, format->string. + 2004-11-17 Miles Bader * progmodes/idlw-shell.el, progmodes/idlw-toolbar.el @@ -66,7 +71,7 @@ * international/iso-cvt.el (iso-tex2iso-trans-tab): Discard spaces after \i according to TeX rules. - * international/mule.el (set-buffer-file-coding-system): + * international/mule.el (set-buffer-file-coding-system): New arg NOMODIFY. (after-insert-file-set-coding): Pass that new arg. Prevent set-buffer-multibyte from trying to lock the file. @@ -83,9 +88,14 @@ * subr.el (map-keymap-internal): New function. +2004-11-16 Stefan Monnier + + * textmodes/flyspell.el (flyspell-mouse-map): Pop the menu + when pressing rather than when releasing mouse-2. Simplify. + 2004-11-14 Frederic Han (tiny change) - * international/iso-cvt.el (iso-tex2iso-trans-tab): + * international/iso-cvt.el (iso-tex2iso-trans-tab): Discard whitespace after macro \i when converting it. 2004-11-16 Juri Linkov diff -r 58d9e096acca -r b6a73af2024e src/ChangeLog --- a/src/ChangeLog Wed Nov 17 19:30:19 2004 +0000 +++ b/src/ChangeLog Wed Nov 17 19:37:24 2004 +0000 @@ -11,24 +11,36 @@ * gtkutil.c (xg_get_file_name): Fix typo in HAVE_GTK_FILE_SELECTION_NEW. - * xmenu.c (x_menu_in_use): Removed. + * xmenu.c (x_menu_in_use): Remove. (x_menu_set_in_use): Also set popup_activated_flag. * xfns.c (Fx_file_dialog): Call popup_activated instead of x_menu_in_use. Call x_menu_set_in_use in Motif version also. - * xterm.h: (x_menu_in_use): Removed. + * xterm.h: (x_menu_in_use): Remove. 2004-11-16 Richard M. Stallman - * keymap.c (Fmap_keymap): New arg SORT-FIRST. Use - map-keymap-internal to implement that. + * keymap.c (Fmap_keymap): New arg SORT-FIRST. + Use map-keymap-internal to implement that. * indent.c (Fvertical_motion): In batch mode, use vmotion directly. +2004-11-16 Stefan Monnier + + * xdisp.c (get_glyph_string_clip_rect, init_glyph_string): Check it's + a window before using XWINDOW. + + * window.c (make_window, Fselect_window, make_dummy_parent) + (save_window_save): + * frame.c (make_frame): + * fns.c (concat): Avoid side-effects inside XSETFASTINT's arguments. + + * lisp.h (NILP): Use EQ rather than XFASTINT. + 2004-11-16 Kim F. Storm - * fringe.c (Fdefine_fringe_bitmap): Always set 'h'. Simplify. + * fringe.c (Fdefine_fringe_bitmap): Always set 'h'. Simplify. * indent.c (Fvertical_motion): Fix last change. Only reseat when moving backwards. @@ -99,12 +111,12 @@ 2004-11-13 Jan Dj,Ad(Brv * gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel) - (xg_file_sel_destroy): Removed. + (xg_file_sel_destroy): Remove. (xg_file_response_cb, pop_down_file_dialog) (xg_get_file_name_from_chooser, xg_get_file_name_from_selector): New functions. - (xg_get_file_with_chooser, xg_get_file_with_selection): Take - new argument func, set it to xg_get_file_name_from_chooser/selector. + (xg_get_file_with_chooser, xg_get_file_with_selection): + Take new arg func, set it to xg_get_file_name_from_chooser/selector. Move common code to xg_get_file_name. Return widget created. (xg_get_file_name): Set name, transient for, modal and destroy with parent here. Connect response signal to xg_file_response_cb, @@ -121,7 +133,7 @@ (create_and_show_popup_menu, create_and_show_dialog): ... to here. Move destroy of widget to pop_down_menu. (pop_down_menu): BLOCK_INPUT and destroy widget/window. - (xmenu_show): record unwind pop_down_menu. Move XMenuDestroy, + (xmenu_show): Record unwind pop_down_menu. Move XMenuDestroy, x_mouse_leave and grabbed = 0 to pop_down_menu. 2004-11-13 Kim F. Storm @@ -144,8 +156,8 @@ (MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P) (MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P): Use helper macros. - * window.c (window_scroll_pixel_based, Frecenter): Use - move_it_vertically_backward directly. + * window.c (window_scroll_pixel_based, Frecenter): + Use move_it_vertically_backward directly. (Frecenter): Fix calculation of new start pos for negative arg. Before, the new start pos was sometimes chosen too far back, so the last line became only partially visible, and thus would be @@ -156,7 +168,7 @@ (move_it_vertically_backward): Don't recure to move further back. (move_it_vertically): Remove superfluous condition. (move_it_by_lines): Clear last_height when moved 0 lines. - (resize_mini_window): use it.max_extra_line_spacing. + (resize_mini_window): Use it.max_extra_line_spacing. (display_tool_bar_line): Clear row->extra_line_spacing. (try_scrolling): Use move_it_vertically_backward directly. (redisplay_window): Likewise. @@ -248,7 +260,7 @@ * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o and w32*.o. (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked. - (mostlyclean): rm buildobj.lst + (mostlyclean): Rm buildobj.lst * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs is linked.