- 05 Mar, 2017 11 commits
-
-
Paul Eggert authored
* etc/NEWS: Say why. * src/floatfns.c (Ffceiling, Fffloor, Ffround, Fftruncate): Require arg to be float. * test/src/floatfns-tests.el (fround-fixnum): Check this.
-
Paul Eggert authored
-
Eli Zaretskii authored
-
Eli Zaretskii authored
* src/nsterm.m (ns_draw_text_decoration): * src/xterm.c (x_draw_glyph_string): * src/w32term.c (x_draw_glyph_string): Compute the position and thickness of the underline by looking for the first glyph of the run of underlined glyphs that includes the glyph string we are drawing. (Bug#25845)
-
Mark Oteiza authored
* doc/misc/cl.texi: Print concept index. (Generalized Variables, Variable Bindings): (Dynamic Bindings, Function Bindings, Macro Bindings, Conditionals): (Blocks and Exits, Iteration, Multiple Values): Add concept index items.
-
Mark Oteiza authored
* doc/misc/cl.texi (Loop Facility): Add "loop facility" as a concept index item.
-
martin rudalics authored
* lisp/window.el (window--display-buffer): Set the dedicated status of the window used and clear its history of previous buffers also for the case that the window already shows the buffer to be displayed. (Bug#25946)
-
Paul Eggert authored
* etc/NEWS: Document this. * src/data.c (store_symval_forwarding): * src/sound.c (parse_sound): Do not botch NaN comparison. * src/data.c (cons_to_unsigned, cons_to_signed): Signal an error if a floating-point arg is not integral. * src/data.c (cons_to_unsigned, cons_to_signed): * src/fileio.c (file_offset): Use simpler overflow check. * src/dbusbind.c (xd_extract_signed, xd_extract_unsigned): Avoid rounding error in overflow check. (Fcar_less_than_car): Use arithcompare directly. * test/src/charset-tests.el: New file.
-
Paul Eggert authored
* etc/NEWS: Document this. * src/editfns.c (styled_format): When formatting integers via a floating-point format, use long double instead of double conversion, if long double’s extra precision might help.
-
Paul Eggert authored
-
Paul Eggert authored
-
- 04 Mar, 2017 6 commits
-
-
Michael Albinus authored
-
Eli Zaretskii authored
* lisp/info.el (Info-history-find-node): A better heading for the list of visited nodes. (Bug#25876)
-
K. Handa authored
-
Eli Zaretskii authored
* admin/ldefs-clean.el (ldefs-clean): Bind coding-system-for-read and coding-system-for-write, to produce a UTF-8 file with Unix EOLs on MS-Windows. * lisp/ldefs-boot-manual.el (image-type): Add autoload cookie.
-
David Bremner authored
* lisp/net/shr.el (shr-pixel-buffer-width, shr-render-td-1): Make the window not dedicated, to avoid errors if it was, before setting its buffer temporarily. (Bug#25828) Copyright-paperwork-exempt: yes
-
Glenn Morris authored
* lisp/progmodes/gud.el (gud-menu-map): Avoid duplicate "Run" entries in gdbmi mode. (Bug#23923)
-
- 03 Mar, 2017 10 commits
-
-
Paul Eggert authored
-
Paul Eggert authored
* admin/merge-gnulib (GNULIB_MODULES): Add count-leading-zeros. * etc/NEWS: Document the change. * lib/count-leading-zeros.c, lib/count-leading-zeros.h: * m4/count-leading-zeros.m4: New files, copied from Gnulib. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * src/floatfns.c: Include count-leading-zeros.h. (Flogb): Do not convert fixnum to float before taking the log, as the rounding error can cause the answer to be off by 1. * src/lisp.h (EMACS_UINT_WIDTH): New constant. * test/src/floatfns-tests.el (logb-extreme-fixnum): New test.
-
Paul Eggert authored
This incorporates: 2017-02-25 maintainer-makefile: Fix AC_PROG_SED with autoconf cache. 2017-02-24 ftoastr: port to -Wdouble-promotion * lib/ftoastr.c, m4/gnulib-common.m4: Copy from gnulib.
-
Eli Zaretskii authored
* src/keyboard.c (record_char): Don't store in macro definitions characters that came from executing a macro. (Bug#25860)
-
Eli Zaretskii authored
* lisp/color.el (color-name-to-rgb): Use 16 bits per color component. (color-rgb-to-hex): Accept an optional argument DIGITS-PER-COMPONENT, defaulting to 4, and format the hexadecimal notation either for 8 or 16 bits per component. (Bug#25890) * lisp/net/shr-color.el (shr-color->hexadecimal): Call color-rgb-to-hex with the optional argument of 2, to match color processing on the Web.
-
Tino Calancha authored
* lisp/emacs-lisp/benchmark.el: Enable lexical binding. (benchmark-elapse): Use 'declare'. * test/lisp/emacs-lisp/benchmark-tests.el: Add test suite.
-
Noam Postavsky authored
Additionally, do some minor code cleanup. * lisp/emacs-lisp/pp.el: Set lexical-binding. (pp-buffer): Use skip-syntax-forward. (pp-eval-expression): Use push. (pp-last-sexp): Use with-syntax-table. * test/lisp/emacs-lisp/pp-tests.el: New tests.
-
Chunyang Xu authored
* lisp/emacs-lisp/re-builder.el (reb-change-syntax): Use 'default' arg of completing-read. Copyright-paperwork-exempt: yes
-
Rolf Ade authored
Enable the usage of an in-memory database. Prior to this, sql-mode w/ sqlite could only be used with file databases. * list/progmodes/sql.el (sql-get-login-ext): Don't expand an empty file name provided by the user, but call sub-process sqlite with that, in which case it uses an in-memory database. Copyright-paperwork-exempt: yes
-
Allen Li authored
`abbrev--before-point' does not adjust `pos' to account for when it deletes the "-" left by abbrev-prefix-mark. Therefore, when `abbrev-before-point' goes to restore point, it moves point one character too far forward. * lisp/abbrev.el (abbrev--before-point): Adjust pos when deleting "-".
-
- 02 Mar, 2017 13 commits
-
-
Tino Calancha authored
-
Paul Eggert authored
Turn instances of extract_float into XFLOAT_DATA when possible, and to a resurrected XFLOATINT when the arg is a number. The resurrected XFLOATINT is more like XFLOAT and XINT in that is valid only if its arg is a number. This clarifies the ways in which floats can be extracted at the C level. * src/editfns.c (styled_format): * src/floatfns.c (extract_float, Fexpt): Use XFLOATINT rather than open-coding it. * src/fns.c (internal_equal): * src/image.c (imagemagick_load_image): * src/xdisp.c (resize_mini_window): Prefer XFLOAT_DATA to extract_float on values known to be floats. * src/frame.c (x_set_screen_gamma): * src/frame.h (NUMVAL): * src/image.c (x_edge_detection, compute_image_size): * src/lread.c (read_filtered_event): * src/window.c (Fset_window_vscroll): * src/xdisp.c (handle_single_display_spec, try_scrolling) (redisplay_window, calc_pixel_width_or_height, x_produce_glyphs) (on_hot_spot_p): Prefer XFLOATINT to extract_float on values known to be numbers. * src/lisp.h (XFLOATINT): Bring back this function, except it now assumes its argument is a number.
-
Glenn Morris authored
* lisp/emacs-lisp/ert.el (ert-results-mode-menu): Deactivate some items if no test at point. (ert--results-test-at-point-no-redefinition): Add option to signal an error rather than return nil. (ert-results-pop-to-backtrace-for-test-at-point) (ert-results-pop-to-messages-for-test-at-point) (ert-results-pop-to-should-forms-for-test-at-point) (ert-results-describe-test-at-point): Error if no test at point.
-
Paul Eggert authored
* src/lisp.h (XFLOATINT): Remove this alias for extract_float. All callers changed to use extract_float. * src/frame.h (NUMVAL): Now an inline function, not a macro.
-
Paul Eggert authored
* etc/NEWS: Document this. * src/bytecode.c (exec_byte_code): * src/data.c (arithcompare): Do not lose information when comparing floats to integers. * test/src/data-tests.el (data-tests-=, data-tests-<) (data-tests->, data-tests-<=, data-tests->=): Test this.
-
Eli Zaretskii authored
* src/xfaces.c (face_at_buffer_position): If called to find the mouse-face, only consider the highest-priority source for that face, and ignore the rest. Previously, all the mouse-face definitions at POS were merged in that case. * src/xdisp.c (note_mouse_highlight): Record the overlay that specifies mouse-face _after_ clearing the info about the previous overlay, so as not to clear the information about the just-recorded overlay. (Bug#25906)
-
Eli Zaretskii authored
* src/nsterm.m (ns_draw_text_decoration): * src/xterm.c (x_draw_glyph_string): * src/w32term.c (x_draw_glyph_string): Fix calculation of the strike-through y-coordinate for a glyph row which is taller than the strike-through text. (Bug#25907)
-
Martin Rudalics authored
* src/xterm.c (handle_one_xevent): For ConfigureNotify events don't call x_net_wm_state when the window is a scroll bar window. (Bug#24963, Bug#25887)
-
Katsumi Yamaoka authored
* lisp/gnus/gnus-sum.el (gnus-summary-select-article-buffer): Don't re-render existing article.
-
Katsumi Yamaoka authored
* lisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group): Don't add debbugs address to message body (bug#25896), and don't add it to message header either if it already exists.
-
Stefan Monnier authored
(semanticdb--ih): Declare. (semanticdb-enable-gnu-global-databases): Use it instead of `ih'. (semanticdb-enable-gnu-global-in-buffer, semanticdb-get-database-tables) (semanticdb-find-tags-for-completion-method): Silence compiler warning.
-
Stefan Monnier authored
Use `pp-buffer' rather than `pp' so as to avoid calling prin1 twice.
-
Glenn Morris authored
-