- 03 Jun, 2017 4 commits
-
-
Glenn Morris authored
* lisp/mail/rmailmm.el (rmail-mime-insert-bulk): Fall back to HOME if no match in rmail-mime-attachment-dirs-alist.
-
Glenn Morris authored
-
Glenn Morris authored
It was removed along with other items for speed (bug#16875), but doesn't seem to have been causing an issue, and it's useful to have it there (bug#27154). * lisp/progmodes/python.el (inferior-python-mode): Add comint-watch-for-password-prompt to comint-output-filter-functions.
-
Ryan authored
tmm uses completing-read, but customizes its behavior so much that any alternative completing-read-function will almost certainly break it. For example, both ido-ubiquitous and ivy have special code to deactivate themselves for tmm. * lisp/tmm.el (tmm-prompt): Use completing-read-default instead of completing-read. (Bug#27193) Copyright-paperwork-exempt: yes
-
- 02 Jun, 2017 7 commits
-
-
Mats Lidell authored
-
Glenn Morris authored
* test/lisp/calendar/todo-mode-tests.el (with-todo-test): HOME should be a directory, not a file. Delete it when finished.
-
Lele Gaifax authored
* etc/tutorials/TUTORIAL.it: Adjust to recent changes in TUTORIAL. Copyright-paperwork-exempt: yes
-
Eli Zaretskii authored
-
Eli Zaretskii authored
* src/xdisp.c (display_and_set_cursor): Record cursor coordinates even if the frame is marked as garbaged. (Bug#27187)
-
Eli Zaretskii authored
* etc/tutorials/TUTORIAL.he: Adjust to recent changes in TUTORIAL.
-
Noam Postavsky authored
-
- 01 Jun, 2017 19 commits
-
-
Paul Eggert authored
* doc/lispref/strings.texi (Formatting Strings): Don’t allow mixing numbered with unnumbered format specs. * src/editfns.c (styled_format): Don’t bother checking for field 0, since it doesn’t crash and the behavior is not specified. * test/src/editfns-tests.el (format-with-field): Adjust tests to match current doc. Add more tests for out-of-range fields.
-
Paul Eggert authored
This made (string-to-number "10") 20% faster on my old desktop, an AMD Phenom II X4 910e running Fedora 25 x86-64. * admin/merge-gnulib (GNULIB_MODULES): Remove strtoumax. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * lib/strtoul.c, lib/strtoull.c, lib/strtoumax.c, m4/strtoull.m4: * m4/strtoumax.m4: Remove. * src/editfns.c (str2num): New function. (styled_format): Use it instead of strtoumax. Use ptrdiff_t instead of uintmax_t. Check for integer overflow. * src/lread.c (LEAD_INT, DOT_CHAR, TRAIL_INT, E_EXP): Move to private scope and make them enums. (string_to_number): Compute integer value directly during first pass instead of revisiting it with strtoumax later.
-
Paul Eggert authored
* src/editfns.c (styled_format): Allow field numbers in a %% spec. No need for a special diagnostic for field numbers greater than PTRDIFF_MAX. Reword diagnostic for field 0. * test/src/editfns-tests.el (format-with-field): Adjust to match.
-
Philipp Stephani authored
A field number explicitly specifies the argument to be formatted. This is especially important for potential localization work, since grammars of various languages dictate different word orders. * src/editfns.c (Fformat): Update documentation. (styled_format): Implement field numbers. * doc/lispref/strings.texi (Formatting Strings): Document field numbers. * lisp/emacs-lisp/bytecomp.el (byte-compile-format-warn): Adapt. * test/src/editfns-tests.el (format-with-field): New unit test.
-
Alexander Gramiak authored
The function `binding' may call isearch-done, which globally sets overriding-terminal-local-map to nil (Bug#23007). * lisp/isearch.el (isearch-mouse-2): Don't bind overriding-terminal-local-map around the call to `binding'.
-
Stephen Berman authored
This avoids having to set todo-mode variables globally in the test file and prevents any exisiting user todo-mode files from influencing the tests. * test/lisp/calendar/todo-mode-tests.el: (with-todo-test): New macro. (todo-test-todo-quit01, todo-test-todo-quit02) (todo-test-item-highlighting): Use it.
-
Alan Third authored
* src/nsfns.m (compute_tip_xy): Don't use CGRectContainsPoint.
-
Eli Zaretskii authored
* test/manual/redisplay-testsuite.el (test-redisplay-5-toggle) (test-redisplay-5): Add a test with a large codepoint.
-
Vasilij Schneidermann authored
* src/xdisp.c (get_next_display_element): Dispatch used format string for unprintables based on new display-raw-bytes-as-hex variable. (display-raw-bytes-as-hex): New variable. (Bug#27122) * lisp/cus-start.el: Add defcustom form for display-raw-bytes-as-hex. * doc/emacs/display.texi: Document the new variable. * etc/NEWS: Mention display-raw-bytes-as-hex. * test/manual/redisplay-testsuite.el (test-redisplay-5-toggle) (test-redisplay-5): New tests. (test-redisplay): Call test-redisplay-5.
-
Eli Zaretskii authored
This reverts commit 7c9ac111.
-
Eli Zaretskii authored
* src/xdisp.c (get_next_display_element): Dispatch used format string for unprintables based on new display-raw-bytes-as-hex variable. (display-raw-bytes-as-hex): New variable. (Bug#27122) * lisp/cus-start.el: Add defcustom form for display-raw-bytes-as-hex. * doc/emacs/display.texi: Document the new variable. * etc/NEWS: Mention display-raw-bytes-as-hex. * test/manual/redisplay-testsuite.el (test-redisplay-5-toggle) (test-redisplay-5): New tests. (test-redisplay): Call test-redisplay-5.
-
Eli Zaretskii authored
* etc/themes/leuven-theme.el (linum): Make the 'linum' face inherit from 'default' and 'shadow', so that margins are enlarged as expected under text-scaling.
-
Glenn Morris authored
-
Paul Eggert authored
* lib-src/emacsclient.c (main): Don’t dally when freeing cwd.
-
Anders Waldenborg authored
* lib-src/emacsclient.c (main): emacsclient retrieves the current working directory using get_current_dir_name which returns a newly allocated string. Make sure this string is freed before exiting. Copyright-paperwork-exempt: yes
-
Noam Postavsky authored
The new example has entries spanning multiple functions in a single file as well as multiple files.
-
Glenn Morris authored
* test/lisp/dired-tests.el (dired-test-bug25609): Mark unused args. * test/src/data-tests.el (binding-test-set-constant-t) (binding-test-set-constant-nil, binding-test-set-constant-keyword) (binding-test-set-constant-nil): Silence compiler. * test/src/regex-tests.el (regex-tests-BOOST): Escape char literal.
-
Glenn Morris authored
* src/emacs.c (init_cmdargs) <Vinvocation_directory>: * src/lread.c (init_lread) <Vsource_directory>: Use true names.
-
Glenn Morris authored
* test/lisp/progmodes/elisp-mode-tests.el (emacs-test-dir): Use the true name of the directory.
-
- 31 May, 2017 10 commits
-
-
Paul Eggert authored
* src/doprnt.c (doprnt): Format "%%" correctly. Problem reported by Philipp Stephani in: http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00901.html
-
Paul Eggert authored
-
Katsumi Yamaoka authored
* lisp/gnus/mml.el (mml-generate-mime-1): Reverted to emacs-25 version with slight modernizations (bug#27141).
-
Michael Albinus authored
* lisp/recentf.el (recentf-load-list): Bind `non-essential', in order to avoid Tramp password requests during Emacs startup. (Bug#27108)
-
Glenn Morris authored
-
Eli Zaretskii authored
* doc/lispref/windows.texi (Horizontal Scrolling): Document the new mode of auto-hscrolling only the current line.
-
Eli Zaretskii authored
* doc/emacs/display.texi (Horizontal Scrolling): Document the new mode of auto-hscrolling only the current line. * src/xdisp.c (init_iterator): When hscrolling only the current line, apply the window's min_hscroll here, so that non-current lines will be hscrolled by that minimum. Suggested by Stephen Berman <stephen.berman@gmx.net>. (hscroll_window_tree): Account for window's min_hscroll when deciding whether to recompute the hscroll. (display_line): Subtract window's min_hscroll from x_incr, as that was already accounted for in init_iterator. (Bug#27008)
-
Noam Postavsky authored
* lisp/emacs-lisp/cl-print.el (cl-print--currently-printing): New variable. (cl-print-object): When `print-circle' is nil, bind it to a list of objects that are currently printing to avoid printing the same object endlessly. * test/lisp/emacs-lisp/cl-print-tests.el (cl-print-circle): New test.
-
Noam Postavsky authored
* test/Makefile.in: Use make's error ignoring feature instead of suppressing test errors with shell. Compile test files in the main make invocation instead of a recursive 'make' call. Optionally load .elc test files if TEST_LOAD_EL is set to something other than 'yes'. Remove obsolete commentary.
-
Eli Zaretskii authored
* src/xdisp.c (redisplay_internal): Limit the number of redisplay retries when a frame becomes garbaged as result of redisplaying it. (Bug#27115)
-