summaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* ; * etc/NEWS: Fix position of +++ markerBasil L. Contovounesios2019-05-011-1/+1
|
* Don't poll auto-revert files that use notification (bug#35418)Mattias Engdegård2019-04-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is a waste to periodically poll files that use change notification in auto-revert mode; stop doing that. If no files need polling, turn off the periodic execution entirely to further avoid wasting power. Use a timer to inhibit immediate reversion for some time after a notification, for throttling. This change does not apply to files in global-auto-revert-mode, where polling is still necessary. It is disabled by default, and enabled by setting `auto-revert-avoid-polling' to non-nil. * lisp/autorevert.el (toplevel): Require cl-lib. (auto-revert-avoid-polling, auto-revert--polled-buffers) (auto-revert--need-polling-p, auto-revert--lockout-interval) (auto-revert--lockout-timer, auto-revert--end-lockout): New. (global-auto-revert-mode): Keep notifiers for buffers in auto-revert mode. (auto-revert-set-timer): Use auto-revert--need-polling-p. (auto-revert-notify-handler): Restart polling if notification stopped. Use new lockout timer. (auto-revert-buffers): Use auto-revert--polled-buffers and auto-revert--need-polling-p. (auto-revert-buffers-counter, auto-revert-buffers-counter-lockedout): Remove. * etc/NEWS (Changes in Specialized Modes and Packages): Describe the new auto-revert-avoid-polling variable. * doc/emacs/files.texi (Reverting): Add paragraph describing auto-revert-avoid-polling.
* Export major version of latest Emacs supported by emacs-module.h.Philipp Stephani2019-04-281-0/+3
| | | | | | | | | | | | | | | This is useful if module authors want to support multiple versions of emacs-module.h. * configure.ac (emacs_major_version): Define substitution. * src/emacs-module.h.in (EMACS_MAJOR_VERSION): Define macro. * doc/lispref/internals.texi (Module Initialization): Document EMACS_MAJOR_VERSION preprocessor macro. * test/data/emacs-module/mod-test.c (emacs_module_init): Verify behavior of EMACS_MAJOR_VERSION.
* Update multicolor font support statusYAMAMOTO Mitsuharu2019-04-271-0/+6
| | | | | * etc/NEWS: Mention multicolor font support on Cairo and NS. * src/macfont.m (macfont_list): Re-enable color bitmap fonts.
* Fix Bug#33618; define search path variables for grep, byte-compileStephen Leake2019-04-251-2/+11
| | | | | | | | * etc/NEWS: Mention new variables. * lisp/emacs-lisp/bytecomp.el (emacs-lisp-compilation-search-path): New. * lisp/progmodes/grep.el (grep-search-path): New.
* Use lexical-binding by default for M-:, --eval, and *scratch*Stefan Monnier2019-04-251-0/+4
| | | | | | | | | | | | * lisp/startup.el (command-line): Default to lexical-binding in *scratch*. (normal-no-mouse-startup-screen, command-line-1): Use startup--get-buffer-create-scratch. (command-line-1): * lisp/simple.el (eval-expression): * lisp/server.el (server-eval-and-print): Use lexical-binding to evaluate the expression. (server-execute): Use startup--get-buffer-create-scratch. * lisp/ielm.el (inferior-emacs-lisp-mode): Default to lexical-binding.
* Add module functions to convert from and to big integers.Philipp Stephani2019-04-241-0/+4
| | | | | | | | | | | | | | | | | | | * src/module-env-27.h: Add new module functions to convert big integers. * src/emacs-module.h.in (emacs_mpz): Define if GMP is available. * src/emacs-module.c (module_extract_big_integer) (module_make_big_integer): New functions. (initialize_environment): Use them. * test/data/emacs-module/mod-test.c (Fmod_test_double): New test function. (emacs_module_init): Define it. * test/src/emacs-module-tests.el (mod-test-double): New unit test. * doc/lispref/internals.texi (Module Values): Document new functions.
* Add conversions to and from struct timespec to module interface.Philipp Stephani2019-04-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Time values are a fundamental data type, and such conversions are hard to implement within modules because of the various forms of time values in Emacs Lisp. Adding dedicated conversion functions can significantly simplify module code dealing with times. This approach uses nanosecond precision. While Emacs in theory has support for higher-precision time values, in practice most languages and standards, such as POSIX, C, Java, and Go, have settled on nanosecond-precision integers to represent time. * src/emacs-module.h.in: Add header for struct timespec. * src/module-env-27.h: Add module functions for time conversion. * src/emacs-module.c (module_extract_time, module_make_time): New functions. (initialize_environment): Use them. * test/data/emacs-module/mod-test.c (Fmod_test_add_nanosecond): New test function. (emacs_module_init): Define it. * test/src/emacs-module-tests.el (mod-test-add-nanosecond/valid) (mod-test-add-nanosecond/nil, mod-test-add-nanosecond/invalid): New unit tests. * doc/lispref/internals.texi (Module Values): Document time conversion functions.
* * etc/package-keyring.gpg: Add the 2019 keyStefan Monnier2019-04-231-0/+0
|
* Improve UBSan discussion in etc/DEBUGPaul Eggert2019-04-221-13/+27
| | | | | * etc/DEBUG: Improve -gdwarf-N documentation. Go into more detail about UndefinedBehaviorSanitizer.
* ; * etc/NEWS: Improve wording of a recent addition.Eli Zaretskii2019-04-221-2/+3
|
* Mention AddressSanitizer etc. in etc/DEBUGPaul Eggert2019-04-212-47/+82
| | | | | * etc/DEBUG: Modernize for AddressSanitizer etc. * etc/NEWS: Defer to etc/DEBUG for this.
* Remove --enable-checking=xmallocoverrunPaul Eggert2019-04-211-3/+4
| | | | | | | | | | | | | | It doesn’t work anymore, and these days ‘gcc -fsanitize=address’ does a better job anyway. * configure.ac: Remove the option. * configure.ac (ac_xmalloc_overrun, XMALLOC_OVERRUN_CHECK): * src/alloc.c (XMALLOC_OVERRUN_CHECK_OVERHEAD) (XMALLOC_OVERRUN_CHECK_SIZE, XMALLOC_OVERRUN_SIZE_SIZE) (xmalloc_overrun_check_header, xmalloc_overrun_check_trailer) (xmalloc_put_size, xmalloc_get_size, overrun_check_malloc) (overrun_check_realloc, overrun_check_free): Remove. All uses removed. * etc/NEWS: Mention this.
* Remove --enablechecking=conslist configure optionPaul Eggert2019-04-211-0/+5
| | | | | | | | | * configure.ac: Remove the option. * configure.ac (ac_gc_check_cons_list, GC_CHECK_CONS_LIST): * src/alloc.c (check_cons_list) [GC_CHECK_CONS_LIST]: * src/lisp.h (lisp_h_check_cons_list, check_cons_list): Remove. All uses removed. * etc/NEWS: Mention this.
* Merge from origin/emacs-26Glenn Morris2019-04-211-9/+27
|\ | | | | | | | | | | | | | | | | cd2204f Add a package: line to c-submit-bug-report. a992dca ; Remove empty NEWS sections ea67270 ; Add NEWS sections for 26.3 Conflicts: etc/NEWS
| * ; Remove empty NEWS sectionsGlenn Morris2019-04-201-9/+0
| |
| * ; Add NEWS sections for 26.3Glenn Morris2019-04-201-0/+27
| |
* | Remove :stop key from make-process.Philipp Stephani2019-04-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | This has never worked and caused issues such as Bug#30460. * src/process.c (Fmake_process): Don't accept :stop key any more. (syms_of_process): Define needed symbol 'null'. * test/src/process-tests.el (make-process/stop): New unit test. * doc/lispref/processes.texi (Asynchronous Processes): Remove :stop key from manual.
* | Add a new user option 'ido-big-directories'.Philipp Stephani2019-04-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | This provides an alternative to 'ido-max-directory-size', for directories that are statically known to be too big for Ido completion. * lisp/ido.el (ido-big-directories): New user option. (ido-directory-too-big-p): Use it. * test/lisp/ido-tests.el (ido-directory-too-big-p): New unit test.
* | * etc/NEWS: Mention new xref faces (bug#23179)Juri Linkov2019-04-171-1/+4
| |
* | Bump minimum GTK versions to 2.24 and 3.10Alexander Gramiak2019-04-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Bump required GTK 2 and GTK 3 versions and the associated GLib versions. Remove obsolete AC_CHECK_FUNCS calls. These check for functions available in later GTK 2 versions. These checks and can safely be removed with the exception of gtk_window_set_has_resize_grip, which according to a comment in gtkutil.c causes an issue in Ubuntu's GTK 2. * src/gtkutil.c: * src/xfns.c: * src/xterm.c: * src/xterm.h: Remove now unused conditional blocks. Use HAVE_GTK3 instead of GTK_CHECK_VERSION where now applicable. Remove checks of now always true USE_GTK_TOOLTIP.
* | Merge commit '890440a44cd5f4f09742f521c7783785d114fffc'Stephen Leake2019-04-144-13/+29
|\ \
| * | Improve documentation of a recent commitEli Zaretskii2019-04-141-2/+3
| | | | | | | | | | | | | | | | | | | | | * etc/NEWS: Fix the description of 'shell-command-width'. Mark the entry as not needing the manual update. * lisp/simple.el (shell-command-width): Doc fix. (Bug#35055)
| * | * lisp/simple.el (shell-command-width): New defcustom.Juri Linkov2019-04-141-0/+5
| | | | | | | | | | | | (shell-command): Use it. (Bug#35055)
| * | * lisp/help-fns.el (help-fns-describe-variable-functions): New hookStefan Monnier2019-04-122-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete) (help-fns--interactive-only): Indent output by 2 spaces. (help-fns--side-effects): New function extracted from describe-function-1. (help-fns-describe-function-functions): Use it. (help-fns--first-release, help-fns--mention-first-release): New functions. (help-fns-function-description-header): Keymaps and macros can't be interactive. (help-fns--ensure-empty-line): New function. (describe-function-1): Use it. (help-fns--var-safe-local, help-fns--var-risky) (help-fns--var-ignored-local, help-fns--var-file-local) (help-fns--var-watchpoints, help-fns--var-obsolete) (help-fns--var-alias, help-fns--var-bufferlocal): New functions, extacted from describe-variable. (describe-variable): Run help-fns-describe-variable-functions instead.
| * | Merge from origin/emacs-26Glenn Morris2019-04-122-11/+15
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | 818a68b * etc/HISTORY: Update for Emacs 26.2 release. e04aa5a ; ChangeLog.3 update 8297e97 * etc/AUTHORS: Update. 8582936 Improve documentation of 'read-command' dc81c05 ; * CONTRIBUTE: Mention where to ask for the copyright assign... b77723a Fix an outdated URL in a comment
| | * * etc/HISTORY: Update for Emacs 26.2 release.Nicolas Petton2019-04-111-0/+2
| | |
| | * * etc/AUTHORS: Update.Nicolas Petton2019-04-111-11/+13
| | |
* | | Rename new user variable `next-error-verbosity' to `next-error-verbose'Stephen Leake2019-04-141-1/+1
|/ / | | | | | | | | | | | | * etc/NEWS: Update entry to match renaming. * lisp/simple.el (next-error-verbose): Rename. (next-error, next-error-internal): Match rename.
* | Merge commit 'de238b39e335c6814283faa171b35145f124edf2'Stephen Leake2019-04-111-0/+94
|\ \
| * | Bring back dmpstruct.hPaul Eggert2019-04-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring back the dmpstruct.h checking, and use it when --enable-checking=structs is specified. The checking can be helpful to some developers, although it gets in the way of others and is not needed for ordinary tarball builds. * src/dmpstruct.awk: Restore this file, with mode 644 not 755. * configure.ac: New option-arg --enable-checking=structs, implied by --enable-checking. (CHECK_STRUCTS): New macro and var. * src/Makefile.in (CHECK_STRUCTS): New macro. (dmpstruct_headers, dmpstruct.h, dmpstruct.h): Restore these macros and rules. (pdumper.o): Restore this dependency if $(CHECK_STRUCTS) is true. (mostlyclean): Remove dmpstruct.h. * src/pdumper.c [CHECK_STRUCTS]: Include dmpstruct.h, and restore checks against hashes.
| * | * etc/NEWS: Document js-jsx-align->-with-<Jackson Ray Hamilton2019-04-091-2/+14
| | |
| * | * etc/NEWS: Document way to revert to old JSX indentation behaviorJackson Ray Hamilton2019-04-091-6/+13
| | |
| * | ; * etc/NEWS: Fix recently added entries.Eli Zaretskii2019-04-091-1/+13
| | |
| * | * etc/NEWS: Document new and improved JSX support in js-modeJackson Ray Hamilton2019-04-091-0/+45
| | |
| * | Introduce new defcustom for terminal CUA rectangle commandsAlexander Gramiak2019-04-061-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows a user to set a non-meta modifier for their terminal should his/her terminal support it. See bug#35058 for background on this change. * lisp/emulation/cua-base.el (cua-rectangle-terminal-modifier-key): New defcustom. * lisp/emulation/cua-base.el (cua--shift-control-x-prefix): Use new defcustom.
| * | Define and use new procedure display-symbol-keys-pAlexander Gramiak2019-04-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/frame.el (display-symbol-keys-p): Define. * lisp/simple.el (normal-erase-is-backspace-setup-frame): Use eq instead of memq. (normal-erase-is-backspace-mode): Use display-symbol-keys-p.
* | | Make `next-error' output fewer messages about locusStephen Leake2019-04-111-0/+4
|/ / | | | | | | | | | | * lisp/simple.el (next-error-verbosity): New user variable. (next-error, next-error-internal): Use it to control only outputting locus message if locus changed.
* | * lisp/progmodes/compile.el: Allow 'line' functions in error-regexp-alistStefan Monnier2019-04-031-0/+7
| | | | | | | | | | | | | | | | | | (compilation-error-properties): Allow 'line' and 'end-line' to be functions, like 'col' and 'end-col'. (compilation-error-regexp-alist): Document this. (compilation-parse-errors): Drop support for old undocumented feature where 'line' was a function of 2 arguments. (compilation--compat-error-properties): Delete function.
* | Allow partial decompression (Bug#33133)Noam Postavsky2019-04-021-0/+6
| | | | | | | | | | | | | | | | * src/decompress.c (Fzlib_decompress_region): Add optional ALLOW-PARTIAL parameter. * lisp/url/url-http.el (url-handle-content-transfer-encoding): Use it. * doc/lispref/text.texi (Decompression): Document it. * etc/NEWS: Announce it.
* | Fix documentation of last changeEli Zaretskii2019-04-021-0/+1
| | | | | | | | | | | | * doc/misc/cl.texi (Structures): Document :noinline. * etc/NEWS: Mark the entry for :noinline as documented.
* | * lisp/emacs-lisp/cl-macs.el: Don't always inline struct functionsStefan Monnier2019-04-021-0/+3
| | | | | | | | | | (cl--struct-inline): New var. (cl-defstruct): Obey it along with a new :noinline keyword argument.
* | Do not set indent-line-function in text-modeBasil L. Contovounesios2019-03-311-0/+5
| | | | | | | | | | | | | | * lisp/textmodes/text-mode.el (text-mode): Do not reset indent-line-function to its global default value of indent-relative. * doc/lispref/modes.texi (Example Major Modes): * etc/NEWS: Document change accordingly.
* | Do not set indent-line-function in text-modeBasil L. Contovounesios2019-03-311-0/+9
| | | | | | | | | | | | | | | | | | For discussion, see thread starting at: https://lists.gnu.org/archive/html/emacs-devel/2019-03/msg01012.html * lisp/textmodes/text-mode.el (text-mode): Do not reset indent-line-function to its global default value of indent-relative. * doc/lispref/modes.texi (Example Major Modes): * etc/NEWS: Document change accordingly.
* | Support native image resizing on cairoYAMAMOTO Mitsuharu2019-03-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | * src/xterm.c (x_cr_draw_image): Add arguments image_width and image_height and support scaling. All callers changed. * src/image.c (Fimage_scaling_p): Return t when USE_CAIRO. (x_set_image_size) [USE_CAIRO]: Record the scaled dimensions in the image struct. * src/dispextern.h (HAVE_NATIVE_SCALING): Define when USE_CAIRO as well. * etc/NEWS: Update the announcement of native image scaling.
* | ; * etc/NEWS: Fix Tabulated List mode nesting.Basil L. Contovounesios2019-03-261-1/+1
| |
* | * lisp/vc/vc.el (vc-diff-mergebase, vc-log-mergebase): New commands.Juri Linkov2019-03-251-0/+4
| | | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-mergebase): New function. (vc-git-print-log): Interpret string value of arg LIMIT as an end-revision. * lisp/vc/vc-hooks.el (vc-prefix-map): Bind 'vc-log-mergebase' to 'C-x v M L', and 'vc-diff-mergebase' to 'C-x v M D'. (Bug#33950)
* | Support ./configure --with-gif=ifavailable etc.Paul Eggert2019-03-251-0/+6
| | | | | | | | | | | | | | Suggested by Stefan Monnier in: https://lists.gnu.org/r/emacs-devel/2019-03/msg00789.html * INSTALL, etc/NEWS: Document this. * configure.ac: Implement this.
* | i18n: Add function ngettext for pluralization.Juri Linkov2019-03-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/international/mule-cmds.el (ngettext): New function. https://lists.gnu.org/archive/html/emacs-devel/2019-03/msg00586.html * lisp/replace.el (flush-lines, how-many, occur-1, occur-engine) (perform-replace): Use ngettext. * lisp/progmodes/grep.el (grep-exit-message): Use ngettext. (grep-mode-font-lock-keywords): Match both singular and plural form of "matches".
* | * lisp/progmodes/xref.el (xref--show-xrefs): Push mark. (Bug#34908)Juri Linkov2019-03-241-0/+4
| |