summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add new 'flx' completion stylescratch/new-flx-completion-styleJoão Távora2019-02-021-1/+70
| | | | | | | | * lisp/minibuffer.el (completion-styles-alist): Add flx. (completion-substring--all-completions): Accept TRANSFORM-PATTERN-FN. (completion-flx-all-completions, completion-flx-try-completion) (completion-flx--make-flx-pattern): New functions.
* Fix window splitting behavior of 'display-buffer-at-bottom'Martin Rudalics2019-02-021-4/+0
| | | | | | * lisp/window.el (display-buffer-at-bottom): Never split an arbitrary bottom window. Try to split the frame's main window instead (Bug#33870).
* Fix bugs caused by running window change functions during redisplayMartin Rudalics2019-02-022-24/+4
| | | | | | | | | | * src/xdisp.c (redisplay_internal): Run window change functions before updating the display so changes induced by these functions can get caught by redisplay (Bug#34138). * src/window.c (run_window_change_functions): Bind Qinhibit_redisplay to avoid that the minibuffer window gets resized while running window change functions (Bug#34179, Bug#34260).
* * .gitignore: Add MANIFEST.Glenn Morris2019-02-011-0/+3
|
* * make-dist: Avoid "Bad fd number" error with dash.Glenn Morris2019-02-011-1/+1
|
* * make-dist: Remove references to src/stamp-h.in.Glenn Morris2019-02-011-5/+1
| | | | This file was removed two years ago in 2f89350.
* * make-dist: Fix --no-update with no pre-existing MANIFEST.Glenn Morris2019-02-011-1/+1
|
* Restore SETFATTR substitutionPaul Eggert2019-02-011-0/+1
| | | | | | * configure.ac (SETFATTR): Restore the AC_SUBST of this that was inadvertently removed when pdumper support was added. Need for ./configure --with-dumping=unexec on Fedora 29.
* Make make-dist more automaticPaul Eggert2019-02-011-271/+75
| | | | | | | | | | | | | | | | | | | Simplify make-dist maintenance by having it generate its list of files more automatically. Put the list of distributed files into a file MANIFEST that can be used in the unusual situations when you’re making a distribution without having access to a Git repository. * make-dist (top_level_ChangeLog): Now nonempty if the distribution tarball will contain a ChangeLog, instead of being nonempty when a ChangeLog is requested, Git is present and a readable ChangeLog exists. The new interpretation makes the script a bit easier to follow. (possibly_non_vc_files, info_files, mkdir_verbose) (file_to_skip, MANIFEST_subdir_sed, tempsubdirs): New variables. (MANIFEST): Update and use this file, which now records what files are distributed. (top_level, subdir, files, file): Remove.
* * configure.ac (emacs_config_features): Add pdumper and unexec.Glenn Morris2019-02-011-1/+3
|
* Rename CANNOT_DUMP to HAVE_UNEXECPaul Eggert2019-02-0113-85/+78
| | | | | | | * configure.ac (CANNOT_DUMP): Remove. All uses removed, or changed to the negative of with_unexec. (HAVE_UNEXEC): New macro. All uses of CANNOT_DUMP changed to the negative of this macro.
* Omit some linker hacks if not doing unexecPaul Eggert2019-02-011-10/+15
| | | | | | | | | * configure.ac (LDFLAGS, LD_SWITCH_SYSTEM_TEMACS): Omit some funky linker flags if not supporting unexec. Use macOS linker hacks only if needed * configure.ac: On darwin, link with -fno-pie and -headerpad only if configuring with unexec.
* Stop using macOS -prebind optionPaul Eggert2019-02-011-1/+1
| | | | | | | | * configure.ac (LD_SWITCH_SYSTEM_TEMACS): Remove -prebind, which has been obsolete and ineffective since Mac OS X 10.4 (2005), which was never necessary for correct operation, and which now generates annoying warnings. Problem reported by Robert Pluim in: https://lists.gnu.org/r/emacs-devel/2019-01/msg00761.html
* Merge from origin/emacs-26Paul Eggert2019-02-013-11/+22
|\ | | | | | | | | 6c6b540711 Correct the docs of inserting kmacro counter 32555daf4c * doc/misc/calc.texi (Algebraic Tutorial): Fix a typo. (B...
| * Correct the docs of inserting kmacro counterEli Zaretskii2019-02-012-10/+21
| | | | | | | | | | | | | | | | | | | | * doc/emacs/kmacro.texi (Keyboard Macro Counter): Correct the description of the affect "C-u" has on inserting the macro counter. Define "previous counter value". * lisp/kmacro.el (kmacro-insert-counter) (kmacro-start-macro-or-insert-counter): Fix the doc strings regarding the effect of "C-u". (Bug#34263)
| * * doc/misc/calc.texi (Algebraic Tutorial): Fix a typo. (Bug#34273)Nicholas Drozd2019-02-011-1/+1
| |
* | ; Merge from origin/emacs-26Paul Eggert2019-02-010-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: af525f44d5 ; Auto-commit of loaddefs files.
| * ; Auto-commit of loaddefs files.Glenn Morris2019-02-011-3/+17
| |
* | Merge from origin/emacs-26Paul Eggert2019-02-012-5/+12
|\ \ | |/ | | | | | | | | | | | | 7ba8f80398 Avoid errors in 'rmail-get-new-mail' 9c8412a0b8 Fix process-contact bug with TCP connections # Conflicts: # src/process.c
| * Avoid errors in 'rmail-get-new-mail'Eli Zaretskii2019-02-011-1/+2
| | | | | | | | | | | | * lisp/mail/rmail.el (rmail-insert-inbox-text): Don't assume the Rmail protocol is always a string when calling 'rmail-remote-proto-p'. (Bug#34252)
| * Fix process-contact bug with TCP connectionsPaul Eggert2019-01-301-4/+10
| | | | | | | | | | | | | | | | This fixes a regression from Emacs 25.3 (Bug#34134). * src/process.c (server_accept_connection): Set host correctly, fixing a bug introduced in 2017-09-16T21:29:18Z!eggert@cs.ucla.edu when working around a GCC bug.
* | ; Auto-commit of loaddefs files.Glenn Morris2019-02-011-3/+10
| |
* | Make the rx operators \? and \?? behave correctlyMattias Engdegård2019-02-012-2/+25
| | | | | | | | | | | | * lisp/emacs-lisp/rx.el (rx-kleene): Treat \? and \?? like ? and ?? (Bug#34100). * test/lisp/emacs-lisp/rx-tests.el: Add tests for all repetition operators.
* | js--re-search-backward-inner: Fix infloopDmitry Gutov2019-02-012-8/+8
| | | | | | | | | | | | | | | | | | Fix JS indentation infloop reported in https://github.com/mooz/js2-mode/issues/513. * lisp/progmodes/js.el (js--re-search-backward-inner): Account for multiline string literals. * test/manual/indent/js.js: New test example.
* | Prefer static to extern where either will doPaul Eggert2019-01-3110-36/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/charset.c (charset_table_size): * src/pdumper.c (dump_private): * src/sysdep.c (init_sigsegv): * src/window.c (old_selected_window): Now static. * src/charset.c (charset_table_size): Now int, since the value always fits in int. * src/gtkutil.c (xg_gtk_initialized): Now present only if HAVE_XWIDGETS, to make it clearer that this is an xwidgets hack. All uses changed. * src/lread.c (ndefsubr): Remove; unused. * src/pdumper.h: Use usual GNU indenting style for functions, since my static-vs-extern checking hack relies on it. (dump_public): Always declare; simpler and doesn’t hurt. (pdumper_handle_page_fault): Remove unused decl.
* | Widen modiff counts to avoid wraparoundPaul Eggert2019-01-3115-47/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Widen modification counts to at least 64 bits, to make wraparound practically impossible. * doc/lispref/buffers.texi (Buffer Modification): Don’t say the modification-count can wrap around. * src/buffer.c (Frestore_buffer_modified_p, Fbuffer_swap_text) (modify_overlay): * src/insdel.c (insert_1_both, insert_from_string_1) (insert_from_gap, insert_from_buffer_1) (adjust_after_replace, replace_range, replace_range_2) (del_range_2, modify_text): * src/textprop.c (modify_text_properties): Use modiff_incr instead of incrementing directly. (Fbuffer_modified_tick, Fbuffer_chars_modified_tick): Don’t assume modification counts fit into fixnums. * src/buffer.h (struct buffer_text, struct buffer): * src/cmds.c (internal_self_insert): * src/fileio.c (Finsert_file_contents): * src/indent.c (last_known_column_modified): * src/keyboard.c (command_loop_1): * src/marker.c (cached_modiff): * src/syntax.c (find_start_modiff, parse_sexp_propertize) (find_defun_start): * src/window.h (struct window): Use modiff_count for modification counts. * src/editfns.c (Fsubst_char_in_region): Copy instead of incrementing modification counts, since integer overflow checking is not needed here. * src/lisp.h (modiff_count): New type. (modiff_incr, modiff_to_integer): New inline functions. * src/pdumper.c (dump_buffer): Update hash.
* | Minor pdumper simplificationPaul Eggert2019-01-311-33/+10
| | | | | | | | | | | | | | | | * src/pdumper.c (dump_roots, pdumper_load): Simplify initialization. (dump_bitset_init, pdumper_load): Omit unnecessary assignments. (dump_bitset_destroy): Remove; never called. All callers removed. (dump_do_dump_relocation, pdumper_load): Add FIXME comment. (pdumper_load): Simplify by assuming C99. Remove unused local.
* | Merge from origin/emacs-26Glenn Morris2019-01-3010-19/+86
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b94d767 (origin/emacs-26) Minor copyedits in last manual change 73508e6 Improve documentation of face numbers bf235ce * doc/emacs/custom.texi (Authentication): Refer to the "Help ... ceccb3c New node Authentication in the Emacs manual 9078f34 Fix a loop in c-fl-decl-start. This fixes bug #34186. a177fe7 Fix LaTeX output of month and day from cal-tex.el 90177d7 Avoid elisp crash for OpenPGP User IDs with no e-mail address 68e55a0 image-mode: Do not use default scaling (bug#33990) b6c762a create-image: Expand documentation (bug#33990) 928d342 Improve documentation of 'isearch-filter-predicate' 9034dd6 Fix cursor column positioning on Grep hits # Conflicts: # doc/emacs/custom.texi
| * Minor copyedits in last manual changeEli Zaretskii2019-01-291-13/+13
| | | | | | | | | | * doc/emacs/custom.texi (Authentication): Improve markup, indexing, and wording.
| * Improve documentation of face numbersEli Zaretskii2019-01-291-0/+7
| | | | | | | | | | | | * doc/lispref/display.texi (Face Functions): Mention where the face number is used and that it depends on the 'face' property of the face symbol. Improve indexing.
| * * doc/emacs/custom.texi (Authentication): Refer to the "Help for users" node.Michael Albinus2019-01-271-1/+2
| |
| * New node Authentication in the Emacs manualMichael Albinus2019-01-262-0/+39
| | | | | | | | | | * doc/emacs/custom.texi (Customization): * doc/emacs/emacs.texi (Top): Add node Authentication.
| * Fix a loop in c-fl-decl-start. This fixes bug #34186.Alan Mackenzie2019-01-251-0/+3
| | | | | | | | | | | | | | * lisp/progmodes/cc-mode.el (c-fl-decl-start) In the pair of operations c-syntactic-skip-backward and c-forward-syntactic-ws, ensure the latter doesn't come back to the position before the former, and break out of the enclosing loop if it does.
| * Fix LaTeX output of month and day from cal-tex.elEli Zaretskii2019-01-251-2/+2
| | | | | | | | | | | | * lisp/calendar/cal-tex.el (cal-tex-cursor-week-iso) (cal-tex-week-hours): Escape a lone blank, to make it through LaTeX. (Bug#34148)
| * Avoid elisp crash for OpenPGP User IDs with no e-mail addressDaniel Kahn Gillmor2019-01-251-0/+2
| | | | | | | | | | | | | | | | * lisp/gnus/mml-sec.el (mml-secure-check-user-id): Verify that there is an e-mail address in the current User ID before trying to downcase it. (Bug#34121) Copyright-paperwork-exempt: yes
| * image-mode: Do not use default scaling (bug#33990)Benjamin Riefenstahl2019-01-251-2/+4
| | | | | | | | | | * lisp/image-mode.el (image-toggle-display-image): Set :scale == 1 so that create-image does not apply additional scaling.
| * create-image: Expand documentation (bug#33990)Benjamin Riefenstahl2019-01-251-1/+8
| | | | | | | | | | * lisp/image.el (create-image): Discuss default for :scale in the doc string.
| * Improve documentation of 'isearch-filter-predicate'Eli Zaretskii2019-01-211-9/+15
| | | | | | | | | | * lisp/isearch.el (isearch-filter-predicate) (isearch-filter-visible): Doc fixes. (Bug#34150)
| * Fix cursor column positioning on Grep hitsTrevor Spiteri2019-01-191-5/+5
| | | | | | | | | | | | | | | | * lisp/progmodes/grep.el (grep-match-face): Move before first use, to avoid byte-compilation warning. (grep-regexp-alist): Don't quote grep-match-face. (Bug#34068) Copyright-paperwork-exempt: yes
* | Fix problem in filenotify-testsMichael Albinus2019-01-302-2/+2
| | | | | | | | | | | | | | | | * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch): Adapt `accept-process-output' argument. * test/lisp/filenotify-tests.el (file-notify--deftest-remote): Remove :unstable tag.
* | * lisp/net/tramp-rclone.el (tramp-rclone-mounted-p): Fix thinko.Michael Albinus2019-01-301-13/+13
| |
* | ; Fix previous commitMichael Albinus2019-01-301-0/+1
| |
* | * test/lisp/net/tramp-tests.elMichael Albinus2019-01-301-3/+2
| | | | | | | | | | (tramp-test43-asynchronous-requests): Tag it :unstable also for emba. Adapt `accept-process-output' arguments.
* | * test/lisp/filenotify-tests.el (file-notify--deftest-remote):Michael Albinus2019-01-291-1/+1
| | | | | | | | Tag as :unstable.
* | Move some descriptions to the right sectionRobert Pluim2019-01-291-14/+10
| | | | | | | | | | * etc/NEWS: Move ibuffer and gnus change descriptions to mode-specific section.
* | Fix documentation of pdump file installationEli Zaretskii2019-01-291-1/+1
| | | | | | | | | | * doc/lispref/internals.texi (Building Emacs): Correct the directory where the pdump file is installed. (Bug#34244)
* | Adapt `accept-process-output' arguments in tramp-testsMichael Albinus2019-01-292-24/+18
| | | | | | | | | | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test29-start-file-process) (tramp-test30-make-process, tramp-test31-interrupt-process) (tramp-test32-shell-command) (tramp--test-shell-command-to-string-asynchronously) (tramp-test43-asynchronous-requests): Adapt `accept-process-output' arguments.
* | ; Tramp cleanupMichael Albinus2019-01-297-30/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle `non-essential'. * lisp/net/tramp-archive.el: Increase `max-specpdl-size' when loading tramp-gvfs. * lisp/net/tramp-rclone.el (tramp-rclone-mounted-p): Reorder for better traces. (tramp-rclone-maybe-open-connection): Handle `non-essential'. * lisp/net/tramp-sh.el (tramp-sh-handle-copy-directory) (tramp-find-inline-encoding): Simplify check. * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory) (tramp-smb-handle-insert-directory): Simplify check. * lisp/net/tramp-sudoedit.el (tramp-sudoedit-action-sudo): Simplify check. (tramp-sudoedit-maybe-open-connection): Handle `non-essential'. * lisp/net/tramp.el (tramp-handle-load, tramp-wait-for-regexp): Simplify check. (tramp-action-login, tramp-action-password, tramp-action-yesno) (tramp-action-yn, tramp-action-terminal): Return explicitly t. (tramp-process-one-action, tramp-process-actions): Adapt docstring.
* | Small fixesJuri Linkov2019-01-282-0/+3
| | | | | | | | | | | | | | | | * lisp/generic-x.el (etc-passwd-generic-mode): Add comment. (Bug#34225) * lisp/vc/diff-mode.el (diff-syntax-fontify-hunk): Set overlay property 'diff-mode to 'syntax. (Bug#33567) (diff-syntax-fontify-props): Reset buffer-file-name to nil.
* | * src/Makefile.in (clean): Delete versioned pdmp files.Glenn Morris2019-01-281-1/+2
| | | | | | | | Else build number increments without limit even in clean builds.