aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Revert "Fix eshell-mode-map initialization"Noam Postavsky2020-05-2410-165/+100
| | | | | | | | | | | | | | | | | | | | | It makes eshell-return-exits-minibuffer permanently affect the eshell-mode-map (Bug#41370). Do not merge to master, we will fix it properly there.
* | | Merge from origin/emacs-27Glenn Morris2020-05-2810-4430/+4433
|\ \ \ | |/ / | | | | | | | | | | | | | | | e7a3ed8a6d Fix tab-bar-tab-name-ellipsis initialization 4737d0af75 Fix Elisp manual entry for format-spec 0195809bb6 Fix rare assertion violations in 'etags' cddb0079ff ; * lisp/format-spec.el (format-spec): Fix typo.
| * | Fix tab-bar-tab-name-ellipsis initializationMatthias Meulien2020-05-251-4/+7
| | | | | | | | | | | | | | | * lisp/tab-bar.el (tab-bar-tab-name-truncated): Evaluate displayable character when generating tab name.
| * | Fix Elisp manual entry for format-specBasil L. Contovounesios2020-05-241-7/+4
| | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (Interpolated Strings): Fix typos. Don't document modifier for default space padding as it's redundant and inconsistent with the docstring and implementation of format-spec.
| * | Fix rare assertion violations in 'etags'Eli Zaretskii2020-05-247-4418/+4421
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib-src/etags.c (pfnote): Instead of raising an assertion when we get an empty tag name, return immediately. (Bug#41465) * test/manual/etags/ETAGS.good_1: * test/manual/etags/ETAGS.good_2: * test/manual/etags/ETAGS.good_3: * test/manual/etags/ETAGS.good_4: * test/manual/etags/ETAGS.good_5: * test/manual/etags/ETAGS.good_6: Adapt to latest changes in etags.
| * | ; * lisp/format-spec.el (format-spec): Fix typo.Basil L. Contovounesios2020-05-241-1/+1
| | |
* | | Adjust NEWS for revert of eshell fix on emacs-27 (Bug#41370)Noam Postavsky2020-05-272-6/+6
| | | | | | | | | | | | | | | | | | * etc/NEWS.27: Move "Eshell no longer re-initializes its keymap every call" to... * etc/NEWS: ... here.
* | | Fix customizing of ido-mode (Bug#41557)Noam Postavsky2020-05-271-1/+1
| | | | | | | | | | | | | | | lisp/ido.el (ido-mode): When setting the user option to nil, pass 0 to the function, so that it will be disabled as intended.
* | | Fix crash with invalid bytecode vectorsPaul Eggert2020-05-271-0/+4
| | | | | | | | | | | | | | | | | | * src/lread.c (read_vector): If the vector is to short to be for bytecodes don’t do bytecode processing for it, as the processing might run past the end of the vector.
* | | --with-wide-int is a no-op on 64-bit hostsPaul Eggert2020-05-272-2/+6
| | | | | | | | | | | | | | | | | | * configure.ac: Clarify wording for --with-wide-int help. * src/pdumper.c (dump_vectorlike_generic): Do the eassert even if --with-wide-int was specified unnecessarily.
* | | Omit unnecessary USE_LAB_TAG #ifPaul Eggert2020-05-271-6/+0
| | | | | | | | | | | | * src/lisp.h: Omit unnecessary #if; the condition is always false now.
* | | Don't clobber match data in utf-8-hfs conversion (bug#41445)Mattias Engdegård2020-05-272-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by Ture Pålsson. * lisp/international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion) (ucs-normalize-hfs-nfd-pre-write-conversion): Use save-match-data to avoid match data clobber in normalisation. * test/lisp/international/ucs-normalize-tests.el (ucs-normalize-save-match-data): New test.
* | | Tweak GC performance if !USE_LSB_TAGPaul Eggert2020-05-261-2/+19
| | | | | | | | | | | | | | | | | | Performance issue reported by Eli Zaretskii (Bug#41321#149). * src/alloc.c (GC_OBJECT_ALIGNMENT_MINIMUM): New constant. (maybe_lisp_pointer): Use it instead of GCALIGNMENT.
* | | Introduce some Objective-C 2.0 keywords. This fixes bug #5953Alan Mackenzie2020-05-261-4/+7
| |/ |/| | | | | | | | | | | | | * lisp/progmodes/cc-langs.el (c-other-decl-kwds): New keywords @property, @dynamic, @synthesize, @compatibility_alias. (c-protection-kwds): New keywords @package, @required, @optional. (c-block-stmt-1-kwds): New keyword @autoreleasepool. (c-constant-kwds): New keywords IBAction, IBOutlet.
* | Port struct Lisp_FLoat to oddball platformsPaul Eggert2020-05-261-1/+3
| | | | | | | | | | | | | | | | | | | | * src/lisp.h (struct Lisp_Float): Declare via GCALIGNED_UNION_MEMBER, not via GCALIGNED_STRUCT, since alloc.c creates these in arrays and GCALIGNED_STRUCT does not necessarily suffice to align struct Lisp_Float when it’s used in an array. This avoids undefined behavior on oddball machines where sizeof (struct Lisp_Float) is not a multiple of 8 and the compiler does not support __attribute__ ((aligned 8)).
* | Move union emacs_align_type to alloc.cPaul Eggert2020-05-252-41/+41
| | | | | | | | | | | | * src/alloc.c (union emacs_align_type): Move to here ... * src/lisp.h: ... from here, and uncomment out some of the types that alloc.c can see but lisp.h cannot.
* | Further fix for aborts due to GC losing pseudovectorsPaul Eggert2020-05-252-19/+58
| | | | | | | | | | | | | | | | | | * src/alloc.c (MALLOC_ALIGNMENT_BOUND): Remove. (LISP_ALIGNMENT): Go back to yesterday’s version, except use union emacs_align_type instead of max_align_t. (MALLOC_IS_LISP_ALIGNED): Go back to yesterday’s version. (maybe_lisp_pointer): Check against GCALIGNMENT, not LISP_ALIGNMENT. * src/lisp.h (union emacs_align_type): Bring back.
* | Refix aborts due to GC losing pseudovectorsPaul Eggert2020-05-252-61/+14
| | | | | | | | | | | | | | | | | | | | | | This is simpler, and fixes a bug in the previous fix. * src/alloc.c (MALLOC_ALIGNMENT_BOUND): Simplify by using max_align_t, since the buggy implementations won’t break this simpler implementation. (LISP_ALIGNMENT): Simplify by just using GCALIGNMENT, since the fancier implementation wasn’t correct anyway, and fixing it isn’t worth the trouble on practical platforms. * src/lisp.h (union emacs_align_type): Remove.
* | Fix aborts due to GC losing pseudovectorsPaul Eggert2020-05-253-29/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Eli Zaretskii (Bug#41321). * src/alloc.c (MALLOC_ALIGNMENT_BOUND): New constant. (LISP_ALIGNMENT): Lower it to avoid crashes on MinGW and similarly buggy platforms where malloc returns pointers not aligned to alignof (max_align_t). But keep it higher on platforms where this is known to work, as it helps GC performance. (MALLOC_IS_LISP_ALIGNED): Define in terms of the other two. * src/alloc.c (stacktop_sentry): * src/thread.c (run_thread): Don’t overalign or oversize stack sentries; they need to be aligned only for pointers and Lisp_Object, not for arbitrary pseudovector contents. * src/lisp.h (union emacs_align_type): New type, used for LISP_ALIGNMENT.
* | Mark metamail.el as obsolete (Bug#41388)Stefan Kangas2020-05-262-0/+3
| | | | | | | | | | | | | | | | | | The metamail package was last released in 1994, and has been removed from most GNU/Linux distributions due to being buggy and unmaintained. * lisp/mail/metamail.el: Move from here... * lisp/obsolete/metamail.el: ...to here. * etc/NEWS: Mention its obsoletion.
* | Bump project.el versionDmitry Gutov2020-05-251-1/+1
| | | | | | | | * project.el: Bump the version
* | ; More the note about reporting problems further upDmitry Gutov2020-05-251-5/+5
| |
* | ; * lisp/files.el (auto-save-visited-mode): Fix typo in last commit.Philipp Stephani2020-05-251-1/+1
| |
* | Allow inhibiting 'auto-save-visited-mode' on a per-buffer basis.Philipp Stephani2020-05-252-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | At least for me, 'auto-save-visited-mode' is very slow and blocks user interaction for files visited over TRAMP. Therefore, I'd like a mechanism to disable it for some buffers (namely, those visiting remote files). * (auto-save-visited-mode): Document that 'auto-save-visited-mode' can be set to nil buffer-locally. * etc/NEWS: Document new behavior.
* | Don't bug out in xml-escape-string if invalid characters aren't presentLars Ingebrigtsen2020-05-251-1/+2
| | | | | | | | | | * lisp/xml.el (xml-escape-string): Don't bug out if invalid characters aren't present.
* | Add command ffap-other-tab (Bug#41410)ej32u@protonmail.com2020-05-241-0/+11
| | | | | | | | | | | | * lisp/ffap.el (ffap-other-tab): New command, opens files at point in another tab. (ffap-bindings): Bind it to find-file-other-tab's binding.
* | Make dedicated keymap and mode for eshell-command (Bug#41370)Noam Postavsky2020-05-241-9/+13
| | | | | | | | | | | | | | | | | | | | | | Otherwise, we end up permanently modifying eshell-mode-map when running eshell-command. * lisp/eshell/eshell.el (eshell-command-mode): New mode, with map to contain the bindings previously set by eshell-return-exits-minibuffer. (eshell-return-exits-minibuffer): Make into obsolete alias for eshell-command-mode. (eshell-command): Use eshell-command-mode instead of eshell-return-exits-minibuffer.
* | Fix segfault on closing frame with tooltip (Bug#41239)Noam Postavsky2020-05-241-2/+7
| | | | | | | | | | * src/gtkutil.c (xg_free_frame_widgets): Empty and unreference the tooltip widget before destroying its label.
* | Mark browse-url-conkeror as obsoleteStefan Kangas2020-05-242-3/+10
| | | | | | | | | | | | | | | | | | | | | | * lisp/net/browse-url.el: (browse-url--browser-defcustom-type) (browse-url-conkeror-new-window-is-buffer) (browse-url-conkeror-program, browse-url-conkeror-arguments) (browse-url-default-browser, browse-url-conkeror): Mark the conkeror browser as obsolete. * etc/NEWS: Mention this.
* | Add three C++20 coroutine keywords, co_await, co_yield, and co_returnCarl Lei2020-05-241-1/+3
| | | | | | | | | | | | | | | | | | * lisp/progmodes/cc-langs.el (c-operators): Add co_await and co_yield to the C++ value of "Exception" keywords. (c-return-kwds): Create a C++ value containing co_return. (c-simple-stmt-kwds): Add co_return to the C++ value. Copyright-paperwork-exempt: yes.
* | Port etags FALLTHROUGH to C2XPaul Eggert2020-05-231-1/+1
| | | | | | | | | | | | | | Problem reported by Ashish SHUKLA in: https://lists.gnu.org/r/emacs-devel/2020-05/msg03013.html * lib-src/etags.c (C_entries): Move label so that FALLTHROUGH precedes a case label, as draft C2X specifies.
* | Restore check for Emacs 20.2 bytecodesPaul Eggert2020-05-231-1/+13
| | | | | | | | | | | | * src/eval.c (Ffetch_bytecode): Check for multibyte bytecodes here too. Problem reported by Stefan Monnier in: https://lists.gnu.org/r/emacs-devel/2020-05/msg02876.html
* | Merge from origin/emacs-27Glenn Morris2020-05-236-34/+109
|\ \ | |/ | | | | | | | | | | | | | | d6a0b66a0c (origin/emacs-27) * lisp/subr.el (save-match-data): Clarif... 1a6d59eeba Improve the documentation of setting up fontsets c7737d40f2 ; * etc/TODO (Ligatures): Update the entry based on recent... fb2e34cd21 ; * etc/TODO (Ligatures): Update the entry based on recent... 13b6dfd4f7 * doc/emacs/killing.texi (Rectangles): Improve indexing. a10254dd46 Fix accessing files on networked drives on MS-Windows
| * * lisp/subr.el (save-match-data): Clarify use in docstringStefan Monnier2020-05-231-1/+5
| |
| * Improve the documentation of setting up fontsetsEli Zaretskii2020-05-232-24/+66
| | | | | | | | | | | | | | | | * doc/lispref/display.texi (Fontsets): Improve the accuracy of a cross-reference to "Character Properties". * doc/emacs/mule.texi (Fontsets, Modifying Fontsets): Improve the documentation of fontsets and how to modify them.
| * ; * etc/TODO (Ligatures): Update the entry based on recent discussions.Eli Zaretskii2020-05-231-1/+1
| |
| * ; * etc/TODO (Ligatures): Update the entry based on recent discussions.Eli Zaretskii2020-05-231-8/+25
| |
| * * doc/emacs/killing.texi (Rectangles): Improve indexing.Eli Zaretskii2020-05-231-0/+2
| |
| * Fix accessing files on networked drives on MS-WindowsEli Zaretskii2020-05-231-1/+11
| | | | | | | | | | * src/w32.c (acl_get_file): Set errno to ENOTSUP if get_file_security returns ERROR_NOT_SUPPORTED. (Bug#41463)
* | ; Merge from origin/emacs-27Glenn Morris2020-05-230-0/+0
|\ \ | |/ | | | | | | | | | | The following commits were skipped: c0aa2f2abf CC Mode: Fix bug #39972, by fixing c-display-defun-name fo... 62a5e890d7 Redo RCS Id for pdumper
| * CC Mode: Fix bug #39972, by fixing c-display-defun-name for nested defunsAlan Mackenzie2020-05-221-1/+1
| | | | | | | | | | | | * lisp/progmodes/cc-mode.el (c-common-init): Build add-log-current-defun-function out of c-defun-name-and-limits instead of the former c-defun-name.
| * Redo RCS Id for pdumperPaul Eggert2020-05-212-4/+5
| | | | | | | | | | | | | | | | * lisp/version.el: Don’t put an RCS Id style string into the executable via purecopy, as this does not work with the pdumper. * src/emacs.c (RCS_Id): New constant, for 'ident'. (cherry picked from commit 3d1bcfba5e21b29be8669aa2a8f27b344c9e02fd)
* | Merge from origin/emacs-27Glenn Morris2020-05-231-1/+1
|\ \ | |/ | | | | 8cc453d788 Second attempt at improving indexing in control.texi
| * Second attempt at improving indexing in control.texiStefan Kangas2020-05-211-1/+1
| | | | | | | | | | | | * doc/lispref/control.texi (Processing of Errors): Improve indexing by adding the word form "handle" in addition to "handling". With thanks to Eli Zaretskii.
* | ; Merge from origin/emacs-27Glenn Morris2020-05-230-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: 0eeeedf195 ; * etc/PROBLEMS: Add note about color list issues on macOS.
| * ; * etc/PROBLEMS: Add note about color list issues on macOS.Alan Third2020-05-201-0/+9
| | | | | | | | ; Do not merge to master.
* | Merge from origin/emacs-27Glenn Morris2020-05-239-89/+116
|\ \ | |/ | | | | | | | | | | 4b9fbdb5a7 ; Update TODO item about ligature support 03d44acfdd * doc/lispref/control.texi (Processing of Errors): Improve... b48ab743a8 Minor fixups for mutability doc 6ac2326e5b Don’t use “constant” for values you shouldn’t change
| * ; Update TODO item about ligature supportEli Zaretskii2020-05-191-0/+31
| | | | | | | | | | * etc/TODO: Add the todo item for moving cursor "inside" a ligature.
| * * doc/lispref/control.texi (Processing of Errors): Improve indexing.Stefan Kangas2020-05-191-0/+1
| |
| * Minor fixups for mutability docPaul Eggert2020-05-161-8/+7
| | | | | | | | | | * doc/lispref/objects.texi (Mutability): Minor fixups in response to a comment by Dmitry Gutov (Bug#40671#477).