1. 13 Apr, 2010 1 commit
    • Stefan Monnier's avatar
      Try to detect file modification within the same second. · 58b963f7
      Stefan Monnier authored
      * buffer.h (struct buffer): New field modtime_size.
      * buffer.c (reset_buffer): Initialize it.
      * fileio.c (Finsert_file_contents, Fwrite_region): Set it.
      (Fverify_visited_file_modtime): Check it.
      (Fclear_visited_file_modtime, Fset_visited_file_modtime): Clear it.
      (Fset_visited_file_modtime): Set (or clear) it.
      58b963f7
  2. 02 Apr, 2010 1 commit
    • Dan Nicolaescu's avatar
      Remove extern errno declarations. · 42a2c622
      Dan Nicolaescu authored
      * xterm.c:
      * xrdb.c:
      * w32term.c:
      * unexec.c:
      * unexaix.c:
      * sysdep.c:
      * process.c:
      * lread.c:
      * keyboard.c:
      * floatfns.c:
      * filelock.c:
      * fileio.c:
      * emacs.c (main):
      * ecrt0.c:
      * dispnew.c:
      * callproc.c:
      * buffer.c: Remove errno extern declarations.
      * s/netbsd.h (NEED_ERRNO): Remove.
      
      * movemail.c:
      * etags.c:
      * emacsclient.c: Remove extern errno declarations.
      42a2c622
  3. 02 Mar, 2010 1 commit
  4. 13 Jan, 2010 1 commit
    • Stefan Monnier's avatar
      Try to fix bug#5314. This is probably not the final word, tho. · 0b5397c2
      Stefan Monnier authored
      * 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.
      0b5397c2
  5. 01 Jan, 2010 4 commits
    • Eli Zaretskii's avatar
      Retrospective commit from 2009-1219. · bc5a45f3
      Eli Zaretskii authored
      Fix reordering of Arabic text in etc/HELLO.
      Extend .gdbinit commands to support bidirectional display.
      
       buffer.c (Fbuffer_swap_text): Swap the values of
       bidi_display_reordering and bidi_paragraph_direction.
      
       bidi.c (bidi_resolve_weak): Fix nesting of conditions for Wn
       processing.  Move W3 after W1 and W2.  Simplify W4 because it is
       now always after W1.
      
       .gdbinit (pbiditype): New command.
       (pgx): Use it to display bidi level and type of the glyph.
      bc5a45f3
    • Eli Zaretskii's avatar
      Retrospective commit from 2009-11-14. · 6c0cf218
      Eli Zaretskii authored
      Resurrect support for integer values of `cursor' property.
      Rename paragraph-direction to bidi-paragraph-direction.
      
       xdisp.c (init_iterator, text_outside_line_unchanged_p)
       (try_window_id): Rename paragraph_direction to
       bidi_paragraph_direction.
       (set_cursor_from_row): Handle integer values of `cursor' property
       on display strings.
      
       buffer.c (init_buffer_once, syms_of_buffer): Rename
       paragraph_direction to bidi_paragraph_direction.
      
       buffer.h (struct buffer): Rename paragraph_direction to
       bidi_paragraph_direction.
      6c0cf218
    • Eli Zaretskii's avatar
      Retrospective commit from 2009-10-08. · c143c213
      Eli Zaretskii authored
      Finish up working on paragraph's base direction.
      Start working on display of right-to-left glyph rows.
      Rewrite set_cursor_from_row to support bidi.
      
       xdisp.c (string_buffer_position_lim): New function.
       (string_buffer_position): Most of code moved to
       string_buffer_position_lim.  Last argument and return value are
       now EMACS_INT; all callers changed.
       (set_cursor_from_row): Rewritten to support bidirectional text and
       reversed glyph rows.
       dispextern.h <string_buffer_position>: Update prototype.
       bidi.c (bidi_paragraph_init): Fix initialization of POS.
       dispextern.h (struct glyph_row): New member reversed_p.
       buffer.c (syms_of_buffer): Remove DEFVAR_LISP_NOPRO for
       default-direction-reversed, default-bidi-display-reordering, and
       default-paragraph-direction.
      c143c213
    • Eli Zaretskii's avatar
      Retrospective commit from 2009-10-05. · b44d9321
      Eli Zaretskii authored
      Continue working on paragraph base direction.
      Support per-buffer default paragraph direction.
      
       buffer.h (struct buffer): New member paragraph_direction.
       buffer.c (init_buffer_once): Initialize it.
       (syms_of_buffer): Declare Lisp variables
       default-paragraph-direction and paragraph-direction.
       dispextern.h (struct it): New member paragraph_embedding.
       xdisp.c (init_iterator): Initialize it from the buffer's value
       of paragraph-direction.
       <Qright_to_left, Qleft_to_right>: New variables.
       (syms_of_xdisp): Initialize and staticpro them.
       (set_iterator_to_next, next_element_from_buffer): Use the value of
       paragraph_embedding to determine the paragraph direction.
       bidi.c (bidi_line_init): Fix second argument to
       bidi_set_sor_type.
       (bidi_init_it): Initialize paragraph_dir to NEUTRAL_DIR.
       (bidi_get_next_char_visually): Record the last character of the
       separator in separator_limit, not the character after that.
       (bidi_find_paragraph_start): Accept character and byte positions
       instead of the whole iterator stricture.  All callers changed.
      b44d9321
  6. 31 Dec, 2009 2 commits
    • Eli Zaretskii's avatar
      Retrospective commit from 2009-08-15. · f44e260c
      Eli Zaretskii authored
      Start of work on bidi Emacs 23/24.
      
       bidi.c (bidi_initialize): Fix initialization of bidi_type_table.
      
       xdisp.c (set_iterator_to_next): Fix position setting after call
       to bidi_get_next_char_visually.
      
       bidi.c: Include stdio.h unconditionally.  Fix and elaborate
       commentary.  Add Copyright blurb.
      f44e260c
    • Eli Zaretskii's avatar
      Retrospective commit. · b7b65b15
      Eli Zaretskii authored
      These are the original changes made by Kenichi Handa on the old
      pre Emacs 22 emacs-bidi branch.
      b7b65b15
  7. 21 Nov, 2009 1 commit
  8. 11 Nov, 2009 1 commit
    • Dan Nicolaescu's avatar
      * frame.c (make_initial_frame): · f4265f6c
      Dan Nicolaescu authored
      * buffer.c (init_buffer_once): Use make_pure_c_string instead of
      build_string.
      * alloc.c (syms_of_alloc): Build Vmemory_signal_data in pure memory.
      f4265f6c
  9. 06 Nov, 2009 2 commits
    • Stefan Monnier's avatar
      Let integers use up 2 tags to give them one extra bit and double their range. · 2de9f71c
      Stefan Monnier authored
      * lisp.h (USE_2_TAGS_FOR_INTS): New macro.
      (LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P): New macros.
      (enum Lisp_Type): Use them.  Give explicit values.
      (Lisp_Type_Limit): Remove.
      (XINT, XUINT, make_number) [!USE_LISP_UNION_TYPE]:
      (MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM, INTMASK):
      Pay attention to USE_2_TAGS_FOR_INTS.
      (INTEGERP): Use LISP_INT_TAG_P.
      * fns.c (internal_equal): Simplify the default case.
      (sxhash): Use case_Lisp_Int.
      * data.c (wrong_type_argument): Don't check against Lisp_Type_Limit any more.
      (Ftype_of): Use case_Lisp_Int.
      (store_symval_forwarding): Take into account the fact that Ints can
      now have more than one tag.
      * buffer.c (syms_of_buffer): Use LISP_INT_TAG.
      buffer_slot_type_mismatch):
      * xfaces.c (face_attr_equal_p):
      * print.c (print_object):
      * alloc.c (mark_maybe_object, mark_object, survives_gc_p): Use case_Lisp_Int.
      2de9f71c
    • Dan Nicolaescu's avatar
      * xterm.c (syms_of_xterm): · d67b4f80
      Dan Nicolaescu authored
      * xselect.c (syms_of_xselect):
      * xmenu.c (syms_of_xmenu):
      * xfns.c (syms_of_xfns):
      * xfaces.c (syms_of_xfaces):
      * xdisp.c (syms_of_xdisp):
      * window.c (syms_of_window):
      * w32fns.c (syms_of_w32fns):
      * undo.c (syms_of_undo):
      * textprop.c (syms_of_textprop):
      * terminal.c (syms_of_terminal):
      * syntax.c (syms_of_syntax):
      * sound.c (syms_of_sound):
      * search.c (syms_of_search):
      * print.c (syms_of_print):
      * minibuf.c (syms_of_minibuf):
      * macros.c (syms_of_macros):
      * keymap.c (syms_of_keymap, initial_define_key)
      (initial_define_lispy_key):
      * keyboard.c (syms_of_keyboard):
      * insdel.c (syms_of_insdel):
      * image.c (syms_of_image):
      * fringe.c (syms_of_fringe):
      * frame.c (syms_of_frame):
      * fontset.c (syms_of_fontset):
      * fns.c (syms_of_fns):
      * fns.c (syms_of_fns):
      * fileio.c (syms_of_fileio):
      * fileio.c (syms_of_fileio):
      * eval.c (syms_of_eval):
      * doc.c (syms_of_doc):
      * dispnew.c (syms_of_display):
      * dired.c (syms_of_dired):
      * dbusbind.c (syms_of_dbusbind):
      * data.c (syms_of_data):
      * composite.c (syms_of_composite):
      * coding.c (syms_of_coding):
      * cmds.c (syms_of_cmds):
      * charset.c (define_charset_internal, syms_of_character):
      * ccl.c (syms_of_ccl):
      * category.c (syms_of_category, init_category_once):
      * casetab.c (syms_of_casetab):
      * casefiddle.c (syms_of_casefiddle):
      * callint.c (syms_of_callint):
      * bytecode.c (syms_of_bytecode):
      * buffer.c (keys_of_buffer, syms_of_buffer):
      * alloc.c (syms_of_alloc):
      * process.c (syms_of_process, init_process):
      * lread.c (syms_of_lread, init_obarray):
      * font.c (build_style_table):
      * emacs.c (syms_of_emacs, main): Replace calls to intern with
      intern_c_string, calls to make_pure_string with
      make_pure_c_string.  Use pure_cons instead of Fcons.
      
      * process.c (socket_options): Make it const.
      (set_socket_option, init_process): Use a const pointer.
      
      * lread.c (intern_c_string): New function.
      (defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
      (defvar_int): Uset it.  Make the name const char*.
      
      * font.c (struct table_entry): Remove unused member.  Make NAMES
      constant.
      (weight_table, slant_table, width_table): Make constant.
      
      * emacs.c (struct standard_args): Make name and longname constant.
      d67b4f80
  10. 19 Oct, 2009 1 commit
    • Dan Nicolaescu's avatar
      * alloc.c: Do not define struct catchtag. · d7306fe6
      Dan Nicolaescu authored
      * eval.c: Move struct catchtag definition ...
      * lisp.h: ... here.
      
      * image.c: Move png.h #include earlier to avoid warnings.
      
      * xterm.c:
      * xsmfns.c:
      * xselect.c:
      * xrdb.c:
      * xmenu.c:
      * xftfont.c:
      * xfont.c:
      * xfns.c:
      * xfaces.c:
      * xdisp.c:
      * window.c:
      * widget.c:
      * w32xfns.c:
      * w32uniscribe.c:
      * w32term.c:
      * w32select.c:
      * w32reg.c:
      * w32proc.c:
      * w32menu.c:
      * w32inevt.c:
      * w32heap.c:
      * w32font.c:
      * w32fns.c:
      * w32console.c:
      * w32.c:
      * w16select.c:
      * vm-limit.c:
      * unexsol.c:
      * unexec.c:
      * unexcw.c:
      * unexaix.c:
      * undo.c:
      * tparam.c:
      * textprop.c:
      * terminfo.c:
      * terminal.c:
      * termcap.c:
      * term.c:
      * syntax.c:
      * sound.c:
      * sheap.c:
      * search.c:
      * scroll.c:
      * region-cache.c:
      * regex.c:
      * ralloc.c:
      * process.c:
      * print.c:
      * msdos.c:
      * minibuf.c:
      * menu.c:
      * marker.c:
      * macros.c:
      * keymap.c:
      * keyboard.c:
      * intervals.c:
      * insdel.c:
      * indent.c:
      * gtkutil.c:
      * ftxfont.c:
      * ftfont.c:
      * fringe.c:
      * frame.c:
      * fontset.c:
      * font.c:
      * fns.c:
      * floatfns.c:
      * filelock.c:
      * fileio.c:
      * emacs.c:
      * editfns.c:
      * dosfns.c:
      * doprnt.c:
      * doc.c:
      * dispnew.c:
      * dired.c:
      * dbusbind.c:
      * data.c:
      * composite.c:
      * coding.c:
      * cmds.c:
      * cm.c:
      * chartab.c:
      * charset.c:
      * character.c:
      * ccl.c:
      * category.c:
      * casetab.c:
      * casefiddle.c:
      * callproc.c:
      * callint.c:
      * bytecode.c:
      * buffer.c:
      * atimer.c: Include setjmp.h.  (Bug#4643)
      
      * xlwmenu.c:
      * lwlib.c:
      * lwlib-utils.c:
      * lwlib-Xm.c:
      * lwlib-Xlw.c:
      * lwlib-Xaw.c: Include setjmp.h.
      d7306fe6
  11. 17 Oct, 2009 1 commit
  12. 02 Sep, 2009 1 commit
  13. 15 Aug, 2009 1 commit
  14. 16 Jul, 2009 1 commit
  15. 14 Apr, 2009 1 commit
  16. 17 Mar, 2009 1 commit
  17. 10 Mar, 2009 1 commit
  18. 08 Jan, 2009 1 commit
  19. 25 Dec, 2008 1 commit
  20. 24 Dec, 2008 1 commit
  21. 22 Dec, 2008 1 commit
  22. 09 Dec, 2008 1 commit
  23. 22 Nov, 2008 1 commit
  24. 21 Nov, 2008 1 commit
  25. 16 Nov, 2008 1 commit
  26. 23 Oct, 2008 1 commit
  27. 21 Oct, 2008 1 commit
    • Martin Rudalics's avatar
      (Fget_buffer, Fbury_buffer, switch_to_buffer_1): · c8804c4f
      Martin Rudalics authored
      Rename arg "buffer" to "buffer_or_name".
      (Fkill_buffer): Rename arg "buffer" to "buffer_or_name" and make
      it optional.
      (no_switch_window): Remove since the return value is not used.
      (Fswitch_to_buffer):  Rename arg "buffer" to "buffer_or_name".
      Consider window as dedicated when Fwindow_dedicated_p returns a
      non-nil value.
      c8804c4f
  28. 15 Oct, 2008 1 commit
  29. 07 Sep, 2008 1 commit
  30. 29 Aug, 2008 1 commit
  31. 05 Aug, 2008 1 commit
  32. 31 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      * bitmaps/README: · 7c2fb837
      Dan Nicolaescu authored
      * xfns.c:
      * termcap.c:
      * term.c:
      * syswait.h:
      * systty.h:
      * systime.h:
      * syssignal.h:
      * sysdep.c:
      * process.h:
      * process.c:
      * print.c:
      * ndir.h:
      * lread.c:
      * keyboard.c:
      * getpagesize.h:
      * floatfns.c:
      * fileio.c:
      * emacs.c:
      * doc.c:
      * dispnew.c:
      * dired.c:
      * data.c:
      * callproc.c:
      * buffer.c:
      * README:
      * Makefile.in:
      * s/template.h:
      * s/msdos.h:
      * m/vax.h: Remove VMS support.
      * s/vms.h:
      * vlimit.h:
      * uaf.h:
      * temacs.opt:
      * param.h:
      * ioctl.h: Remove file.
      
      * descrip.mms:
      * compile.com: Remove file.
      * Create.c: Remove VMS support.
      
      * message.el (Module):
      
      * gnus-start.el (Module):
      
      * gnus-registry.el (Module):
      
      * textmodes/texinfmt.el:
      * nxml/nxml-enc.el:
      * mail/feedmail.el:
      * international/mule.el:
      * international/latexenc.el:
      * emulation/viper-util.el:
      * emulation/viper-init.el:
      * emulation/viper-ex.el:
      * emacs-lisp/bytecomp.el:
      * version.el:
      * subr.el:
      * startup.el:
      * sort.el:
      * shadowfile.el:
      * recentf.el:
      * printing.el:
      * paths.el:
      * minibuffer.el:
      * ls-lisp.el:
      * loadup.el:
      * hippie-exp.el:
      * finder.el:
      * files.el:
      * ediff-util.el:
      * ediff-ptch.el:
      * ediff-init.el:
      * ediff-diff.el:
      * dired.el:
      * dired-aux.el:
      * cus-edit.el:
      * bindings.el:
      * arc-mode.el:
      * add-log.el: Remove VMS support.
      * obsolete/vmsproc.el:
      * obsolete/vms-pmail.el:
      * obsolete/vms-patch.el: Remove file.
      
      * etags.c:
      * emacsclient.c: Remove VMS support.
      
      * termcap.src: Remove file.
      * README:
      * PROBLEMS:
      * MACHINES: Remove VMS info.
      
      * ediff.texi: Remove VMS support.
      
      * os.texi:
      * intro.texi:
      * files.texi: Remove VMS support.
      
      * emacs.texi: Remove VMS support.
      
      * make-dist:
      * README: Remove VMS support.
      * vms: Remove directory.
      7c2fb837
  33. 25 Jun, 2008 1 commit
  34. 24 Jun, 2008 1 commit
  35. 11 Jun, 2008 1 commit