- 27 Aug, 2013 2 commits
-
-
Dmitry Antipov authored
* dispextern.h (Mouse_HLInfo): ...to here and offload lisp.h. (reset_mouse_highlight): New function. * msdos.c (dos_set_window_size, IT_update_begin) (internal_terminal_init): * nsterm.m (ns_update_window_end, x_free_frame_resources) (ns_initialize_display_info): * w32console.c (initialize_w32_display): * w32term.c (x_update_window_end, x_free_frame_resources) (w32_initialize_display_info): * xterm.c (x_update_window_end, x_free_frame_resources, x_term_init): * window.c (Fdelete_other_windows_internal): * xdisp.c (clear_mouse_face, cancel_mouse_face): Use it. * termchar.h (toplevel): * xterm.h (toplevel): Include dispextern.h.
-
Stefan Monnier authored
from a matcher-function unless there's no more matches. Fixes: debbugs:15161
-
- 26 Aug, 2013 17 commits
-
-
Paul Eggert authored
-
Paul Eggert authored
* image.c (XGetPixel, XPutPixel) [HAVE_NS]: Now static. (expect): Avoid nested-if warning. (x_build_heuristic_mask) [HAVE_NS]: Avoid unused-var warning. * nsmenu.m (fillWithWidgetValue:): Avoid type warning. * nsterm.h, nsterm.m (ns_select): * xgselect.c, xgselect.h (xg_select): Adjust signature to better match pselect's. * nsterm.m (ns_select): Don't set *TIMEOUT, since pselect doesn't. * regex.c (whitespace_regexp): Now const_re_char *, to avoid diagnostic about assigning const char * to it. * xfaces.c (x_display_info) [HAVE_NS]: Remove; unused.
-
Stefan Monnier authored
Fixes: debbugs:15190
-
Paul Eggert authored
* term.c (init_tty) [TERMINFO]: Fix check for buffer overrun. The old version incorrectly dumped core if malloc returned a buffer containing only non-NUL bytes. (init_tty): Do not allocate or free termcap buffers; the struct does that for us now. * termchar.h (TERMCAP_BUFFER_SIZE) [!TERMINFO]: New constant. (struct tty_display_info): Define members termcap_term_buffer and termcap_strings_buffer only if !TERMINFO, since terminfo doesn't use them. Allocate them directly in struct rather than indirectly via a pointer, to simplify init_tty.
-
Paul Eggert authored
so that Emacs reliably aborts later if 'window' is not initialized.
-
Dmitry Antipov authored
-
Jan Djärv authored
of VoidSymbol. Fixes: debbugs:15154
-
Stefan Monnier authored
-
Dmitry Antipov authored
mouse_face_beg_y and mouse_face_end_y. * xdisp.c (note_tool_bar_highlight, mouse_face_from_buffer_pos) (mouse_face_from_string_pos, note_mode_line_or_margin_highlight): Adjust users and update comment where appropriate.
-
Michael Albinus authored
* net/tramp.el (tramp-find-method, tramp-find-user): Mark result with text property `tramp-default', if appropriate. (tramp-check-proper-host): New defun. (tramp-dissect-file-name): Do not check hostname. Revert change of 2013-03-18. (tramp-backtrace): Make VEC-OR-PROC optional. * net/tramp-adb.el (tramp-adb-maybe-open-connection): * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): * net/tramp-sh.el (tramp-maybe-open-connection): * net/tramp-smb.el (tramp-smb-maybe-open-connection): Apply `tramp-check-proper-host'.
-
Martin Rudalics authored
* frame.c (check_minibuf_window): New function. (delete_frame, Fmake_frame_invisible, Ficonify_frame): Call check_minibuf_window (Bug#15183).
-
Tassilo Horn authored
lambda expression in order to have `describe-variable' display it.
-
Dmitry Antipov authored
because this is the only last cursor data we need to keep and consult. * window.c (replace_window, set_window_buffer, Fsplit_window_internal): * xdisp.c (mark_window_display_accurate_1, try_cursor_movement): Adjust users.
-
Michael Albinus authored
BUF can be optional. (Bug#15186)
-
Dmitry Antipov authored
insert_from_gap doesn't always move point, we can't use PT as the position where the partially decompressed data ends, and should count how may bytes was produced so far. * decompress.c (struct decompress_unwind_data): Add nbytes member. (unwind_decompress): Really delete partially uncompressed data. (Fzlib_decompress_region): Take decompressed data size into account.
-
Dmitry Antipov authored
-
Dmitry Antipov authored
initialization of Qchar_table_extra_slots just once... * casetab.c (init_casetab_once): * category.c (init_category_once): * character.c (syms_of_character): * coding.c (syms_of_coding): * xdisp.c (syms_of_xdisp): ...and omit it here.
-
- 25 Aug, 2013 7 commits
-
-
Xue Fuqiao authored
* lisp/progmodes/flymake.el (flymake-get-real-file-name-function): Fix broken customization. (Bug#15184)
-
Alan Mackenzie authored
* progmodes/cc-engine.el (c-inside-bracelist-p): When a macro expansion begins with "{", regard it as bracelist when it doesn't contain a ";".
-
Vincent Belaïche authored
his/her own risks.
-
Glenn Morris authored
-
-
Alan Mackenzie authored
* progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more rigorously the search for "class" etc. followed by ":". * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for random languages a regexp which never matches rather than nil.
-
Alan Mackenzie authored
* progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re) (c-awk-regexp-one-line-possibly-open-char-list-re) (c-awk-one-line-possibly-open-regexp-re) (c-awk-one-line-non-syn-ws*-re): Remove. (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re) (c-awk-space*-/-re, c-awk-space*-regexp-/-re) (c-awk-space*-unclosed-regexp-/-re): New constants. (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which aren't regexp delimiters. * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in handling for a rare situation in AWK Mode involving unterminated strings/regexps.
-
- 24 Aug, 2013 5 commits
-
-
Eli Zaretskii authored
-
Eli Zaretskii authored
src/xdisp.c (get_next_display_element): Don't apply to characters from a display vector the logic of setting it->end_of_box_run_p suitable for characters from a buffer.
-
Eli Zaretskii authored
src/w32.c (fdutimens): Call 'utime', which is implemented on w32.c to handle directories, rather than '_utime' which doesn't.
-
Jan Djärv authored
or fullscreen. Fixes: debbugs:14627
-
Paul Eggert authored
* process.c (Fset_process_window_size): Signal an error if the window size is outside the range supported by the lower level. * sysdep.c (set_window_size): Return negative on error, nonnegative on success, rather than -1, 0, 1 on not in system, failure, success. This is simpler. Caller changed. (serial_configure): Remove unnecessary initialization of local. (procfs_get_total_memory) [GNU_LINUX]: Don't assume system memory size fits in unsigned long; this isn't true on some 32-bit hosts. Avoid buffer overrun if some future version of /proc/meminfo has a variable name longer than 20 bytes. (system_process_attributes) [__FreeBSD__]: Don't assume hw.availpages fits in 'int'.
-
- 23 Aug, 2013 9 commits
-
-
Glenn Morris authored
-
Paul Eggert authored
Fix some related minor problems involving "//", vfork. * callproc.c (encode_current_directory): New function. (call_process): Don't append "/"; not needed. * fileio.c (file_name_as_directory_slop): New constant. (file_name_as_directory): Allow SRC to be longer than SRCLEN; this can save the caller having to alloca. (Ffile_name_as_directory, Fdirectory_file_name, Fexpand_file_name): Use SAFE_ALLOCA, not alloca. (directory_file_name, Fexpand_file_name): Leave leading "//" alone, since it can be special even on POSIX platforms. * callproc.c (call_process): * process.c (Fformat_network_address): * sysdep.c (sys_subshell): Use encode_current_directory rather than rolling our own. (create_process): No need to encode directory; caller does that now. * process.h (encode_current_directory): New decl. * sysdep.c (sys_subshell): Work even if vfork trashes saved_handlers. Rework to avoid 'goto xyzzy;'.
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
Fixes: debbugs:15162
-
Stefan Monnier authored
text-properties. Fixes: debbugs:15155
-
Stefan Monnier authored
exist any more. (calc-keypad-redraw): Remove unused var `pad'. (calc-keypad-press): Remove unused var `menu'.
-
Eli Zaretskii authored
src/xdisp.c (handle_face_prop): If the default face was remapped use the remapped face for strings from prefix properties.
-
Glenn Morris authored
-