aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Fix fetching URLs with stuff that looks like HTTP headersEli Zaretskii2019-08-141-0/+4
| | | | | | | | | | | | | | | | | | | | | * lisp/url/url-http.el (url-http-parse-headers): Narrow the buffer to the headers at the beginning to make sure url-handle-content-transfer-encoding uses the correct headers. (Bug#37023)
* | | Don’t increase consing_until_gc when out of memoryPaul Eggert2019-08-131-1/+1
| | | | | | | | | | | | | | | * src/alloc.c (memory_full): Don’t increase consing_until_gc. Suggested by Eli Zaretskii (Bug#37006#46).
* | | Let consing_until_gc exceed EMACS_INT_MAXPaul Eggert2019-08-132-15/+9
| | | | | | | | | | | | | | | | | | | | | This builds on the previous patch. * src/alloc.c (consing_until_gc): Now of type intmax_t, since gc-cons-threshold can be up to INTMAX_MAX. All uses changed. * src/lisp.h (CONSING_CT_MAX, consing_ct): Remove.
* | | Let consing_until_gc exceed INTPTR_MAXPaul Eggert2019-08-132-14/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by Eli Zaretskii (Bug#37006#46). * src/alloc.c (consing_until_gc): Now of type consing_ct. All uses changed, so gc-cons-threshold no longer saturates against OBJECT_CT_MAX. (object_ct): Move typedef here from lisp.h. * src/lisp.h (consing_ct, CONSING_CT_MAX): New type and macro. (OBJECT_CT_MAX): Remove. Replace all uses with CONSING_CT_MAX.
* | | Fix GC threshold typoPaul Eggert2019-08-131-2/+2
| | | | | | | | | | | | | | | | | | | | | Problem reported by Eli Zaretskii (Bug#37006#25). * src/alloc.c (garbage_collect_1): Fix typo in threshold calc. Go back to dividing by 10 since the numerator’s a constant now. Problem introduced in 2019-07-21T02:40:03Z!eggert@cs.ucla.edu.
* | | Improve documentation of 'diff-font-lock-prettify'Eli Zaretskii2019-08-132-1/+11
| | | | | | | | | | | | | | | | | | * lisp/vc/diff-mode.el (diff-font-lock-prettify): Doc fix. * etc/NEWS: Minor copyedits.
* | | Fix initialization of user-defined fringe bitmaps in daemon modeEli Zaretskii2019-08-135-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/fringe.c (gui_init_fringe): Rename from w32_init_fringe or x_cr_init_fringe, and make unconditionally compiled; all callers changed. Do nothing if the frame's redisplay_interface doesn't implement the define_fringe_bitmap method. Set up any user-defined fringe bitmaps in addition to the standard bitmaps. Suggested by Liam Quinlan <liamkquinlan@gmail.com> in https://lists.gnu.org/archive/html/emacs-devel/2019-08/msg00259.html. (w32_reset_fringes) [HAVE_NTGUI]: Do nothing if the frame's redisplay_interface doesn't implement the destroy_fringe_bitmap method. * src/w32fns.c (Fx_create_frame): Call gui_init_fringe when the first GUI frame is created for this session. * src/dispextern.h (w32_init_fringe): Rename to gui_init_fringe and make unconditional. (x_cr_init_fringe): Remove prototype.
* | | ; Add commentary to recent changesEli Zaretskii2019-08-124-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | * src/image.c (png_load_body): * src/editfns.c (styled_format): * src/casefiddle.c (do_casify_multibyte_string): * src/alloc.c (free_cons): Comment why we use a signed temporary integer variable. (Bug#37006)
* | | * lisp/password-cache.el: adapt test to change in password-in-cache-pÓscar Fuentes2019-08-121-1/+1
| | |
* | | Quote file names properly in TrampMichael Albinus2019-08-126-276/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-handle-file-truename) (tramp-handle-insert-directory): * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename): * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename) (tramp-sh-handle-insert-directory): * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-truename): Use `tramp-compat-directory-name-p'. * lisp/net/tramp.el (tramp-drop-volume-letter) (tramp-handle-file-truename): * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename): * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link) (tramp-sh-handle-file-truename): * lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-truename): (tramp-sudoedit-handle-make-symbolic-link): Quote properly. * lisp/net/tramp-compat.el (tramp-compat-file-name-quote) (tramp-compat-file-name-unquote): Add optional argument TOP.
* | | Handle symbolic links properly in Tramp gfvs methodsMichael Albinus2019-08-121-0/+6
| | | | | | | | | | | | | | | * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-readable-p): Handle symbolic links.
* | | Fix caching problem in Tramp smb methodMichael Albinus2019-08-121-1/+2
| | | | | | | | | | | | | | | * lisp/net/tramp-cache.el (tramp-flush-file-upper-properties): Add "file-entries",
* | | Prefer signed when testing for signed overflowPaul Eggert2019-08-114-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c (free_cons): * src/casefiddle.c (do_casify_multibyte_string): * src/editfns.c (styled_format): * src/image.c (png_load_body): Use signed arguments to INT_MULTIPLY_WRAPV etc. This doesn’t fix any bugs, but GCC emits better code when all args are signed. Also, this removes the need for an if in free_cons (Bug#37006).
* | | password-cache: differentiate null values from non-existent entriesÓscar Fuentes2019-08-121-2/+5
| | | | | | | | | | | | | | | * password-cache.el (password-in-cache-p, password-cache-add): properly detect non-existent entry. (Bug#36834)
* | | Fix garbage collectionEli Zaretskii2019-08-111-1/+3
| | | | | | | | | | | | | | | * src/alloc.c (free_cons): Avoid false positives in INT_ADD_WRAPV. (Bug#37006)
* | | Prompt for new sieve script names in sieve managementEric Abrahamsen2019-08-111-1/+5
| | | | | | | | | | | | | | | * lisp/net/sieve.el (sieve-edit-script): Otherwise the user ends up with a script named '<new script>.sieve'.
* | | Retrieve start time from remote machine, use compat attrib functionsMichael Albinus2019-08-112-41/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-compat.el (tramp-compat-file-attribute-access-time) (tramp-compat-file-attribute-status-change-time): New defaliases. * test/lisp/net/tramp-tests.el (tramp--test-start-time): New defvar. (tramp--test-file-attributes-equal-p) (tramp-test19-directory-files-and-attributes): Use it. (tramp-test18-file-attributes) (tramp--test-file-attributes-equal-p, tramp-test20-file-modes) (tramp-test22-file-times, tramp--test-check-files): Use `tramp-compat-file-attribute-*' functions.
* | | Set custom :version for recently modified undo optionsGlenn Morris2019-08-101-3/+3
| | | | | | | | | | | | | | | * lisp/cus-start.el (undo-limit, undo-strong-limit, undo-outer-limit): Bump :version.
* | | * doc/emacs/calendar.texi (Time Intervals): Doc fix.Stefan Kangas2019-08-101-4/+4
| | |
* | | Double undo limitsStefan Kangas2019-08-101-3/+3
| | | | | | | | | | | | | | | * src/undo.c (syms_of_undo) <undo_limit, undo_strong_limit> <Vundo_outer_limit>: Double undo limits. (Bug#31104)
* | | Merge from origin/emacs-26Glenn Morris2019-08-105-11/+40
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | 0860ac0 (origin/emacs-26) Improve documentation of features that use ... fae1ff6 Fix docstrings in pong 82a2894 Improve doc strings of 'append-to-buffer' and friends cb0403d Fix octave-mode ElDoc support 691790b Avoid Groff hanging on MS-Windows when invoked by "M-x man"
| * | Improve documentation of features that use the fringesEli Zaretskii2019-08-101-1/+3
| | | | | | | | | | | | | | | | | | | | | * doc/emacs/display.texi (Fringes): Add cross-reference to where indicate-empty-lines is described. (Useless Whitespace): Add an @anchor for a more accurate cross-reference in "Fringes".
| * | Fix docstrings in pongMauro Aranda2019-08-101-2/+2
| | | | | | | | | | | | | | | * lisp/play/pong.el (pong-move-left pong-move-right): Refer to the right bats and directions of movement. (Bug#36959)
| * | Improve doc strings of 'append-to-buffer' and friendsEli Zaretskii2019-08-091-6/+12
| | | | | | | | | | | | | | | * lisp/simple.el (append-to-buffer, prepend-to-buffer) (copy-to-buffer): Doc fixes.
| * | Fix octave-mode ElDoc supportMauro Aranda2019-08-081-1/+16
| | | | | | | | | | | | | | | | | | * lisp/progmodes/octave.el (octave-eldoc-function-signatures): Fix the regexp used, so no match happens when there is no defined function FN. Also, tweak the regexp to support GNU Octave 4.2.x and newer. (Bug#36459)
| * | Avoid Groff hanging on MS-Windows when invoked by "M-x man"Eli Zaretskii2019-08-081-1/+7
| | | | | | | | | | | | | | | | | | * lisp/man.el (Man-build-man-command): On MS-Windows, redirect stdin of 'man' to the null device, to make sure Groff exits immediately after formatting the man page.
* | | ; Merge from origin/emacs-26Glenn Morris2019-08-100-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | The following commit was skipped: b83f83c Ignore pending_signals when checking for quits.
| * | Ignore pending_signals when checking for quits.Philipp Stephani2019-08-072-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pending_signals is often set if no quit is pending. This results in bugs in module code if the module returns but no quit is actually pending. * src/emacs-module.c (module_should_quit): Use QUITP macro to check whether the caller should quit. * src/eval.c: Remove obsolete comment.
* | | Merge from origin/emacs-26Glenn Morris2019-08-104-44/+51
|\ \ \ | |/ / | | | | | | | | | e7818cb Fix nnmail-expiry-wait docs and custom :types 8b7c776 * lisp/simple.el (kill-do-not-save-duplicates): Doc fix. (Bu...
| * | Fix nnmail-expiry-wait docs and custom :typesBasil L. Contovounesios2019-08-033-43/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Group Parameters, Expiring Mail): * lisp/gnus/gnus-cus.el (gnus-group-parameters): Clarify descriptions of nnmail-expiry, nnmail-expiry-wait, and nnmail-expiry-wait-function. * lisp/gnus/nnmail.el (nnmail-expiry-wait) (nnmail-expiry-wait-function): Clarify docstrings and fix custom :types (bug#36850).
| * | * lisp/simple.el (kill-do-not-save-duplicates): Doc fix. (Bug#36827)Eli Zaretskii2019-08-031-1/+1
| | |
* | | ; Merge from origin/emacs-26Glenn Morris2019-08-100-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | The following commits were skipped: 5a5ad99d Improve documentation of debugging Lisp syntax error 0148fc7 (emacs-26) ; Auto-commit of loaddefs files.
| * | Improve documentation of debugging Lisp syntax errorEli Zaretskii2019-08-031-19/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/debugging.texi (Syntax Errors, Excess Open) (Excess Close): Name the commands invoked by the key sequences. Add cross-references to appropriate sections of the Emacs manual. (Bug#21385) (cherry picked from commit faafd467a374c9398ee4668cdc173611d35693ed)
| * | ; Auto-commit of loaddefs files.Glenn Morris2019-08-011-6/+17
| | |
* | | Use a time offset when comparing times of local and remote machinesMichael Albinus2019-08-101-10/+12
| | | | | | | | | | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp--test-file-attributes-equal-p): Use a time offset in order to compensate different times on local and remote machines.
* | | Fix pong collision detectionMauro Aranda2019-08-101-34/+49
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/play/pong.el (pong-update-game): If the ball hit the bat where bats are positioned, draw again the bat cell in the old ball position. (Bug#20579). Also, avoid changing the direction of the ball right after hitting the bats, and improve the collision detection against the borders.
* | | Set up defined_color_hook for the initial frameAlex Gramiak2019-08-101-0/+1
| | | | | | | | | | | | | | | | | | | | | * src/terminal.c (init_initial_terminal): Set up the defined_color_hook. This avoids crashes when running in batch mode with code that manipulates colors. (Bug#36019)
* | | Support bool-vectors in cl-extra.elPhilippe Schnoebelen2019-08-101-0/+2
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-extra.el (cl-coerce): Support bool-vector. Copyright-paperwork-exempt: yes
* | | * lisp/frameset.el (frameset--minibufferless-last-p): Add comments (bug#36894)Juri Linkov2019-08-091-2/+11
| | |
* | | Fix highlighting in man pages displayed by "M-x man"Eli Zaretskii2019-08-091-2/+17
| | | | | | | | | | | | | | | | | | * lisp/man.el (Man-highlight-references0): Handle the case when a section is divided between 2 or more chunks of text received from the 'man' program. (Bug#36927)
* | | Fix doc strings modified in recent changesEli Zaretskii2019-08-091-17/+17
| | | | | | | | | | | | | | | | | | * src/xfns.c (Fx_change_window_property) (Fx_delete_window_property, Fx_window_property) (Fx_window_property_attributes): Doc fixes.
* | | Provide better target window consistency across x window property functions.Noah Friedman2019-08-081-41/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the argument name WINDOW-ID instead of SOURCE for same. Revise docstrings to clarify semantics of FRAME and WINDOW-ID. (Fx_change_window_property): Use `target_window' instead of `w'. This is consistent with other related functions. Finalize its value before blocking input. (Fx_window_property): (Fx_window_property_attributes): Use `window_id' instead of `source'. (Fx_delete_window_property): New optional arg window_id.
* | | (Fx_change_window_property): Rename SOURCE arg to WINDOW-IDNoah Friedman2019-08-081-5/+5
| | |
* | | (Fx_change_window_property): Add optional arg SOURCE.Noah Friedman2019-08-081-5/+17
| | | | | | | | | | | | | | | | | | | | | This provides symmetry with Fx_window_property, so that the window need not be an actual emacs frame. This is useful for modifying properties of parent windows (specified with --parent-id to emacs) or generally assisting the window manager.
* | | Use "python -m pdb" when "pdb" is missing in M-x pdbStefan Kangas2019-08-081-3/+4
| | | | | | | | | | | | | | | * lisp/progmodes/gud.el (gud-pdb-command-name): Use "python -m pdb" when "pdb" is missing. (Bug#21521)
* | | Say how to enable event designators in the eshell manualNoam Postavsky2019-08-082-5/+9
| | | | | | | | | | | | | | | | | | * doc/misc/eshell.texi (History): Mention that event designators need to be enabled. * etc/NEWS: Mark corresponding entry as documented in manual.
* | | Work on Tramp backward compatibilityMichael Albinus2019-08-086-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-adb.el (tramp-adb-handle-copy-file) (tramp-adb-handle-rename-file): * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): * lisp/net/tramp-rclone.el (tramp-rclone-do-copy-or-rename-file): * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file): * lisp/net/tramp-smb.el (tramp-smb-handle-copy-file) (tramp-smb-handle-rename-file): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file): Use `tramp-compat-directory-name-p'.
* | | Improve time arithmetic in tramp--test-file-attributes-equal-pMichael Albinus2019-08-081-7/+10
| | | | | | | | | | | | | | | * test/lisp/net/tramp-tests.el (tramp--test-file-attributes-equal-p): Improve time arithmetic.
* | | Suppress false alarm in TrampMichael Albinus2019-08-081-1/+1
| | | | | | | | | | | | * lisp/net/tramp.el (tramp-dissect-file-name): Suppress false alarm.
* | | Suppress interactive-only warnings in undo-tests.el (Bug#36565)Stefan Kangas2019-08-081-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | * test/src/undo-tests.el (undo-test-region-deletion) (undo-test-region-example, undo-test-marker-adjustment-nominal) (undo-test-region-t-marker, undo-test-marker-adjustment-moved) (undo-test-region-mark-adjustment): Suppress interactive-only warnings by using funcall-interactively.