aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix compilation with GTK versions older than 3Eli Zaretskii2020-01-011-1/+1
| | | | | | | | | | | | | | | | | | * src/xfns.c (x_get_net_workarea): Change a recently moved #ifndef so that GTK builds which need this function will compile it. Reported by John <jpff@codemist.co.uk>.
| * | ; Auto-commit of loaddefs files.Glenn Morris2020-01-011-196/+461
| | |
* | | Lispref: Explain avoiding lambdas on hooks.Richard Stallman2020-02-061-2/+15
|/ / | | | | | | (lispref/modes.texi): Explain avoiding lambdas on hooks.
* | Assume C99-style ‘long long’Paul Eggert2019-12-313-32/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | Now that Gnulib assumes ‘long long’, it is a good time to clean out old cruft porting to pre-C99 compilers that lack it. * src/data.c (ULL_WIDTH, ULL_MAX): Remove. All uses replaced by ULLONG_WIDTH, ULLONG_MAX. (bits_word_to_host_endian): Assume ‘unsigned long long’. By the way, the old code had a performance typo: it used HAVE_UNSIGNED_LONG_LONG where it should have used HAVE_UNSIGNED_LONG_LONG_INT. * src/sysdep.c (ULLONG_MAX): Remove, as lib/limits.h does this now. (time_from_jiffies) [GNU_LINUX]: Assume ‘long long’.
* | Remove files no longer needed from GnulibPaul Eggert2019-12-314-149/+0
| | | | | | | | | | | | * m4/count-leading-zeros.m4, m4/count-one-bits.m4: * m4/count-trailing-zeros.m4, m4/longlong.m4: Remove.
* | * etc/NEWS: Update copyright year.Paul Eggert2020-01-011-1/+1
| |
* | Update from gnulibPaul Eggert2019-12-3185-258/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This incorporates: 2019-12-23 mktime, nstrftime: tweak division performance 2019-12-22 count-leading-zeros: assume 'long long' 2019-12-22 count-one-bits: assume 'long long' 2019-12-22 count-trailing-zeros: assume 'long long' 2019-12-12 inttypes-incomplete: assume 'long long' 2019-12-22 malloca: assume 'long long' 2019-12-22 stdint: assume 'long long' 2019-12-22 strtoll, strtoimax, strtoumax: assume 'long long' 2019-12-22 prefer lib_SOURCES to unconditional AC_LIBOBJ 2019-12-19 nstrftime: avoid a shadowing warning 2019-12-18 improve port of AC_C_RESTRICT to Oracle C++ 2019-12-12 stdalign: port to xlclang 16.01 2019-12-11 stddef, unistd: fix compilation error in C++ mode on MSVC 2019-12-08 fix compilation errors in C++ mode on Haiku 2019-12-08 fix compilation errors in 32-bit C++ mode on HP-UX 11/ia64 2019-12-08 fix compilation error in C++ mode on OpenBSD * build-aux/config.guess, doc/misc/texinfo.tex: * lib/count-leading-zeros.h, lib/count-one-bits.h: * lib/count-trailing-zeros.h, lib/inttypes.in.h, lib/malloca.h: * lib/mktime.c, lib/nstrftime.c, lib/signal.in.h, lib/stdalign.in.h: * lib/stddef.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/stdlib.in.h: * lib/strtoimax.c, lib/unistd.in.h, m4/gnulib-common.m4: * m4/inttypes.m4, m4/largefile.m4, m4/malloca.m4, m4/strtoimax.m4: * m4/strtoll.m4: Copy from Gnulib. Also, change copyright notices in some other Gnulib-copied files to exactly match Gnulib, as Gnulib updated them in a trivially different way. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* | Merge from origin/emacs-27Paul Eggert2020-01-012807-2875/+2919
|\ \ | |/ | | | | | | | | | | | | | | | | | | 186152ba40 Pacify gcc -Wunused-function on Ubuntu 18.04.3 4cd143aded Fix copyright years by hand 365e01cc9f Update copyright year to 2020 cd2c156163 ; * etc/NEWS: Make the description of XDG fallback more ac... # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex
| * Pacify gcc -Wunused-function on Ubuntu 18.04.3Paul Eggert2020-01-011-2/+2
| | | | | | | | | | | | | | This improves on 2019-12-25T20:01:07Z!eggert@cs.ucla.edu, by fixing a GCC warning on Ubuntu 18.04.3 “‘x_get_net_workarea’ defined but not used”. * src/xfns.c (x_get_net_workarea) [!USE_GTK]: Do not define.
| * Fix copyright years by handPaul Eggert2020-01-0131-43/+43
| | | | | | | | These are dates that admin/update-copyright did not update.
| * Update copyright year to 2020Paul Eggert2020-01-012794-2829/+2873
| | | | | | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
| * ; * etc/NEWS: Make the description of XDG fallback more accurate.Eli Zaretskii2019-12-311-1/+1
| |
* | ; Merge from origin/emacs-27Glenn Morris2019-12-310-0/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | The following commits were skipped: 195bde9ea8 (origin/emacs-27) Don't always resort in recently introduc... f2a349ba8d Don't force completion recalculation in icomplete-fido-ret 9b1053ba27 Correctly cache sorted completions in icomplete--sorted-co... b1c3ed9f32 Move flex style's minibuffer-default-aware sorting to lisp... e3276f36c0 Make fido-mode behave more like ido-mode when finding dire... fe0ed17175 Slightly simplify lisp/icomplete.el with new icomplete--ca... 5352947d0d Another adjustment to flex completion style's sorting func...
| * Don't always resort in recently introduced icomplete--sorted-completionsJoão Távora2019-12-311-30/+31
| | | | | | | | | | | | | | | | | | | | Doing so breaks icomplete-forward-completions and icomplete-backward-completions. * lisp/icomplete.el (icomplete--sorted-completions): Don't always resort. (cherry picked from commit 639fb50ed4c622f99dfbde32fbdbca42ce36d385)
| * Don't force completion recalculation in icomplete-fido-retJoão Távora2019-12-311-4/+2
| | | | | | | | | | | | | | | | | | | | | | Besides the adverse effect of delaying completions, it tripped up the useful logic of icomplete-force-complete-and-exit in the case where a default was available, but no completions calculated yet. * lisp/icomplete.el (icomplete-fido-ret): Don't force calculation of completions. (cherry picked from commit 13778aa5be7bf028893672d84c2a291f491d8216)
| * Correctly cache sorted completions in icomplete--sorted-completionsJoão Távora2019-12-311-29/+30
| | | | | | | | | | | | | | * lisp/icomplete.el (icomplete--sorted-completions): Use completion--cache-all-sorted-completions. (cherry picked from commit 83587bb68830bd91124f99ddf8590d1d5f63869f)
| * Move flex style's minibuffer-default-aware sorting to lisp/icomplete.elJoão Távora2019-12-312-36/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the logic from the series of commits starting in the commit named: Improve sorting of flex completion style with non-nil minibuffer-default to lisp/icomplete.el, so far the only confirmed beneficiary of that functionality. * lisp/icomplete.el (icomplete--sorted-completions): Consider minibuffer-default here. * lisp/minibuffer.el (completion--flex-adjust-metadata): Simplify. (cherry picked from commit 0d2a711dc9a65dc8eb6e995369e70cddbcd7d9a4)
| * Make fido-mode behave more like ido-mode when finding directoriesJoão Távora2019-12-311-2/+19
| | | | | | | | | | | | | | | | | | | | | | Notably C-x d (M-x dired) and C-x v d (M-x vc-dir) behaved quite differently, having regular files as the default instead of ido's usual "./". * lisp/icomplete.el (icomplete--sorted-completions): New helper. (icomplete-completions): Use it. (cherry picked from commit ee914051fbb4fbff9073a23b5ea7668bf48b5c6a)
| * Slightly simplify lisp/icomplete.el with new icomplete--category helperJoão Távora2019-12-311-24/+15
| | | | | | | | | | | | | | | | | | | | * lisp/icomplete.el (icomplete-fido-kill) (icomplete-fido-delete-char, icomplete-fido-ret) (icomplete-fido-backward-updir, icomplete-exhibit): Use icomplete--category. (icomplete--category): New helper. (cherry picked from commit 24a1f520f91c278cb8cc57325ea80285a3b252cf)
| * Another adjustment to flex completion style's sorting functionJoão Távora2019-12-311-9/+14
| | | | | | | | | | | | | | * lisp/minibuffer.el (completion--flex-adjust-metadata): Adjust case when minibuffer-default is non-nil. (cherry picked from commit 9c912049927cfb18b9c8b37039b38ddf51f2fe81)
* | Merge from origin/emacs-27Glenn Morris2019-12-313-7/+9
|\ \ | |/ | | | | | | | | 9b6872b4e4 ; * test/lisp/calc/calc-tests.el: Fix warnings 957cdca6f0 Make minibuffer-tests work in out-of-tree builds (bug#38816) 2065316749 Make comint-tests more robust (bug#38813)
| * ; * test/lisp/calc/calc-tests.el: Fix warningsMattias Engdegård2019-12-301-0/+1
| |
| * Make minibuffer-tests work in out-of-tree builds (bug#38816)Mattias Engdegård2019-12-301-1/+2
| | | | | | | | | | * test/lisp/minibuffer-tests.el (completion-table-test-quoting): Set default-directory.
| * Make comint-tests more robust (bug#38813)Mattias Engdegård2019-12-301-6/+6
| | | | | | | | | | | | | | | | | | | | | | * test/lisp/comint-tests.el (comint-test-no-password-function) (comint-test-password-function-with-value) (comint-test-password-function-with-nil): Call accept-process-output as many times as needed, with a slightly more generous timeout (100 ms), after sending the Password: prompt to the process, since there must be time for some back-and-forth communication. Also clear the process-query-on-exit flag, since it doesn't go well with noninteractive tests.
* | * admin/gitmerge.el (gitmerge-skip-regexp): Be more restrictive.Glenn Morris2019-12-301-1/+1
| |
* | Sync with Tramp 2.4.3Michael Albinus2019-12-304-20/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.3". * lisp/net/tramp.el: Bump version. (tramp-handle-shell-command): The temp file for error-buffer is remote. * test/lisp/net/tramp-tests.el (tramp-test30-make-process): Simplify buffer generation. (tramp-test32-shell-command): Extend test. (cherry picked from commit d6922db49dea33ac2bca8b33d24763cc7b2e4cd7)
* | Merge from origin/emacs-27Glenn Morris2019-12-3010-29/+87
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59f71d20ea (origin/emacs-27) Fix tar-mode reading the oldgnu Tar format e3ec84fd7d Ensure mini-window is resized to show active minibuffer co... 450633f85a Fix mini-window resizing under resize-mini-windows = t 219d47893a (emacs-27) Fixes for makeinfo 4.13 4bbfd2b42f ; fix previous NEWS entry 81b697d106 Fix crash under -nw on macOS properly this time 9ce4207969 Revert "Check for GUI frame in ns_color_index_to_rgba" 732dcfc850 Ignore all color fonts when using XFT aa0c679f48 Avoid unbounded growth of cl-random-state components (bug#... # Conflicts: # etc/NEWS # src/nsterm.m
| * Fix tar-mode reading the oldgnu Tar formatEli Zaretskii2019-12-301-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes sure an entry for a long file name will not accidentally appear as a directory, and thus its size will be disregarded, causing corrupted file headers for all the subsequent entries. The original problem happened because the long file name truncated to 99 bytes happened to end in a slash, which tar-mode takes to be the indication of a directory. * lisp/tar-mode.el (tar-header-block-tokenize): Accept an additional argument DISABLE-SLASH; if non-nil, don't set the link-type field of the descriptor to 5 (meaning a directory) just because the name ends in a slash. Use this argument when calling itself recursively, to read the entry of the file with a long name. Set the link-type to 5 if the long name ends in a slash. (Bug#38777)
| * Ensure mini-window is resized to show active minibuffer contentsEli Zaretskii2019-12-301-0/+15
| | | | | | | | | | | | * src/keyboard.c (read_char, command_loop_1): Resize the mini-window after clearing the echo area while minibuffer is active. (Bug#38645)
| * Fix mini-window resizing under resize-mini-windows = tEli Zaretskii2019-12-301-1/+6
| | | | | | | | | | | | * src/window.c (grow_mini_window): Fix resizing of mini-window when the echo area is cleared, and the caller asks for the mini-window to have zero lines. (Bug#38791)
| * Fixes for makeinfo 4.13Glenn Morris2019-12-292-4/+3
| | | | | | | | | | | | * doc/lispref/customize.texi (Variable Definitions): Fix xref. * doc/lispref/internals.texi (Writing Emacs Primitives) (Module Values): Follow xref with comma.
| * ; fix previous NEWS entryRobert Pluim2019-12-291-2/+2
| |
| * Fix crash under -nw on macOS properly this timeRobert Pluim2019-12-291-1/+3
| | | | | | | | | | | | * src/dispextern.h (FACE_COLOR_TO_PIXEL): Only use ns_color_index_to_rgba when we're running under the NS gui (Bug#38564).
| * Revert "Check for GUI frame in ns_color_index_to_rgba"Robert Pluim2019-12-291-12/+7
| | | | | | | | This reverts commit ea84a95bd8d43612b4a424fb93de25a68ac31d05.
| * Ignore all color fonts when using XFTRobert Pluim2019-12-292-1/+24
| | | | | | | | | | | | | | | | * etc/NEWS: Announce change to matching color fonts when using XFT. * src/ftfont.c (ftfont_list) [HAVE_XFT && FC_COLOR]: Query for the color attribute of the matched font, and skip it if it is not FcFalse (Bug#37786).
| * Avoid unbounded growth of cl-random-state components (bug#38753)Mattias Engdegård2019-12-291-1/+1
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-extra.el (cl-random): Perform the modulo 2**23 operation before updating the state instead of after. The result is always the same, but it prevents the state from growing into arbitrary large bignums. Patch from Christopher Wellons.
* | ; Merge from origin/emacs-27Glenn Morris2019-12-300-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: d6922db49d Sync with Tramp 2.4.3
| * Sync with Tramp 2.4.3Michael Albinus2019-12-294-20/+29
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.3". * lisp/net/tramp.el: Bump version. (tramp-handle-shell-command): The temp file for error-buffer is remote. * test/lisp/net/tramp-tests.el (tramp-test30-make-process): Simplify buffer generation. (tramp-test32-shell-command): Extend test.
* | Merge from origin/emacs-27Glenn Morris2019-12-3021-361/+626
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70fe552c61 ; xref-references-in-directory: Autoload as well 181f571651 Fix up requires 43f66c3368 Extract xref-matches-in-files from project--find-regexp-in... 65af18d86e Rename xref-collect-references and xref-collect-matches 98788bf976 ; Improve the docstring some more c190e91a1e Improve docstrings 012c12a05e Fix when expose draws partially visible first glyph (bug#3... d915b8c3f1 Don't require semantic/fw 50a0126402 Do some renames for clarity 74261ff301 Rearrange NEWS, add missing documentation 6c9571379e Fix interactive spec in netrc-parse 32222fb34c Fix documentation of define-obsolete-* functions # Conflicts: # etc/NEWS
| * ; xref-references-in-directory: Autoload as wellDmitry Gutov2019-12-291-0/+1
| |
| * Fix up requiresDmitry Gutov2019-12-291-1/+3
| | | | | | | | | | | | | | | | * lisp/progmodes/project.el (project-files): Remove (require 'xref). (project--files-in-directory): Add it here instead. (project-find-regexp, project-or-external-find-regexp): And here. For 'xref--show-xrefs'.
| * Extract xref-matches-in-files from project--find-regexp-in-filesDmitry Gutov2019-12-293-49/+52
| | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-matches-in-files): Extract from project--find-regexp-in-files. * lisp/dired-aux.el (dired-do-find-regexp): Also use it here.
| * Rename xref-collect-references and xref-collect-matchesDmitry Gutov2019-12-292-16/+27
| | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-references-in-directory): Rename from xref-collect-references. Update the sole caller. (xref-matches-in-directory): Rename from xref-collect-matches. Update all callers (all of them are in the /tests/ dir). * test/lisp/progmodes/xref-tests.el (xref-tests-data-dir): Don't use the EMACS_TEST_DIRECTORY env var. It doesn't work when running interactively.
| * ; Improve the docstring some moreDmitry Gutov2019-12-291-2/+3
| |
| * Improve docstringsDmitry Gutov2019-12-291-2/+5
| | | | | | | | | | * lisp/progmodes/xref.el (xref-collect-matches) (xref-collect-references): Improve docstrings.
| * Fix when expose draws partially visible first glyph (bug#38731)Alan Third2019-12-291-1/+1
| | | | | | | | | | * src/xdisp.c (expose_area): When the face extends to the end of the line draw text from the correct x coordinate.
| * Don't require semantic/fwDmitry Gutov2019-12-281-1/+0
| | | | | | | | | | | | * lisp/progmodes/xref.el (xref-collect-matches): Don't require semantic/fw, we haven't been using semantic-find-file-noselect here for a while.
| * Do some renames for clarityDmitry Gutov2019-12-281-7/+9
| | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref--last-file-buffer): Rename from xref--last-visiting-buffer. Update users. (xref--find-file-buffer): Rename from xref--find-buffer-visiting to match the standard function that gets called inside. Ditto.
| * Rearrange NEWS, add missing documentationEli Zaretskii2019-12-2813-273/+516
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/NEWS: Rearrange and mark entries whether documented or not. * doc/lispref/streams.texi (Output Variables): Document the new default of 'print-quoted'. * doc/lispref/keymaps.texi (Functions for Key Lookup): Document that KEYMAP arg to 'lookup-key' can also be a list. * doc/lispref/customize.texi (Variable Definitions): Document the :local keyword of 'defcustom'. * doc/lispref/numbers.texi (Float Basics): Document changes in 'logb'. * doc/lispref/hooks.texi (Standard Hooks): Document 'comint-password-function'. * doc/emacs/display.texi (Text Scale): Document text-size adjustment using the mouse wheel. * doc/emacs/frames.texi (Mouse Commands): Document image scaling with the mouse wheel. * doc/emacs/windows.texi (Window Convenience): Document 'global-tab-line-mode'. * doc/emacs/search.texi (Repeat Isearch, Symbol Search) (Isearch Yank): Document the new support for numeric arguments in Isearch commands. (Special Isearch): Document 'M-s M->' and 'M-s M-<'. (Search Customizations): Document 'isearch-lazy-count'. Improve indexing. (Not Exiting Isearch): Document the new value of 'isearch-allow-scroll'. * doc/emacs/maintaining.texi (Xref Commands): Document the new 'g' key binding. * doc/emacs/package.texi (Package Installation): Document changes in 'package-check-signature'. * doc/emacs/maintaining.texi (VC Change Log): Document 'vc-log-search'. * doc/emacs/dired.texi (Operating on Files): Document 'dired-vc-rename'.
| * Fix interactive spec in netrc-parseXu Chunyang2019-12-281-1/+1
| | | | | | | | | | * lisp/net/netrc.el (netrc-parse): Fix placement of interactive spec (bug#38773).