aboutsummaryrefslogtreecommitdiffstats
path: root/lisp (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | ; Fix typo in previous patch.Paul Eggert2020-01-051-1/+1
| |
* | Go back to iso-2022-7bit for titdic-cnv.el againPaul Eggert2020-01-051-118/+119
| | | | | | | | | | | | | | | | | | * admin/notes/unicode: Mention this. * lisp/international/titdic-cnv.el: Go back to iso-2022-7bit for this file, since utf-8-emacs unified characters that tsanq-quick-converter did not want unified. Problem reported by Eli Zaretskii in: https://lists.gnu.org/r/emacs-devel/2020-01/msg00156.html
* | Merge from origin/emacs-27Paul Eggert2020-01-0516-80/+53
|\ \ | |/ | | | | | | | | | | | | | | 448df8fec7 Improve doc-strings of 'quit-window' and 'quit-restore-win... 7f01dfca56 Fix MH-E bug #470: Show buffer discards text properties f95a2b8301 Fix some broken conditional forms 28727444f1 Fix a scoping error in tramp-sudoedit.el 6cbdd048bd * lisp/autorevert.el (auto-revert-notify-handler): Fix bra... 076dd1f69a Fix typo in 'window_box_height'
| * Improve doc-strings of 'quit-window' and 'quit-restore-window' (Bug#38819)Martin Rudalics2020-01-051-8/+8
| | | | | | | | | | | | * lisp/window.el (quit-restore-window, quit-window): Make doc-strings more consistent; add references to corresponding section of the Elisp manual (Bug#38819).
| * Fix MH-E bug #470: Show buffer discards text propertiesStephen Gildea2020-01-041-8/+6
| | | | | | | | | | | | | | | | * lisp/mh-e/mh-show.el (mh-display-msg): reset font lock and set major mode *before* formatting message content. This changes lets fonts work when the Show buffer is reused for a new message. (mh-show-mode): no longer set buffer-read-only; that is better done by mh-display-msg after setting all content.
| * Fix some broken conditional formsPaul Eggert2020-01-0412-47/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Mattias Engdegård in: https://lists.gnu.org/r/emacs-devel/2020-01/msg00088.html * lisp/cedet/ede/cpp-root.el (ede-create-lots-of-projects-under-dir): Remove this quick hack, which didn’t do anything anyway. * lisp/cedet/ede/pconf.el (ede-proj-configure-test-required-file): * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-col): * lisp/net/nsm.el (nsm-check-tls-connection): Use ‘when’ rather than bypassing it. This doesn’t affect behavior and is better style. * lisp/cedet/srecode/semantic.el (srecode-semantic-handle-:tag): Fix typo that suppressed an error. * lisp/filesets.el (filesets-run-cmd): Fix typo that mishandled spacing. * lisp/gnus/gnus-cloud.el (gnus-cloud-update-newsrc-data): Fix typo that caused “GROUP has older different info in the cloud as of DATE, update it here?” prompt result to always be treated as “yes”. * lisp/gnus/mml-smime.el (mml-smime-openssl-encrypt): Simplify, since smime-encrypt-buffer signals error on failure. * lisp/international/titdic-cnv.el (tsang-quick-converter): Simplify. The conversion of this file to utf-8-emacs in 2019-01-08T02:18:40Z!monnier@iro.umontreal.ca removed the distinction between Big5 and CNS fulltitles in the generated docstring. * lisp/org/org-agenda.el (org-agenda-show-and-scroll-up): * lisp/textmodes/table.el (table--generate-source-cell-contents): Simplify by removing useless code. * lisp/org/ox-odt.el (org-odt--format-timestamp): Fix typo that always output time-of-day even when the timestamp lacked it.
| * Fix a scoping error in tramp-sudoedit.elMichael Albinus2020-01-041-15/+15
| | | | | | | | | | * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-system-info): Fix a scoping error.
| * * lisp/autorevert.el (auto-revert-notify-handler): Fix bracketing.Mattias Engdegård2020-01-041-2/+2
| |
* | Merge from origin/emacs-27Paul Eggert2020-01-051-5/+5
|\ \ | |/ | | | | 05c5bf4d38 * lisp/net/tramp.el: Fix typos.
| * * lisp/net/tramp.el: Fix typos.Michael Albinus2020-01-031-5/+5
| |
* | ; * lisp/x-dnd.el (x-dnd-get-motif-value): Fix typo.Mattias Engdegård2020-01-051-1/+1
| |
* | Remove generation of old bytecodes for catch/unwindMattias Engdegård2020-01-053-123/+18
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile--use-old-handlers) (byte-compile-condition-case, byte-compile-condition-case--old): Remove. (byte-compile-condition-case--new): Rename to byte-compile-condition-case. (byte-compile-catch, byte-compile-unwind-protect): * lisp/emacs-lisp/cconv.el (cconv-convert, cconv-analyze-form): * lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Simplify.
* | * lisp/emacs-lisp/bindat.el: Remove obsolete comment.Paul Eggert2020-01-041-3/+0
| |
* | ; Some that->than fixes.Paul Eggert2020-01-042-2/+2
| |
* | * lisp/arc-mode.el (archive-zip-summarize): Remove unused local.Paul Eggert2020-01-041-2/+1
| |
* | Simplify x-dnd.el due to bignumsPaul Eggert2020-01-041-34/+19
| | | | | | | | | | | | | | | | * lisp/x-dnd.el (x-dnd-get-drop-x-y, x-dnd-version-from-flags) (x-dnd-more-than-3-from-flags, x-dnd-get-motif-value) (x-dnd-motif-value-to-list): Do not worry about pairs of 16-bit numbers, as the C code no longer generates them; it generates bignums now, when needed on 32-bit platforms.
* | * lisp/gnus/gnus-start.el (gnus-group-change-level): SimplifyStefan Monnier2020-01-042-14/+14
| | | | | | | | * lisp/gnus/gnus-group.el (gnus-group-unsubscribe-group): Simplify.
* | Generate fewer useless conditionals in cl-loopMattias Engdegård2020-01-041-1/+4
| | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause): Don't generate a condition if both branches are the same, which is the common case.
* | Merge from origin/emacs-27Glenn Morris2020-01-034-4/+27
|\ \ | |/ | | | | | | | | | | | | | | | | 06364316e0 (origin/emacs-27) * lisp/net/tramp.el (tramp-file-local-na... d3884f50e0 Adapt commentary in Tramp persistency file 2d82f5a44e Change Tramp version to 2.4.3.27.1 09b65707cc ; * src/dispnew.c (adjust_glyph_matrix): Fix last change. 37f9182b68 Fix redisplay when mode-line-format changes mode-line's he... 1420906b81 * src/fileio.c (Fwrite_region): Improve the doc string. 01dfcb7c87 Fix removal of frame decorations on Windows (Bug#38705)
| * * lisp/net/tramp.el (tramp-file-local-name): New defun. (Bug#34343)Michael Albinus2020-01-031-0/+19
| |
| * Adapt commentary in Tramp persistency fileMichael Albinus2020-01-031-1/+1
| | | | | | | | | | * lisp/net/tramp-cache.el (tramp-dump-connection-properties): Adapt commentary in `tramp-persistency-file-name'.
| * Change Tramp version to 2.4.3.27.1Michael Albinus2020-01-031-3/+4
| | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.3.27.1". (customize-package-emacs-version-alist): Add Tramp version integrated in Emacs 27.1.
| * Fix redisplay when mode-line-format changes mode-line's heightEli Zaretskii2020-01-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/frame.el (top-level): Add mode-line-format, tab-line-format, and header-line-format to the list of variables that should trigger an immediate redisplay of the buffer's window. This fixes redisplay of windows when the mode line changes its height. * src/xdisp.c (window_box_height): Use the window's mode_line_height, tab_line_height, and header_line_height fields in preference to CURRENT_MODE_LINE_HEIGHT, CURRENT_TAB_LINE_HEIGHT, and CURRENT_HEADER_LINE_HEIGHT, respectively. This fixes display of vertical scroll bar when the height of the window's mode line changes. * src/dispnew.c (adjust_glyph_matrix): When resizing a window's matrix, reset the mode_line_p flag of the previous mode-line row, so that the window_box_height, CURRENT_MODE_LINE_HEIGHT, and their ilk won't use stale info. (Bug#38828)
* | Merge from origin/emacs-27Glenn Morris2020-01-032-2/+7
|\ \ | |/ | | | | | | | | | | | | 071483b6f5 Fix reverting customizations 43203d5068 * lisp/loadup.el: Set max-specpdl-size to 1800 when loadin... fab3674b36 Revert "Raise default max-specpdl-size value" 42f66aa502 ; Fix NEWS.24 bb9402e6e9 Raise default max-specpdl-size value
| * Fix reverting customizationsEli Zaretskii2020-01-011-1/+4
| | | | | | | | | | | | * lisp/custom.el (custom-push-theme): Don't use setcar to modify the recorded value of PROP; instead, cons a new property list by deleting the old value and adding the new one. (Bug#38812)
| * * lisp/loadup.el: Set max-specpdl-size to 1800 when loading cl-generic.el.Mattias Engdegård2020-01-011-1/+3
| |
| * ; Auto-commit of loaddefs files.Glenn Morris2020-01-011-209/+465
| |
* | ; Auto-commit of loaddefs files.Glenn Morris2020-01-011-196/+461
| |
* | Merge from origin/emacs-27Paul Eggert2020-01-011454-1459/+1459
|\ \ | |/ | | | | | | | | | | | | | | | | | | 186152ba40 Pacify gcc -Wunused-function on Ubuntu 18.04.3 4cd143aded Fix copyright years by hand 365e01cc9f Update copyright year to 2020 cd2c156163 ; * etc/NEWS: Make the description of XDG fallback more ac... # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex
| * Fix copyright years by handPaul Eggert2020-01-013-6/+6
| | | | | | | | These are dates that admin/update-copyright did not update.
| * Update copyright year to 2020Paul Eggert2020-01-011453-1453/+1453
| | | | | | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
| * Don't always resort in recently introduced icomplete--sorted-completionsJoão Távora2019-12-311-30/+31
| | | | | | | | | | | | | | | | | | | | Doing so breaks icomplete-forward-completions and icomplete-backward-completions. * lisp/icomplete.el (icomplete--sorted-completions): Don't always resort. (cherry picked from commit 639fb50ed4c622f99dfbde32fbdbca42ce36d385)
| * Don't force completion recalculation in icomplete-fido-retJoão Távora2019-12-311-4/+2
| | | | | | | | | | | | | | | | | | | | | | Besides the adverse effect of delaying completions, it tripped up the useful logic of icomplete-force-complete-and-exit in the case where a default was available, but no completions calculated yet. * lisp/icomplete.el (icomplete-fido-ret): Don't force calculation of completions. (cherry picked from commit 13778aa5be7bf028893672d84c2a291f491d8216)
| * Correctly cache sorted completions in icomplete--sorted-completionsJoão Távora2019-12-311-29/+30
| | | | | | | | | | | | | | * lisp/icomplete.el (icomplete--sorted-completions): Use completion--cache-all-sorted-completions. (cherry picked from commit 83587bb68830bd91124f99ddf8590d1d5f63869f)
| * Move flex style's minibuffer-default-aware sorting to lisp/icomplete.elJoão Távora2019-12-312-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. (cherry picked from commit 0d2a711dc9a65dc8eb6e995369e70cddbcd7d9a4)
| * Make fido-mode behave more like ido-mode when finding directoriesJoão Távora2019-12-311-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. (cherry picked from commit ee914051fbb4fbff9073a23b5ea7668bf48b5c6a)
| * Slightly simplify lisp/icomplete.el with new icomplete--category helperJoão Távora2019-12-311-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. (cherry picked from commit 24a1f520f91c278cb8cc57325ea80285a3b252cf)
| * Another adjustment to flex completion style's sorting functionJoão Távora2019-12-311-9/+14
| | | | | | | | | | | | | | * lisp/minibuffer.el (completion--flex-adjust-metadata): Adjust case when minibuffer-default is non-nil. (cherry picked from commit 9c912049927cfb18b9c8b37039b38ddf51f2fe81)
* | Sync with Tramp 2.4.3Michael Albinus2019-12-302-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.3". * lisp/net/tramp.el: Bump version. (tramp-handle-shell-command): The temp file for error-buffer is remote. * test/lisp/net/tramp-tests.el (tramp-test30-make-process): Simplify buffer generation. (tramp-test32-shell-command): Extend test. (cherry picked from commit d6922db49dea33ac2bca8b33d24763cc7b2e4cd7)
* | Merge from origin/emacs-27Glenn Morris2019-12-302-7/+26
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59f71d20ea (origin/emacs-27) Fix tar-mode reading the oldgnu Tar format e3ec84fd7d Ensure mini-window is resized to show active minibuffer co... 450633f85a Fix mini-window resizing under resize-mini-windows = t 219d47893a (emacs-27) Fixes for makeinfo 4.13 4bbfd2b42f ; fix previous NEWS entry 81b697d106 Fix crash under -nw on macOS properly this time 9ce4207969 Revert "Check for GUI frame in ns_color_index_to_rgba" 732dcfc850 Ignore all color fonts when using XFT aa0c679f48 Avoid unbounded growth of cl-random-state components (bug#... # Conflicts: # etc/NEWS # src/nsterm.m
| * Fix tar-mode reading the oldgnu Tar formatEli Zaretskii2019-12-301-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes sure an entry for a long file name will not accidentally appear as a directory, and thus its size will be disregarded, causing corrupted file headers for all the subsequent entries. The original problem happened because the long file name truncated to 99 bytes happened to end in a slash, which tar-mode takes to be the indication of a directory. * lisp/tar-mode.el (tar-header-block-tokenize): Accept an additional argument DISABLE-SLASH; if non-nil, don't set the link-type field of the descriptor to 5 (meaning a directory) just because the name ends in a slash. Use this argument when calling itself recursively, to read the entry of the file with a long name. Set the link-type to 5 if the long name ends in a slash. (Bug#38777)
| * Avoid unbounded growth of cl-random-state components (bug#38753)Mattias Engdegård2019-12-291-1/+1
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-extra.el (cl-random): Perform the modulo 2**23 operation before updating the state instead of after. The result is always the same, but it prevents the state from growing into arbitrary large bignums. Patch from Christopher Wellons.
| * Sync with Tramp 2.4.3Michael Albinus2019-12-292-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.4.3". * lisp/net/tramp.el: Bump version. (tramp-handle-shell-command): The temp file for error-buffer is remote. * test/lisp/net/tramp-tests.el (tramp-test30-make-process): Simplify buffer generation. (tramp-test32-shell-command): Extend test.
* | Merge from origin/emacs-27Glenn Morris2019-12-305-71/+92
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70fe552c61 ; xref-references-in-directory: Autoload as well 181f571651 Fix up requires 43f66c3368 Extract xref-matches-in-files from project--find-regexp-in... 65af18d86e Rename xref-collect-references and xref-collect-matches 98788bf976 ; Improve the docstring some more c190e91a1e Improve docstrings 012c12a05e Fix when expose draws partially visible first glyph (bug#3... d915b8c3f1 Don't require semantic/fw 50a0126402 Do some renames for clarity 74261ff301 Rearrange NEWS, add missing documentation 6c9571379e Fix interactive spec in netrc-parse 32222fb34c Fix documentation of define-obsolete-* functions # Conflicts: # etc/NEWS
| * ; xref-references-in-directory: Autoload as wellDmitry Gutov2019-12-291-0/+1
| |
| * Fix up requiresDmitry Gutov2019-12-291-1/+3
| | | | | | | | | | | | | | | | * lisp/progmodes/project.el (project-files): Remove (require 'xref). (project--files-in-directory): Add it here instead. (project-find-regexp, project-or-external-find-regexp): And here. For 'xref--show-xrefs'.
| * Extract xref-matches-in-files from project--find-regexp-in-filesDmitry Gutov2019-12-293-49/+52
| | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-matches-in-files): Extract from project--find-regexp-in-files. * lisp/dired-aux.el (dired-do-find-regexp): Also use it here.
| * Rename xref-collect-references and xref-collect-matchesDmitry Gutov2019-12-291-3/+13
| | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-references-in-directory): Rename from xref-collect-references. Update the sole caller. (xref-matches-in-directory): Rename from xref-collect-matches. Update all callers (all of them are in the /tests/ dir). * test/lisp/progmodes/xref-tests.el (xref-tests-data-dir): Don't use the EMACS_TEST_DIRECTORY env var. It doesn't work when running interactively.
| * ; Improve the docstring some moreDmitry Gutov2019-12-291-2/+3
| |
| * Improve docstringsDmitry Gutov2019-12-291-2/+5
| | | | | | | | | | * lisp/progmodes/xref.el (xref-collect-matches) (xref-collect-references): Improve docstrings.