summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make sure Gnus search groups search topics recursivelyEric Abrahamsen2020-11-131-4/+10
| | | | | | | * lisp/gnus/gnus-group.el (gnus-group-make-search-group, gnus-group-read-ephemeral-search-group): If a search is initiated from a topic line, make sure we get all the groups under that topic (and under sub-topics).
* Simplify quick-check composition regexpsMattias Engdegård2020-11-131-1/+1
| | | | | | | * lisp/international/ucs-normalize.el (quick-check-composition-list-to-regexp): Don't add an explicit pattern for U+1161..U+1175 and U+11a8..U+11c2 since these are already part of `combining-chars'.
* Merge from origin/emacs-27Glenn Morris2020-11-133-7/+13
|\ | | | | | | | | a3d316bbb7 (origin/emacs-27) Update information about refcards f43e9ad524 Avoid crashes in the daemon due to user interaction
| * Update information about refcardsEli Zaretskii2020-11-132-6/+11
| | | | | | | | | | | | * admin/release-process (refcards): * admin/make-tarball.txt (refcards): Update information about generating refcards and required TeX/LaTeX packages.
| * Avoid crashes in the daemon due to user interactionEli Zaretskii2020-11-111-1/+2
| | | | | | | | | | | | | | * src/minibuf.c (read_minibuf): Avoid crashes in the daemon if the init file invokes some kind of minibuffer interaction, by not updating the selected frame if it's the initial frame. (Bug#44583)
* | ; Merge from origin/emacs-27Glenn Morris2020-11-130-0/+0
|\| | | | | | | | | | | The following commit was skipped: 658952a57a Some minor changes to Tramp, do not merge with master
| * Some minor changes to Tramp, do not merge with masterMichael Albinus2020-11-117-18/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-handle-directory-files) (tramp-handle-directory-files-and-attributes): * lisp/net/tramp-adb.el (tramp-adb-handle-directory-files-and-attributes): * lisp/net/tramp-rclone.el (tramp-rclone-handle-directory-files): * lisp/net/tramp-sh.el (tramp-sh-handle-directory-files-and-attributes): * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Add _COUNT. Make the functions forward compatible. * lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Increase `max-specpdl-size' temporarily. * test/lisp/net/tramp-tests.el (tramp--test-share-p): New defun. (tramp-test05-expand-file-name-relative): Use it.
* | Merge from origin/emacs-27Glenn Morris2020-11-132-7/+9
|\| | | | | | | | | | | | | | | ac1a2b2160 Add more doc-view requirements 109eb1e7e2 Fix undefined behavior when fetching glyphs from the displ... # Conflicts: # lisp/doc-view.el
| * Add more doc-view requirementsLars Ingebrigtsen2020-11-101-4/+6
| | | | | | | | * lisp/doc-view.el: Add more requirements.
| * Fix undefined behavior when fetching glyphs from the display vector.Philipp Stephani2020-11-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | You can trigger this rather obscure bug by enabling selective display if the second glyph in its display vector has an invalid face. For example, evaluate (set-display-table-slot standard-display-table 'selective-display [?A (?B . invalid)]) and then enable selective display. * src/xdisp.c (next_element_from_display_vector): Check whether next glyph code is valid before accessing it.
* | ; Merge from origin/emacs-27Glenn Morris2020-11-130-0/+0
|\| | | | | | | | | | | The following commit was skipped: 78e1646bf7 Fix pcase rx form snag with '?' and '??' (bug#44532)
| * Fix pcase rx form snag with '?' and '??' (bug#44532)Mattias Engdegård2020-11-092-2/+6
| | | | | | | | | | | | | | | | | | | | This is a regression from Emacs 26. Reported by Phillip Stephani. * lisp/emacs-lisp/rx.el (rx--pcase-transform): Process ? and ?? correctly. * test/lisp/emacs-lisp/rx-tests.el (rx-pcase): Add test case. (cherry picked from commit 575b0681d926463960fc00d1e33decaa71d5c956)
* | Merge from origin/emacs-27Glenn Morris2020-11-133-9/+17
|\| | | | | | | | | | | | | 75384bd155 Update the doc-view header line 13ab70c80e Avoid breaking Arabic shaping in 'window-text-pixel-size' e693d97e50 doc-view.el comment clarification 968e85a2ce Update erc documentation about C-c C-b
| * Update the doc-view header lineLars Ingebrigtsen2020-11-091-1/+1
| |
| * Avoid breaking Arabic shaping in 'window-text-pixel-size'Eli Zaretskii2020-11-091-2/+9
| | | | | | | | | | | | | | | | * src/xdisp.c (CHAR_COMPOSED_P): If the bidi_p flag is not set, pass -1 to composition_reseat_it, so that the shaping engine will figure out the directionality of the text. This is important, e.g., when using move_it_* functions in some context that is not redisplay, such as 'window-text-pixel-size'. (Bug#44521)
| * doc-view.el comment clarificationLars Ingebrigtsen2020-11-091-4/+5
| | | | | | | | | | * lisp/doc-view.el: Make the commentary mention that it's not limited to a narrow range of file formats (bug#44504).
| * Update erc documentation about C-c C-bDaniel Martín2020-11-091-2/+2
| | | | | | | | | | | | * doc/misc/erc.texi (Keystroke Summary): C-c C-b runs erc-switch-to-buffer, which is implemented in terms of read-buffer (bug#44498).
* | Fix error with fn key in NS port (bug#44533)Alan Third2020-11-131-11/+8
| | | | | | | | | | * src/nsterm.m ([EmacsView keyDown:]): Move the correction for fn key handling to before the modifiers are calculated.
* | Some minor Tramp fixes, resulting from test campaignMichael Albinus2020-11-136-22/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-handle-write-region): * lisp/net/tramp-adb.el (tramp-adb-handle-write-region): * lisp/net/tramp-sh.el (tramp-sh-handle-write-region): * lisp/net/tramp-smb.el (tramp-smb-handle-write-region): Use `current-time' if needed. * lisp/net/tramp-gvfs.el (tramp-gvfs-gio-mapping): (tramp-gvfs-do-copy-or-rename-file): Remove "gvfs-rename", it is not trustworthy. * test/lisp/net/tramp-tests.el (tramp-test07-file-exists-p): Check also for symlinked files in trash. (tramp-test20-file-modes): Revert last change, it was a thinko.
* | Don't quote lambdas in several placesStefan Kangas2020-11-1223-227/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/allout-widgets.el (allout-widgets-adjusting-message) (allout-widgets-exposure-change-processor) (allout-widgets-count-buttons-in-region): * lisp/ansi-color.el (ansi-color-make-color-map): * lisp/case-table.el (describe-buffer-case-table): * lisp/emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): * lisp/gnus/gnus-agent.el (gnus-agent-regenerate-group): * lisp/gnus/nnir.el (nnir-run-swish++, nnir-run-swish-e) (nnir-run-hyrex, nnir-run-namazu): * lisp/hippie-exp.el (make-hippie-expand-function) (try-complete-lisp-symbol, try-complete-lisp-symbol-partially) (try-expand-all-abbrevs): * lisp/international/mule-cmds.el (sort-coding-systems) (select-safe-coding-system, select-message-coding-system) (read-language-name, encoded-string-description): * lisp/international/quail.el (quail-keyseq-translate) (quail-get-translations, quail-build-decode-map) (quail-insert-decode-map): * lisp/jka-compr.el (jka-compr-uninstall): * lisp/locate.el (locate-in-alternate-database): * lisp/mail/mailabbrev.el (mail-resolve-all-aliases-1) (mail-abbrev-make-syntax-table): * lisp/mh-e/mh-seq.el (mh-read-folder-sequences): * lisp/net/eudcb-ldap.el (eudc-ldap-simple-query-internal): * lisp/progmodes/make-mode.el (makefile-query-targets) (makefile-prompt-for-gmake-funargs): * lisp/shadowfile.el (shadow-cancel, shadow-shadows-of): * lisp/sort.el (sort-pages, sort-fields, sort-regexp-fields): * lisp/subr.el (listify-key-sequence): * lisp/term/wyse50.el (terminal-init-wyse50): * lisp/textmodes/ispell.el (ispell-help) (ispell-begin-tex-skip-regexp): * lisp/textmodes/page-ext.el (pages-sort-region): * lisp/textmodes/refer.el (refer-find-entry-in-file): * lisp/url/url-expand.el (url-expand-file-name): Don't quote lambdas.
* | Add help-char to the cache key in read-char-from-minibuffer as wellJuri Linkov2020-11-121-2/+2
| | | | | | | | | | It's highly unlikely that help-char will be changed from its default value 8, but formally there is a dependence on help-char.
* | Emit required version when Harfbuzz is not found but Cairo isRobert Pluim2020-11-121-10/+11
| | | | | | | | | | | | * configure.ac: Define harfbuzz_required_ver with required harfbuzz version, and put it in the warning message emitted when Cairo is found but not HarfBuzz.
* | vhdl-mode: remove minor obstacle to static checkingMattias Engdegård2020-11-121-7/+4
| | | | | | | | | | | | | | * lisp/progmodes/vhdl-mode.el (vhdl-directive-keywords-regexp): Remove unnecessary global variable. (vhdl-words-init): Remove assignment. (vhdl-font-lock-init): Inline expression. Use regexp-opt.
* | Remove mention of `edebug-on-signal' from a doc stringLars Ingebrigtsen2020-11-121-1/+0
| | | | | | | | | | * lisp/emacs-lisp/edebug.el (edebug-mode): Don't mention non-existent user option (bug#44577).
* | Clarify project-find-file doc stringLars Ingebrigtsen2020-11-121-2/+1
| | | | | | | | | | | | | | * lisp/progmodes/project.el (project-find-file): Don't say anything about recognizing file names, as that may lead the user to think that it'll check whether the string at point is an existing file (bug#44588).
* | Add help-form to the cache key in read-char-from-minibufferJuri Linkov2020-11-121-3/+3
| |
* | * test/lisp/help-fns-tests.el: Silence byte-compiler.Stefan Kangas2020-11-121-1/+2
| |
* | * test/lisp/hfy-cmap-resources/rgb.txt: Add comment line.Stefan Kangas2020-11-121-0/+1
| |
* | Remove redundant installation instructionsStefan Kangas2020-11-1216-76/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/newsticker.el: * lisp/net/sieve-mode.el: * lisp/play/bubbles.el: * lisp/play/handwrite.el: * lisp/progmodes/python.el: * lisp/progmodes/ruby-mode.el: * lisp/whitespace.el: Remove redundant installation instructions. These packages are distributed with Emacs and/or GNU ELPA. * lisp/calendar/timeclock.el: * lisp/ehelp.el: * lisp/emacs-lisp/checkdoc.el: * lisp/filesets.el: * lisp/mail/reporter.el: * lisp/net/rfc2104.el: * lisp/net/webjump.el: * lisp/pixel-scroll.el: Remove redundant recommendation to call require before using autoloaded functions. * lisp/tar-mode.el: Remove reference to package uncompress, removed in Emacs 23.
* | * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add Brewfile.Stefan Kangas2020-11-121-1/+1
| |
* | Fix mistake in describe-buffer-bindingsStefan Kangas2020-11-121-1/+1
| | | | | | | | | | | | | | * src/keymap.c (Fdescribe_buffer_bindings): Fix a call in describe-buffer-bindings. This fixes a mistake in my previous commit to prefer the Lisp version of describe-map-tree (8a1441310aa1), where 0 was accidentally converted to Qt in two places.
* | Use cache with help-char in read-char-from-minibuffer unless help-form is nilJuri Linkov2020-11-121-6/+4
| |
* | In dired-query use read-char-from-minibuffer with bound help-char (bug#42708)Juri Linkov2020-11-113-22/+35
| | | | | | | | | | | | | | | | | | | | * lisp/dired-aux.el (dired-query): Replace read-char-choice call with read-char-from-minibuffer. * lisp/subr.el (read-char-choice): Restore the previous version that uses read-key. (read-char-from-minibuffer): Bind help-char to help-form-show when help-form is non-nil.
* | Remove unused "internal" gnus-search variablesEric Abrahamsen2020-11-111-6/+0
| | | | | | | | | | * lisp/gnus/gnus-search.el (gnus-search-memo-query, gnus-search-memo-server): No longer needed.
* | Fix defgeneric name of gnus-search-index(ed)-extractEric Abrahamsen2020-11-111-1/+1
| | | | | | | | | | * lisp/gnus/gnus-search.el (gnus-search-indexed-extract): Had the wrong name on the generic.
* | Fix python-font-lock-keywords-maximum-decoration performance regressionDario Gjorgjevski2020-11-111-11/+8
| | | | | | | | | | | | | | * lisp/progmodes/python.el (python-font-lock-keywords-maximum-decoration): `symbol-name' should not be quantified by a `+' as it is redundant and performs very badly (bug#44572).
* | Remove mention of global-cedet-m3-minor-modeLars Ingebrigtsen2020-11-111-2/+0
| | | | | | | | | | | | | | * lisp/cedet/semantic.el (semantic-submode-list): (semantic-default-submodes): Remove mention of global-cedet-m3-minor-mode, which no longer exists, apparently (bug#44565).
* | Fix font lock of assignments with type hints in PythonDario Gjorgjevski2020-11-111-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/python.el (python-font-lock-keywords-maximum-decoration): Fix regular expressions for font lock of assignments with type hints (bug#44568). The font lock of assignments with type hints in Python is rather bad. Consider the following example: from typing import Mapping, Tuple, Sequence var1: int = 5 var2: Mapping[int, int] = {10: 1024} var3: Mapping[Tuple[int, int], int] = {(2, 5): 32} var4: Sequence[Sequence[int]] = [[1], [1, 2], [1, 2, 3]] var5: Sequence[Mapping[str, Sequence[str]]] = [ { 'red': ['scarlet', 'vermilion', 'ruby'], 'green': ['emerald green', 'aqua'] }, { 'sword': ['cutlass', 'rapier'] } ] As things stand right now, only ‘var1’ would be highlighted. To make things worse, the ‘Mapping’ type hint of ‘var2’ would also be highlighted, which is entirely incorrect. This commit makes all of ‘var1’ through ‘var5’ be highlighted correctly.
* | Cleanup of the test file for cperl-modeHarald Jörg2020-11-111-182/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/progmodes/cperl-mode-tests.el (cperl--run-test-cases): New macro, factored out from various indentation / rewriting tests. Contains documentation of the format used by the cperl-mode-resources files. (cperl-test-bug-19709): Replace 'next-line' by 'forward-line'. (cperl-test-indent-exp), (cperl-test-indent-styles), (cperl-test-bug-30393): Use the new macro. (cperl-test-bug-19709): Make fit for Emacs 26. (cperl-test-indent-styles): Skip for Perl mode (bug#44561).
* | * lisp/server.el: Refactor frame creation functionsStefan Monnier2020-11-101-48/+41
| | | | | | | | | | | | | | (server--create-frame): New function, extracted from `server-create-dumb-terminal-frame`. (server-create-window-system-frame, server-create-tty-frame): (server-create-dumb-terminal-frame): Use it.
* | * lisp/server.el: Fix frame creation on dumb terminals (bug#25547)Eliza Velasquez2020-11-101-3/+26
| | | | | | | | | | | | | | (server-create-dumb-terminal-frame): New function. (server-process-filter): Use it. (server-delete-client): Don't delete tty terminal when it's not exclusive to this client.
* | Don't set file name variable in org-element-parse-secondary-string (bug#44524)Juri Linkov2020-11-101-1/+3
| | | | | | | | | | | | * lisp/org/org-element.el (org-element-parse-secondary-string): Don't set buffer-local variables buffer-file-name and buffer-file-truename in temporary buffer.
* | * lisp/leim/quail/compose.el ("iso-transl"): New input method.Juri Linkov2020-11-104-1/+40
| | | | | | | | | | | | | | * doc/emacs/basic.texi (Inserting Text): Mention transient input method "iso-transl". * lisp/leim/quail/latin-ltx.el: Use same Keywords as in other quail files.
* | New debugging command 'malloc-info'Eli Zaretskii2020-11-101-0/+17
| | | | | | | | | | * src/alloc.c (Fmalloc_info) [GNU_LINUX]: New command. (syms_of_alloc): Defsubr it. (Bug#43389)
* | Clear the vc-state cache when returning nilDmitry Gutov2020-11-101-1/+4
| | | | | | | | | | * lisp/vc/vc-hg.el (vc-hg-registered): Clear the vc-state cache when returning nil.
* | Remove extra process call from vc-hg-registeredTom Fitzhenry2020-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | Prefer vc-state to benefit from its caching (bug#44534) This same technique is used in vc-git.el, per commit 2018-06-28 "Remove extra process call from vc-git-find-file-hook" 93c41ce6aa64b14fc9bd7bdd0d909915a79191cd. * lisp/vc/vc-hg.el (vc-hg-registered): Use vc-state rather than vc-hg-state.
* | Fix a recent change in image.c for MS-WindowsEli Zaretskii2020-11-101-1/+1
| | | | | | | | | | | | * src/image.c: Fix DEF_DLL_FN of rsvg_handle_get_intrinsic_dimensions. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
* | Only use nbutlast when we actually want to modify the original listSteven Allen2020-11-102-2/+2
| | | | | | | | | | | | | | * lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-byte-array-to-string): Don't modify the byte array. * lisp/net/tramp-integration.el (tramp-eshell-directory-change): Don't modify the underlying exec-path.
* | Remove ephemeral group on error or null resultAndrew G Cohen2020-11-101-2/+8
| | | | | | | | | | | | * lisp/gnus/nnselect.el (nnselect-request-group): If an ephemeral group is empty, there is nothing to see, so remove the group. (nnselect-run): Catch and return an empty artlist on error.
* | CC Mode: fix many compiler warnings which would appear with lexical bindingAlan Mackenzie2020-11-095-54/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/cc-align.el (three places) prefix langelem with a _. * lisp/progmodes/cc-{cmds,engine}.el: Remove superfluous local variables. * lisp/progmodes/cc-defs.el (c-will-be-unescaped): Remove unused parameter end. * lisp/progmodes/cc-engine.el (c-looking-at-decl-block): Remove unused parameter containing-sexp. (c-looking-at-special-brace-list); Remove unused parameter lim. (c-add-class-syntax): Remove unused parameter paren-state.