summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Update files for the 27.1.90 pretestemacs-27.1.90Eli Zaretskii2020-12-18
| | | | | | | | * README: * configure.ac: * nt/README.W32: * msdos/sed2v2.inp: Bump Emacs version to 27.1.90. * lisp/ldefs-boot.el: Update from loaddefs.el
* Minor fixes in authors.el and in tarball-making instructionsEli Zaretskii2020-12-18
| | | | | * admin/authors.el (authors): Make the error message more helpful. (authors-ignored-files, authors-renamed-files-alist): Update.
* ; Add a new item to TODOEli Zaretskii2020-12-17
| | | | | * etc/TODO (redisplay): Add an item for making redisplay cycle more scalable when there are many frames.
* Improve documentation of 'query-replace'Eli Zaretskii2020-12-16
| | | | | * doc/emacs/search.texi (Query Replace): Add 'E' to the list of characters one can type at 'query-replace' prompt. (Bug#45273)
* Update to Org 9.4.3Bastien Guerry2020-12-16
| | | | Fix #45259
* Fix error with fn key in NS port (bug#44533)Alan Third2020-12-14
| | | | | | | * src/nsterm.m ([EmacsView keyDown:]): Move the correction for fn key handling to before the modifiers are calculated. (cherry picked from commit 7970610d48701a949ce443c94c71eac47d044197)
* Fix point location when completing in gdb-mi.elEli Zaretskii2020-12-14
| | | | | | * lisp/progmodes/gdb-mi.el (def-gdb-auto-update-handler): Don't force window-start position, so that redisplay doesn't move point when popping completion window below the GUD one. (Bug#45052)
* Update to Org 9.4.2Bastien Guerry2020-12-13
| | | | Mostly fixing compiler warnings.
* Update to Org 9.4.1Bastien Guerry2020-12-13
|
* Fix crash in ns_mouse_position (bug#44313)Alan Third2020-12-12
| | | | | | | | * src/nsterm.m (ns_destroy_window): Close the window before freeing the frame resources so we don't end up accessing the frame struct after it's been freed. (cherry picked from commit 18a7267c32a909bb26bd93d24543155aeb10e042)
* Fix crash when using XRender and restoring image from X (bug#44930)Alan Third2020-12-12
| | | | | | | * src/dispextern.h (struct image): Add original dimension elements. * src/image.c (image_set_transform): Store the original dimensions. (image_get_x_image): If we're using transforms use the original dimensions with XGetImage.
* Bind k to image-kill-buffer in doc-view-mode-map.Tassilo Horn2020-12-11
| | | | | | | * lisp/doc-view.el (doc-view-mode-map): Bind k to image-kill-buffer. The binding k -> doc-view-kill-proc-and-buffer has been removed in 2015 and the function been made an obsolete function alias to image-kill-buffer (bug#45157).
* Fix crash (segfault) in etags on generating tags for Erlang filesSerge Tupchii2020-12-09
| | | | | | | | | | * lib-src/etags.c: Set allocated and lastlen to zero, after freeing last ptr in Erlang_functions to prevent dereferencing NULL pointer (bug#45122). Copyright-paperwork-exempt: yes (cherry picked from commit 2d8f0364fcd1d5dad2b82dd3a9af870b03854547)
* Update publicsuffix.txt from upstreamStefan Kangas2020-12-09
| | | | | | * etc/publicsuffix.txt: Update from https://publicsuffix.org/list/public_suffix_list.dat dated 2020-11-30 21:57:25 UTC.
* * lisp/vc/vc.el: Update args of backend API calls in the header commentsJuri Linkov2020-12-06
| | | | https://lists.gnu.org/archive/html/emacs-devel/2020-12/msg00283.html
* Backport Handle read-char-from-minibuffer and y-or-n-p from pre-command-hookJuri Linkov2020-12-06
| | | | | | | | | | | * lisp/subr.el (read-char-from-minibuffer-insert-char) (read-char-from-minibuffer-insert-other, y-or-n-p-insert-y) (y-or-n-p-insert-n, y-or-n-p-insert-other): Check for 'minibufferp' before executing the body. (read-char-from-minibuffer, y-or-n-p): Let-bind this-command before calling read-from-minibuffer. (Bug#45029) ; Do not merge to master.
* Improve documentation of streams in batch modeEli Zaretskii2020-12-06
| | | | | | | * doc/lispref/os.texi (Batch Mode): * doc/lispref/streams.texi (Input Streams, Output Streams): Better documentation of I/O streams in batch mode, with more cross-references.
* Support ks_c_5601-1987 encodingEli Zaretskii2020-12-06
| | | | | * lisp/language/korean.el (ks_c_5601-1987): Define as an alias for 'korean-iso-8bit. (It is sometimes used in email messages.)
* Fix Xaw widget text disappearing when built with cairo (bug#43418)YAMAMOTO Mitsuharu2020-12-06
| | | | | * lwlib/lwlib-utils.c (crxft_font_open_name): Use FcFontMatch to get a pattern to pass to cairo_ft_font_face_create_for_pattern.
* Improve documentation of 'ps-print-color-p'Eli Zaretskii2020-12-05
| | | | | * doc/emacs/misc.texi (PostScript Variables): Improve and clarify the description of 'ps-print-color-p'. (Bug#44962)
* ; * lisp/simple.el (move-beginning-of-line): Doc fix.Eli Zaretskii2020-12-05
|
* ; * src/charset.c (Fmap_charset_chars): Doc fix.Eli Zaretskii2020-12-02
|
* ; * src/chartab.c, src/lisp.h: Fix typos in comments.Eli Zaretskii2020-12-02
|
* ; Auto-commit of loaddefs files.Glenn Morris2020-12-01
|
* Reset xref-show-xrefs-function temporarilyDmitry Gutov2020-12-01
| | | | | * lisp/dired-aux.el (dired-do-find-regexp-and-replace): Make sure xref-show-xrefs-function has the necessary value (bug#44905).
* Don't show in 'view-lossage' responses to xterm feature queriesEli Zaretskii2020-11-30
| | | | | | * lisp/term/xterm.el (xterm--read-event-for-query): Prevent recording the characters read as the xterm response to a query, so as not to show them in 'view-lossage'. (Bug#44908)
* ; * src/buffer.c: Fix comment describing 'buffer_defaults'.Eli Zaretskii2020-11-30
|
* Adapt Tramp versions. Do not mergeMichael Albinus2020-11-30
| | | | | | | | | * doc/misc/tramp.texi (Obtaining @value{tramp}) (Remote shell setup, Remote processes, Archive file names): * doc/misc/trampver.texi: * lisp/net/tramp.el: * lisp/net/trampver.el (tramp-version) (customize-package-emacs-version-alist): Adapt Tramp versions.
* Return the correct suffix in eww-make-unique-file-nameAkira Kyle2020-11-29
| | | | | * lisp/net/eww.el (eww-make-unique-file-name): Return the correct suffix (bug#44936).
* Save bookmarks by using `write-file' (bug#12507)Karl Fogel2020-11-28
| | | | | | | | | Go back to using `write-file' to save bookmarks, instead of using `write-region'. This means numbered backups of the bookmark file may get made again, depending on the value of `bookmark-version-control'. Thanks especially to Drew Adams and Eli Zaretskii for their persistence in tracking down information relevant to this change.
* Fix filing messages when 'rmail-output-reset-deleted-flag' is non-nilEli Zaretskii2020-11-28
| | | | | | * lisp/mail/rmailout.el (rmail-output): Fix off-by-one error in deciding when to advance to the next message under non-nil 'rmail-output-reset-deleted-flag'. (Bug#44839)
* Make file copying in tramp-gvfs more robustMichael Albinus2020-11-28
| | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test11-copy-file) (tramp-test12-rename-file): Do not skip for tramp-gvfs.el. * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): Add sanity checks.
* Revert "Fix incorrect handling of module runtime and environment pointers."Eli Zaretskii2020-11-28
| | | | | | This reverts commit cdc632fbe6e149318147a98cccf1b7af191f2ce8. Those changes are too significant and non-trivial to be suitable for a release branch at this time.
* Fix incorrect handling of module runtime and environment pointers.Philipp Stephani2020-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to store module runtime and environment pointers in the static lists Vmodule_runtimes and Vmodule_environments. However, this is incorrect because these objects have to be kept per-thread. With this naive approach, interleaving module function calls in separate threads leads to environments being removed in the wrong order, which in turn can cause local module values to be incorrectly garbage-collected. Instead, turn Vmodule_runtimes and Vmodule_environments into hashtables keyed by the thread objects. The fix is relatively localized and should therefore be safe enough for the release branch. Module assertions now have to walk the pointer list for the current thread, which is more correct since they now only find environments for the current thread. Also add a unit test that exemplifies the problem. It interleaves two module calls in two threads so that the first call ends while the second one is still active. Without this change, this test triggers an assertion failure. * src/emacs-module.c (Fmodule_load, initialize_environment) (finalize_environment, finalize_runtime_unwind): Store runtime and environment pointers in per-thread lists. (syms_of_module): Initialize runtimes and environments hashtables. (module_assert_runtime, module_assert_env, value_to_lisp): Consider only objects for the current thread. (module_gc_hash_table_size, module_hash_push, module_hash_pop): New generic hashtable helper functions. (module_objects, module_push_pointer, module_pop_pointer): New helper functions to main thread-specific lists of runtime and environment pointers. (mark_modules): Mark all environments in all threads. * test/data/emacs-module/mod-test.c (Fmod_test_funcall): New test function. (emacs_module_init): Bind it. * test/src/emacs-module-tests.el (emacs-module-tests--variable): New helper type to guard access to state in a thread-safe way. (emacs-module-tests--wait-for-variable) (emacs-module-tests--change-variable): New helper functions. (emacs-module-tests/interleaved-threads): New unit test.
* CC Mode: Fix error in cache handling. This fixes bug #43481Alan Mackenzie2020-11-26
| | | | | | * lisp/progmodes/cc-engine.el (c-full-pp-to-literal): Handle correctly END being before HERE by using parse-partial-sexp to get the end of the literal containing HERE.
* Revert extra focus redirection in do_switch_frame (Bug#24803)Martin Rudalics2020-11-25
| | | | | | | | | * src/frame.c (do_switch_frame): Do not also redirect frame focus when FRAME has its minibuffer window on the selected frame which was intended to fix Bug#24500. It may cause Bug#24803 and lead to a nasty state where no active cursor is shown on any frame, see https://lists.gnu.org/archive/html/emacs-devel/2020-11/msg01137.html.
* Minor cleanup of tramp-tests.el on MS WindowsMichael Albinus2020-11-25
| | | | | * test/lisp/net/tramp-tests.el (tramp-test29-start-file-process): Do not test remote pty on MS Windows.
* Fix handling of defcustom :local tagBasil L. Contovounesios2020-11-24
| | | | | | | | | | | | | For discussion, see the following emacs-devel thread: https://lists.gnu.org/r/emacs-devel/2020-11/msg00734.html * lisp/custom.el (custom-declare-variable): Delay call to make-variable-buffer-local until after user option has been initialized with a value. Otherwise the user option may be initialized to nil. * test/lisp/custom-tests.el (custom--test-local-option) (custom--test-permanent-option): New :local user options. (custom-test-local-option): New test for defcustom :local keyword.
* CC Mode. Fix an off by one error. Fixes bug #41809Alan Mackenzie2020-11-24
| | | | * lisp/progmodes/cc-engine.el (c-full-pp-to-literal): Change > to >= (twice).
* Fix display artifacts when 'display' properties cover newlinesEli Zaretskii2020-11-24
| | | | | | * src/xdisp.c (pos_visible_p): Set glyph_row of scratch iterators to NULL, to avoid producing glyphs while we figure out the layout. (Bug#44826)
* Sync latest SKK-JISYO.LStefan Kangas2020-11-23
| | | | | | * leim/SKK-DIC/SKK-JISYO.L: Sync to current upstream version. (cherry picked from commit 6a5f9700846551a7f3795e257356dbab865116f4)
* Update publicsuffix.txt from upstreamStefan Kangas2020-11-23
| | | | | | | | * etc/publicsuffix.txt: Update from https://publicsuffix.org/list/public_suffix_list.dat dated 2020-10-09 08:23:34 UTC. (cherry picked from commit 5b13afab0a903ead8363482529019d4fb80ec4b4)
* Fix Bug#44481Michael Albinus2020-11-21
| | | | | | | * lisp/net/tramp.el (tramp-system-name): New defconst. (tramp-default-host, tramp-restricted-shell-hosts-alist) (tramp-local-host-regexp): * lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use it. (Bug#44481)
* Minor Edebug manual keystroke clarificationsLars Ingebrigtsen2020-11-21
| | | | | | | | * doc/lispref/edebug.texi (Edebug Misc): Also mention the `a' binding to abort (bug#44697). Also fix `d' function reference, and add `P' reference. (cherry picked from commit b613f25f97abf756101eaa2af90689a19c0b3350)
* Make ignoring modifiers on IME input optionalEli Zaretskii2020-11-21
| | | | | | | | | | | By default, ignore modifier keys on IME input, but add a variable to get back old behavior. * src/w32fns.c (syms_of_w32fns): New variable w32-ignore-modifiers-on-IME-input. (w32_wnd_proc): Use it to ignore modifier keys when IME input is used. (Bug#44641) * etc/NEWS: Announce the change and the new variable.
* Ignore modifiers when processing WM_IME_CHAR messagesMasahiro Nakamura2020-11-21
| | | | | * src/w32fns.c (w32_wnd_proc): Ignore modifiers when processing WM_IME_CHAR messages.
* Improve documentation of 'font-spec'Eli Zaretskii2020-11-19
| | | | | | * doc/lispref/display.texi (Low-Level Font): * src/font.c (Ffont_spec): Document 'font-spec' keys that are supported, but were undocumented.
* Further doc fixes for dotimes about RESULTLars Ingebrigtsen2020-11-18
| | | | | | | * lisp/subr.el (dotimes): Be even more explicit about RESULT (bug#16206). (cherry picked from commit 5b0d8d0f288fd505ca90bd30df709a5e7ab540d6)
* ; * doc/misc/eshell.texi (Input/Output): Fix typo.Michael Albinus2020-11-16
|
* ; * INSTALL: Correct a recent change.Glenn Morris2020-11-16
| | | | | | | | | | Debian stopped including the major version number in the emacs package name after version 25, so there is no 'emacs27-dbg' package. We may as well drop this clause altogether, since Debian stable has version 26. No need to merge to master (where this information is in etc/PROBLEMS in any case).