summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAge
* Update files for the 27.1.90 pretestemacs-27.1.90Eli Zaretskii2020-12-18
| | | | | | | | * README: * configure.ac: * nt/README.W32: * msdos/sed2v2.inp: Bump Emacs version to 27.1.90. * lisp/ldefs-boot.el: Update from loaddefs.el
* Update to Org 9.4.3Bastien Guerry2020-12-16
| | | | Fix #45259
* Fix point location when completing in gdb-mi.elEli Zaretskii2020-12-14
| | | | | | * lisp/progmodes/gdb-mi.el (def-gdb-auto-update-handler): Don't force window-start position, so that redisplay doesn't move point when popping completion window below the GUD one. (Bug#45052)
* Update to Org 9.4.2Bastien Guerry2020-12-13
| | | | Mostly fixing compiler warnings.
* Update to Org 9.4.1Bastien Guerry2020-12-13
|
* Bind k to image-kill-buffer in doc-view-mode-map.Tassilo Horn2020-12-11
| | | | | | | * lisp/doc-view.el (doc-view-mode-map): Bind k to image-kill-buffer. The binding k -> doc-view-kill-proc-and-buffer has been removed in 2015 and the function been made an obsolete function alias to image-kill-buffer (bug#45157).
* * lisp/vc/vc.el: Update args of backend API calls in the header commentsJuri Linkov2020-12-06
| | | | https://lists.gnu.org/archive/html/emacs-devel/2020-12/msg00283.html
* Backport Handle read-char-from-minibuffer and y-or-n-p from pre-command-hookJuri Linkov2020-12-06
| | | | | | | | | | | * lisp/subr.el (read-char-from-minibuffer-insert-char) (read-char-from-minibuffer-insert-other, y-or-n-p-insert-y) (y-or-n-p-insert-n, y-or-n-p-insert-other): Check for 'minibufferp' before executing the body. (read-char-from-minibuffer, y-or-n-p): Let-bind this-command before calling read-from-minibuffer. (Bug#45029) ; Do not merge to master.
* Support ks_c_5601-1987 encodingEli Zaretskii2020-12-06
| | | | | * lisp/language/korean.el (ks_c_5601-1987): Define as an alias for 'korean-iso-8bit. (It is sometimes used in email messages.)
* ; * lisp/simple.el (move-beginning-of-line): Doc fix.Eli Zaretskii2020-12-05
|
* ; Auto-commit of loaddefs files.Glenn Morris2020-12-01
|
* Reset xref-show-xrefs-function temporarilyDmitry Gutov2020-12-01
| | | | | * lisp/dired-aux.el (dired-do-find-regexp-and-replace): Make sure xref-show-xrefs-function has the necessary value (bug#44905).
* Don't show in 'view-lossage' responses to xterm feature queriesEli Zaretskii2020-11-30
| | | | | | * lisp/term/xterm.el (xterm--read-event-for-query): Prevent recording the characters read as the xterm response to a query, so as not to show them in 'view-lossage'. (Bug#44908)
* Adapt Tramp versions. Do not mergeMichael Albinus2020-11-30
| | | | | | | | | * doc/misc/tramp.texi (Obtaining @value{tramp}) (Remote shell setup, Remote processes, Archive file names): * doc/misc/trampver.texi: * lisp/net/tramp.el: * lisp/net/trampver.el (tramp-version) (customize-package-emacs-version-alist): Adapt Tramp versions.
* Return the correct suffix in eww-make-unique-file-nameAkira Kyle2020-11-29
| | | | | * lisp/net/eww.el (eww-make-unique-file-name): Return the correct suffix (bug#44936).
* Save bookmarks by using `write-file' (bug#12507)Karl Fogel2020-11-28
| | | | | | | | | Go back to using `write-file' to save bookmarks, instead of using `write-region'. This means numbered backups of the bookmark file may get made again, depending on the value of `bookmark-version-control'. Thanks especially to Drew Adams and Eli Zaretskii for their persistence in tracking down information relevant to this change.
* Fix filing messages when 'rmail-output-reset-deleted-flag' is non-nilEli Zaretskii2020-11-28
| | | | | | * lisp/mail/rmailout.el (rmail-output): Fix off-by-one error in deciding when to advance to the next message under non-nil 'rmail-output-reset-deleted-flag'. (Bug#44839)
* Make file copying in tramp-gvfs more robustMichael Albinus2020-11-28
| | | | | | | | * test/lisp/net/tramp-tests.el (tramp-test11-copy-file) (tramp-test12-rename-file): Do not skip for tramp-gvfs.el. * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): Add sanity checks.
* CC Mode: Fix error in cache handling. This fixes bug #43481Alan Mackenzie2020-11-26
| | | | | | * lisp/progmodes/cc-engine.el (c-full-pp-to-literal): Handle correctly END being before HERE by using parse-partial-sexp to get the end of the literal containing HERE.
* Fix handling of defcustom :local tagBasil L. Contovounesios2020-11-24
| | | | | | | | | | | | | For discussion, see the following emacs-devel thread: https://lists.gnu.org/r/emacs-devel/2020-11/msg00734.html * lisp/custom.el (custom-declare-variable): Delay call to make-variable-buffer-local until after user option has been initialized with a value. Otherwise the user option may be initialized to nil. * test/lisp/custom-tests.el (custom--test-local-option) (custom--test-permanent-option): New :local user options. (custom-test-local-option): New test for defcustom :local keyword.
* CC Mode. Fix an off by one error. Fixes bug #41809Alan Mackenzie2020-11-24
| | | | * lisp/progmodes/cc-engine.el (c-full-pp-to-literal): Change > to >= (twice).
* Fix Bug#44481Michael Albinus2020-11-21
| | | | | | | * lisp/net/tramp.el (tramp-system-name): New defconst. (tramp-default-host, tramp-restricted-shell-hosts-alist) (tramp-local-host-regexp): * lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use it. (Bug#44481)
* Further doc fixes for dotimes about RESULTLars Ingebrigtsen2020-11-18
| | | | | | | * lisp/subr.el (dotimes): Be even more explicit about RESULT (bug#16206). (cherry picked from commit 5b0d8d0f288fd505ca90bd30df709a5e7ab540d6)
* ; * lisp/emacs-lisp/benchmark.el (benchmark-run): Fix docstringPhilipp Stephani2020-11-16
|
* Make the invocation of combine-change-calls in comment-region validAlan Mackenzie2020-11-15
| | | | | | | | | This fixes bug #44581. The problem was that whitespace outside of the (BEG END) region was being deleted, and this made the invocation of combine-change-calls with (BEG END) invalid. * lisp/newcomment.el (comment-region-default): Amend the second argument to combine-change-calls.
* * lisp/progmodes/cc-langs.el (c-<>-notable-chars-re): Fix wrong '-' in regexpAlan Mackenzie2020-11-15
|
* Fix input method translation near read-only textEli Zaretskii2020-11-14
| | | | | | | | | | * lisp/international/quail.el (quail-input-method): Don't disable input method when the character after point has the read-only property. Suggested by Evgeny Zajcev <lg.zevlg@gmail.com> (Bug#44466) * doc/emacs/mule.texi (Input Methods): Document that input methods are inhibited in read-only text.
* Some minor changes to Tramp, do not merge with masterMichael Albinus2020-11-11
| | | | | | | | | | | | | | | | | * 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.
* Add more doc-view requirementsLars Ingebrigtsen2020-11-10
| | | | * lisp/doc-view.el: Add more requirements.
* Fix pcase rx form snag with '?' and '??' (bug#44532)Mattias EngdegÄrd2020-11-09
| | | | | | | | | | 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)
* Update the doc-view header lineLars Ingebrigtsen2020-11-09
|
* doc-view.el comment clarificationLars Ingebrigtsen2020-11-09
| | | | | * lisp/doc-view.el: Make the commentary mention that it's not limited to a narrow range of file formats (bug#44504).
* Fix 'uudecode-decode-region-internal' in multibyte buffersKazuhiro Ito2020-11-07
| | | | | | | | * lisp/mail/uudecode.el (uudecode-decode-region-internal): Fix inserting the decoded string into a multibyte buffer. Optimize by working with characters, not strings. (Bug#44411) Copyright-paperwork-exempt: yes
* * lisp/subr.el (read-char-from-minibuffer): Doc fix. (Bug#44451)Eli Zaretskii2020-11-07
|
* Split windows evenly when 'min-margins' parameter was set (Bug#44483)Martin Rudalics2020-11-07
| | | | | | * lisp/window.el (split-window): Make new window inherit any 'min-margins' parameter from WINDOW so that horizontal splits reliably produce windows of same width (Bug#44483).
* Backport: Fix exiting the finder-commentary bufferStefan Kangas2020-11-07
| | | | | | | | | Do not merge to master. * lisp/finder.el (finder-exit): Fix exiting the finder-commentary buffer. (Bug#44384) (finder-buffer): New defconst. (finder-list-keywords): Use above new defconst.
* ; * lisp/international/mule.el (define-coding-system): Doc fix.Eli Zaretskii2020-11-06
|
* Don't render XML declaration of an HTML document (bug#44348)Stephen Berman2020-11-02
| | | | | * lisp/net/eww.el (eww--preprocess-html): Prevent converting the left angle bracket in the sequence "<?" to an HTML entity.
* ; * lisp/autoinsert.el (auto-insert-alist): Fix texinfo URL.Stefan Kangas2020-11-01
| | | | | | The old texinfo domain seems to no longer be controlled by the GNU project, starting at least as early as 2012. See also: https://web.archive.org/web/20120410044746/http://www.texinfo.org/
* ; Auto-commit of loaddefs files.Glenn Morris2020-11-01
|
* Improve reproducibility of generated -pkg.el filesGlenn Morris2020-10-30
| | | | | | | | | * lisp/emacs-lisp/package.el (package-generate-description-file): Don't include the full name of the source file in the header, since that varies non-reproducibly according to the build directory. https://bugs.debian.org/972861 Note that elpa.gnu.org's admin/archive-contents.el does this by hand and already only includes the nondirectory part.
* CC Mode: Only recognize foo (*bar) as a function pointer when followed by (Alan Mackenzie2020-10-28
| | | | | | * lisp/progmodes/cc-engine.el (c-forward-over-decl-or-cast-1): (after CASE 2) test variables got-suffix-after-parens and at-decl-end before invoking c-fdoc-shift-type-backward.
* Don't skip empty lines when fitting mini frame to buffer (Bug#44080)Clemens Radermacher2020-10-27
| | | | | | | | | | * lisp/window.el (fit-mini-frame-to-buffer, window--resize-mini-frame, fit-frame-to-buffer, fit-frame-to-buffer-1): By default, fit a mini frame without skipping its buffer's leading or trailing empty lines. * src/frame.c (resize-mini-frames): Update doc-string. * lisp/cus-start.el (resize-mini-frames): Update for customize. * doc/lispref/minibuf.texi (resize-mini-frames): Update description.
* Improve documentation of display-fill-column-indicatorEli Zaretskii2020-10-26
| | | | | | | | | | | | | | * lisp/display-fill-column-indicator.el (display-fill-column-indicator-mode): Mention the globalized version in the doc string. * doc/emacs/display.texi (Displaying Boundaries): Improve and clarify the documentation of display-fill-column-indicator. Suggest using the minor mode as the primary means for turning the feature on. * src/xdisp.c (syms_of_xdisp) <display-fill-column-indicator> <display-fill-column-indicator-character>: Doc fix. (Bug#44226)
* Fix tramp-sh-handle-make-process; don't merge with masterMichael Albinus2020-10-24
| | | | | | | | * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Accept nil COMMAND. (Bug#44151) * test/lisp/net/tramp-tests.el (tramp-test29-start-file-process): Extend test.
* Merge branch 'emacs-27' of git.sv.gnu.org:/srv/git/emacs into emacs-27Michael Albinus2020-10-23
|\
| * * lisp/info.el (Info-hide-note-references): Doc fix. (Bug#44043)Eli Zaretskii2020-10-17
| |
| * Make lisp/progmodes/js.el dependent on CC Mode in the Makefile.Alan Mackenzie2020-10-16
| | | | | | | | | | | | | | This will prevent version mismatches between compile time and runtime versions. This fixes bug #43037. * lisp/Makefile.in: Make js.el dependent on cc-{defs,engine,mode}.elc.
| * Yet another fix for 'set-minibuffer-message'Eli Zaretskii2020-10-16
| | | | | | | | | | | | * lisp/minibuffer.el (set-minibuffer-message): Handle the case of separate minibuffer-only frame. Suggested by Gregory Heytings <ghe@sdf.org>.
| * Clarify the seq-reduce documentationLars Ingebrigtsen2020-10-15
| | | | | | | | | | | | | | * doc/lispref/sequences.texi (Sequence Functions): Ditto. * lisp/emacs-lisp/seq.el (seq-reduce): Clarify the order of the arguments (bug#43995).