1. 30 Oct, 2013 2 commits
    • Stefan Monnier's avatar
      * lisp/subr.el (custom-declare-variable-early): Remove function. · 53b39e89
      Stefan Monnier authored
      (custom-declare-variable-list): Remove var.
      (error, user-error): Remove `while' loop.
      (read-quoted-char-radix, read-quoted-char): Move to simple.el.
      (user-emacs-directory-warning, locate-user-emacs-file):
      Move to files.el.
      * lisp/simple.el (read-quoted-char-radix, read-quoted-char):
      * lisp/files.el (user-emacs-directory-warning, locate-user-emacs-file):
      Move from subr.el.
      * lisp/custom.el (custom-declare-variable-list): Don't process
    • Stefan Monnier's avatar
      * lisp/progmodes/python.el (python-shell-get-buffer): New function. · 195ee2f0
      Stefan Monnier authored
      (python-shell-get-process): Use it.
      (python-shell-send-string): Always use utf-8 and add a cookie to tell
      Python which encoding was used.  Don't split-string since we only care
      about the first line.  Return the temp-file, if applicable.
      (python-shell-send-region): Tell compile.el how to turn locations in
      the temp-file into locations in the source buffer.
  2. 29 Oct, 2013 18 commits
    • Stefan Monnier's avatar
      * src/keyboard.c (command_loop_1): If command is nil, call `undefined'. · 4c9797cb
      Stefan Monnier authored
      * lisp/subr.el (undefined): Add missing behavior from the C code for
      unbound keys.
    • Paul Eggert's avatar
      * insdel.c: Fix minor problems found by static checking. · dcd163ac
      Paul Eggert authored
      (Qregion_extract_function): Now static.
      (prepare_to_modify_buffer_1): Remove unused locals.
    • Stefan Monnier's avatar
      Add pre-redisplay-function and rectangular region · 3472b6c6
      Stefan Monnier authored
      * lisp/rect.el: Use lexical-binding.  Add new rectangular region support.
      (rectangle-mark): New command.
      (rectangle--region): New var.
      (deactivate-mark-hook): Reset rectangle--region.
      (rectangle--extract-region, rectangle--insert-for-yank)
      (rectangle--unhighlight-for-redisplay): New functions.
      (region-extract-function, redisplay-unhighlight-region-function)
      (redisplay-highlight-region-function): Use them to handle
      rectangular region.
      * lisp/simple.el (region-extract-function): New var.
      (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
      (kill-new, kill-append): Remove obsolete `yank-handler' argument.
      (kill-region): Replace obsolete `yank-handler' arg with `region'.
      (copy-region-as-kill, kill-ring-save): Add `region' argument.
      (redisplay-highlight-region-function): New vars.
      (redisplay--update-region-highlight): New function.
      (pre-redisplay-function): Use it.
      (exchange-point-and-mark): Don't deactivate the mark before
      reactivate-it anyway.
      * lisp/comint.el (comint-kill-region): Remove yank-handler argument.
      * lisp/delsel.el (delete-backward-char, backward-delete-char-untabify)
      (delete-char): Remove property, since it's now part of their
      default behavior.
      (self-insert-iso): Remove property since this command doesn't exist.
      * src/xdisp.c (prepare_menu_bars): Call Vpre_redisplay_function.
      (syms_of_xdisp): Declare pre-redisplay-function.
      (markpos_of_region): Remove function.
      (init_iterator, compute_stop_pos, handle_face_prop)
      (face_before_or_after_it_pos, reseat_to_string)
      (get_next_display_element, window_buffer_changed)
      (redisplay_internal, try_cursor_movement, redisplay_window)
      (try_window_reusing_current_matrix, try_window_id, display_line)
      (note_mode_line_or_margin_highlight, note_mouse_highlight)
      (display_string, mouse_face_from_buffer_pos): Remove region handling.
      * src/window.h (struct window): Remove field `region_showing'.
      * src/dispextern.h (struct it): Remove region_beg/end_charpos.
      (face_at_buffer_position, face_for_overlay_string)
      (face_at_string_position): Update prototypes.
      * src/xfaces.c (face_at_buffer_position, face_for_overlay_string)
      (face_at_string_position): Remove `region_beg' and `region_end' args.
      * src/fontset.c (Finternal_char_font):
      * src/font.c (font_at, font_range): Adjust calls accordingly.
      * src/insdel.c (Qregion_extract_function): New var.
      (syms_of_insdel): Initialize it.
      (prepare_to_modify_buffer_1): Use it.
    • Dmitry Antipov's avatar
      Prefer 'unsigned long' to 'long unsigned int' and 'unsigned long int'. · 2d9783e0
      Dmitry Antipov authored
      * ftxfont.c (ftxfont_get_gcs):
      * gtkutil.c (xg_set_widget_bg, xg_set_background_color):
      * xfaces.c (x_free_colors, x_free_dpy_colors)
      (x_create_gc, unload_color):
      * xselect.c (x_property_data_to_lisp):
      * xsettings.c (parse_settings):
      * xterm.c (x_copy_color, x_alloc_lighter_color, x_setup_relief_color)
      (get_bits_and_offset): Adjust definition.
      * frame.c (XParseGeometry): Adjust locals.
      * lisp.h (toplevel): Adjust EMACS_UINT type definition.
      * regex.h (toplevel): Likewise for reg_syntax_t.
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el (package--download-one-archive) · 7e3561ee
      Stefan Monnier authored
      (describe-package-1): Don't query the user about final newline.
    • Stefan Monnier's avatar
      * src/eval.c (run_hook_with_args): Use FUNCTIONP. · dee4ba59
      Stefan Monnier authored
      * test/indent/css-mode.css (.x2): Test alignement inside braces.
      * test/indent/prolog.prolog: Test alignment of ->; with operator at bol.
    • Xue Fuqiao's avatar
    • Xue Fuqiao's avatar
      Fix a typo. · 836b4313
      Xue Fuqiao authored
    • Xue Fuqiao's avatar
      Use @code instead of @var for a normal variable. · 3440d80e
      Xue Fuqiao authored
      * doc/lispref/display.texi (Button Buffer Commands): Use @code instead
        of @var for a normal variable.
    • Ted Zlatanov's avatar
    • Xue Fuqiao's avatar
    • Xue Fuqiao's avatar
      Add an index for multi-frame images. · 027d950f
      Xue Fuqiao authored
      * doc/lispref/display.texi (Multi-Frame Images): Add an index for multi-frame images.
    • Xue Fuqiao's avatar
      Use @code instead of @var for a normal variable, since @var should · 64ba53a2
      Xue Fuqiao authored
      indicate metasyntactic variables.
    • Xue Fuqiao's avatar
      Add an index for image-size. · 81cf3b07
      Xue Fuqiao authored
      * doc/lispref/display.texi (Showing Images): Add an index for image-size.
    • Xue Fuqiao's avatar
      Fix typo in ido-use-virtual-buffers. · bb667ec7
      Xue Fuqiao authored
    • Dmitry Antipov's avatar
      * xterm.h (struct x_output): For 'black_relief' and 'white_relief' · 0085b9be
      Dmitry Antipov authored
      fields, drop 'allocated_p' member and use -1 for uninitialized value.
      * w32term.h (struct w32_output): Similarly but do not use -1 because...
      * xfaces.c (unload_color) [HAVE_X_WINDOWS]: ...this function is a no-op
      on MS-Windows anyway.
      (free_face_colors): Define only if HAVE_X_WINDOWS and...
      (free_realized_face): ...adjust user.
      * xfns.c (Fx_create_frame, x_create_tip_frame): Initialize black and
      white relief pixels to -1.
      * xterm.c (x_setup_relief_color, x_free_frame_resources): Adjust users.
      * w32term.c (w32_setup_relief_color, x_free_frame_resources): Likewise.
      * dispextern.h (unload_color): Move prototype under HAVE_X_WINDOWS.
    • Daniel Colascione's avatar
  3. 28 Oct, 2013 5 commits
  4. 27 Oct, 2013 13 commits
  5. 26 Oct, 2013 2 commits