summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Rebuild for athena's apt repositorydebian/29_git20220828.1Sean Whitton2022-08-29
|
* changelogSean Whitton2022-08-29
|
* Merge remote-tracking branch 'origin/master' into athena/unstableSean Whitton2022-08-29
|\
| * 'C-c C-d' on vc-log buffer shows the diff from 'vc-log-fileset' (bug#52349)Juri Linkov2022-08-28
| | | | | | | | | | | | | | | | | | | | * lisp/vc/log-edit.el (log-edit-diff-fileset): New function. * lisp/vc/vc-dispatcher.el (vc-log-edit): Set log-edit-diff-function to log-edit-diff-fileset instead of vc-diff. * lisp/vc/vc.el (vc-diff): New optional arg ‘fileset’. If non-nil, use instead of vc-deduce-fileset.
| * 'C-x v v' on a diff buffer commits it as a patch (bug#52349)Juri Linkov2022-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/diff-mode.el (diff-vc-deduce-fileset): New function. * lisp/vc/log-edit.el (log-edit-diff-patch): New function. * lisp/vc/vc-dispatcher.el (vc-log-edit): Set log-edit-diff-function to log-edit-diff-patch when vc-patch-string is non-nil. (vc-start-logentry): New optional arg 'patch-string'. Set buffer-local 'vc-patch-string' to 'patch-string'. (vc-dispatcher-browsing): Add (derived-mode-p 'diff-mode). * lisp/vc/vc-git.el (vc-git-checkin-patch): New function. (vc-git-checkin): When vc-git-patch-string is non-nil, use `git apply --cached` to add the patch to the index, then commit the staged changes. * lisp/vc/vc.el: New backend function 'checkin-patch'. (vc-deduce-fileset-1): Call diff-vc-deduce-fileset in diff-mode. (vc-next-action): For model 'patch' call vc-checkin with the diff buffer string. (vc-checkin): New optional arg 'patch-string'. Call backend function 'checkin-patch' when 'patch-string' is non-nil. Call vc-start-logentry with 'patch-string'. (vc-diff-patch-string): New function.
| * Revert parts of 3f076a8e44 that caused test failuresJuri Linkov2022-08-28
| | | | | | | | | | | | | | | | * lisp/simple.el (line-move-finish): * lisp/window.el (scroll-command--goto-goal-column): Revert back to using truncate-partial-width-windows instead of truncated-partial-width-window-p. This change caused test failures in lisp/ls-lisp-tests.log and lisp/emacs-lisp/edebug-tests.log.
| * Fix data for files-tests-bug-21454 on CygwinKen Brown2022-08-28
| | | | | | | | | | * test/lisp/files-tests.el (files-tests-bug-21454): Fix test data to reflect the fact that Cygwin supports UNC paths.
| * ; Fix docs of glyphless-character displayEli Zaretskii2022-08-28
| | | | | | | | | | | | | | * etc/NEWS: Update "glyphless character" entries. * doc/lispref/display.texi (Glyphless Chars): The extra slot of the char-table can now use a cons cell.
| * ; Autoload 'latin1-display-ucs-per-lynx'Eli Zaretskii2022-08-28
| | | | | | | | | | * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx): Autoload it, since we autoload 'latin1-display'.
| * Fix two issues in xterm.cPo Lu2022-08-28
| | | | | | | | | | | | * src/xterm.c (x_atom_refs): Make EMACS_SERVER_TIME_PROP atom have a vendor-specific prefix. (x_query_pointer_1): Fix leak of button mask.
| * Use truncated-partial-width-window-p in more places (bug#56815)Juri Linkov2022-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/simple.el (line-move, line-move-finish): Use truncated-partial-width-window-p. * lisp/window.el (count-screen-lines, scroll-command--goto-goal-column): Use truncated-partial-width-window-p. (truncated-partial-width-window-p): Replace window-width with window-total-width. * src/indent.c (scan_for_column): Bring the logic of using truncated-partial-width-window-p closer to what the display engine does.
| * Use a list of text properties to search in symlink filenames in WdiredJuri Linkov2022-08-27
| | | | | | | | | | | | | | | | | | | | | | * lisp/dired-aux.el (dired-isearch-search-filenames): Use text properties 'dired-filename' and 'dired-symlink-filename'. * lisp/dired.el (dired-font-lock-keywords): Add text property 'dired-symlink-filename' on symlinks. * lisp/isearch.el (isearch-search-fun-in-text-property): Support a list of text properties (bug#57293).
| * Make dynamic info-lookup more backwards-compatibleLars Ingebrigtsen2022-08-27
| | | | | | | | | | * lisp/info-look.el (info-lookup--expand-info): Don't try to expand elements that aren't functions (bug#57446).
| * Fix webp detection on some Macos systemsDaniel Martín2022-08-27
| | | | | | | | | | * configure.ac (HAVE_RSVG): Make webp detection work with Macos 10.3/Homebrew (bug#57420).
| * Fix regression with cursor motion in Magit buffersEli Zaretskii2022-08-27
| | | | | | | | | | * lisp/simple.el (line-move): Condition movement optimizations on presence of very long lines. (Bug#57433)
| * Fix antialias face attribute when text is scaledEli Zaretskii2022-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This restores the code we had in realize_gui_face before commit bf0d3f7. The problem described in bug#17973, which led to that commit, only happens if one uses a specific (misc-fixed) font family, not for the usual default fonts used by Emacs, and I'm not sure what's described there is a bug at all. At least for the purposes of text-scale-adjust, it makes no sense to ignore the foundry/family/adstyle of the original font, because we _want_ the same (or very similar) font, just of a different size. And likely in other use cases: if the :font attribute of a face specifies some font properties, we want to keep them all, not arbitrarily to ignore some of them. And definitely catering to an obscure use case such as the one cited in bug#17973 is NOT a good reason to make such radical changes in face-realization behavior. So I think backing out that part of commit bf0d3f7 is TRT, and if we decide that this causes bug#17973 in too many situations we care about, I'd rather find a kludge for that specific case than do that for every face realization. * src/xfaces.c (realize_gui_face): Preserve face attributes when text is scaled. This reverts part of the changes installed in commit bf0d3f7. (Bug#37473)
| * ; * etc/NEWS: typoMattias Engdegård2022-08-27
| |
| * CC Mode: Remove double evaluation of self-quoting function in cc-langs.elAlan Mackenzie2022-08-27
| | | | | | | | | | | | | | This is a followup to Stefan Monnier's fix for bug #57065 from 2022-08-25. * lisp/progmodes/cc-langs.el (c-init-language-vars): Add a #' after the funcall.
| * Support "replacement characters" on TTY framesEli Zaretskii2022-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/nsterm.m (ns_draw_glyphless_glyph_string_foreground): * src/pgtkterm.c (pgtk_draw_glyphless_glyph_string_foreground): * src/haikuterm.c (haiku_draw_glyphless_glyph_string_foreground): * src/xterm.c (x_draw_glyphless_glyph_string_foreground): * src/w32term.c (w32_draw_glyphless_glyph_string_foreground): * src/xdisp.c (lookup_glyphless_char_display): Handle extra-slot of 'glyphless-char-display' that is a cons cell. (syms_of_xdisp) <glyphless-char-display>: Update doc string. * etc/NEWS: * doc/lispref/display.texi (Glyphless Chars): Document the new feature. * lisp/faces.el (glyphless-char): Make the face stand out on TTY frames that don't support the underline attribute.
| * Fix crash when handling "swallowed" generic eventsPo Lu2022-08-27
| | | | | | | | | | | | | | * src/xmenu.c (x_menu_translate_generic_event, x_menu_show): Pass through more events, correctly. * src/xterm.c (handle_one_xevent): Don't abort if must_free_data and xi_event is NULL; this is an Xlib bug.
| * xref-matches-in-files: Use with-connection-local-variablesDmitry Gutov2022-08-27
| | | | | | | | | | * lisp/progmodes/xref.el (xref-matches-in-files): Use with-connection-local-variables (bug#57385).
| * Use shr as default for mm-text-html-rendererStefan Kangas2022-08-26
| | | | | | | | | | | | * lisp/gnus/mm-decode.el (mm-text-html-renderer): Use 'shr' as default to avoid a nil value. Problem reported by Mattias Engdegård <mattiase@acm.org>.
| * Clarify the :box attributes in Face Attributes lispref nodeLars Ingebrigtsen2022-08-26
| | | | | | | | | | * doc/lispref/display.texi (Face Attributes): Mention that the elements are optional (bug#50699).
| * CC Mode: Fontify correctly a brace list element followed only by syntactic WSAlan Mackenzie2022-08-26
| | | | | | | | | | | | | | | | This fixes a regression introduced in the fix for bug #56841 on 2022-08-24. * lisp/progmodes/cc-engine (c-forward-declarator): Allow point to be at EOB after the call to c-forward-name, rather than rejecting it as an invalid declarator. Also reindent a section of this function.
| * Use `rx' in Tramp where possibleMichael Albinus2022-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el: * lisp/net/tramp-adb.el: * lisp/net/tramp-archive.el: * lisp/net/tramp-cache.el: * lisp/net/tramp-cmds.el: * lisp/net/tramp-compat.el: * lisp/net/tramp-crypt.el: * lisp/net/tramp-ftp.el: * lisp/net/tramp-fuse.el: * lisp/net/tramp-gvfs.el: * lisp/net/tramp-integration.el: * lisp/net/tramp-rclone.el: * lisp/net/tramp-sh.el: * lisp/net/tramp-smb.el: * lisp/net/tramp-sudoedit.el: Use `rx' where possible. * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-times): Use `eval-when-compile'. (tramp-adb-maybe-open-connection): Use file-property for "/". Use `eval-when-compile'. * lisp/net/tramp-cmds.el (mm-7bit-chars): Declare. (tramp-reporter-dump-variable): Simplify point movement. * lisp/net/tramp-gvfs.el (tramp-dbus-function): Fix typo. (tramp-zeroconf-parse-device-names): Use `tramp-prefix-port-format'. * lisp/net/tramp-sh.el (tramp-open-shell, tramp-find-shell): Use `eval-when-compile'. Improve sanity check. * lisp/net/tramp.el (tramp-prefix-format, tramp-prefix-regexp) (tramp-method-regexp, tramp-postfix-method-format) (tramp-postfix-method-regexp, tramp-prefix-ipv6-format) (tramp-prefix-ipv6-regexp, tramp-postfix-ipv6-format) (tramp-postfix-ipv6-regexp, tramp-postfix-host-format) (tramp-postfix-host-regexp, tramp-remote-file-name-spec-regexp) (tramp-file-name-structure, tramp-file-name-regexp) (tramp-completion-method-regexp) (tramp-completion-file-name-regexp): Declare. (tramp-set-syntax): Set also `tramp-completion-method-regexp'. (tramp-volume-letter-regexp, tramp-completion-method-regexp-alist): New defconsts. (tramp-build-completion-method-regexp): New defun. (tramp-completion-method-regexp): New defvar. (tramp-completion-file-name-regexp-default) (tramp-completion-file-name-regexp-simplified) (tramp-completion-file-name-regexp-separate) (tramp-completion-file-name-regexp-alist): Remove. (tramp-build-completion-file-name-regexp): Rwrite. (tramp-make-tramp-file-name): Use `tramp-archive-method'. (tramp-handle-file-directory-p): Ignore errors. (tramp-handle-find-backup-file-name, tramp-handle-lock-file) (tramp-handle-make-auto-save-file-name): Use `eval-when-compile'. * test/lisp/net/tramp-archive-tests.el: * test/lisp/net/tramp-tests.el: Use `rx' where possible. (tramp-test01-file-name-syntax): Adapt test.
| * Make the *Ido COmpletions* buffer fit the window to the bufferLars Ingebrigtsen2022-08-26
| | | | | | | | | | | | | | * lisp/ido.el (ido-completion-help): Display the ido completions buffer pretty much the same way that the default *Completions* buffer is displayed (bug#50671). This means that we're defaulting to fit-window-to-buffer.
| * New option 'thrifty' for Man-notify-methodAugusto Stoffel2022-08-26
| | | | | | | | | | | | * lisp/man.el (Man-notify-when-ready): Accept new 'thrifty' notify method. (Man-notify-method): Explain what 'thrifty' does (bug#57408).
| * Delete blank lines at the start of the cited text in message-indent-citationLars Ingebrigtsen2022-08-26
| | | | | | | | | | * lisp/gnus/message.el (message-indent-citation): Fix thinko in the fix for the previous thinko.
| * Fix recent gamegrid.el change for nox buildBasil L. Contovounesios2022-08-26
| | | | | | | | | | | | * lisp/play/gamegrid.el (gamegrid-make-glyph): Declare image-scaling-factor as special before dynamically binding it, for the sake of --without-x builds which do not preload lisp/image.el.
| * Pacify obsolete gv warnings in xt-mouse-tests.elBasil L. Contovounesios2022-08-26
| | | | | | | | | | | | * test/lisp/xt-mouse-tests.el (with-xterm-mouse-mode): Replace deprecated generalized variables frame-width and frame-height with direct calls to set-frame-width and set-frame-height, respectively.
| * Kill the buffer for the temp file after using '$<command>' in EshellJim Porter2022-08-25
| | | | | | | | | | | | | | * lisp/eshell/esh-var.el (eshell-parse-variable-ref): Kill the temp file's buffer when we're done. Ref: https://lists.gnu.org/archive/html/bug-gnu-emacs/2022-08/msg01444.html
| * Merge from origin/emacs-28Stefan Kangas2022-08-26
| |\ | | | | | | | | | e3b8577525 ; * etc/DEBUG: Fix wording of "X protocol errors" section.
| | * ; * etc/DEBUG: Fix wording of "X protocol errors" section.Eli Zaretskii2022-08-25
| | |
| * | ; Merge from origin/emacs-28Stefan Kangas2022-08-26
| |\| | | | | | | | | | | | | | | | The following commit was skipped: ba64d09156 Treat smtp-auth method from auth-info as a symbol
| | * Treat smtp-auth method from auth-info as a symbolRobert Pluim2022-08-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lookup of the SMTP auth method is done based on symbols, but sometimes the requested value comes from `auth-info', in which case it is a string, so call `intern-soft' to convert it to a symbol (which does nothing if it's already a symbol). * lisp/mail/smtpmail.el (smtpmail-try-auth-methods): Call `intern-soft' on the smtp-auth key's value. (Bug#57373) Do not merge to master
| * | Merge from origin/emacs-28Stefan Kangas2022-08-26
| |\| | | | | | | | | | | | | | | | 9e03e29c4e * lisp/wdired.el: Improve "Commentary" section. 92e90297f9 * lisp/wdired.el: Doc fix; don't mention obsolete variable. 2ccefef4c7 * lisp/progmodes/etags.el (next-file): Minor doc fix.
| | * * lisp/wdired.el: Improve "Commentary" section.Stefan Kangas2022-08-25
| | |
| | * * lisp/wdired.el: Doc fix; don't mention obsolete variable.Stefan Kangas2022-08-25
| | |
| | * * lisp/progmodes/etags.el (next-file): Minor doc fix.Stefan Kangas2022-08-25
| | |
| * | ; Merge from origin/emacs-28Stefan Kangas2022-08-26
| |\| | | | | | | | | | | | | | | | The following commit was skipped: 82bcd44378 * configure.ac: Move AC_LANG_PUSH/POP out of AC_CACHE_CHEC...
| | * * configure.ac: Move AC_LANG_PUSH/POP out of AC_CACHE_CHECK. (Bug#57380)Andreas Schwab2022-08-25
| | | | | | | | | | | | (cherry picked from commit ce82300221f270241fdda1f5dfb567bdb1208543)
| * | Restore old code in x_sync_trigger_fencePo Lu2022-08-26
| | | | | | | | | | | | | | | | | | | | | | | | * src/xterm.c (x_sync_trigger_fence): Restore old code, since that makes it easier to adapt to more than 2 sync fences (which might be necessary in the future, if we ever decide to do frame handling asynchronously), and is much more recognizable for people coming from other programs.
| * | ; * src/xterm.h (struct x_display_info): Update comment.Po Lu2022-08-26
| | |
| * | Update from Gnulib by running admin/merge-gnulibPaul Eggert2022-08-25
| | |
| * | Fix overflows in HAVE_XSYNC timestamp handlingPaul Eggert2022-08-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, port to platforms lacking CLOCK_MONOTONIC and int64_t, and use 0 more consistently to represent missing timestamps. * src/xterm.h (struct x_display_info): Omit server_time_monotonic_p and server_time_offset if !HAVE_CLOCK_GETTIME since they are unused in that case. * src/xterm.h (struct x_display_info, struct x_output): * src/xterm.c (x_sync_get_monotonic_time) (x_sync_current_monotonic_time, x_sync_note_frame_times): Use int_fast64_t instead of int64_t as POSIX doesn't guarantee the latter. Similarly for uint_fast64_t. (x_sync_get_monotonic_time, x_sync_current_monotonic_time) (x_sync_note_frame_times, x_display_set_last_user_time): Check for integer overflow in time arithmetic. (CLOCK_MONOTONIC): Define to CLOCK_REALTIME if absent. (x_sync_current_monotonic_time): Check for clock_gettime failure and fall back on CLOCK_REALTIME if CLOCK_MONOTONIC does not work, which POSIX allows. (x_sync_current_monotonic_time, x_sync_note_frame_times) (x_display_set_last_user_time): Use 0 more consistently to represent missing timestamps.
| * | Fix unlikely core dump with XawPaul Eggert2022-08-25
| | | | | | | | | | | | | | | * lwlib/lwlib-Xaw.c (make_dialog): Don’t dump core if calloc fails. Caught with --enable-gcc-warnings.
| * | * lisp/progmodes/cc-langs.el (c-make-no-parens-syntax-table): Fix bug#57065Stefan Monnier2022-08-25
| | | | | | | | | | | | | | | | | | | | | (c-lang-const c-make-mode-syntax-table) already returns a function, so quote it to avoid double evaluation since it could fail if the function is not self-evaluating, such as when it's a symbol or a value of the form (closure ...).
| * | ; * etc/NEWS: Fix wording of a recently-added entry.Eli Zaretskii2022-08-25
| | |
| * | ; * lisp/progmodes/grep.el (grep-command-position): Doc fix.Eli Zaretskii2022-08-25
| | |
| * | ; Delete some commented out code from linum.elStefan Kangas2022-08-25
| | | | | | | | | | | | | | | * lisp/linum.el (linum-mode): Delete code commented out since 2009.