summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typosMark Oteiza2020-02-141-2/+2
| | | | * src/lcms.c (lcms-xyz->jch, lcms-jch->xyz): Swap first line of docstrings.
* * etc/NEWS: Improve last changeStefan Monnier2020-02-141-1/+2
|
* When searching a topic in Gnus, search all topic's groupsEric Abrahamsen2020-02-141-1/+2
| | | | | | | | Bug#39515 * lisp/gnus/nnir.el (gnus-group-make-nnir-group): Bring the code in line with the documentation, which says that all topic groups will be searched, even if they're not visible.
* Remove lread tests for a feature that was deletedGlenn Morris2020-02-141-16/+0
| | | | | * test/src/lread-tests.el (lread-tests--old-style-backquotes) (lread-tests--force-new-style-backquotes): Remove.
* * src/lread.c: Remove old-style backquotes supportStefan Monnier2020-02-142-89/+15
| | | | | | | (new_backquote_flag): Delete variable. (load_error_old_style_backquotes): Delete function. (force_new_style_backquotes): Delete variable. (read_internal_start): Don't obey it any more.
* * lisp/gnus/nnmaildir.el: Fix O(n^2) problem when leaving a groupStefan Monnier2020-02-142-13/+19
| | | | | | | | | | Use lexical-binding. (nnmaildir-close-group): Use a hash-table rather than a list to keep track of the files we have seen. * lisp/gnus/nnheader.el (nnheader-parse-naked-head): Use make-full-mail-header.
* * lisp/simple.el (undo): Use undo--last-change-was-undo-pStefan Monnier2020-02-141-11/+6
|
* Fix Tramp tests for MS WindowsMichael Albinus2020-02-141-10/+13
| | | | | * test/lisp/net/tramp-tests.el (tramp-test29-start-file-process) (tramp-test30-make-process): Improve for MS-Windows.
* Add an appropriate error for reading bad JSON arraysMark Oteiza2020-02-131-1/+2
| | | | | * lisp/json.el (json-array-format): New error. (json-read-array): Use it.
* Use CGImage instead of NSBitmapImageRep (bug#32932)Alan Third2020-02-132-66/+90
| | | | | | | | | | | | | | | | | | | | * src/nsterm.m (ns_update_end): (ns_clear_frame): Remove forced draws. (ns_draw_fringe_bitmap): (ns_dumpglyphs_image): No longer need to invert images as the context is already flipped. ([EmacsView updateFrameSize:]): ([EmacsView initFrameFromEmacs:]): Use new function. ([EmacsView createDrawingBuffer]): Replaces createDrawingBufferWithRect:. ([EmacsView focusOnDrawingBuffer]): Set CGImage context. ([EmacsView windowDidChangeBackingProperties:]): Use new function. ([EmacsView copyRect:to:]): Copy using CGImages. ([EmacsView wantsUpdateLayer]): ([EmacsView updateLayer]): New Functions. ([EmacsView drawRect:]): We no longer do anything special here for Cocoa. ([EmacsView windowDidChangeBackingProperties:]): Fix indentation and add NSTRACE.
* Merge from origin/emacs-27Glenn Morris2020-02-1311-29/+64
|\ | | | | | | | | | | | | | | | | | | | | | | 0304f53076 (origin/emacs-27) doc/misc/org.texi: Fix @dircategory 027da652a4 Fix display of minibuffer prompt in ido.el 5a21aaff46 rx: Use longest match for all-string 'or' forms (bug#37659) 2b12c2b6f2 Make sure not to mark directories ff4ed4a0ff ; Add a TODO 3a5129a1c9 vc-hg-dir-status-files: Fix when DIR is not repository root # Conflicts: # etc/NEWS
| * doc/misc/org.texi: Fix @dircategoryBastien2020-02-131-1/+1
| | | | | | | | * doc/misc/org.texi: Fix @dircategory.
| * Fix display of minibuffer prompt in ido.elEli Zaretskii2020-02-125-17/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/minibuffer.el (minibuffer--message-overlay-pos): New function. (set-minibuffer-message): Use it to determine where to show the overlay with the temporary message. * lisp/ido.el (ido-exhibit): Revert "Render Ido suggestions using an overlay"; this restores the original code which inserted the match-status information into the minibuffer, instead of displaying it in an overlay with an after-string. Put the special 'minibuffer-message' text property at the beginning of the inserted text. (Bug#39379) * etc/NEWS: * doc/lispref/display.texi (Displaying Messages): * doc/lispref/text.texi (Special Properties): Document the 'minibuffer-message' text property and its effect.
| * rx: Use longest match for all-string 'or' forms (bug#37659)Mattias Engdegård2020-02-123-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert to the Emacs 26 semantics that always gave the longest match for rx 'or' forms with only string arguments. This guarantee was never well documented, but it is useful and people likely have come to rely on it. For example, prior to this change, (rx (or ">" ">=")) matched ">" even if the text contained ">=". * lisp/emacs-lisp/rx.el (rx--translate-or): Don't tell regexp-opt to preserve the matching order. * doc/lispref/searching.texi (Rx Constructs): Document the longest-match guarantee for all-string 'or' forms. * test/lisp/emacs-lisp/rx-tests.el (rx-or): Update test.
| * Make sure not to mark directoriesWolfgang Scherer2020-02-121-2/+3
| | | | | | | | | | * lisp/vc/vc-dir.el (vc-dir-mark-all-files): Make sure not to mark directories (bug#37182).
| * ; Add a TODODmitry Gutov2020-02-121-0/+3
| |
| * vc-hg-dir-status-files: Fix when DIR is not repository rootDmitry Gutov2020-02-121-6/+6
| | | | | | | | | | | | | | * lisp/vc/vc-hg.el (vc-hg-dir-status-files): Make sure it works correctly in a subdirectory of the repo root. Bind default-directory to DIR and add 're: -I .' to the arguments (bug#39380).
* | ; Merge from origin/emacs-27Glenn Morris2020-02-130-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: 89d0c4451f Revert "Fix display of working text on NS (Bug#23412, Bug#...
| * Revert "Fix display of working text on NS (Bug#23412, Bug#1453)"Alan Third2020-02-112-8/+10
| | | | | | | | | | | | This reverts commit ba042176d8931cdf9441b3b4919ec74b75019494. Do not merge to master (bug#38851)
* | Merge from origin/emacs-27Glenn Morris2020-02-1328-49/+73
|\ \ | |/ | | | | | | | | | | ad5e350ab7 c-end-of-macro: Handle block coment lines with unescaped N... 06c302d425 Fix set-fontset-font with ADD arg non-nil 530067463b Correct "different than" to "different from" where appropr... 56b8768b32 More accurate documentation of 'package-menu-hide-package'
| * c-end-of-macro: Handle block coment lines with unescaped NLs correctlyAlan Mackenzie2020-02-102-8/+28
| | | | | | | | | | | | | | | | | | * lisp/progmodes/cc-langs.el (c-last-open-c-comment-start-on-line-re): Make obsolete, and supersede by ... (c-open-c-comment-on-logical-line-re): New language variable. * lisp/progmodes/cc-engine.el (c-end-of-macro): Inside macros, handle multiline block comments whose line ends are not escaped correctly.
| * Fix set-fontset-font with ADD arg non-nilEli Zaretskii2020-02-091-1/+1
| | | | | | | | | | * src/fontset.c (fontset_add): Fix off-by-one error at TO. (Bug#39482)
| * Correct "different than" to "different from" where appropriateAlan Mackenzie2020-02-0924-35/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (doc/emacs/screen.texi) (doc/lispintro/emacs-lisp-intro.texi) (doc/misc/calc.texi) (doc/misc/gnus.texi) (doc/misc/sc.texi) (lisp/align.el) (lisp/allout-widgets.el) (lisp/allout.el) (lisp/emacs-lisp/gv.el) (lisp/font-lock.el) (lisp/gnus/mm-util.el) (lisp/mail/feedmail.el) (lisp/mail/sendmail.el) (lisp/mail/supercite.el) (lisp/org/org-attach.el) (lisp/progmodes/cc-langs.el) (lisp/progmodes/idlw-shell.el) (lisp/ps-print.el) (lisp/simple.el) (src/cmds.c) (src/editfns.c) (src/frame.h) (src/regex-emacs.c) (src/xfaces.c): Replace "different than" by "different from".
| * More accurate documentation of 'package-menu-hide-package'Eli Zaretskii2020-02-082-5/+9
| | | | | | | | | | | | | | | | | | | | * doc/emacs/package.texi (Package Menu): Improve the description of the 'H' command. * lisp/emacs-lisp/package.el (package-menu-mode-menu): More accurate wording of the help-echo string. (package-menu-hide-package): Make the doc string more accurate. (Bug#39436)
* | Simplify Tramp cachingMichael Albinus2020-02-132-63/+44
| | | | | | | | | | | | | | | | | | * lisp/net/tramp-cache.el (tramp-flush-file-upper-properties) (tramp-flush-directory-properties) (tramp-flush-connection-properties, tramp-list-connections) (tramp-parse-connection-properties): * lisp/net/tramp-gvfs.el (tramp-parse-goa-accounts) (tramp-parse-media-names): Simplify cache handling.
* | Fix `tramp-interrupt-process'Michael Albinus2020-02-132-16/+11
| | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-interrupt-process): Improve command. * test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name) (tramp-test26-file-name-completion): Simplify. (tramp-test31-interrupt-process): Remove :unstable tag.
* | Fix Tramp tests towards *BSDMichael Albinus2020-02-121-14/+33
| | | | | | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp-get-remote-gid): Declare. (tramp-test18-file-attributes): Check `file-ownership-preserved-p' only if possible. (tramp-test30-make-process): Modify test due to *BSD.
* | Fix problem with auth-source.el in TrampMichael Albinus2020-02-111-1/+6
| | | | | | | | | | * lisp/net/tramp.el (tramp-read-passwd): Use `tramp-compat-temporary-file-directory'. (Bug#39389, Bug#39489)
* | Fix window position in Tramp's shell-commandMichael Albinus2020-02-101-3/+4
| | | | | | | | | | * lisp/net/tramp.el (tramp-handle-shell-command): Fix `window-start' in output buffer. (Bug#39171)
* | ; Fix recently-committed documentationEli Zaretskii2020-02-102-3/+5
| | | | | | | | | | | | * etc/NEWS: * doc/emacs/fixit.texi (Undo): Fix documentation of a recently introduced command 'undo-redo'.
* | Use quit-restore-window to close tab (bug#39446)Juri Linkov2020-02-103-28/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/tab-bar.el (display-buffer-in-new-tab): New function with code from display-buffer-in-tab. (display-buffer-in-tab): Call display-buffer-in-new-tab. (switch-to-buffer-other-tab): Instead of 'display-buffer-same-window' use '(reusable-frames . t)'. * lisp/windmove.el (windmove-display-in-direction): Set arg 'type' to 'tab' for window--display-buffer when creating a new tab. * lisp/window.el (quit-restore-window): Call tab-bar-close-tab when quit-restore type is 'tab'. (display-buffer-record-window): Set window-parameter 'quit-restore' to 'tab' for type 'tab'. (window--display-buffer): Set window-prev-buffers to nil for tab too.
* | Update from GnulibPaul Eggert2020-02-097-27/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | This incorporates: 2020-02-08 lchmod: ensure declaration on HP-UX 2020-02-08 fchmodat: fix endless recursion on Cygwin 2020-02-08 Fix compilation errors in a testdir 2020-02-07 fchmodat: AT_SYMLINK_NOFOLLOW fix for non-symlinks 2020-02-04 Port _Noreturn to older Clang 2020-02-03 libc-config: port to Apple’s Clang variant * lib/_Noreturn.h, lib/c++defs.h, lib/libc-config.h, lib/sys_stat.in.h: * m4/gnulib-common.m4, m4/sys_stat_h.m4: Copy from Gnulib. * lib/gnulib.mk.in: Regenerate.
* | * lisp/simple.el (undo-redo): New commandStefan Monnier2020-02-084-0/+72
| | | | | | | | | | | | | | (undo--last-change-was-undo-p): New function. * test/lisp/simple-tests.el (simple-tests--exec): New function. (simple-tests--undo): New test.
* | Allow composition of pure-ASCII strings in the mode lineEli Zaretskii2020-02-081-1/+12
| | | | | | | | | | | | * src/composite.c (Fcomposition_get_gstring): Allow unibyte strings if they are pure ASCII, by copying text into a multibyte string.
* | Improve prefix arg support in 'ediff-scroll-horizontally'Kyle Hubert2020-02-081-2/+2
| | | | | | | | | | | | | | | | * lisp/vc/ediff-util.el (ediff-scroll-horizontally): Use 'current-prefix-arg' to pass the value of prefix argument to scrolling commands. (Bug#39353) Copyright-paperwork-exempt: yes
* | Enhance memory address evaluation in gdb-miYuan Fu2020-02-081-15/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, the memory buffer evaluated the expression as address and used the fixed result in each stop. This change store the expression itself and reevaluates it in each stop to yield an address. We also add a warning (a red bold exclamation mark) on the header line when the content of the page doesn't represent the memory location user requested for. That happends when some error occurs in evaluating the address, and we display the last successfully displayed memory page. * lisp/progmodes/gdb-mi.el (gdb-memory-address-expression) (gdb--memory-display-warning): New variables. (gdb-memory-address): Change default value to nil; add docstring. (def-gdb-trigger-and-handler, gdb-invalidate-memory) (gdb-memory-set-address): Replace 'gdb-memory-address' with 'gdb-memory-address-expression'. (gdb-memory-header): Add code to display 'gdb-memory-address-expression' on header line. Move the mouse event from address to expression. Add code to display the warning. (gdb-memory-header): Fix the error from 'propertize' when 'gdb-memory-address-expression' or 'gdb-memory-address' is nil. (gdb-read-memory-custom): Change 'error' to 'user-error'. Add code to display the warning. (Bug#39180)
* | Some Tramp fixesMichael Albinus2020-02-074-20/+32
| | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-connectable-p): * lisp/net/tramp-cache.el (tramp-list-connections): * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Bind `tramp-verbose' to 0. * lisp/net/tramp-sh.el (tramp-remote-path, tramp-find-executable): Fix docstring. (tramp-open-shell): Read prompt when moving "~/.editrc".
* | Minor fixes of the last commitEli Zaretskii2020-02-074-20/+22
| | | | | | | | | | | | | | | | * src/xdisp.c (get_window_cursor_type): Fix indentation and line-filling. * doc/lispref/frames.texi (Cursor Parameters): * doc/emacs/display.texi (Cursor Display): * etc/NEWS: Fix wording and capitalization of the last change.
* | Support for (box . SIZE) 'cursor-type'Zajcev Evgeny2020-02-075-14/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows control of the minimum size of a masked image under which the box cursor becomes hollow. * buffer.c (cursor-type): Add commentary about (box . SIZE) 'cursor-type'. * xdisp.c (get_specified_cursor_type): Check for 'cursor-type' of the form (box . SIZE). (get_window_cursor_type): Check masked image size for (box . SIZE) 'cursor-type'. * doc/emacs/display.texi (Cursor Display): * doc/emacs/display.texi (Cursor Parameters): Add description of (box . SIZE) 'cursor-type'. * etc/NEWS: Mention the new (box . SIZE) 'cursor-type'.
* | MergeRichard Stallman2020-02-06398-7804/+8035
|\ \
| * \ ; Merge from origin/emacs-27Glenn Morris2020-02-060-0/+0
| |\ \ | | |/ | | | | | | | | | | | | The following commit was skipped: b2e27d8617 (origin/emacs-27) Revert "Signal user-error on duplicate p...
| | * Revert "Signal user-error on duplicate package refresh"Stefan Kangas2020-02-061-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | That commit caused errors when the connection was dropped in the middle of a package refresh. To avoid any further issues this close to the pretest, we simply remove this feature. (Bug#39187) Don't merge to master, where we will instead try to fix the bug.
| * | Merge from origin/emacs-27Glenn Morris2020-02-0624-52/+94
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09eed01afb Wrap some set-auto-mode calls with delay-mode-hooks (bug#3... 4a0a114505 Support ido-vertical-mode better ef5fba9f40 Fix faces tab-bar and tab-line. 831508422e Cater for 3-argument version of pthread_setname_np f27187f963 Clarify lexvar restrictions for add-to-ordered-list, add-t... 32763dac46 Replace add-to-list to lexical variable with push (bug#39373) d07f177382 Clarify add-to-list documentation (bug#39373) d3d2ea927c MH-E: alter content in mh-display-msg, not mh-show-mode db7fa2546f Update documentation for mh-show-mode-hook d10be6bf28 Example goto-addr hook: MH-E already uses goto-address # Conflicts: # etc/NEWS
| | * Wrap some set-auto-mode calls with delay-mode-hooks (bug#39190)Juri Linkov2020-02-063-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/mm-view.el (mm-display-inline-fontify): * lisp/vc/diff-mode.el (diff-syntax-fontify-props): * lisp/vc/vc.el (vc-find-revision-no-save): Add delay-mode-hooks around set-auto-mode calls to not run hooks that might assume buffer-file-name really associates buffer with a file.
| | * Support ido-vertical-mode betterDmitry Gutov2020-02-051-0/+3
| | | | | | | | | | | | | | | * lisp/ido.el (ido-exhibit): Prepend a space to INF if it starts with a newline (bug#39379).
| | * Fix faces tab-bar and tab-line.Juri Linkov2020-02-052-4/+4
| | | | | | | | | | | | | | | | | | * lisp/tab-bar.el (tab-bar) <defface>: * lisp/tab-line.el (tab-line) <defface>: Check for min-colors 88 instead of type x.
| | * Cater for 3-argument version of pthread_setname_npRobert Pluim2020-02-032-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes Bug#39363. * configure.ac: Add check for 3-argument version of pthread_setname_np. * src/systhread.c (sys_thread_set_name) [HAVE_PTHREAD_SETNAME_NP_3ARG]: Call pthread_setname_np with 3 arguments.
| | * Clarify lexvar restrictions for add-to-ordered-list, add-to-historyMattias Engdegård2020-02-023-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (add-to-ordered-list, add-to-history): * doc/lispref/lists.texi (List Variables): * doc/lispref/minibuf.texi (Minibuffer History): Note in the doc string and manual that the variable arguments to add-to-ordered-list and add-to-history cannot refer to a lexical variable (bug#39373).
| | * Replace add-to-list to lexical variable with push (bug#39373)Mattias Engdegård2020-02-017-21/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 'add-to-list', being a plain function, cannot access lexical variables, such use must be rewritten for correctness. (Some instances actually do work thanks to a compiler macro, but it's not something code should rely on.) * lisp/autoinsert.el (auto-insert-alist): * lisp/cedet/mode-local.el (mode-local-print-bindings): * lisp/net/tramp-cache.el (tramp-flush-connection-properties) (tramp-list-connections): * lisp/net/zeroconf.el (zeroconf-list-service-names) (zeroconf-list-service-types, zeroconf-list-services): * lisp/org/org.el (org-reload): * lisp/whitespace.el (whitespace-report-region): * test/lisp/emacs-lisp/map-tests.el (test-map-do): Replace add-to-list with push.
| | * Clarify add-to-list documentation (bug#39373)Mattias Engdegård2020-02-012-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | While add-to-list often works with lexical variables, this is a hack that isn't always effective; better tell the user not to try. * doc/lispref/lists.texi (List Variables): Add a note about lexical variables to the add-to-list description. Fix the equivalent code. * lisp/subr.el (add-to-list): Amend doc string.