1. 30 Oct, 2013 9 commits
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      etc/TODO small updates · 15fb690c
      Glenn Morris authored
      15fb690c
    • Glenn Morris's avatar
      * admin/unidata/unidata-gen.el (unidata--ensure-compiled): New function. · 0d0ab932
      Glenn Morris authored
      (unidata-gen-table-name, unidata-gen-table-decomposition)
      (unidata-gen-files): Use unidata--ensure-compiled.
      
      Add FSF copyright years based on when this file first appeared in
      Emacs trunk.
      0d0ab932
    • Glenn Morris's avatar
      * admin/unidata/Makefile.in (abs_srcdir): New, set by configure. · 447892ed
      Glenn Morris authored
      (${DSTDIR}/charprop.el, charprop.el): Update for srcdir not absolute.
      (clean): Delete all .elc files.
      447892ed
    • Glenn Morris's avatar
      lisp/Makefile.in trivia · 74cf04fb
      Glenn Morris authored
      * lisp/Makefile.in (finder-data, autoloads, update-subdirs)
      (compile-main, compile-clean, compile-always, bootstrap-clean):
      Check return value of cd.
      (compile-calc): Remove.
      74cf04fb
    • Stefan Monnier's avatar
      Cleanup namespace of dos-w32.el. · ae4002ce
      Stefan Monnier authored
      * lisp/dos-w32.el (minibuffer-history-case-insensitive-variables)
      (path-separator, null-device, buffer-file-coding-system)
      (lpr-headers-switches): Check system-type before modifying them.
      (find-buffer-file-type-coding-system): Mark obsolete.
      (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
      find-file-not-found-set-buffer-file-coding-system.
      (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
      (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
      (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
      (w32-direct-print-region-helper, w32-direct-print-region-function)
      (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
      * lisp/startup.el (normal-top-level-add-subdirs-to-load-path):
      * lisp/ps-print.el (ps-print-region-function):
      * lisp/lpr.el (print-region-function): Use new name.
      
      * lisp/simple.el (copy-region-as-kill): Fix call to region-extract-function.
      
      * lisp/emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
      (byte-compile-and-folded): New function.
      (=, <, >, <=, >=): Use it.
      ae4002ce
    • 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
      custom-declare-variable-list.
      53b39e89
    • 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.
      195ee2f0
  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.
      4c9797cb
    • 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.
      dcd163ac
    • 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--highlight-for-redisplay)
      (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-unhighlight-region-function)
      (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.
      3472b6c6
    • 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.
      2d9783e0
    • Stefan Monnier's avatar
      23af34b0
    • 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.
      7e3561ee
    • 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.
      dee4ba59
    • Xue Fuqiao's avatar
    • Xue Fuqiao's avatar
      Fix a typo. · 836b4313
      Xue Fuqiao authored
      836b4313
    • 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.
      3440d80e
    • 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.
      027d950f
    • Xue Fuqiao's avatar
      Use @code instead of @var for a normal variable, since @var should · 64ba53a2
      Xue Fuqiao authored
      indicate metasyntactic variables.
      64ba53a2
    • 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.
      81cf3b07
    • Xue Fuqiao's avatar
      Fix typo in ido-use-virtual-buffers. · bb667ec7
      Xue Fuqiao authored
      bb667ec7
    • 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.
      0085b9be
    • Daniel Colascione's avatar
  3. 28 Oct, 2013 5 commits
  4. 27 Oct, 2013 8 commits