- 22 Jan, 2019 4 commits
-
-
Alan Mackenzie authored
* lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Actuate electric-pair-mode if a < or > is typed in a context where this is meaningful (#include, or template). (c-electric-paren): Allow electric-pair-mode activity in a comment or string. * lisp/progmodes/cc-defs.el (c-make-keywords-re): Fix a bug where lists of source symbols could get overwritten when parameter adorn is set to 'appendable. * list/progmodes/cc-langs.el (c-cpp-include-key): New lang const and var.
-
Alan Mackenzie authored
This reverts commit be505726.
-
Michael Albinus authored
* test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name): Bind `tramp-default-method'. (tramp--test-file-attributes-equal-p): New defsubst. (tramp-test19-directory-files-and-attributes): Use it.
-
Michael Albinus authored
* doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.2-pre". * lisp/net/tramp.el: Bump version to 2.4.2-pre. (tramp-set-file-uid-gid): Respect setgid bit of the upper directory. (tramp-default-file-modes, tramp-handle-insert-file-contents) (tramp-mode-string-to-int, tramp-make-tramp-temp-file): * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy) (tramp-adb-handle-write-region): * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-directly) (tramp-sh-handle-write-region): Use octal constants.
-
- 21 Jan, 2019 8 commits
-
-
Stefan Monnier authored
(tit-process-body): Remove unused vars 'template' and 'second'. (tsang-quick-converter): Remove unused args 'name' and 'title'. Remove unused var 'slot'. (tsang-b5-converter, quick-b5-converter, tsang-cns-converter) (quick-cns-converter, py-converter, ziranma-converter) (ctlau-converter, ctlau-gb-converter, ctlau-b5-converter): Remove unused args 'name' and 'title'. (miscdic-convert): Remove unused var 'dicbuf'. Don't pass 'name' and 'title' to the conversion function.
-
Paul Eggert authored
Suggested by Eli Zaretskii in: https://lists.gnu.org/r/emacs-devel/2019-01/msg00458.html * src/pdumper.c (pdumper_load): Simplify.
-
Stefan Monnier authored
-
Stefan Monnier authored
-
Stefan Monnier authored
* lisp/electric.el (electric--sort-post-self-insertion-hook): Don't burp on non-symbol functions.
-
Alan Third authored
* src/Makefile.in (emacs$(EXEEXT)): Copy the new executable over bootstrap-emacs.
-
Michael Albinus authored
-
Michael Albinus authored
* lisp/net/tramp.el (tramp-process-actions, tramp-accept-process-output) (tramp-send-string): * lisp/net/tramp-adb.el (tramp-adb-handle-make-process) (tramp-adb-send-command-and-check, tramp-adb-wait-for-output): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process) (tramp-wait-for-output, tramp-send-command-and-check): * lisp/net/tramp-smb.el (tramp-smb-wait-for-output): Use `inhibit-read-only'.
-
- 20 Jan, 2019 2 commits
-
-
Michael Albinus authored
* lisp/net/tramp-sh.el (tramp-get-remote-df): Support also POSIX.1 "df". (tramp-sh-handle-file-system-info): Adapt accordingly.
-
Eli Zaretskii authored
* src/w32term.c (x_draw_image_foreground): Scale the image if the requested dimensions are different from the bitmap dimensions. * src/image.c (Fimage_scaling_p): Return t when HAVE_NTGUI. (x_set_image_size) [HAVE_NTGUI]: Record the scaled dimensions in the image struct. * src/dispextern.h (HAVE_NATIVE_SCALING): Define when HAVE_NTGUI as well. * etc/NEWS: Update the announcement of native image scaling.
-
- 19 Jan, 2019 8 commits
-
-
Philipp Stephani authored
* src/fns.c (Fsort): Use 'list-or-vector-p' for error message. (syms_of_fns): Define 'list-or-vector-p'. * test/src/fns-tests.el (fns-tests-sort): Extend unit test.
-
Paul Eggert authored
* doc/lispref/internals.texi (pdumper-stats): * src/pdumper.c (pdumper_load): Return seconds, not milliseconds. Minimize rounding errors in the usual case.
-
Eli Zaretskii authored
* src/pdumper.c (Fpdumper_stats): Don't expand dump filename, as we don't record the directory relative to which it was specified.
-
Eli Zaretskii authored
* src/pdumper (subtract_timespec): Function removed. (pdumper_load): Use timespec_sub instead of subtract_timespec.
-
Eli Zaretskii authored
* src/pdumper.c (Fpdumper_stats): Improve formatting and wording of the doc string. Decode the pdump file name and expand-file-name it. * doc/lispref/internals.texi (Building Emacs): Document 'pdumper-stats'.
-
Eli Zaretskii authored
* src/xdisp.c (expose_window_tree): Declare and define 'f' on NS as well. Reported by Herbert J. Skuhra <herbert@gojira.at>.
-
Dmitry Gutov authored
-
Dmitry Gutov authored
* lisp/progmodes/project.el (project-ignores): Don't append the default ignores list, just use vc-directory-exclusion-list. (project--dir-ignores): Use the default ignores if the dir is outside of the current project. (project-files): Use project--dir-ignores to support external roots better.
-
- 18 Jan, 2019 13 commits
-
-
João Távora authored
This is a backward-incompatible change, and removing it isn't really necessary. This reverts commit 942dad2b.
-
Stefan Monnier authored
Call electric--after-char-pos right from the start, and take advantage of the fact that it guarantees to return the right position or nil.
-
João Távora authored
* lisp/electric.el (electric-layout-rules): Ensure rules are called from right spot.
-
João Távora authored
An element of electric-layout-rules is either a function or a pair (CHAR . WHERE), and WHERE can't be a function anymore. * lisp/electric.el (electric-layout-post-self-insert-function-1): Remove leftover line.
-
Paul Eggert authored
* src/image.c (x_create_x_image_and_pixmap): The Picture type is an integer, not a pointer. Come to think of it, Picture is really XID, and as far as I can tell, all-bits-one is the invalid XID, not all-bits-zero. However that is a bigger issue; for now, this patch just unbreaks the build.
-
Eli Zaretskii authored
* src/pdumper.c (Fdump_emacs_portable): Improve the doc string and the error messages. * doc/lispref/internals.texi (Building Emacs): Document portable dumping and the 'dump-emacs-portable' function.
-
Glenn Morris authored
b6d78a0d (origin/emacs-26) Fix a typo in ELisp manual c9f6f868 Prevent redrawing if frame is garbaged 00ba2267 Attempt to fix hangs on MS-Windows due to C-g b26d6373 Fix Calc graph output on MS-Windows 03818b0a Fix a minor mistake in ELisp manual 6ac59854 ; Fix some trivial doc typos 21b90269 * etc/tutorials/TUTORIAL: Fix typo (bug#34049) d223727a Fix UI of Buffer-menu 0f716557 Reinitialize ispell-really-enchant when changing the speller 9845044f Speed up loading css-mode
-
Eli Zaretskii authored
* src/w32heap.c (report_temacs_memory_usage): Condition on !CANNOT_DUMP, in addition to ENABLE_CHECKING. (init_heap): Accept an argument, which tells us what heap allocation method to use. (DUMPED_HEAP_SIZE) [CANNOT_DUMP]: Define to a small value, as we don't use dumped_data[] in this case. * src/w32heap.h (init_heap): Adjust prototype. <using_dynamic_heap>: Remove declaration. * src/emacs.c (main) [WINDOWSNT]: Determine heap allocation method based on whether we are in temacs and whether unexec will be used to dump Emacs. Pass the heap allocation method to init_heap, which is now called after parsing the --temacs=METHOD option. * src/unexw32.c (unexec): Don't fiddle with using_dynamic_heap. <using_dynamic_heap>: Remove definition. * src/w32proc.c (malloc_before_init, realloc_before_init) (free_before_init): New functions, to catch memory allocation before heap allocation method is set up.
-
Eli Zaretskii authored
-
Eli Zaretskii authored
* doc/lispref/nonascii.texi (Converting Representations): Fix inconsistency between @defun and the argument description of 'byte-to-string'. (Bug#34119)
-
Dmitry Gutov authored
* lisp/progmodes/project.el (project--files-in-directory): New function. (project-files, project-find-regexp): Use it. (project--dir-ignores): New function. (project--find-regexp-in): Remove. (project--process-file-region): New function. (project--find-regexp-in-files): New function. (project-find-regexp, project-or-external-find-regexp): Use it, and project-files as well.
-
Dmitry Gutov authored
-
Dmitry Gutov authored
* lisp/progmodes/project.el (project-files): Move the actual command building and invocation here. (project-file-completion-table): Delegate to 'project-files'.
-
- 17 Jan, 2019 5 commits
-
-
Stefan Monnier authored
Remove redundant :group args. (sgml-syntax-propertize-rules): Speed up processing of most double quotes.
-
João Távora authored
The variable c--disable-fix-of-bug-33794, which should be removed in the short term in favor of a permanent solution, is introduced. It is bound to nil by default. This means that breakage is still happening in actual c-mode and c++-mode usage, though the tests no longer show it. To get around this breakage, put (setq c--disable-fix-of-bug-33794 t) In your init file. Evidently, you will lose the fix for bug#33794, but that only affects a small corner case of c-toggle-auto-newline, which is not turned on by default. See https://lists.gnu.org/archive/html/emacs-devel/2019-01/msg00360.html for more information. * lisp/progmodes/cc-cmds.el (c--disable-fix-of-bug-33794): New variable. (c--with-post-self-insert-hook-maybe): New macro. (c-electric-pound, c-electric-brace, c-electric-slash) (c-electric-star, c-electric-semi&comma, c-electric-colon) (c-electric-lt-gt, c-electric-paren): Use it. (c-electric-paren, c-electric-brace): Check c--disable-fix-of-bug-33794. * test/lisp/electric-tests.el (c--disable-fix-of-bug-33794): Forward declare. (electric-pair-test-for) (electric-layout-int-main-kernel-style) (electric-modes-in-c-mode-with-self-insert-command): Use it.
-
João Távora authored
This reverts commit 54f29790.
-
Martin Rudalics authored
* doc/lispref/windows.texi (Window Hooks): Fix wording in description of window change functions. Suggested by Robert Pluim <rpluim@gmail.com>.
-
Alan Third authored
* src/image.c (x_create_x_image_and_pixmap): Fail gracefully if a bit depth is requested that XRender doesn't support.
-