- 30 Oct, 2013 2 commits
-
-
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.
-
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.
-
- 29 Oct, 2013 18 commits
-
-
Stefan Monnier authored
* lisp/subr.el (undefined): Add missing behavior from the C code for unbound keys.
-
Paul Eggert authored
(Qregion_extract_function): Now static. (prepare_to_modify_buffer_1): Remove unused locals.
-
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.
-
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 authored
selective display.
-
Stefan Monnier authored
(describe-package-1): Don't query the user about final newline.
-
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 authored
-
Xue Fuqiao authored
-
Xue Fuqiao authored
* doc/lispref/display.texi (Button Buffer Commands): Use @code instead of @var for a normal variable.
-
Ted Zlatanov authored
-
Xue Fuqiao authored
-
Xue Fuqiao authored
* doc/lispref/display.texi (Multi-Frame Images): Add an index for multi-frame images.
-
Xue Fuqiao authored
indicate metasyntactic variables.
-
Xue Fuqiao authored
* doc/lispref/display.texi (Showing Images): Add an index for image-size.
-
Xue Fuqiao authored
-
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 authored
-
- 28 Oct, 2013 5 commits
-
-
Paul Eggert authored
* xfaces.c (load_pixmap): Omit last two args, which are always NULL in practice now. All callers changed.
-
Michael Albinus authored
* net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle COPY-CONTENTS. (Bug#15737)
-
Dmitry Antipov authored
and 'box' members. Remove set-but-unused members 'pixmap_w' and 'pixmap_h'. If not HAVE_WINDOW_SYSTEM, also remove dummy 'stipple' member. Move 'lface' member up to help... * xfaces.c (make_realized_face): ...this function to find and clear just the members that need clearing. (load_face_colors, realize_x_face): * xdisp.c (extend_face_to_end_of_line): Adjust user.
-
Glenn Morris authored
-
Daiki Ueno authored
-
- 27 Oct, 2013 13 commits
-
-
Xue Fuqiao authored
-
Xue Fuqiao authored
-
Alan Mackenzie authored
* progmodes/cc-engine.el (c-crosses-statement-barrier-p): Modify the "#" arm of a cond form to handle "#" and "##" operators.
-
Glenn Morris authored
-
Glenn Morris authored
-
Xue Fuqiao authored
-
Xue Fuqiao authored
-
Glenn Morris authored
-
Dmitry Antipov authored
'screen' member. (xftfont_open): Adjust user. (xftfont_get_colors): Remove useless prototype.
-
Xue Fuqiao authored
* doc/lispref/display.texi (Image Descriptors): Add an index for edge-detection algorithms.
-
Nathan Trapuzzano authored
Fixes: debbugs:13446
-
Dmitry Gutov authored
after `=' is probably a new expression.
-
Rüdiger Sonderfeld authored
* lisp/man.el (man-imenu-title): New option. (Man-mode-map): Add menu. (Man-mode): Add imenu to menu. Fixes: debbugs:15722
-
- 26 Oct, 2013 2 commits
-
-
Eli Zaretskii authored
src/emacs.c (Fdump_emacs): Encode FILENAME and SYMFILE arguments before passing them to 'unexec'.
-
Xue Fuqiao authored
* src/fringe.c (set_fringe_bitmap_face): Add usage note from lispref.
-