summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove spurious display-buffer call in eldoc--echo-area-substringscratch/eldoc-display-functionsJoão Távora2020-10-051-1/+0
| | | | | * lisp/emacs-lisp/eldoc.el (eldoc--echo-area-substring): Remove spurious display-buffer call.
* Rework semantics of eldoc-echo-are-use-multiline-pJoão Távora2020-10-041-57/+59
| | | | | | | | * lisp/emacs-lisp/eldoc.el (eldoc-echo-area-use-multiline-p): Rework semantics. (eldoc--echo-area-substring): New helper. (eldoc--echo-area-prefer-doc-buffer-p): New helper. (eldoc-display-in-echo-area): Rework using new helpers.
* Rename ElDoc user option controlling display of truncation noticeJoão Távora2020-10-042-4/+4
| | | | | | | | | | | | | | | The new name makes it consistent with other variables controlling the display of ElDoc documentation in the echo area. Per bug#43543. * etc/NEWS (Eldoc): Rename eldoc-display-truncation-message to eldoc-echo-area-display-truncation-message. * lisp/emacs-lisp/eldoc.el (eldoc-echo-area-display-truncation-message): Rename from eldoc-display-truncation-message. (eldoc-display-in-echo-area): Use new variable name.
* Rework eldoc-echo-area-prefer-doc-buffer (bug#42532)João Távora2020-10-031-14/+25
| | | | | | | | * lisp/emacs-lisp/eldoc.el: (eldoc-echo-area-prefer-doc-buffer): Rename from eldoc-echo-area-prefer-doc-buffer (eldoc-display-in-echo-area): Rework to honour eldoc-echo-area-prefer-doc-buffer.
* Introduce eldoc-display-functionsJoão Távora2020-10-032-102/+146
| | | | | | | | | | | | | | | | | | | | See bug#43609 * lisp/emacs-lisp/eldoc.el (eldoc--request-state): Add comment. (eldoc--last-request-state): No longer buffer-local. (eldoc--request-docs-p): Delete. (eldoc-display-functions): New user variable. (eldoc--doc-buffer-docs): New variable. (eldoc-display-message-p): Rework. (eldoc--format-doc-buffer): Rework from eldoc--handle-docs. (eldoc-display-in-echo-area, eldoc-display-in-buffer): New user-visible function. (eldoc--invoke-strategy): Take INTERACTIVE arg. Invoke eldoc-display-in-buffer (eldoc-print-current-symbol-info): Simplify. (Version): Bump to 1.11.0 * etc/NEWS: Mention eldoc-display-functions.
* ; Fix more typosStefan Kangas2020-10-0318-21/+21
|
* ; Fix trivial typos in ChangeLogsStefan Kangas2020-10-0332-316/+316
|
* Enhance syntax-tests.el to test comments in parse-partial-sexpAlan Mackenzie2020-10-022-10/+95
| | | | | | | | | | | | | This now tests the interface between parse-partial-sexp and the low level comment function in syntax.c * test/src/syntax-tests.el (syntax-comments-midpoint): New function. (syntax-pps-comments): New macro. (top level): Two new syntax-br-comments tests and five new syntax-pps-comments tests. * test/data/syntax-comments.txt (top level): Amend some test fragments and add some more.
* Calc: fix formatting and parsing Unix time (bug#43759)Mattias Engdegård2020-10-022-4/+49
| | | | | | | | | | | | | The number of days from epoch to Jan 1, 1970 that was used in parsing and formatting Unix time was incorrect. The previous fix (in e368697ce36) was incomplete. Reported by Vincent Belaïche. * lisp/calc/calc-forms.el (math-unix-epoch): New constant. (math-format-date-part, math-parse-standard-date, calcFunc-unixtime): Use math-unix-epoch instead of a constant that is sometimes wrong. * test/lisp/calc/calc-tests.el (calc-unix-date): New test.
* Enhance syntax-tests.el to test comments in scan-listsAlan Mackenzie2020-10-022-19/+95
| | | | | | | | | | This now tests the interface between scan_lists and the comment functions. * test/src/syntax-tests.el (syntax-br-comments): New macro. ({-in, ;-in, /*-in): Set parse-sexp-ignore-comments to t. (top level): Add 15 tests for comments inside brace lists. * test/data/syntax-comments.txt (top level): Amend some test fragments.
* ; Merge from origin/emacs-27Glenn Morris2020-10-020-0/+0
|\ | | | | | | | | | | The following commit was skipped: ef7bc1cc80 (origin/emacs-27) Fix electric-buffer-list buffer selection
| * Fix electric-buffer-list buffer selectionLars Ingebrigtsen2020-10-021-0/+1
| | | | | | | | | | | | | | * lisp/ebuff-menu.el (electric-buffer-list): Ensure that point is restored, which isn't always the case if global-display-line-numbers-mode (bug#43755). This enables selecting buffers again.
* | Merge from origin/emacs-27Glenn Morris2020-10-0261-85/+88
|\ \ | |/ | | | | | | | | | | | | | | 78eacf31e8 ; Fix many typos in symbols in docs and comments d5d12707d6 * doc/misc/flymake.texi (Using Flymake): Fix a typo. (Bug... # Conflicts: # lisp/allout.el # lisp/progmodes/ebrowse.el
| * ; Fix many typos in symbols in docs and commentsStefan Kangas2020-10-0260-85/+88
| |
| * * doc/misc/flymake.texi (Using Flymake): Fix a typo. (Bug#43758)Eli Zaretskii2020-10-021-1/+1
| |
* | ; Merge from origin/emacs-27Glenn Morris2020-10-020-0/+0
|\ \ | |/ | | | | | | | | | | The following commits were skipped: 9b47ae2304 Don't error if no GPG signing key configured e274e3f44b 2020-03-29 Michael R. Mauger <michael@mauger.com>
| * Don't error if no GPG signing key configuredRobert Pluim2020-10-021-10/+0
| | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/mml-sec.el (mml-secure-epg-sign): Partially revert "Make mml-secure-epg-sign bug out if we can't find an identity". It causes signing to fail for people who have not set up mml-secure-{smime,openpgp}-sign-with-sender, which is a regression from Emacs-26 (Bug#40118). In such a situation gpg will use its default key. Do not merge to master. On master Emacs will query the user.
| * 2020-03-29 Michael R. Mauger <michael@mauger.com>Michael R. Mauger2020-10-012-2/+8
| | | | | | | | | | | | | | | | * lisp/progmodes/sql.el (sql-add-product): Re-correct argument spec. Previous change was due to my mistake; I have resolved back to the prior behavior (Bug#39960). * test/lisp/progmodes/sql-tests.el (sql-test-add-product): Added test to insure I don't make the same mistake again.
* | Merge from origin/emacs-27Glenn Morris2020-10-022-4/+24
|\ \ | |/ | | | | | | 41dcbeccf3 Make aliases introduced in previous patch obsolete 4997032c05 Restore some public debugging functions removed in Emacs 27
| * Make aliases introduced in previous patch obsoleteLars Ingebrigtsen2020-10-011-2/+4
| | | | | | | | | | * lisp/emacs-lisp/debug.el (debugger-toggle-locals): (debug-help-follow): Make reinstated aliases obsolete.
| * Restore some public debugging functions removed in Emacs 27Gemini Lasswell2020-10-012-4/+22
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/backtrace.el (backtrace--to-string): New function. (backtrace-to-string): Use it. Fix whitespace (bug#40728). * lisp/emacs-lisp/debug.el (debugger-insert-backtrace): New function. Mark it as obsolete. (debugger-toggle-locals, debug-help-follow): New aliases.
* | ; Merge from origin/emacs-27Glenn Morris2020-10-020-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: 08bda922b4 (emacs-27) ; Auto-commit of loaddefs files.
| * ; Auto-commit of loaddefs files.Glenn Morris2020-10-011-4/+7
| |
* | Merge from origin/emacs-27Glenn Morris2020-10-025-9/+35
|\ \ | |/ | | | | | | | | | | | | 2af6b3147d Clarification in Tramp manual 8fbaca7d41 Check Emacs version used for Tramp compilation 90e5549f02 Don't signal an error when saving files on WdebDAV volumes 6f73cc3579 ; * lisp/net/eww.el (eww-search-words): Doc fix. ce0842a165 * lisp/hi-lock.el (hi-lock-find-patterns): Autoload it. (...
| * Clarification in Tramp manualMichael Albinus2020-10-011-3/+15
| | | | | | | | | | * doc/misc/tramp.texi: Harmonize "Git" spelling. (Frequently Asked Questions): Describe Emacs version mismatch.
| * Check Emacs version used for Tramp compilationMichael Albinus2020-10-011-0/+8
| | | | | | | | | | | | * lisp/net/tramp-compat.el (tramp-compat-emacs-compiled-version): New defconst. Raise a warning, when it is not equal to the Emacs version.
| * Don't signal an error when saving files on WdebDAV volumesEli Zaretskii2020-09-291-2/+7
| | | | | | | | | | * src/w32.c (acl_get_file): If get_file_security raises the ERROR_ACCESS_DENIED error, treat that like unsupported ACLs.
| * ; * lisp/net/eww.el (eww-search-words): Doc fix.Eli Zaretskii2020-09-291-4/+4
| |
| * * lisp/hi-lock.el (hi-lock-find-patterns): Autoload it. (Bug#43670)Eli Zaretskii2020-09-281-0/+1
| |
* | CC Mode: Convert the handling of c-special-indent-hook to standard usageStefan Monnier2020-10-021-4/+2
| | | | | | | | | | | | * lisp/progmodes/cc-styles.el (c-set-style): Use kill-local-variable rather than copying the hook's global value to the local binding. (c-make-styles-buffer-local): Remove redundant make-variable-buffer-local.
* | Calc: fix business days calculation (bug43677)Mattias Engdegård2020-10-022-6/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The calculation of business days was broken in 2012 (probably 310e60d9454fe2 or thereabouts) when the date representation changed epoch so that Jan 1, 1 AD became day number 1 instead of 0. Repair this, along with an unrelated bug that prevented arbitrary holiday weekdays from working. Reported by Aaron Zeng. * lisp/calc/calc-forms.el (math-to-business-day) (math-from-business-day): Correct calculation of weekdays using Calc's current (Rata Die) chronology. Modify loop condition to cope with odd sets of holiday weekdays. * test/lisp/calc/calc-tests.el (calc-business-days): New test.
* | Fix electric-buffer-list buffer selectionLars Ingebrigtsen2020-10-021-0/+1
| | | | | | | | | | | | | | * lisp/ebuff-menu.el (electric-buffer-list): Ensure that point is restored, which isn't always the case if global-display-line-numbers-mode (bug#43755). This enables selecting buffers again.
* | Make xref work better on variables in shell-script-modeDmitry Gutov2020-10-021-0/+1
| | | | | | | | | | | | * lisp/progmodes/sh-script.el (sh-mode-syntax-table): Classify "/" as punctuation so that `M-.' on $foo/bar works on the $foo part (bug#25585).
* | Make `C-c C-e' in Python buffers workLars Ingebrigtsen2020-10-021-10/+13
| | | | | | | | | | | | | | | | * lisp/progmodes/python.el (python-shell-send-statement): Don't send a cookie, because that leads to the naked expression not being evaled (bug#43450). (python-shell-send-region): Allow not sending a cookie. (python-shell-buffer-substring): Ditto.
* | python-shell-send-defun doesn't find the (whole) definitionPer Starbäck2020-10-021-21/+23
| | | | | | | | | | * lisp/progmodes/python.el (python-shell-send-defun): Fix C-M-x for definitions like @property\ndef bar(): (bug#37828).
* | Make setting verify-hostname-error not make connections failRobert Pluim2020-10-021-2/+5
| | | | | | | | | | | | * lisp/net/gnutls.el (gnutls-boot-parameters): If verify-hostname-error was set, this would make verify-error a non-proper list (bug#38602).
* | Stop using a dynamically bound 'generated-autoload-file' variableLars Ingebrigtsen2020-10-025-70/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/loading.texi (Autoload): Document change of name (bug#39823). * lisp/emacs-lisp/autoload.el (autoload-find-generated-file): Pass the file name in. (autoload-generated-file): Ditto. (autoload-file-load-name): Ditto. (generate-file-autoloads): Ditto. (autoload--setup-output): Ditto. (autoload-generate-file-autoloads): Ditto, and alter doc string to reflect when `generated-autoload-file' is heeded. (update-file-autoloads): Pass outfile in to functions. (autoload-find-destination): Ditto. (update-directory-autoloads): Make into an obsolete shim around `make-directory-autoloads'. (make-directory-autoloads): Renamed from `update-directory-autoloads' with new semantics. (batch-update-autoloads): Adjust caller. * lisp/emacs-lisp/package.el (package-generate-autoloads): Adjust caller.
* | Fix --with-json messageShohei YOSHIDA2020-10-021-1/+1
| | | | | | | | | | * configure.ac (WIDE_EMACS_INT): Fix --with-json help message (bug#43754).
* | Fix check for derived modes in display-buffer-reuse-mode-windowTrevor Murphy2020-10-021-1/+1
| | | | | | | | | | * lisp/window.el (display-buffer-reuse-mode-window): Make the check for derived modes actually work (bug#38677).
* | Fix wdired-do-perm-changes when over TrampTino Calancha2020-10-011-3/+3
| | | | | | | | | | | | * lisp/wdired.el (wdired-do-perm-changes) Use set-file-modes instead of external program (bug#39284). This fixes the problem of passing the wrong argument to the external chmod.
* | Fix bug in wdired-get-filenameTino Calancha2020-10-012-1/+17
| | | | | | | | | | | | * lisp/wdired.el (wdired-get-filename): Acknowledge the first argument (bug#39280). * test/lisp/wdired-tests.el (wdired-test-bug39280): Add test.
* | Enhance syntax-tests.el to test some comment character handling.Alan Mackenzie2020-10-012-0/+256
| | | | | | | | | | | | | | * test/src/syntax-tests: Add a new section testing some aspects of comment handling in syntax.c. This needs further enhancement. It uses .... * test/data/syntax-comments.txt: A new test file.
* | Use new faces isearch-group-odd and isearch-group-even (bug#43702)Juri Linkov2020-10-013-90/+20
| | | | | | | | | | | | * lisp/isearch.el (isearch-group-odd, isearch-group-even): New faces instead of isearch-group-1 .. isearch-group-9. (isearch-highlight): Use new faces.
* | Make recentf daily cleanup repeatAllen Li2020-10-012-3/+14
| | | | | | | | | | | | | | * lisp/recentf.el (recentf-auto-cleanup): Fix wording. * lisp/recentf.el (recentf-auto-cleanup): Make timer repeat, update docstring. * etc/NEWS: Update news (bug#39638).
* | command-execute doc string clarificationBoruch Baum2020-10-011-7/+12
| | | | | | | | | | * lisp/simple.el (command-execute): Doc string clarification (bug#43749).
* | Fix loading WSDL data againLars Ingebrigtsen2020-10-011-1/+3
| | | | | | | | | | * lisp/net/soap-client.el (soap-make-wsdl): Change the WSDL namespace back again.
* | Fix restoring data in visual-line-modeLars Ingebrigtsen2020-10-012-13/+16
| | | | | | | | | | | | | | | | | | * lisp/simple.el (visual-line-mode): Only save values once, even if the mode is switched on twice (bug#43730). This makes both previously set local values for variables like truncate-lines, as well as default values for truncate-lines restorable. * lisp/emulation/cua-base.el (cua-mode): Ditto.
* | Silence byte-compiler in two testsStefan Kangas2020-10-012-2/+3
| | | | | | | | | | | | * test/lisp/obsolete/cl-tests.el (require): * test/lisp/simple-tests.el (simple-test-count-words-bug-41761): Silence byte-compiler.
* | ; Prefer https to http in many URLsStefan Kangas2020-10-0166-170/+170
| | | | | | | | These were all tested with https and confirmed working.
* | Remove some obsolete URLsStefan Kangas2020-10-011-8/+0
| | | | | | | | | | * lisp/net/newst-backend.el (newsticker--raw-url-list-defaults): Remove some obsolete URLs.