aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Don’t allow portable dumping in interactive mode (Bug#38453).Philipp Stephani2019-12-241-0/+3
| | | | | | | | | | | | | | * src/pdumper.c (Fdump_emacs_portable): Don’t allow dumping in interactive mode. (cherry picked from commit e7edba42c8a525722cbd40f782b0df68e4976a62)
* | Merge from origin/emacs-27Glenn Morris2019-12-2518-116/+150
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | ca6a53d3bc Don't default to showing X-Faces externally in Gnus dbf4b5b2d0 Fix manual typo in Special Read Syntax a9fe6dfa90 Fix problem with emacs -nw / eww / svg 0de63092c8 Clarify base64 requirements and say what {en,de}code_codin... 6184aa003f ; * etc/NEWS: Fix boring oddities. 51ea32dd12 * src/emacs-module.h.in: Add reference to manual. 75d0cef20d Trivial docstring fixes ee12c421b6 imagemagick-types needs to initialize ImageMagick # Conflicts: # etc/NEWS
| * Don't default to showing X-Faces externally in GnusLars Ingebrigtsen2019-12-241-9/+3
| | | | | | | | | | | | | | * lisp/gnus/gnus-art.el (gnus-article-x-face-command): It's seldom useful to display the face in an external command, so don't ever default to that. This also fixes the problem of Emacs running as a server in mixed graphical/non-graphical environments.
| * Fix manual typo in Special Read SyntaxLars Ingebrigtsen2019-12-241-1/+1
| | | | | | | | * doc/lispref/objects.texi (Special Read Syntax): Fix typo.
| * Fix problem with emacs -nw / eww / svgRobert Pluim2019-12-241-1/+2
| | | | | | | | | | * lisp/net/shr.el (shr-parse-image-data): Don't bug out on non-visual Emacs versions on SVG images (bug#38507).
| * Clarify base64 requirements and say what {en,de}code_coding_region doesLars Ingebrigtsen2019-12-242-2/+28
| | | | | | | | | | | | | | | | | | | | * src/coding.c (Fencode_coding_region): Clarify what this does. (Fdecode_coding_region): Ditto. * src/fns.c (Fbase64_decode_region): Clarify that this function returns bytes, not text (bug#38587). (Fbase64_encode_region): Clarify that this function takes bytes, not text.
| * ; * etc/NEWS: Fix boring oddities.Michael Albinus2019-12-241-58/+56
| |
| * * src/emacs-module.h.in: Add reference to manual.Philipp Stephani2019-12-241-0/+6
| |
| * Trivial docstring fixesJuanma Barranquero2019-12-2410-37/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ChangeLog.3: * lisp/emacs-lisp/cl-macs.el (cl-flet): * lisp/filesets.el (filesets-menu-ensure-use-cached): * lisp/progmodes/compile.el (compilation-context-lines): * lisp/progmodes/prolog.el (prolog-paren-indent): * lisp/progmodes/sql.el (sql-password-search-wallet-function): Fix typos in docstrings. * lisp/cedet/semantic/analyze.el (semantic-analyze-push-error): Doc fix. * lisp/emacs-lisp/map.el (map-put, map-info): Refill docstring. (map-contains-key): Fix typo. (map-every-p): Doc fix.
| * imagemagick-types needs to initialize ImageMagickDhruva Krishnamurthy2019-12-231-8/+13
| | | | | | | | | | | | | | * src/image.c (imagemagick_initialize): New function, with body taken from imagemagick_load_image. (imagemagick_load_image, Fimagemagick_types): Use it. Copyright-paperwork-exempt: yes
* | ; Merge from origin/emacs-27Glenn Morris2019-12-250-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: 9eb871c8d1 Cut the emacs-27 release branch
| * Cut the emacs-27 release branchEli Zaretskii2019-12-235-5/+5
| | | | | | | | | | | | | | | | | | | | * lisp/cus-edit.el (customize-changed-options-previous-release): Change the value to 26.3. * README: * configure.ac: * nt/README.W32: * msdos/sed2v2.inp: Bump Emacs version to 27.0.60.
* | Support .dylib suffix for modules on macOS (Bug#36226).Philipp Stephani2019-12-253-1/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On macOS, shared libraries typically have the suffix .dylib. This commit switches the module suffix to .dylib on Darwin to account for that. To also support the .so suffix, introduce the concept of a secondary module suffix. * configure.ac: Switch MODULES_SUFFIX to .dylib for Darwin, introduce MODULES_SECONDARY_SUFFIX. * src/lread.c (Fload, syms_of_lread): Also use MODULES_SECONDARY_SUFFIX if defined. * test/src/emacs-module-tests.el (module-darwin-secondary-suffix): New unit test.
* | Make goto-line keep a separate input history per bufferFederico Tedin2019-12-244-3/+33
| | | | | | | | | | | | | | | | | | | | | | * lisp/simple.el (goto-line-history): New history variable. (goto-line): Use new (buffer-local) variable as input history (Bug#38282). * lisp/subr.el (read-number-history): New history variable. (read-number): Use the new variable as default input history. * doc/lispref/minibuf.texi (Minibuffer History): Document read-number-history and goto-line-history variables. * etc/NEWS: Announce changes.
* | Move flex style's minibuffer-default-aware sorting to lisp/icomplete.elJoão Távora2019-12-242-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.
* | * src/minibuf.c (read_minibuf): Use `user-error`Stefan Monnier2019-12-231-3/+4
| |
* | Don't use `let*' with just one bindingJuanma Barranquero2019-12-242-2/+2
| | | | | | | | | | | | * lisp/registry.el (registry-reindex): * lisp/emacs-lisp/generator.el (cps--add-state): Use `let', not `let*'.
* | Prepare module header generation for Emacs 28.Philipp Stephani2019-12-243-0/+16
| | | | | | | | | | | | | | | | * configure.ac: Substitute environment function snippet for Emacs 28. * src/module-env-28.h: New file, with dummy contents for now. * src/emacs-module.h.in: Provide emacs_env_28 structure.
* | * src/emacs-module.h.in: Use @emacs_major_version@ for current env.Philipp Stephani2019-12-241-1/+1
| |
* | Make fido-mode behave more like ido-mode when finding directoriesJoão Távora2019-12-231-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.
* | Slightly simplify lisp/icomplete.el with new icomplete--category helperJoão Távora2019-12-231-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.
* | Another adjustment to flex completion style's sorting functionJoão Távora2019-12-231-9/+14
| | | | | | | | | | * lisp/minibuffer.el (completion--flex-adjust-metadata): Adjust case when minibuffer-default is non-nil.
* | * src/pdumper.c (Fdump_emacs_portable): Reword error message.Philipp Stephani2019-12-231-1/+3
| |
* | Remove some undefined behavior related to left shifts.Philipp Stephani2019-12-234-10/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | Found by UBSan. * src/nsfns.m (ns_set_foreground_color, ns_set_background_color): * src/nsimage.m (getPixelAtX:Y:): * src/nsterm.m (ns_color_index_to_rgba): Add explicit casts to avoid undefined behavior when left-shifting beyond the bounds of the int type. * src/macfont.m (METRICS_VALUE): Add explicit casts to avoid undefined behavior when left-shifting a negative value.
* | Further expand coverage of unit tests for time-stampStephen Gildea2019-12-231-24/+86
| | | | | | | | | | | | | | | | | | * test/lisp/time-stamp-tests.el (time-stamp-custom-format-tabs-expand, time-stamp-custom-end, time-stamp-helper-string-defaults): New tests. (time-stamp-custom-count): Test 0 case. (time-stamp-format-non-date-conversions): Test different system values. Development of these new tests was guided by the "testcover" library.
* | Don’t allow portable dumping in interactive mode (Bug#38453).Philipp Stephani2019-12-231-0/+3
| | | | | | | | | | * src/pdumper.c (Fdump_emacs_portable): Don’t allow dumping in interactive mode.
* | ; Fix oversights during renaming of example codeMario Lang2019-12-231-5/+5
| | | | | | | | Introduced in 94fa7ceb480632fec7dda6d41f63223e4127bd83
* | Make argument names in module interface more consistent.Philipp Stephani2019-12-235-161/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the names of arguments and other details were needlessly inconsistent between the documentation, the declarations, and the definitions, as well as between each other. This commit makes them more consistent, in most cases by applying the names from the documentation everywhere. * src/module-env-27.h: * src/module-env-25.h: * src/emacs-module.h.in: * src/emacs-module.c (module_get_environment) (module_make_global_ref, module_free_global_ref) (module_non_local_exit_get, module_non_local_exit_signal) (module_make_function, module_funcall, module_type_of) (module_is_not_nil, module_extract_integer) (module_extract_float, module_copy_string_contents) (module_make_string, module_vec_set, module_vec_get) (module_vec_size, module_extract_time) (module_assert_runtime): * doc/lispref/internals.texi (Module Initialization) (Module Functions, Module Values): Make argument names and some other details consistent. No functional changes.
* | Bump Emacs version to 28.0.50Eli Zaretskii2019-12-239-3409/+3482
|/ | | | | | | | | | | | | | | * README: * configure.ac: * nt/README.W32: * msdos/sed2v2.inp: * src/msdos.c (internal_terminal_init): * etc/refcards/ru-refcard.tex: Bump Emacs version to 28.0.50. * lisp/cus-edit.el (customize-changed-options-previous-release): Bump up the value to 26.3. * etc/NEWS.27: Renamed from NEWS. * etc/NEWS: New file for Emacs 28.
* Document and verify that emacs_limb_t doesn’t have padding bits.Philipp Stephani2019-12-232-3/+11
| | | | | | | | | | | | | | | | | | This is a useful property when doing further bit-twiddling with the magnitude array before/after calling extract_big_integer or make_big_integer. For example, constructing an emacs_limb_t object using repeated shift-and-add should work as expected, but relies on the type not having padding bits. Since the C standard already guarantees that unsigned integers use a pure binary representation, not having padding bits is enough to guarantee that the type has unique object representations in the sense of C++’s std::has_unique_object_representations. * doc/lispref/internals.texi (Module Values): Document that emacs_limb_t doesn’t have padding bits. * src/emacs-module.c: Verify that emacs_limb_t doesn’t have padding bits.
* Fix extension of underline, overline, and strike-through attributesJimmy Aguilar Mena2019-12-231-0/+3
| | | | | | | * src/xdisp.c (extend_face_to_end_of_line): Don't return early if face attributes beyond background color and box are set, since that means these attributes need to be extended past the EOL.
* ; * lisp/mouse.el: declare functions to silence warningsMattias Engdegård2019-12-231-0/+3
|
* Comment on limitation of flex completion style's sorting functionJoão Távora2019-12-231-2/+7
| | | | | * lisp/minibuffer.el (completion--flex-adjust-metadata): Add comment.
* Fix a bug in completion--flex-adjust-metadataJoão Távora2019-12-231-1/+2
| | | | | | | | If minibuffer-default coincided with the first of completions, the empty list would be returned. * lisp/minibuffer.el (completion--flex-adjust-metadata): Make sure to never return empty list.
* Fix documentation of implied frame resizing (Bug#38684)Martin Rudalics2019-12-232-31/+38
| | | | | | * src/frame.c (frame_inhibit_implied_resize): Fix doc-string. * doc/lispref/frames.texi (Implied Frame Resizing): Update and rewrite section.
* Added `comint-password-function' hookMichael R. Mauger2019-12-223-2/+95
| | | | | | | | | * etc/NEWS: * lisp/comint.el (comint-password-function): New variable. (comint-send-invisible): Use it. * test/lisp/comint-tests.el (comint-test-no-password-function, comint-test-password-function-with-value, comint-test-password-function-with-nil): Test new variable.
* * lisp/files.el (save-buffers-kill-emacs): Mark "*Process List*" as dedicated.Juri Linkov2019-12-231-1/+2
| | | | | | | Using the 'dedicated' prop for display-buffer--maybe-at-bottom marks the window of the buffer "*Process List*" as dedicated, so it won't be replaced by another buffer that might be visited following links to process buffers from the buffer "*Process List*".
* * lisp/tab-bar.el: Use alist-get instead of (cdr (assq ...))Juri Linkov2019-12-231-37/+39
| | | | * lisp/tab-bar.el (tab-bar-mode): Bind s-0 to tab-bar-switch-to-recent-tab.
* * lisp/proced.el (proced-signal-list): Add more POSIX 1003.1-2001 signals.Juri Linkov2019-12-231-2/+15
|
* Fix bug in flex completion style's sorting and simplifyJoão Távora2019-12-221-30/+32
| | | | | | | | | | | This previous commit targetting this function introduced a bug whereby the completion table's sorting function wouldn't be called. That is fixed by this commit, which also simplifies the function further: it now skips re-sorting the completions completely if there is no minibuffer input at all (in other words, when flex isn't doing anything useful). * lisp/minibuffer.el (completion--flex-adjust-metadata): Simplify.
* * lisp/gnus/gnus-start.el: Use lexical-bindingStefan Monnier2019-12-222-32/+31
| | | | | | | | | | | (gnus-group-change-level, gnus-make-hashtable-from-newsrc-alist): Use gnus-info-make. (gnus-make-hashtable-from-newsrc-alist): Prefer `gnus-info-group` to `car` when applied to a `gnus-info` object. (gnus-make-hashtable-from-killed): Remove unused vars `lists` and `list`. (gnus-gnus-to-quick-newsrc-format): Extract common code from if branches. * lisp/gnus/gnus.el (gnus-info-make): New constructor.
* Fix wording of recent documentation changesEli Zaretskii2019-12-224-28/+33
| | | | | | | | * src/xdisp.c (syms_of_xdisp): * lisp/minibuffer.el (minibuffer-message-clear-timeout): * etc/NEWS: * doc/lispref/display.texi (Displaying Messages): Minor changes of wording of a recent commit. (Bug#38457)
* Extend tramp-tests.el for other host name syntax and file name syntaxMichael Albinus2019-12-221-553/+656
| | | | | | | | | | | | | | | | | | | | | | * test/lisp/net/tramp-tests.el (inhibit-message) (connection-local-criteria-alist) (connection-local-profile-alist, async-shell-command-width): Declare. (tramp-test01-file-name-syntax) (tramp-test02-file-name-dissect): Set syntax to `default'. (tramp-test03-file-name-defaults) (tramp-test03-file-name-host-rules) (tramp-test03-file-name-method-rules) (tramp-test04-substitute-in-file-name) (tramp-test05-expand-file-name) (tramp-test06-directory-file-name, tramp-test44-auto-load): Skip unless syntax is `default'. (tramp-test06-directory-file-name, tramp-test10-write-region) (tramp-test17-dired-with-wildcards) (tramp-test26-file-name-completion): Handle IPv6 host names. (tramp-test21-file-links): Support all syntaxes. (tramp-test30-make-process, tramp-test45-unload): Suppress compiler warnings. (tramp-test37-make-auto-save-file-name): Skip for `separate' syntax.
* * lisp/net/trampver.el (inhibit-message): Declare.Michael Albinus2019-12-221-0/+3
|
* Add item to Frequently Asked Questions of Tramp manualMichael Albinus2019-12-221-0/+31
| | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Add item for ControlMaster option on proxy hosts. Explain changing syntax to Ange FTP.
* * lisp/term/ns-win.el (ns-insert-working-text): Comment is obsolete.Alan Third2019-12-221-2/+0
|
* Improve sorting of flex completion style with non-nil minibuffer-defaultJoão Távora2019-12-221-11/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | This affects the behaviour of flex completion when there is a default completion and the user hasn't entered any input pattern to flex-match against. It is most visible when icomplete-mode or fido-mode are being used in conjunctio. When using M-x man, for instance, the default completion is picked from text around point. Say it is "emacs" (for Emacs's man page). It will not match the intended completion, "emacs(1)", exactly. If the user hasn't yet given any input to the completion prompt, that completion should bubble to top so that icomplete-force-complete-and-exit will select it, but it didn't. This new approach uses 'string-prefix-p' instead of 'equal' to find the default to bubble to the top. This strategy could eventually be improved, most naturally by flex-matching the default string to all the candidates and picking the highest scoring one. Additionally, the new strategy only considers minibuffer-default if there is no input in the minibuffer, which seems sensible and produces a small but noticeable speedup. * lisp/minibuffer.el (completion--flex-adjust-metadata): Reformulate sorting strategy.
* Fix display of working text on NS (Bug#23412, Bug#1453)Masahiro Nakamura2019-12-222-10/+8
| | | | | | | | | | * lisp/term/ns-win.el (ns-insert-working-text): (ns-delete-working-text): Change how working text is deleted to handle changed order of operations. * src/nsterm.m ([EmacsView insertText:]): Move deletion of working text until after insertion of new text. Copyright-paperwork-exempt: yes
* Check if file is in iCloud drive (bug#38618)Alan Third2019-12-221-0/+11
| | | | | * src/nsfns.m (ns_set_represented_filename): Check whether the file is a `ubiquitous item', and if so don't display a proxy icon.
* * lisp/tab-bar.el: Rename tab-bar-list to tab-switcher (bug#38624)Juri Linkov2019-12-222-67/+67
|