- 21 Jun, 2016 2 commits
-
-
Ken Brown authored
* src/conf_post.h (DebPrint) [!EMACSDEBUG]: Add empty do-while loop to avoid compiler warnings about empty body of 'if' statement. * src/image.c [HAVE_NTGUI] (DefaultDepthOfScreen): Disable unused macro. (x_create_bitmap_from_data): Declare 'frame'. (x_create_bitmap_from_file): Don't declare unused variable 'dpyinfo'. * src/lisp.h (AUTO_STRING_WITH_LEN): Avoid initialization to prevent "jump-misses-init" compiler warnings. * src/w32fns.c (check_w32_winkey_state): Define and use only if WINDOWSNT. (Fx_show_tip): Declare 'f'. (Fx_file_dialog): Declare 'filter_a' only if not NTGUI_UNICODE. (w32_strerror): Use format specifier %d for sprintf argument of type int. (emacs_abort): Cast sprintf argument of type DWORD to unsigned int, and use format specifier %x, for compatibility with Cygwin. (unicode_append_menu) [NTGUI_UNICODE]: * src/w32menu.c [NTGUI_UNICODE] (get_menu_item_info) (set_menu_item_info, unicode_append_menu) (unicode_message_box): * src/menu.c [NTGUI_UNICODE] (unicode_append_menu): Define as functions rather than macros to avoid "address will always evaluate as true" compiler warnings. * src/w32font.c (w32_to_x_charset): Use format specifier %d for sprintf argument of type int. * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Cast sprintf argument of type int to unsigned int to match %X format specifier. (w32_scroll_bar_handle_click): (w32_horizontal_scroll_bar_handle_click): Declare 'f'. * src/w32term.h (FRAME_DISPLAY_INFO): Explicitly discard unused argument.
-
Ken Brown authored
* src/composite.c (autocmp_chars): Declare and set 'f' only if HAVE_WINDOW_SYSTEM. * src/dispextern.h (FACE_SUITABLE_FOR_ASCII_CHAR_P) (FACE_FOR_CHAR): Explicitly discard unused arguments. * src/font.c (font_open_entity): Declare 'min_width' where it is first set, and only if HAVE_WINDOW_SYSTEM. * src/frame.c [!HAVE_WINDOW_SYSTEM] (decode_window_system_frame): Define _Noreturn version to avoid "suggest attribute noreturn" compiler warning. (check_window_system): Declare as _Noreturn. (Ficonify_frame): (Fset_frame_position): Don’t declare and set 'f'. * src/frame.h [!HAVE_WINDOW_SYSTEM] (decode_window_system_frame) (check_window_system): Add _Noreturn prototypes. (FRAME_FRINGE_COLS, FRAME_TOTAL_FRINGE_WIDTH) (FRAME_LEFT_FRINGE_WIDTH, FRAME_RIGHT_FRINGE_WIDTH) (FRAME_INTERNAL_BORDER_WIDTH, FRAME_RIGHT_DIVIDER_WIDTH) (FRAME_BOTTOM_DIVIDER_WIDTH): Explicitly discard unused argument. * src/xdisp.c (handle_single_display_spec): Declare 'fringe_bitmap' only if HAVE_WINDOW_SYSTEM. (append_space_for_newline): Declare 'g' where it is first set. (Fmove_point_visually): Declare and set 'target_is_eol_p' only if HAVE_WINDOW_SYSTEM. (show_mouse_face): Declare and set 'f' and 'phys_cursor_on_p' only if HAVE_WINDOW_SYSTEM. (note_mode_line_or_margin_highlight): (note_mouse_highlight): Declare and set 'cursor' and 'pointer' only if HAVE_WINDOW_SYSTEM. * src/xfaces.c (realize_default_face): Declare and set 'face' only if HAVE_X_WINDOWS. Remove redundant #ifdef.
-
- 20 Jun, 2016 3 commits
-
-
Michael Albinus authored
-
Michael Albinus authored
* test/lisp/filenotify-tests.el (file-notify--test-with-events): Fix thinko in test. (file-notify-test02-events, file-notify-test04-file-validity) (file-notify-test07-backup) (file-notify-test08-watched-file-in-watched-dir): Make test conditions more weak. (Bug#23618)
-
Paul Eggert authored
* src/alloc.c (ABLOCKS_BUSY): Rename arg to avoid potential clash with member ‘abase’ in definiens. (lisp_align_malloc, lisp_align_free): Use bool for boolean. Avoid compiler warning with fewer casts. (lisp_align_free): Check busy-field values; this can help the compiler a bit when optimizing, too.
-
- 19 Jun, 2016 6 commits
-
-
Dmitry Gutov authored
* lisp/vc/vc-git.el (vc-git--asciify-coding-system): New function. (vc-git-diff, vc-git-annotate-command): Use it.
-
Dmitry Gutov authored
It didn't work anyway, but this makes any such errors more obvious by catching them earlier. * lisp/url/url-http.el (url-http-create-request): Use string-to-unibyte (bug#23750).
-
Eli Zaretskii authored
* src/chartab.c (char_table_set_range): Start the loop from the first character of the block to which FROM belongs. (Bug#23797) * test/src/chartab-tests.el: New test file.
-
Alan Mackenzie authored
* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Recognize "bar (gnu);" as a declarator only when the construct is directly inside a class (etc.) called "bar". (c-directly-in-class-called-p): New function.
-
Alan Mackenzie authored
Also add display of point-min to the c-parse-state debugging output. * lisp/progmodes/cc-engine.el (c-renarrow-state-cache): When the new point is inside an old recorded brace pair, clear the cache. (c-debug-parse-state): Output the value of point-min.
-
Paul Eggert authored
* src/alloc.c (pointer_align): Rename from ALIGN. This fixes Bug#23764 in a simpler way.
-
- 18 Jun, 2016 12 commits
-
-
Paul Eggert authored
d1efbafd Fix documentation of completion functions 65c96cc0 Clarify documentation of 'font-lock-maximum-decoration' 2ad3d018 * doc/misc/cl.texi (Usage): Add some more details. b49cb0ab Fbackward_prefix_chars: stay within buffer bounds
-
Paul Eggert authored
The following commit was skipped: d765175e Fix ifdef-vs-if typo with RANDR13_LIBRARY
-
Paul Eggert authored
2317c618 Fix last todo-mode change 5d4d8a39 Improve last todo-mode fix d7084f22 Fix todo-mode use of minibuffer completion keymap (bug#23695). 27dec526 * src/alloc.c (ALIGN): Avoid error on DragonFly BSD. (Bug#23... f5261917 * lisp/emacs-lisp/nadvice.el (advice--make-docstring): Avoid ... e8810708 * lisp/help-fns.el (describe-function-1): Avoid reporting adv... d308aa1e Minor grammar fix (bug#23746) 20de6679 Doc fixes for grammar and typos (bug#23746) a67a4e59 * doc/lispref/processes.texi (Process Buffers): Minor rewordi... 27f440e2 Add cross-reference to ELisp manual 10802d84 ; make change-history-commit 4b2d77d8 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bu... 12e009e5 Restore initial undo boundary with viper 291fe0aa Revert "Fix viper undo breakage from undo-boundary changes" 6921f4a5 Fix dbus crash on 32-bit Cygwin
-
Paul Eggert authored
The following commit was skipped: e18ee60b Bump version to 25.0.95
-
Paul Eggert authored
9ae514a9 * etc/AUTHORS: Update the AUTHORS file 3ca428e9 add entries to authors.el 66d556b5 Fix eldoc-related freezes in python mode d59bcbc0 Handle mouse leaving initial window in `mouse-set-region' (Bu... 27fe1e45 org.el: Fix bindings of < and > for calendar scrolling a813487f Fix undo boundary in recursive edit (Bug#23632) 1f85b7ca Doc fixes re alist-get. (Bug#23548) ba3f2062 * lisp/progmodes/python.el (inferior-python-mode): Avoid tabs... 56fa055b * src/syntax.c (syms_of_syntax) <comment-end-can-be-escaped>:... 4c1370a1 * lisp/help-fns.el (describe-function-1): Fix handling of fil... a3f7ae80 * lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by". 601b9b2a * doc/misc/cl.texi (Mapping over Sequences): Fix cl-notevery.
-
Noam Postavsky authored
So that the described behavior matches the code (and docstrings). * doc/lispref/minibuf.texi (Basic Completion): Symbol keys of hash table collections are used like string keys, not ignored (Bug #10416).
-
Eli Zaretskii authored
* doc/emacs/display.texi (Font Lock): Explain how to make the customization of 'font-lock-maximum-decoration' effective for an existing buffer. (Bug#23783)
-
NicolasPetton authored
-
NicolasPetton authored
Make sure seq-contains return the element of the sequence instead of t. * lisp/emacs-lisp/seq.el (seq-contains): Fix the function. * test/lisp/emacs-lisp/seq-tests.el: Add a regression test.
-
NicolasPetton authored
* lisp/emacs-lisp/map.el (map-do, map--do-alist, map--do-array): New functions. * test/lisp/emacs-lisp/map-tests.el: Add a unit test for map-do.
-
NicolasPetton authored
* lisp/emacs-lisp/seq.el (seq-do-indexed): New function. * test/lisp/emacs-lisp/seq-tests.el: Add a unit test for seq-do-indexed.
-
Stefan Monnier authored
* lisp/emacs-lisp/map.el (map-merge): Use `map-into' for the first map, and don't use of an intermediate alist. (map-merge-with): Same, plus use `cl-callf' to try and avoid performing 3 lookups per inner iteration.
-
- 17 Jun, 2016 2 commits
-
-
Glenn Morris authored
-
Noam Postavsky authored
The commit 1fd3172d "(Fbackward_prefix_chars): Set point properly while scanning" (1998-03-18), moved the check against of the position against the buffer beginning out the loop condition so that we might end up checking the syntax of characters before the beginning of the buffer. This can cause segfaults or trigger a "Point before start of properties" error in `update_interval' (called indirectly from `char_quoted'). * src/syntax.c (Fbackward_prefix_chars): Stop the loop when beginning of buffer is reached (Bug #3552, Bug #17132, Bug #19379).
-
- 16 Jun, 2016 3 commits
-
-
Mark Oteiza authored
-
Paul Eggert authored
* src/xfns.c (x_get_monitor_attributes_xrandr): Use #if, not #ifdef. This ports to systems that predate xrandr 1.3. See Christian Lynbech in: http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00198.html (cherry picked from commit dce99f22)
-
Stephen Berman authored
* lisp/calendar/todo-mode.el (todo-read-category): Return the keymap in order to use its defined key bindings.
-
- 15 Jun, 2016 9 commits
-
-
Alan Mackenzie authored
* lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Remove code which tests for bare declarators. (c-font-lock-cut-off-declarators): New function. (c-complex-decl-matchers): insert c-font-lock-cut-off-declarators.
-
Stephen Berman authored
* lisp/calendar/todo-mode.el (todo-read-category): Use set-keymap-parent instead of copy-keymap, and default (as previously) to the global binding (for rationale, see http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00217.html).
-
Stefan Monnier authored
* lisp/help-fns.el (help-definition-prefixes): New var and function. (help--loaded-p, help--load-prefixes, help--symbol-completion-table): New functions. (describe-function, describe-variable): Use them. * lisp/emacs-lisp/radix-tree.el (radix-tree--prefixes) (radix-tree-prefixes, radix-tree-from-map): New functions.
-
Michal Nazarewicz authored
* lisp/progmodes/cc-mode.el (c-or-c++-mode): A new function which analyses contents of the buffer to determine whether it looks like C++ source code and based on that enables c-mode or c++-mode. (c-or-c++-mode--regexp): Regular expression which, when matches a buffer, signals file is C++.
-
Alan Mackenzie authored
* lisp/progmodes/cc-engine.el (c-back-over-compound-identifier): New function. (c-back-over-member-initializer-braces, c-back-over-list-of-member-inits) (c-back-over-member-initializers): Call c-back-over-compound-identifier rather than c-simple-skip-symbol-backward.
-
Stefan Monnier authored
* doc/lispref/keymaps.texi (Creating Keymaps): * src/keymap.c (Fcopy_keymap): Advertize set-keymap-parent as replacement.
-
Ted Zlatanov authored
-
Tim Chambers authored
* lisp/generic-x.el (ansible-inventory-generic-mode): Add new mode. Copyright-paperwork-exempt: yes
-
Paul Eggert authored
* src/xfns.c (x_get_monitor_attributes_xrandr): Use #if, not #ifdef. This ports to systems that predate xrandr 1.3. See Christian Lynbech in: http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00198.html
-
- 14 Jun, 2016 3 commits
-
-
Stephen Berman authored
* lisp/calendar/todo-mode.el (todo-read-category): Don't override minibuffer-local-completion-map globally (bug#23695). Bind <SPC> key to self-insert-command.
-
Paul Eggert authored
This fixes a five-year-old FIXME comment. Although I don’t know of a platform where this is a problem in practice, better safe than sorry. * src/doc.c (Fdocumentation): If SUBRP, simply use doc as integer, as it is now an integer, not char *. (store_function_docstring): Offset is now EMACS_INT, not ptrdiff_t; this is a file offset and EMACS_INT is better if --with-wide-int. If SUBRP, simply store the offset rather than negating it and converting it to char *. * src/lisp.h (struct Lisp_Subr.doc): Now EMACS_INT, not char *.
-
Paul Eggert authored
* src/doc.c (store_function_docstring): Refactor to avoid the need for C-level recursion.
-