1. 23 Sep, 2010 1 commit
  2. 14 Sep, 2010 1 commit
  3. 01 Sep, 2010 1 commit
    • Stefan Monnier's avatar
      * lisp/simple.el (blink-paren-function): Move from C to here. · 8f4e9110
      Stefan Monnier authored
      (blink-paren-post-self-insert-function): New function.
      (post-self-insert-hook): Use it.
      * src/cmds.c (Vblink_paren_function): Remove.
      (internal_self_insert): Make it insert N chars at a time.
      Don't call blink-paren-function.
      (Fself_insert_command): Adjust accordingly.
      (syms_of_cmds): Don't declare blink-paren-function.
      8f4e9110
  4. 19 Aug, 2010 1 commit
    • Stefan Monnier's avatar
      New post-self-insert-hook. · a2e5caf7
      Stefan Monnier authored
      * src/cmds.c (Vself_insert_face, Vself_insert_face_command): Remove.
      (Qpost_self_insert_hook, Vpost_self_insert_hook): New vars.
      (internal_self_insert): Run post-self-insert-hook rather than handle
      self-insert-face.
      (syms_of_cmds): Initialize the new vars.
      * lisp/facemenu.el (facemenu-self-insert-data): New var.
      (facemenu-post-self-insert-function, facemenu-set-self-insert-face): New funs.
      (facemenu-add-face): Use them.
      a2e5caf7
  5. 08 Aug, 2010 1 commit
    • Eli Zaretskii's avatar
      Make some doc strings bidi-friendly. · cd21226d
      Eli Zaretskii authored
       cmds.c (Fforward_line, Fbeginning_of_line, Fend_of_line):
       editfns.c (Fline_beginning_position, Fline_end_position): State
       in the doc strings that start and end of line are in the logical order.
      cd21226d
  6. 29 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Remove extern declarations from .c files, and them to .h files. · e6cba650
      Dan Nicolaescu authored
      * src/xsmfns.c (Vuser_login_name):
      * src/xrdb.c (Vdouble_click_time):
      * src/xfaces.c (xic_create_fontsetname):
      * src/w32select.c (waiting_for_input):
      * src/print.c (minibuffer_auto_raise):
      * src/msdos.c (Qhelp_echo):
      * src/macros.c (real_this_command):
      * src/keymap.c (Voverriding_local_map):
      * src/xterm.c (poll_for_input_1, gray_bitmap_width)
      (gray_bitmap_height, gray_bitmap_bits;
      * src/xmenu.c ( Voverriding_local_map)
      (Voverriding_local_map_menu_flag; Qmenu_item; use_dialog_box)
      (use_file_dialog, Xt_app_con):
      * src/xdisp.c (minibuffer_auto_raise, Voverriding_local_map)
      (Voverriding_local_map_menu_flag, Qmenu_item, Qface, Qinvisible)
      (Qwidth, Qinvisible, Qwindow, Qpriority, Qtool_bar_lines)
      (Qtool_bar_lines, ignore_mouse_drag_p):
      * src/minibuf.c (Voverriding_local_map, Qfield, Qfront_sticky)
      (Qrear_nonsticky, nconc2):
      * src/keyboard.c (current_global_map, minibuf_level, Qmenu_item)
      (Vhistory_length, Vtranslation_table_for_input, Qcomposition)
      (Qdisplay, Qafter_string, Qbefore_string, Qundefined):
      * src/fileio.c (use_dialog_box, use_file_dialog, Vuser_login_name)
      (minibuf_level, minibuffer_auto_raise, lisp_time_argument):
      * src/eval.c (Qinteractive_form, Qrisky_local_variable, Qfunction)
      (gc_in_progress):
      * src/doc.c (Voverriding_local_map, Qremap):
      * src/dired.c (completion_ignore_case, Qcompletion_ignore_case)
      (Vcompletion_regexp_list):
      * src/coding.c (Qmac, Qinsert_file_contents, Qwrite_region)
      (Qcompletion_ignore_case):
      * src/callint.c (Qcursor_in_echo_area, Qfile_directory_p, Qonly)
      (Vhistory_length, Vthis_original_command, real_this_command)
      (Qface, Qminibuffer_prompt, history_delete_duplicates):
      * src/image.c (Qrisky_local_variable):
      * src/fontset.c (QCname):
      * src/fns.c (minibuffer_auto_raise, QCname):
      * src/dispnew.c (char_ins_del_cost):
      * src/composite.c (font_fill_lglyph_metrics):
      * src/cmds.c (Qface, Vtranslation_table_for_input):
      * src/charset.c (map_char_table_for_charset, Qfile_name_handler_alist):
      * src/ccl.c (charset_unicode):
      * src/callproc.c (Vtemporary_file_directory):
      * src/buffer.c (emacs_strerror): Remove extern declarations.
      
      Remove extern declarations from .c files, and them to .h files.
      * src/keyboard.h (Qhelp_echo, waiting_for_input)
      (input_available_clear_time, ignore_mouse_drag_p)
      (Vdouble_click_time, real_this_command, Vthis_original_command):
      * src/keymap.h (Qremap, Qmenu_item, Voverriding_local_map)
      (Voverriding_local_map_menu_flag):
      * src/lisp.h (Qinteractive_form, use_file_dialog)
      (Qcursor_in_echo_area, QCascent, QCmargin, QCrelief, Qcount)
      (Qextension_data, QCconversion, QCcolor_symbols, QCheuristic_mask)
      (QCindex, QCmatrix, QCcolor_adjustment, QCmask)
      (Qrisky_local_variable, map_char_table_for_charset, Vprint_level)
      (Qfunction, debug_on_next_call, Qfield)
      (Vinhibit_field_text_motion, Vuser_login_name, lisp_time_argument)
      (Qpriority, Qwindow, Qevaporate, Qbefore_string, Qafter_string)
      (Qfile_directory_p, Qinsert_file_contents)
      (Qcompletion_ignore_case, Qcompletion_ignore_case)
      (Vcompletion_regexp_list, Vhistory_length, completion_ignore_case)
      (history_delete_duplicates, minibuffer_auto_raise, Qonly)
      (Qfile_name_handler_alist, Qfront_sticky, Qrear_nonsticky)
      (Qminibuffer_prompt)
      (Vtemporary_file_directory,char_ins_del_vector, Qface):
      * src/xterm.h (gray_bitmap_width, gray_bitmap_height)
      (gray_bitmap_bits, xic_create_fontsetname):
      * src/coding.h (Vtranslation_table_for_input): Add extern declarations.
      
      * src/data.c (Qwindow): Make non-static, used from other files too.
      * src/frame.c (validate_x_resource_name): Remove shadow definition for i.
      e6cba650
  7. 24 Jul, 2010 1 commit
  8. 08 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Convert DEFUNs to standard C. · 5842a27b
      Dan Nicolaescu authored
      * src/alloc.c: Convert DEFUNs to standard C.
      * src/buffer.c:
      * src/bytecode.c:
      * src/callint.c:
      * src/callproc.c:
      * src/casefiddle.c:
      * src/casetab.c:
      * src/category.c:
      * src/character.c:
      * src/charset.c:
      * src/chartab.c:
      * src/cmds.c:
      * src/coding.c:
      * src/composite.c:
      * src/data.c:
      * src/dbusbind.c:
      * src/dired.c:
      * src/dispnew.c:
      * src/doc.c:
      * src/dosfns.c:
      * src/editfns.c:
      * src/emacs.c:
      * src/eval.c:
      * src/fileio.c:
      * src/filelock.c:
      * src/floatfns.c:
      * src/fns.c:
      * src/font.c:
      * src/fontset.c:
      * src/frame.c:
      * src/fringe.c:
      * src/image.c:
      * src/indent.c:
      * src/insdel.c:
      * src/keyboard.c:
      * src/keymap.c:
      * src/lread.c:
      * src/macros.c:
      * src/marker.c:
      * src/menu.c:
      * src/minibuf.c:
      * src/msdos.c:
      * src/nsfns.m:
      * src/nsmenu.m:
      * src/nsselect.m:
      * src/print.c:
      * src/process.c:
      * src/search.c:
      * src/sound.c:
      * src/syntax.c:
      * src/term.c:
      * src/terminal.c:
      * src/textprop.c:
      * src/undo.c:
      * src/w16select.c:
      * src/w32console.c:
      * src/w32fns.c:
      * src/w32font.c:
      * src/w32menu.c:
      * src/w32proc.c:
      * src/w32select.c:
      * src/window.c:
      * src/xdisp.c:
      * src/xfaces.c:
      * src/xfns.c:
      * src/xmenu.c:
      * src/xselect.c:
      * src/xsettings.c:
      * src/xsmfns.c: Likewise.
      5842a27b
  9. 04 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Convert (most) functions in src to standard C. · 971de7fb
      Dan Nicolaescu authored
      * src/alloc.c: Convert function definitions to standard C.
      * src/atimer.c:
      * src/bidi.c:
      * src/bytecode.c:
      * src/callint.c:
      * src/callproc.c:
      * src/casefiddle.c:
      * src/casetab.c:
      * src/category.c:
      * src/ccl.c:
      * src/character.c:
      * src/charset.c:
      * src/chartab.c:
      * src/cmds.c:
      * src/coding.c:
      * src/composite.c:
      * src/data.c:
      * src/dbusbind.c:
      * src/dired.c:
      * src/dispnew.c:
      * src/doc.c:
      * src/doprnt.c:
      * src/ecrt0.c:
      * src/editfns.c:
      * src/fileio.c:
      * src/filelock.c:
      * src/filemode.c:
      * src/fns.c:
      * src/font.c:
      * src/fontset.c:
      * src/frame.c:
      * src/fringe.c:
      * src/ftfont.c:
      * src/ftxfont.c:
      * src/gtkutil.c:
      * src/indent.c:
      * src/insdel.c:
      * src/intervals.c:
      * src/keymap.c:
      * src/lread.c:
      * src/macros.c:
      * src/marker.c:
      * src/md5.c:
      * src/menu.c:
      * src/minibuf.c:
      * src/prefix-args.c:
      * src/print.c:
      * src/ralloc.c:
      * src/regex.c:
      * src/region-cache.c:
      * src/scroll.c:
      * src/search.c:
      * src/sound.c:
      * src/strftime.c:
      * src/syntax.c:
      * src/sysdep.c:
      * src/termcap.c:
      * src/terminal.c:
      * src/terminfo.c:
      * src/textprop.c:
      * src/tparam.c:
      * src/undo.c:
      * src/unexelf.c:
      * src/window.c:
      * src/xfaces.c:
      * src/xfns.c:
      * src/xfont.c:
      * src/xftfont.c:
      * src/xgselect.c:
      * src/xmenu.c:
      * src/xrdb.c:
      * src/xselect.c:
      * src/xsettings.c:
      * src/xsmfns.c:
      * src/xterm.c: Likewise.
      971de7fb
  10. 28 Jun, 2010 1 commit
    • Chong Yidong's avatar
      * bindings.el (global-map): Bind delete and DEL, the former to · b9229673
      Chong Yidong authored
      delete-forward-char.
      
      * mouse.el (mouse-region-delete-keys): Deleted.
      (mouse-show-mark): Simplify.
      
      * simple.el (delete-active-region): New option.
      (delete-backward-char): Implement in Lisp.
      (delete-forward-char): New command.
      
      * src/cmds.c (Fdelete_backward_char): Move into Lisp.
      b9229673
  11. 07 Jun, 2010 1 commit
  12. 24 May, 2010 1 commit
  13. 15 May, 2010 1 commit
    • Eli Zaretskii's avatar
      Implement bidi-sensitive movement with arrow keys. · d20e1419
      Eli Zaretskii authored
       src/bidi.c (bidi_paragraph_init): Don't leave alone garbage values
       of bidi_it->paragraph_dir.  Call bidi_initialize if needed.
       src/xdisp.c (Fcurrent_bidi_paragraph_direction): New function.
       (syms_of_xdisp): Defsubr it.
       src/cmds.c (Fforward_char, Fbackward_char): Doc fix.
       src/subr.el (right-arrow-command, left-arrow-command): New functions.
       src/bindings.el (global-map): Bind them to right and left arrow keys.
       etc/NEWS: Mention current-bidi-paragraph-direction
      d20e1419
  14. 31 Mar, 2010 1 commit
    • Stefan Monnier's avatar
      Get rid of the direct_output optimizations. · 855a0da7
      Stefan Monnier authored
      * keyboard.c (nonundocount): Remove extern declaration.
      (command_loop_1): Remove brittle optimisation for cheap and common operations.
      * xdisp.c (redisplay_internal): Don't bother checking
      redisplay_performed_directly_p any more.
      * sysdep.c (init_sys_modes): Don't call direct_output_forward_char any more.
      * dispnew.c (redisplay_performed_directly_p)
      (direct_output_for_insert, direct_output_forward_char):
      * dispextern.h (redisplay_performed_directly_p)
      (direct_output_for_insert, direct_output_forward_char): Remove.
      * cmds.c (nonundocount): Make it static.
      855a0da7
  15. 13 Jan, 2010 1 commit
  16. 09 Dec, 2009 1 commit
    • Andreas Schwab's avatar
      * cmds.c: Include "frame.h". · 2cc7b62f
      Andreas Schwab authored
      * frame.c: Include "font.h" also if !HAVE_WINDOW_SYSTEM.
      * frame.h: Move declaration of delete_frame outside of
      HAVE_WINDOW_SYSTEM.
      2cc7b62f
  17. 21 Nov, 2009 1 commit
  18. 06 Nov, 2009 1 commit
    • 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
  19. 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
  20. 18 Oct, 2009 2 commits
    • Stefan Monnier's avatar
      Remove leftover table unibyte_to_multibyte_table. · 4c0354d7
      Stefan Monnier authored
      * character.c (unibyte_to_multibyte_table): Remove.
      (Funibyte_char_to_multibyte): Use MAKE_CHAR_MULTIBYTE.
      * charset.c (init_charset_once): Don't init unibyte_to_multibyte_table.
      * character.h (UNIBYTE_TO_CHAR): New macro.
      (MAKE_CHAR_MULTIBYTE): Use it.
      (unibyte_to_multibyte_table, unibyte_char_to_multibyte): Remove.
      * xdisp.c (get_next_display_element): USE ASCII_CHAR_P.
      (message_dolog, set_message_1):
      * search.c (Freplace_match):
      * editfns.c (Fcompare_buffer_substrings):
      * fns.c (Fcompare_strings): Use MAKE_CHAR_MULTIBYTE.
      (concat):
      * insdel.c (copy_text, count_size_as_multibyte):
      Use ASCII_CHAR_P and BYTE8_TO_CHAR.
      * term.c (produce_glyphs):
      * syntax.c (skip_chars): Use BYTE8_TO_CHAR.
      * regex.c (RE_CHAR_TO_MULTIBYTE):
      * cmds.c (internal_self_insert):
      * buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use UNIBYTE_TO_CHAR.
      4c0354d7
    • Stefan Monnier's avatar
  21. 27 Aug, 2009 1 commit
  22. 12 Aug, 2009 1 commit
    • Stefan Monnier's avatar
      * cmds.c (nonundocount): New global variable. · 1ac9108a
      Stefan Monnier authored
      (keys_of_cmds): Initialize it.
      (Fself_insert_command): Use it to combine upto 20 sequential chars
      into a single undo entry, just like the Qself_insert_command code in
      keyboard.c does.
      Call frame_make_pointer_invisible, also like the Qself_insert_command
      code in keyboard.c does.
      * keyboard.c (command_loop_1): Use the new global nonundocount rather
      than its own local replacement for it.
      1ac9108a
  23. 13 Jul, 2009 1 commit
  24. 09 Jan, 2009 1 commit
  25. 08 Jan, 2009 1 commit
  26. 14 May, 2008 1 commit
  27. 02 Apr, 2008 1 commit
  28. 08 Jan, 2008 1 commit
  29. 25 Jul, 2007 1 commit
  30. 21 Jan, 2007 1 commit
  31. 18 Jul, 2006 1 commit
  32. 13 Feb, 2006 1 commit
  33. 06 Feb, 2006 1 commit
  34. 26 Jan, 2006 2 commits
  35. 07 Aug, 2005 1 commit
  36. 04 Jul, 2005 1 commit
  37. 16 Apr, 2004 1 commit
  38. 16 Feb, 2004 1 commit