- 15 Jul, 2021 7 commits
-
-
Eli Zaretskii authored
-
Eli Zaretskii authored
-
Lars Ingebrigtsen authored
* lisp/emacs-lisp/shortdoc.el (string): Mention split-string-and-unquote and split-string-shell-command.
-
Lars Ingebrigtsen authored
* lisp/progmodes/inf-lisp.el (inferior-lisp): Allow using spaces in the command names (by splitting using shell syntax) (bug#16005).
-
Lars Ingebrigtsen authored
* lisp/shell.el (split-string-shell-command): * doc/lispref/processes.texi (Shell Arguments): Rename from shell-split-string.
-
Lars Ingebrigtsen authored
* doc/lispref/processes.texi (Shell Arguments): Document it. * lisp/shell.el (shell-split-string): New function.
-
Lars Ingebrigtsen authored
* src/keyboard.c (syms_of_keyboard): Clarify `overriding-local-map' vs. text properties/overlays (bug#16312).
-
- 14 Jul, 2021 10 commits
-
-
Paul Eggert authored
* src/alloc.c (mark_maybe_pointer): Make it clearer that ANDing with UINTPTR_MAX is intended. Omit a now-unnecessary cast.
-
Michael Albinus authored
* lisp/net/tramp-crypt.el (tramp-crypt-handle-lock-file) (tramp-crypt-handle-unlock-file): Preserve backward compatibility. * lisp/net/tramp-sh.el (tramp-sh-handle-write-region): Do not create lock file twice. * lisp/net/tramp.el (tramp-handle-make-lock-file-name): Move lock file security check ... (tramp-handle-lock-file): ... here. (tramp-handle-unlock-file): Preserve backward compatibility. * test/lisp/net/tramp-tests.el (lock-file-name-transforms) (remote-file-name-inhibit-locks): Declare. (tramp-allow-unsafe-temporary-files): Set to t. (tramp-test37-make-auto-save-file-name) (tramp-test38-find-backup-file-name): Move binding of `tramp-allow-unsafe-temporary-files' up. (tramp-test39-lock-file): Bind `tramp-allow-unsafe-temporary-files'. Preserve backward compatibility. Extend test.
-
Lars Ingebrigtsen authored
* lisp/gnus/message.el (message-signature-separator): New face (bug#17757). (message-font-lock-keywords): Add it to the signature, and ensure that the trailing space isn't removed when hitting RET. (message--match-signature): New helper function.
-
Lars Ingebrigtsen authored
* lisp/simple.el (backward-delete-char-untabify): Mention the effect of Transient Mark mode (bug#17263).
-
Lars Ingebrigtsen authored
-
Lars Ingebrigtsen authored
* lisp/window.el (switch-to-buffer-other-frame): Document that we don't always display the buffer in a different frame (bug#17719).
-
Lars Ingebrigtsen authored
* lisp/hilit-chg.el (hilit-chg-set-face-on-change): Remove highlighting from characters that are just highlighted because of something that has been previously deleted (bug#17784).
-
Eli Zaretskii authored
* src/image.c (UINT32) [TIFFLIB_VERSION >= 20210416]: Define to use stdint.h type for recent libtiff versions. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
-
Michael Albinus authored
-
Lars Ingebrigtsen authored
* lisp/apropos.el (apropos--preamble): Factor out (bug#17832)... (apropos-print-doc): ... from here. (apropos-library): Use it to display the apropos buffer even if it has no symbols of its own.
-
- 13 Jul, 2021 17 commits
-
-
Juri Linkov authored
* lisp/isearch.el (isearch-filter-predicate): Mention precautions against clobbering the match data in docstring (bug#49534).
-
Juri Linkov authored
* lisp/isearch.el (isearch-search): Add save-match-data before funcall isearch-filter-predicate. (isearch-lazy-highlight-search): Add save-match-data before funcall isearch-filter-predicate. (Bug#49534)
-
Lars Ingebrigtsen authored
* lisp/facemenu.el (facemenu-add-face): Use `read-face-name' (bug#18369) by copying over the interactive spec from facemenu-set-face.
-
Lars Ingebrigtsen authored
* lisp/jka-compr.el (jka-compr-insert-file-contents): Make more efficient by using `insert-into-buffer'.
-
Lars Ingebrigtsen authored
* doc/lispref/text.texi (Insertion): Document it. * lisp/subr.el (insert-into-buffer): New function.
-
Lars Ingebrigtsen authored
* lisp/jka-cmpr-hook.el (jka-compr-info-uncompress-function): New function (bug#18823). (jka-compr-compression-info-list): Expand info with decompression function. * lisp/jka-compr.el (jka-compr-insert-file-contents): Fall back on internal decompression function if external doesn't exist.
-
Daniel Martín authored
* lisp/dired.el (dired-number-of-marked-files): Fix if expression so that the else part is evaluated correctly.
-
Stefan Monnier authored
-
Lars Ingebrigtsen authored
* lisp/frame.el (set-frame-font): Allow not updating the Customization settings (bug#19298).
-
Lars Ingebrigtsen authored
* doc/lispref/modes.texi (Multiline Font Lock): Document the syntax-multiline text property (bug#20436).
-
Juri Linkov authored
* lisp/isearch.el (isearch-search): Move (= (match-beginning 0) (match-end 0)) and (bobp)/(eobp) outside the call to isearch-filter-predicate. Use forward-char 1/-1 on empty matches only when going to retry search. (isearch-lazy-highlight-search): Remove (= (point) bound), but leave (= (match-beginning 0) (match-end 0)) since empty matches make no sense in lazy-highlighting.
-
Lars Ingebrigtsen authored
* lisp/textmodes/tex-mode.el (tex-validate-buffer): The *Occur* buffer is read-only, so inhibit that before inserting things into it (bug#19326).
-
Michael Albinus authored
-
Michael Albinus authored
* doc/emacs/files.texi (Interlocking): * doc/lispref/files.texi (File Locks): * doc/misc/tramp.texi (Auto-save File Lock and Backup): Add remote-file-name-inhibit-locks. * etc/NEWS: New user option 'remote-file-name-inhibit-locks'. * lisp/files.el (remote-file-name-inhibit-locks): New defcustom. * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist): * lisp/net/tramp-crypt.el (tramp-crypt-file-name-handler-alist): * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): * lisp/net/tramp-rclone.el (tramp-rclone-file-name-handler-alist): * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist): * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): * lisp/net/tramp-sshfs.el (tramp-sshfs-file-name-handler-alist): * lisp/net/tramp-sudoedit.el (tramp-sudoedit-file-name-handler-alist): Use `tramp-handle-make-lock-file-name'. * lisp/net/tramp.el (tramp-allow-unsafe-temporary-files): Fix docstring. (tramp-handle-make-lock-file-name): New defun. * test/lisp/net/tramp-tests.el (tramp-test39-lock-file): Extend test.
-
Lars Ingebrigtsen authored
* doc/emacs/dired.texi (Dired Visiting): Document it. * lisp/dired.el (dired-kill-when-opening-new-dired-buffer): New user option (bug#20598). (dired-up-directory, dired-find-file): Use it. (dired--find-possibly-alternative-file): New convenience command to respect the user option.
-
Mattias Engdegård authored
If a TLS handshake is attempted before the completion of an asynchronous TCP connection has been ascertained, our local state will not be set up correctly for further progress and the sentinel "open" event will never be sent. This can occur if sufficient time passes after the initiation of an async TCP connection so that by the time `wait_reading_process_output` is called, the connection has already been established on the TCP level. This somewhat timing-sensitive bug has plagued HTTPS connections on some platforms, notably macOS, for a long time (bug#49449). * src/process.c (wait_reading_process_output): Gate the TLS handshake by the NON_BLOCKING_CONNECT_FD flag. The flag will be cleared as soon as the TCP socket is found to be writable. * test/src/process-tests.el (process-async-https-with-delay): New test.
-
Ken Brown authored
* src/sysdep.c (struct speed_struct): New struct. (speeds): New static array of struct speed_struct. (convert_speed): New static function to convert a numerical baud rate (e.g., 9600) to a Bnnn constant defined in termios.h (e.g., B9600). (serial_configure): Use convert_speed to make the call to cfsetspeed compliant with its advertised API. (Bug#49524)
-
- 12 Jul, 2021 6 commits
-
-
Basil L. Contovounesios authored
-
Michael Albinus authored
* lisp/net/tramp-adb.el (tramp-adb-handle-process-file): * lisp/net/tramp-sh.el (tramp-sh-handle-process-file): * lisp/net/tramp-smb.el (tramp-smb-handle-process-file): * lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file): Use `(expand-file-name default-directory)'.
-
Paul Eggert authored
* test/Makefile.in (REPLACE_FREE, FREE_SOURCE_0, FREE_SOURCE_1): New macros. ($(test_module)): Improve accuracy of test as to whether free.c should be compiled; glibc 2.33 does not need it compiled and the compilation breaks if you try, if you build with --enable-gcc-warnings.
-
Paul Eggert authored
* src/eval.c (Fprogn, internal_lisp_condition_case): Add CACHEABLE to work around more instances of -Wclobbered bug.
-
Paul Eggert authored
* oldXMenu/Create.c (XMenuCreate): * oldXMenu/Internal.c (_XMRecomputePane, _XMRecomputeSelection): * oldXMenu/XMakeAssoc.c (XMakeAssoc): * test/src/emacs-module-resources/mod-test.c (Fmod_test_userptr_make): Don’t assume that malloc and calloc succeed.
-
Paul Eggert authored
* lib-src/etags.c (regexp): Omit member force_explicit_name, since it’s always true. All uses removed. This lets us remove calls to strlen (name) where GCC isn’t smart enough to deduce that name must be nonnull. * lib-src/movemail.c (main): Fix bug that could cause link (tempname, NULL) to be called. * src/emacs.c (argmatch): Break check into two ‘if’s, since GCC doesn’t seem to be smart enough to check the single ‘if’. * src/gtkutil.c (xg_update_menu_item): Fix bug where strcmp could be given a NULL arg. * src/xfont.c (xfont_list_family): Use nonnull value for dummy initial value.
-