]> code.delx.au - gnu-emacs/commitdiff
Suppress spurious second invocation of before-change-functions
authorAlan Mackenzie <acm@muc.de>
Tue, 19 Jan 2010 13:16:01 +0000 (13:16 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 19 Jan 2010 13:16:01 +0000 (13:16 +0000)
1  2 
src/ChangeLog
src/textprop.c

diff --cc src/ChangeLog
index 190e35d923f60506f5213a6028235c7f440eb318,0946148b9a6d6a0d1812b6b2ada837d32ad7def1..0f698e78e3caf201e26b5429878933da4f0cacf0
 +2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * editfns.c (Fcurrent_time_string): Doc fix (Bug#5408).
 +
 +2010-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * xterm.c (event_handler_gdk): Block input (Bug#5037).
 +
 +2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * emacs.c (standard_args): Adjust arg priorities to reflect how
 +      they are processed in startup.el.
 +
 +2010-01-16  Andreas Schwab  <schwab@linux-m68k.org>
 +
 +      * Makefile.in (lisp, shortlisp): Update.
 +
 +2010-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      * xterm.c (x_term_init): Instead of inhibiting GC while running Lisp
 +      code, link the new kboard into all_kboard before running Lisp code,
 +      and protect the new terminal with GCPRO (Bug#5365).
 +      (x_term_init): Remove unused var `atom'.
 +      (x_delete_display, x_delete_terminal): Remove unused var `i'.
 +
 +2010-01-15  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * xfns.c (x_get_current_desktop, x_get_desktop_workarea): New functions.
 +      (Fx_create_frame): Call x_get_current_desktop and x_get_desktop_workarea
 +      to find out usable size of the desktop.  Don't make frames larger than
 +      this. Bug #3643.
 +
 +2010-01-15  Kenichi Handa  <handa@m17n.org>
 +
 +      * xdisp.c (CHAR_COMPOSED_P): New arg END_CHARPOS.  Callers changed.
 +
 +2010-01-15  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * nsterm.m (Qnone): Define.
 +
 +      * nsfns.m (Qnone): Move definition to nsterm.m.
 +
 +2010-01-14  Kenichi Handa  <handa@m17n.org>
 +
 +      * coding.c (detect_coding_iso_2022): Fix handling of euc-xx coding
 +      systems.
 +
 +2010-01-14  Kenichi Handa  <handa@m17n.org>
 +
 +      Make auto-composition work on all buffers even if they are
 +      fundamental mode.
 +
 +      * composite.c (Vauto_composition_mode): New variable.
 +      (composition_compute_stop_pos): Check Vauto_composition_mode
 +      instead of Vauto_composition_function.
 +      (composition_adjust_point, Ffind_composition_internal): Likewise.
 +      (syms_of_composite): Declare Lisp variable
 +      "auto-composition-mode" here.
 +
 +2010-01-13  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * xterm.c (x_term_init): Avoid garbage-collecting the new terminal
 +      during call to vendor-specific-keysyms (Bug#5365).
 +
 +2010-01-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +
 +      * keyboard.c (input_available_signal) [SYNC_INPUT]:
 +      Call SIGNAL_THREAD_CHECK (Bug#5333).
 +
 +      * atimer.c (alarm_signal_handler) [!SYNC_INPUT]:
 +      Call SIGNAL_THREAD_CHECK.
 +
 +2010-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 +
 +      Try to fix bug#5314.  This is probably not the final word, tho.
 +      * buffer.c (Fset_buffer_modified_p): Try and be careful not to modify
 +      recent-auto-save-p as a side-effect.
 +      * buffer.h (BUF_AUTOSAVE_MODIFF): New macro.
 +      * buffer.c (Fkill_buffer, reset_buffer):
 +      * editfns.c (Fsubst_char_in_region):
 +      * fileio.c (Finsert_file_contents, Fdo_auto_save)
 +      (Fset_buffer_auto_saved, Frecent_auto_save_p): Use it.
 +
 +2010-01-13  Kenichi Handa  <handa@m17n.org>
 +
 +      Display buffer name, etc. in mode line by composing correctly.
 +
 +      * xdisp.c (reseat_to_string): Call composition_compute_stop_pos if
 +      STRING is not nil.
 +      (display_mode_element): Adjust for the change of
 +      decode_mode_spec and display_line.
 +      (decode_mode_spec): Change arg MULTIBYTE to STRING.
 +      (display_string): Handle the case that STRING is non-null and
 +      LISP_STRING is not nil.
 +
 +      * xterm.c (x_draw_composite_glyph_string_foreground):
 +      Pay attention to s->face->overstrike.
 +
 +      * composite.c (composition_reseat_it): Don't check PT if STRING is
 +      non nil.
 +
 +2010-01-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +
 +      * keyboard.c (read_char): Don't apply previous change when current
 +      buffer is unchanged by command execution.
 +
 +2010-01-12  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * keyboard.c (read_char): Return after executing from special map.
 +
 +2010-01-12  Glenn Morris  <rgm@gnu.org>
 +
 +      * emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Set it to
 +      bug-gnu-emacs rather than emacs-pretest-bug.
 +
 +2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * nsterm.m (syms_of_nsterm): Initialize Qcontrol etc. before
 +      initializing the Lisp variables that depend on them.
 +
 +2010-01-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +
 +      * xfns.c (x_set_menu_bar_lines) [!USE_X_TOOLKIT && !USE_GTK]:
 +      Clear areas that will not be updated after change of menu bar lines.
 +      Clear the menu bar window's current matrix when the window gets empty.
 +
 +2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
 +
 +      * intervals.h, textprop.c (extend_property_ranges): Return value
 +      and args changed.  Discard properties that begin at or after the
 +      new end (Bug#5306).
 +
 +      * editfns.c (Fformat): Caller changed.
 +
 +      * nsterm.m (ns_set_default_prefs): Delete function.
 +      (syms_of_nsterm): Initialize ns_command_modifier,
 +      ns_control_modifier, ns_function_modifier, ns_antialias_text, and
 +      ns_antialias_threshold here, not in ns_term_init (Bug#4113).
 +
 +      * xdisp.c (pos_visible_p): Check for invisible text at the correct
 +      position (Bug#4040).
 +
 +2010-01-09  Eli Zaretskii  <eliz@gnu.org>
 +
 +      * editfns.c (Ffloat_time): Doc fix.
 +
 +2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * xfns.c (Fx_create_frame): Don't create frame larger than display
 +      by default bug#3643.
 +
 +2010-01-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 +
 +      * frame.h (FRAME_TOP_MARGIN_HEIGHT): New macro.
 +      (FRAME_LINE_TO_PIXEL_Y, FRAME_PIXEL_Y_TO_LINE): Take account of pseudo
 +      windows above internal border.
 +
 +      * window.h (WINDOW_MENU_BAR_P, WINDOW_TOOL_BAR_P): New macros.
 +      (WINDOW_TOP_EDGE_Y, WINDOW_BOTTOM_EDGE_Y): Take account of pseudo
 +      windows above internal border.
 +
 +      * xdisp.c (get_glyph_string_clip_rects, init_glyph_string): Don't treat
 +      tool bar windows specially.
 +
 +      * xfns.c (x_set_tool_bar_lines): Take account of menu bar height.
 +
 +      * xterm.c (x_after_update_window_line): Don't treat tool bar windows
 +      specially.
 +      (XTflash): Take account of menu bar height.
 +
 +      * w32term.c (x_after_update_window_line): Don't treat tool bar windows
 +      specially.
 +
 +2010-01-08  Jan Djärv  <jan.h.d@swipnet.se>
 +
 +      * dispnew.c (change_frame_size_1): newwidth == FRAME_COLS  (f) must
 +      also be true before we can return early (bug #5339).
 +
+ 2010-01-08  Alan Mackenzie  <acm@muc.de>
+       Fix spurious before-change-functions invocation from (insert ?\n).
+       * textprop.c (set_text_properties): rename parameter
+       `signal_after_change_p' to `coherent_change_p', and make the
+       invocation of `modify_region' conditional on it.
  2010-01-06  David Reitter  <david.reitter@gmail.com>
  
        * nsfns.m (ns_get_screen): Rewrite, returning NULL for non-NS.
diff --cc src/textprop.c
Simple merge