summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix <button>...</button> submit button rendering in ewwLars Ingebrigtsen2020-02-201-5/+7
| | | | | | * lisp/net/eww.el (eww-form-submit): Use the contents of the <button>...</button> for the string if there is no value (bug#39326).
* Introduce face for <code> elements in shrKévin Le Gouguec2020-02-201-1/+1
| | | | | | * lisp/net/shr.el (shr-tag-code): Don't use the `default' font, because it has properties that will override surrounding elements (like <a...>) (bug#39504).
* Fix some file-modes racesPaul Eggert2020-02-195-27/+26
| | | | | | | | | | | | | * lisp/gnus/gnus-start.el (gnus-save-newsrc-file) (gnus-slave-save-newsrc): * lisp/gnus/gnus-uu.el (gnus-uu-initialize): * lisp/gnus/mm-archive.el (mm-dissect-archive): * lisp/gnus/mm-decode.el (mm-temp-files-delete) (mm-display-external): * lisp/image-dired.el (image-dired-create-thumb-1): Use with-file-modes rather than setting the file modes later. This fixes some race conditions where the file temporarily has the wrong permissions.
* Fix search for ~/.Xdefaults-HOSTNAME (again)Johan Bockgård2020-02-191-1/+1
| | | | | * src/xrdb.c (get_environ_db): Fix typo when handling ~/.Xdefaults-HOSTNAME.
* Fix conversion of text/html->multipart/relatedJeremy Compostella2020-02-191-5/+14
| | | | | | | * lisp/gnus/mml.el (mml-expand-all-html-into-multipart-related): New function (bug#39230). (mml-generate-mime): Use it to expand all HTML parts, no matter where in the MIME tree.
* Fix working text related issues on NS (Bug#38851)Masahiro Nakamura2020-02-192-8/+16
| | | | | | | | | | | * src/keyboard.c (read_char): Prevent redsiplay right after ns-unput-working-text event. * src/nsterm.m ([EmacsView insertText:]): Partially revert commit ba04217. ([EmacsView firstRectForCharacterRange:]): Fix candidate window position when cursor is on echoarea. ([EmacsView mouseDown:]) ([EmacsView windowDidResignKey:]): Don't delete working text.
* Fix horizontal bit shiftingAlan Third2020-02-191-3/+4
| | | | | | * src/nsterm.m ([EmacsView copyRect:to:]): Calculate the horizontal difference instead of just the vertical. ([EmacsView updateLayer]): Fix NSTRACE message.
* * doc/misc/texinfo.tex: Update from Gnulib.Paul Eggert2020-02-181-19/+13
|
* Support state changing VC operations in dired-mode on files (bug#34949)Juri Linkov2020-02-193-8/+35
| | | | | | | | | | * lisp/vc/vc.el (vc-deduce-fileset): Don't error out when observer is nil. (vc-dired-deduce-fileset): Add optional args 'state-model-only-files' and 'observer'. Check that all files are in a consistent state when state-model-only-files is non-nil. Error out on directories. * lisp/vc/vc-dispatcher.el (vc-dispatcher-browsing): Check dired-mode for derived-mode-p.
* * lisp/wdired.el (wdired-next-line, wdired-previous-line): Preserve columnStefan Monnier2020-02-181-0/+2
|
* Avoid unlikely load-average bugPaul Eggert2020-02-171-1/+1
| | | | | * src/fns.c (Fload_average): Do not crash or return nonsense if the load average exceeds most-positive-fixnum/100 (Bug#39577).
* Improve C-h C-h bug fixPaul Eggert2020-02-161-4/+7
| | | | | | * src/lread.c (read1): Guard against two 'struct Lisp_Vector *' pointers differing only in their most significant bit. Problem reported by Pip Cet (Bug#39529#22).
* * src/lread.c (read1): Fix int/Lisp_Object mix up.Glenn Morris2020-02-161-1/+1
| | | | Found by --enable-check-lisp-object-type.
* Merge from origin/emacs-27Glenn Morris2020-02-1613-181/+104
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7ceb45f61f (origin/emacs-27) Reformulate c-end-of-macro, handling mul... 888ffd960c Fix unexec failure on macOS 10.15.4 b392c9f365 Fix 'reverse-region' when less than one line is in region 7448834f73 Correct default regexp in 'package-menu-hide-package' faada7ca42 Remove obsolete menu entry "Redisplay buffer" 78d76cd93c Remove redundant 'msft' compilation error rule (bug#39595) 75a9eee8b8 ; * src/editfns.c (Fbuffer_size): Tiny clarification. 4d8d25d641 * doc/lispref/variables.texi (special-variable-p): Clarify... 9f6a4bbcc9 Remove the optional KEEP-ORDER argument to regexp-opt d1e8ce8bb6 Make after-change-functions called from call-process get t... # Conflicts: # etc/NEWS
| * Reformulate c-end-of-macro, handling multiline block comments betterAlan Mackenzie2020-02-162-56/+38
| | | | | | | | | | | | | | | | | | | | * lisp/progmodes/cc-langs.el (c-last-open-c-comment-start-on-line-re): Comment out. (c-open-c-comment-on-logical-line-re): Remove. * lisp/progmodes/cc-engine.el (c-end-of-macro): Handle multiline block comments lacking escaped newlines using parse-partial-sexp rather than the former variables removed from cc-langs.el.
| * Fix unexec failure on macOS 10.15.4YAMAMOTO Mitsuharu2020-02-161-23/+24
| | | | | | | | | | * src/unexmacosx.c (unexec_regions_merge): Align region start addresses to page boundaries and then merge regions.
| * Fix 'reverse-region' when less than one line is in regionEli Zaretskii2020-02-151-5/+12
| | | | | | | | | | | | | | * lisp/sort.el (reverse-region): Signal a user-error if the region includes less than one full line, thus avoiding an inadvertent deletion of text following the current line. Fix the doc string. Fix comments to start with a capital letter. (Bug#39376)
| * Correct default regexp in 'package-menu-hide-package'Pieter van Oostrum2020-02-151-1/+2
| | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-menu-mode-menu): Correct default regexp, so it only selects the package at point. (Bug#39436)
| * Remove obsolete menu entry "Redisplay buffer"Pieter van Oostrum2020-02-151-2/+1
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-menu-mode-menu): Remove obsolete menu entry "Redisplay buffer". (package-menu-mode-menu): Menu entry "Refresh Package List": make the doc string more accurate. (Bug#39436)
| * Remove redundant 'msft' compilation error rule (bug#39595)Mattias Engdegård2020-02-141-7/+0
| | | | | | | | | | | | | | | | When the 'msft' rule was moved and modified, the old copy was left in place by mistake. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Remove old rule.
| * ; * src/editfns.c (Fbuffer_size): Tiny clarification.Philipp Stephani2020-02-131-1/+1
| |
| * * doc/lispref/variables.texi (special-variable-p): Clarify limitsStefan Monnier2020-02-131-0/+4
| |
| * Remove the optional KEEP-ORDER argument to regexp-optMattias Engdegård2020-02-134-84/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | This argument was added for the 'or' clause in rx, but it turned out to be a bad idea (bug#37659), and there seems to be little other use for it. * lisp/emacs-lisp/regexp-opt.el (regexp-opt): Remove KEEP-ORDER. * doc/lispref/searching.texi (Regexp Functions): * etc/NEWS: Remove it from the documentation. * test/lisp/emacs-lisp/regexp-opt-tests.el (regexp-opt-test--match-all) (regexp-opt-test--check-perm, regexp-opt-test--explain-perm) (regexp-opt-keep-order, regexp-opt-longest-match): Simplify test.
| * Make after-change-functions called from call-process get the correct BEGAlan Mackenzie2020-02-131-2/+3
| | | | | | | | | | | | | | This fixes bug #39585. * src/callproc.c (call_process): Supply the correct CHARPOS to signal_after_change (twice).
* | Fix C-h C-h bug due to mutating a hash keyPaul Eggert2020-02-151-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Federico Tedin (Bug#39529). The problem was that dumping uses a hash table based on 'equal' when purecopying compiled objects, but then modifies the compiled objects while they are keys in the table. This no-no was uncovered by the sxhash fixes in 2020-01-07T19:23:11Z!eggert@cs.ucla.edu. Eli Zaretski pinpointed the patch that triggered the bug. * src/lread.c (read1): When reading a compiled object, replace its docstring with a unique negative integer instead of with 0, so that purecopy doesn’t unify it with some other compiled object that happens to have the same Lisp code.
* | Remove another test for deleted lread featureGlenn Morris2020-02-151-11/+0
| | | | | | | | | | * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--old-style-backquotes): Remove.
* | ; * etc/NEWS: Fix wording in a recently added entry.Eli Zaretskii2020-02-151-1/+1
| |
* | 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".