- 02 Jul, 2016 1 commit
-
-
Eli Zaretskii authored
* src/dispextern.h (FACE_FROM_ID_OR_NULL): Renamed from FACE_OPT_FROM_ID; all callers changed. * src/xdisp.c (extend_face_to_end_of_line): Call FACE_FROM_ID, not FACE_FROM_ID_OR_NULL, as the resulting face is immediately dereferenced. (fill_gstring_glyph_string): Call FACE_FROM_ID, not FACE_FROM_ID_OR_NULL, as the resulting face will be dereferenced when the glyph string is drawn. (BUILD_COMPOSITE_GLYPH_STRING): Call FACE_FROM_ID, not FACE_FROM_ID_OR_NULL, as the resulting face will be dereferenced in fill_composite_glyph_string. (calc_line_height_property): Call FACE_FROM_ID_OR_NULL rather that FACE_FROM_ID, since the function and its caller can cope with that situation. Conflate 3 tests of missing face or font into just one. * src/xfaces.c (Fx_list_fonts, Fface_font, lookup_face): Call FACE_FROM_ID_OR_NULL rather that FACE_FROM_ID, since these functions can cope with that situation. (lookup_derived_face): Don't call FACE_FROM_ID if the result will not be used. * src/w32console.c (w32_face_attributes): Remove redundant 'eassert'.
-
- 01 Jul, 2016 4 commits
-
-
Mark Oteiza authored
-
Stefan Monnier authored
i.e. rename from auto-source--symbol-keyword.
-
Dmitry Antipov authored
* lwlib/lwlib.c (lw_get_all_values): Always check the value returned by get_widget_info.
-
Glenn Morris authored
-
- 30 Jun, 2016 4 commits
-
-
Alan Mackenzie authored
This applies to applying or removing syntax-table text properties in raw strings which affect the stringiness of a piece of text. This fixes the bug reported in http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00695.html. * lisp/progmodes/cc-engine.el (c-truncate-semi-nonlit-pos-cache): new defsubst. (c-invalidate-state-cache-1): Call new function in place of inline manipulation. (c-depropertize-raw-string, c-propertize-raw-string-opener): truncate the semi-nonlit cache when pertinent syntax-table text properties get applied to the text.
-
Dmitry Antipov authored
* src/lread.c (openp): Move invariant code out of the loop and thus avoid redundant calls to memcpy. Adjust comments.
-
Dmitry Antipov authored
* src/frame.c (x_set_frame_parameters): Avoid extra loop processing foreground color, background color and font parameters. Adjust comments.
-
Dmitry Antipov authored
* lisp/international/mule-diag.el (decode-codepage-char): Remove. * lisp/ldefs-boot.el (toplevel): Adjust accordingly. * lisp/subr.el (toplevel): Do not advertise calling conventions for 'decode-char' and 'encode-char'. * src/charset.c (Fdecode_char, Fencode_char): Remove unused 3rd arg.
-
- 29 Jun, 2016 4 commits
-
-
Alan Mackenzie authored
Also amend some pertinent documentation. This fixes bug #23818. * lisp/progmodes/cc-engine.el (c-beginning-of-decl-1): Also check for a virtual semicolon at a place where we check for other types of statement ends. * lisp/progmodes/cc-vars.el (c-macro-nacmes-with-semicolon): Remove from the doc string the bit saying that the variable is a prototype and liable to change. * doc/misc/cc-mode.texi (Macros with ;): Enhance, stating that configuring macros with semicolon can prevent C-M-a missing the beginning of defun.
-
Dmitry Antipov authored
* src/xfns.c (x_get_monitor_attributes_xrandr): Always check the value returned by XRRGetOutputInfo.
-
Tino Calancha authored
* lisp/dired.el (dired-re-inode-size): Update 'dired-re-inode-size' to match when Dired displays the allocated file size column in human readable units (Bug#22255).
-
Mark Oteiza authored
* lisp/textmodes/tex-mode.el (tex-font-lock-keywords-1): * lisp/vc/log-view.el (log-view-font-lock-keywords): Quote face.
-
- 28 Jun, 2016 3 commits
-
-
Mark Oteiza authored
* lisp/textmodes/texinfo.el (texinfo-font-lock-keywords): Quote face.
-
Eli Zaretskii authored
* test/src/editfns-tests.el (format-properties): New test.
-
Eli Zaretskii authored
* src/textprop.c (extend_property_ranges): Correct range extension when the new end is beyond the old end. (Bug#23859)
-
- 27 Jun, 2016 12 commits
-
-
Alan Third authored
src/nsfns.m: Add colour settings functions to ns_frame_park_handlers. src/nsterm.m (ns_draw_window_divider): ns_focus has to go before the attempt to set the colour. src/nsterm.m (ns_draw_vertical_window_border): This had the same bug as above, although I didn't see any errors.
-
Stephen Berman authored
-
Lars Magne Ingebrigtsen authored
* lisp/net/shr.el (shr-copy-url): Make the command really copy the image url if given a prefix.
-
Lars Magne Ingebrigtsen authored
* doc/lispref/display.texi (SVG Images): Document svg-remove. * doc/lispref/display.texi (SVG Images): Document svg-text. * lisp/svg.el (svg-remove): New function. (svg-text): New function.
-
Lars Magne Ingebrigtsen authored
* doc/lispref/text.texi (Document Object Model): Document dom-remove-node. * lisp/dom.el (dom-remove-node): New function.
-
Lars Magne Ingebrigtsen authored
* doc/lispref/display.texi (SVG Images): Document `svg-embed'. * lisp/svg.el (svg-embed): New function. (svg--image-data): Ditto.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
* src/window.c (displayed_window_lines): Fix an off-by-one error when the bottom of the last display line is exactly at window's last pixel. Remove kludgey fix for TTY frames that is no longer needed. (Bug#15760) (Fmove_to_window_line): Doc fix. * doc/lispref/positions.texi (Screen Lines): Clarify and make more accurate the documentation of 'move-to-window-line'.
-
Alan Mackenzie authored
Also amend the code so that low-level searches to the end of literals are done only when these positions get used. * lisp/progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use the new c-literal-start instead of c-literal-limit. (c-state-semi-nonlit-pos-cache): Change the structure of this cache, such that it stores details of the literal at a point, rather than merely points outside of literals. (c-state-semi-pp-to-literal, c-state-full-pp-to-literal) (c-cache-to-parse-ps-state, c-parse-ps-state-to-cache, c-ps-state-cache-pos) (c-parse-ps-state-below, c-literal-start): New functions. (c-state-semi-safe-place): Removed. (c-in-literal): Use c-state-semi-pp-to-literal, so as not to scan to its end. (c-literal-limits, c-determine-limit-get-base): consequential amendments. (c-find-decl-spots, c-before-change-check-<>-operators, c-raw-string-pos) (c-guess-basic-syntax (CASE 2)): Avoid needless scans to end of literals. * lisp/progmodes/cc-fonts.el (c-font-lock-doc-comments): Avoid needless scans to end of literals. * lisp/progmodes/cc-mode.el (c-fl-decl-start): Avoid needless scans to end of literals. * lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun) (c-defun-name, c-declaration-limits): Avoid needless scans to end of literals.
-
Dmitry Gutov authored
* lisp/progmodes/ruby-mode.el (ruby-toggle-string-quotes): Handle quoting of the first character in the string. * test/lisp/progmodes/ruby-mode-tests.el (ruby-toggle-string-quotes-quotes-correctly): Update.
-
Sriram Thaiyar authored
* lisp/progmodes/ruby-mode.el (ruby-toggle-string-quotes): Change logic to quote based on the current quote of the string. * test/lisp/progmodes/ruby-mode-tests.el (ruby-toggle-string-quotes-quotes-correctly): Add test. Copyright-paperwork-exempt: yes
-
Noam Postavsky authored
* src/minibuf.c (Ftest_completion): Handle alist COLLECTION with non-nil completion-regexp-list (Bug #23533).
-
- 26 Jun, 2016 11 commits
-
-
Paul Eggert authored
Problem reported by Juliusz Chroboczek (Bug#17976) and by Artur Malabarba (Bug#23620). Patch from a suggestion by Andreas Schwab in: http://bugs.gnu.org/17976#39 This patch is for non-MS-Windows platforms. I don't know the situation on MS-Windows. * src/process.c (connecting_status): New function, for (connect . ADDRINFOS). (connect_network_socket, check_for_dns, wait_for_socket_fds) (wait_while_connecting, wait_reading_process_output, status_notify): Use it. (decode_status, Fmake_network_process): Support (connect . ADDRINFOS) status. (connect_network_socket) [!WINDOWSNT]: If the connection failed and there are other addresses to try, do not signal an error; instead, loop around to try the next address. (wait_reading_process_output): Advance to the next address if there are multiple addresses and the first remaining address failed. * src/process.h (struct Lisp_Process.status): Adjust comment to describe (connect . ADDRINFOS).
-
Paul Eggert authored
Problem reported by Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00608.html * src/conf_post.h (GNUC_PREREQ): Port to GCC versions like GCC 2.8.1 (1998), which come before GCC 3.0 and which have nonzero patchlevel numbers.
-
Eli Zaretskii authored
* lisp/term.el (ansi-term): Remove unnecessary setting of 'bidi-paragraph-direction'. The underlying problem is solved in bidi.c by changing the regexps that define the paragraph beginning and end. (Bug#20611)
-
Paul Eggert authored
-
Michael Albinus authored
* doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.3.0".
-
Paul Eggert authored
Problem reported by Martin Rudalics in: http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00587.html * src/conf_post.h (GNUC_PREREQ) [__GNUC_PATCHLEVEL__]: Fix < vs <= typo.
-
Michael Albinus authored
* lisp/net/tramp-sh.el (tramp-methods) <rsync>: Add "-p" and "-s" arguments. (tramp-do-copy-or-rename-file-out-of-band): Call `file-name-directory' also for remote NEWNAME. * test/lisp/net/tramp-tests.el (tramp-test15-copy-directory): Do not skip for tramp-smb.el. Test als COPY-CONTENTS case. (tramp-test24-file-name-completion): Improve check for hostname completion. (tramp--test-rsync-p): New defun. (tramp-test31-special-characters) (tramp-test31-special-characters-with-stat) (tramp-test31-special-characters-with-perl) (tramp-test31-special-characters-with-ls, tramp-test32-utf8) (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl) (tramp-test32-utf8-with-ls): Skip for "rsync". * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory): Check also for CIFS capabilities.
-
Ury Marshak authored
* src/nsfns.m (x_set_internal_border_width): Replace assignments to FRAME_INTERNAL_BORDER_WIDTH. Copyright-paperwork-exempt: yes
-
Leo Liu authored
* lisp/subr.el (string-to-unibyte, string-as-unibyte, string-to-multibyte, string-as-multibyte): Make obsolete.
-
Tino Calancha authored
* lisp/hilit-chg.el (highlight-markup-buffers): (Bug#23824).
-
Alan Third authored
* src/nsterm.m (ns_draw_glyph_string_foreground): Create to take CHAR_GLYPH specific code and move glyphs right if within a box. (ns_draw_glyph_string): Move CHAR_GLYPH specific code into above function.
-
- 25 Jun, 2016 1 commit
-
-
Paul Eggert authored
0377fe2b ; Spelling fixes f2536958 Update docs for `customize-mode' 4395aaac Fix documentation of 'assoc-string' and 'compare-strings' ab0ebb93 ; Only load .elc file in tests. a98aa02a Error on multibyte characters in HTTP request ea512a7c * lisp/gnus/mm-decode.el (mm-convert-shr-links): Mask keys th... 82973310 ; Revert "Ensure undo-boundary after insert-file-contents." dc5e65b5 Unset GIT_DIR when calling Git commands 6cdd8f71 Ensure undo-boundary after insert-file-contents. 4793f5fc Clarify documentation of 'line-spacing' and 'line-height' 5f375723 Fix removal of variables from process-environment e5e886d1 * admin/authors.el (authors-ignored-files, authors-valid-file... db0777b7 * admin/authors.el (authors-aliases, authors-fixed-case): Add... # Conflicts: # doc/lispref/modes.texi # lisp/gnus/mm-decode.el
-