summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Release rebuild to athena apt repositorydebian/30.1_git20240510.1athena/unstableSean Whitton2024-05-16
|
* Drop libjansson-dev build-depSean Whitton2024-05-15
|
* changelogSean Whitton2024-05-15
|
* Merge upstream Git snapshot into athena/unstableSean Whitton2024-05-15
|\
| * Avoid resizing mutation in subst-char-in-stringMattias Engdegård2024-05-10
| | | | | | | | | | * lisp/subr.el (subst-char-in-string): Use string-replace to avoid resizing mutation and O(n^2) time.
| * ; * etc/NEWS: Announce user-level change in dictionary.el.Eli Zaretskii2024-05-10
| |
| * Fix 'dictionary-tooltip-mode'Eli Zaretskii2024-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/tooltip.el (tooltip-event-buffer): Make sure 'posn-window' returns a window before calling 'window-buffer'. * lisp/net/dictionary.el (dictionary-default-dictionary) (dictionary-tooltip-dictionary): Doc fixes. (dictionary-tooltip-dictionary): Change default value to t, which means the same dictionary as 'dictionary-default-dictionary'. (dictionary-do-search): If NOMATCHING is non-nil, do not insert anything into the current buffer, as that is unexpected when showing definitions in tooltips. (dictionary-word-at-mouse-event): Be defensive about the values returned by 'tooltip-event-buffer' and 'posn-point': they can be unexpected when the mouse pointer is on the tool bar or mode line etc. (dictionary-display-tooltip): Ignore errors in this function. (dictionary-tooltip-mode): Ignore mouse-movement events on tool bar and tab-bar. (dictionary-dictionaries): Decode the server response to present dictionaries in human-readable form. Document in the doc string the format of the return value.
| * Implement dots and dashes on MS-WindowsPo Lu2024-05-10
| | | | | | | | | | | | | | | | * src/haikuterm.c (haiku_draw_dash): Correct whitespace error. * src/w32term.c (w32_draw_dash, w32_fill_underline) (w32_draw_glyph_string): Port display of dash and dot underline styles from X.
| * * lisp/imenu.el (imenu-flatten): New defcustom (bug#70846).Juri Linkov2024-05-10
| | | | | | | | | | | | | | | | | | | | | | (imenu-level-separator): Adjust the docstring. (imenu--flatten-index-alist): New function revived from the initial implementation of this package. (imenu-choose-buffer-index): Use imenu--flatten-index-alist when imenu-flatten is non-nil. (imenu-buffer-menubar): Remove obsolete variable. * doc/emacs/programs.texi (Imenu): Document imenu-flatten.
| * ; Remove unnecessary defvars defined in a file we already 'require'Jim Porter2024-05-09
| | | | | | | | | | * lisp/eshell/esh-cmd.el (eshell-output-handle, eshell-error-handle): Remove superfluous declarations.
| * Remove redundant encoding of strings in androidvfs.cPo Lu2024-05-10
| | | | | | | | | | | | | | | | | | * java/org/gnu/emacs/EmacsService.java (getDocumentTrees): Accept PROVIDER as a String. * src/android.c (android_init_emacs_service): * src/androidvfs.c (android_saf_root_opendir): Adjust to match.
| * Document a problem with Microsoft SwiftKeyPo Lu2024-05-10
| | | | | | | | | | * etc/PROBLEMS (Runtime problems specific to Android): Document incompatibility with Microsoft Swiftkey.
| * Fix bug#70856Po Lu2024-05-10
| | | | | | | | | | | | | | | | * lisp/pixel-scroll.el (pixel-scroll-precision-scroll-down) (pixel-scroll-precision-scroll-up): Apply finer threshold for the minimum unit of scrolling. (pixel-scroll-precision-scroll-down-page): Document true restrictions on DELTA. (bug#70856)
| * Fix earlier change to content URI resolution on AndroidPo Lu2024-05-10
| | | | | | | | | | | | | | | | | | * java/org/gnu/emacs/EmacsService.java (openContentUri): Return -1 if fd be NULL. * src/androidvfs.c (android_authority_open): Detect SecurityException and suchlike. (android_vfs_init): Initialize exception classes on Android 4.4.
| * Don't limit gnus thread searches to a single messageAndrew G Cohen2024-05-10
| | | | | | | | | | | | * lisp/gnus/gnus-search.el (gnus-search-single-p): Searches for a single message id finish after finding this one message; thread searches continue until all messages are found.
| * Improve doc-type determination in doc-viewAndrew G Cohen2024-05-10
| | | | | | | | | | * lisp/doc-view.el (doc-view-set-doc-type): If buffer-file-name is not set try the buffer-name to identify the doc type.
| * Find correct parent for articles in gnusAndrew G Cohen2024-05-10
| | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-refer-parent-article): When an article's headers have been altered, use the altered headers to find the parent.
| * ; Provide documentation example for gnus-alter-header-functionAndrew G Cohen2024-05-10
| | | | | | | | | | | | * doc/misc/gnus.texi (Low-Level Threading): Provide an example of using gnus-alter-header-function to remove unwanted items in References header.
| * ; * lisp/mail/smtpmail.el (smtpmail-try-auth-method): quote symbol.Andrew G Cohen2024-05-10
| |
| * ; Fix an edge case with Eshell globs when the directory part is quotedJim Porter2024-05-09
| | | | | | | | | | | | | | | | * lisp/eshell/esh-util.el (eshell-split-filename): Escaping shouldn't matter for splitting the name (no other shells handle it like this). * test/lisp/eshell/em-glob-tests.el (em-glob-test/convert/quoted-start-directory): New test.
| * ; Reference the xoauth2 method in nnimap-authenticator docstringJakub Ječmínek2024-05-09
| | | | | | | | | | * lisp/gnus/nnimap.el (nnimap-authenticator): Update variable documentation to include xoauth2 method.
| * Improve static checking when using upcoming GCC 13.3Paul Eggert2024-05-09
| | | | | | | | | | | | | | * src/lisp.h: In GCC 13.3 and later, do not ignore -Wanalyzer-allocation-size. * src/marker.c: In GCC 13.3 and later, do not ignore -Wanalyzer-deref-before-check.
| * ; Fix example code in nnfeedDaniel Semyonov2024-05-09
| | | | | | | | * lisp/gnus/nnfeed.el: Backend declaration example was incorrect.
| * Tramp code cleanupMichael Albinus2024-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-compat.el (tramp-compat-seq-keep): New defalias. * lisp/net/tramp.el (tramp-enable-method): * lisp/net/tramp-adb.el (tramp-adb-parse-device-names): * lisp/net/tramp-cache.el (tramp-list-connections): * lisp/net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers): * lisp/net/tramp-container.el (tramp-container--completion-function) (tramp-toolbox--completion-function) (tramp-flatpak--completion-function) (tramp-apptainer--completion-function): * lisp/net/tramp-rclone.el (tramp-rclone-parse-device-names): Use it.
| * Fix 'srecode-all-template-hash' always returning nilCharalampos Mitrodimas2024-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue was that the function always returned nil because the closing parentheses were in the wrong position. This meant that the function couldn't give back the data it was supposed to, making the whole srecode system not work properly. By moving the parentheses to the correct place, the function now returns a hash table with all the templates it finds. * lisp/cedet/srecode/find.el (srecode-all-template-hash): Adjusted the position of closing parentheses so that the mhash variable is returned correctly. (Bug#70765) Copyright-paperwork-exempt: yes
| * ; Check process in 'python-shell-completion-at-point'Lin Sun2024-05-09
| | | | | | | | | | | | * lisp/progmodes/python.el (python-shell-completion-at-point): Check the PROCESS argument at the beginning of the function. (Bug#70707)
| * Add bitwise assignment operators to 'python--treesit-operators'Noah Peart2024-05-09
| | | | | | | | | | * lisp/progmodes/python.el (python--treesit-operators): Add bitwise assignment operators. (Bug#70666)
| * Intern additional symbols ahead-of-timePo Lu2024-05-09
| | | | | | | | | | | | | | * src/gnutls.c (Fgnutls_available_p, syms_of_gnutls): * src/minibuf.c (Fread_buffer, syms_of_minibuf): Define and intern symbols overlooked in the previous change.
| * Replace calls to intern with a constant string with DEFSYMsPo Lu2024-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c (display_malloc_warning, syms_of_alloc): * src/buffer.c (Fmake_indirect_buffer, Fbuffer_local_variables) (Frename_buffer, Fkill_buffer, Fset_buffer_major_mode) (Fset_buffer_multibyte, syms_of_buffer): * src/callint.c (read_file_name, Fcall_interactively) (syms_of_callint): * src/callproc.c (call_process, create_temp_file) (syms_of_callproc): * src/charset.c (Fdefine_charset_internal, syms_of_charset): * src/cmds.c (internal_self_insert, syms_of_cmds): * src/coding.c (record_conversion_result) (Fdefine_coding_system_internal, syms_of_coding): * src/dbusbind.c (xd_signature, Fdbus_message_internal) (syms_of_dbusbind): * src/dispnew.c (init_faces_initial): * src/doc.c (Fsnarf_documentation, syms_of_doc): * src/dosfns.c (system_process_attributes, syms_of_dosfns): * src/emacs.c (init_cmdargs, Fdump_emacs, decode_env_path) (syms_of_emacs): * src/eval.c (call_debugger, Fdefvaralias, syms_of_eval): * src/fileio.c (barf_or_query_if_file_exists) (Finsert_file_contents, auto_save_error, Fdo_auto_save) (syms_of_fileio): * src/filelock.c (lock_file_1, syms_of_filelock): * src/fontset.c (fontset_from_font, syms_of_fontset): * src/frame.c (make_frame_without_minibuffer, syms_of_frame): * src/gnutls.c (emacs_gnutls_certificate_details) (Fgnutls_peer_status_warning_describe, Fgnutls_peer_status) (gnutls_verify_boot, syms_of_gnutls): * src/gtkutil.c (style_changed_cb, find_rtl_image): * src/image.c (imagemagick_filename_hint, gs_load) (syms_of_image): * src/keyboard.c (command_loop_1, read_char, timer_start_idle) (read_char_minibuf_menu_prompt, Fsuspend_emacs) (syms_of_keyboard): * src/keymap.c (Fmap_keymap, Flookup_key, Fdescribe_vector) (describe_vector, syms_of_keymap): * src/lread.c (Fread, Fread_positioning_symbols, syms_of_lread): * src/minibuf.c (Fabort_minibuffers, Fread_buffer) (Fcompleting_read, syms_of_minibuf): * src/msdos.c (XMenuActivate, run_msdos_command, syms_of_msdos): * src/nsfns.m (Fx_display_backing_store, Fx_display_visual_class) (Fns_hide_emacs, Fsystem_move_file_to_trash, ns_create_tip_frame) (x_hide_tip, Fx_show_tip, syms_of_nsfns): * src/nsfont.m (ns_spec_to_descriptor, ns_descriptor_to_entity) (syms_of_nsfont): * src/pdumper.c (Fdump_emacs_portable): * src/pgtkfns.c (Fx_display_visual_class, x_create_tip_frame) (Fx_show_tip, syms_of_pgtkfns): * src/pgtkterm.c (syms_of_pgtkterm, pgtk_cr_export_frames): * src/term.c (term_get_fkeys_1, set_tty_color_mode, Fsuspend_tty) (Fresume_tty, tty_menu_activate, syms_of_term): * src/terminal.c (create_terminal, syms_of_terminal): * src/w32fns.c (Fx_display_backing_store) (Fx_display_visual_class, Fset_message_beep, Fx_open_connection) (Fx_show_tip, Fx_file_dialog, Fsystem_move_file_to_trash) (Fw32_toggle_lock_key, syms_of_w32fns): * src/w32font.c (w32_enumfont_pattern_entity, syms_of_w32font): * src/w32term.c (w32_bitmap_icon, syms_of_w32term): * src/xdisp.c (message_dolog, define_frame_cursor1) (syms_of_xdisp): * src/xfaces.c (tty_lookup_color, syms_of_xfaces): * src/xml.c (make_dom, syms_of_xml): * src/xterm.c (syms_of_xterm): * src/xwidget.c (store_xwidget_download_callback_event) (store_xwidget_js_callback_event, syms_of_xwidget): Define symbols for symbols interned with `intern' from a constant string, delete duplicate DEFSYM directives, and substitute them for such calls to intern. This excludes only those symbols which are interned and referenced only once during Emacs's initialization, the timing of whose interning is inconsequential, and symbols in w32.c, which would need to be transferred to a new syms_of_w32 function that I cannot test.
| * * lisp/treesit.el (treesit-outline-search): Handle bobp specially.Juri Linkov2024-05-09
| | | | | | | | | | | | At the beginning of the buffer call 'treesit-outline-search' recursively with the `looking-at' argument set to t, since `treesit-navigate-thing' can't find a thing at bobp (bug#70789).
| * Fontify for_statement variable in python-ts-mode (bug#70718)Noah Peart2024-05-08
| | | | | | | | | | * lisp/progmodes/python.el (python--treesit-settings): Add font-lock query for for_statement variable in assignment feature.
| * Fontify namespace in c++-ts-modeYuan Fu2024-05-08
| | | | | | | | | | * lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Add a rule for namespace.
| * Fix #if defined directive fontification in c-ts-modeYuan Fu2024-05-08
| | | | | | | | | | * lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Fontify each part separately so the identifier isn't overriden.
| * Improve indentation in 'lua-ts-mode' (bug#70785)john muhl2024-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/lua-ts-mode.el (lua-ts--simple-indent-rules): - Ignore comments when aligning arguments, parameters and fields. - Apply simpler rules to simpler usage of anonymous functions. - Better handling of table as a function argument. (lua-ts--comment-first-sibling-matcher): (lua-ts--first-real-sibling-anchor): (lua-ts--last-arg-function-call-matcher): (lua-ts--top-level-function-call-matcher): New function. (lua-ts--g-parent): (lua-ts--g-g-parent): New function. (lua-ts--g-g-g-parent): Use it. * test/lisp/progmodes/lua-ts-mode-resources/indent.erts: Add tests.
| * ; Quietly skip 'lua-ts-mode' tests (bug#70786)john muhl2024-05-08
| | | | | | | | | | | | | | | | | | | | * test/lisp/align-tests.el (align-lua): * test/lisp/progmodes/lua-ts-mode-tests.el (lua-ts-test-indentation): (lua-ts-test-movement): (lua-ts-test-font-lock): (lua-ts-test-which-function): Suppress warnings when the grammar is not installed.
| * Fontify doc comment in c-ts-mode with doc-faceYuan Fu2024-05-08
| | | | | | | | | | * lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Add rule for /** comments.
| * xref--collect-matches: Fix the application of syntax-propertizeDmitry Gutov2024-05-09
| | | | | | | | | | * lisp/progmodes/xref.el (xref--collect-matches): Add syntax-ppss-flush-cache call when needed (bug#53749).
| * choose-completion: Retain the suffix after completion boundaryDmitry Gutov2024-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/minibuffer.el (completion-base-suffix): Remove as not optimal after all (bug#48356). (completion--replace): Use insert-before-markers-and-inherit. (minibuffer-completion-help): Don't set completion-base-affixes, implement the same logic more optimally by local search and querying for field boundaries. Also fix the problem with completion table, predicate and extra-props being looked up in the wrong buffer. (minibuffer-next-completion, minibuffer-choose-completion): Don't bind completion-use-base-affixes anymore. * lisp/simple.el (completion-base-affixes) (completion-use-base-affixes): Remove. (completion-list-insert-choice-function): Don't pass them through anymore.
| * Don't report erroneous /content directory on Android 4.3 and earlierPo Lu2024-05-09
| | | | | | | | | | * src/androidvfs.c (android_content_opendir): Skip two, not one, elements on Android <= 4.4.
| * Prefer erc--skip property to erc-track--skipped-msgsF. Jason Park2024-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc-stamp.el (erc-add-timestamp): Honor an overriding `erc--ts' "msg prop". (erc-stamp--defer-date-insertion-on-post-modify): Add `erc--skip' for the `track' module. * lisp/erc/erc-track.el (erc-track--skipped-msgs): Remove unused variable. Originally added as part of bug#60936. (erc-track-modified-channels): Rely on the `erc--skip' "msg prop" instead of the now defunct `erc-track--skipped-msgs' variable for detecting requests to omit `track' mode-line updates during `erc-display-message'.
| * Avoid shared-ref read syntax in ERC message catalogsF. Jason Park2024-05-08
| | | | | | | | | | | | | | | | * lisp/erc/erc.el (erc--message-speaker-ctcp-action-input) (erc--message-speaker-ctcp-action-statusmsg-input): Don't use shared/circular references, like #1=foo ... #1#, in literal strings because it triggers CI validation failures. These message-format definitions were originally introduced as part of bug#67677.
| * Add format-catalog entry for unknown chan mode in ERCF. Jason Park2024-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/erc/erc.el (erc--process-channel-modes): Use format spec catalog entry, and convert char to string. (erc-message-english-channel-mode-unknown): New variable. ;; * test/lisp/erc/erc-scenarios-base-renick.el ;; (erc-scenarios-base-renick-queries-solo): Adjust timeout. ;; * test/lisp/erc/erc-scenarios-ignore.el (erc-scenarios-ignore/basic): ;; Adjust timeouts. ;; * test/lisp/erc/erc-scenarios-misc.el (erc-scenarios-base-flood): ;; Adjust timeouts. ;; * test/lisp/erc/resources/base/assoc/bouncer-history/barnet.eld: ;; Adjust timeouts. ;; * test/lisp/erc/resources/base/reuse-buffers/channel/barnet.eld: ;; Adjust timeouts. ;; * test/lisp/erc/resources/erc-d/erc-d-tests.el (erc-d-run-basic): ;; Adjust timeouts. ;; * test/lisp/erc/resources/sasl/plain.eld: Adjust timeouts. ;; * test/lisp/erc/resources/sasl/external.eld: Adjust timeout. ;; * test/lisp/erc/resources/base/auth-source/foonet.eld: Adjust ;; timeout.
| * (repeat-echo-message-string): Reuse 'r-m-c' prompt formattingEshel Yaron2024-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that 'repeat-mode' supports adding labels ("hints") next to available keys, its prompt is very similar in its structure to what we have in 'read-multiple-choice' (a list of labeled keys). To make the two interfaces more consistent, reuse the prompt formatting that 'read-multiple-choice' employs. See short discussion at https://lists.gnu.org/archive/html/emacs-devel/2024-05/msg00467.html * lisp/repeat.el (repeat-echo-message-string): Use 'rmc--add-key-description' to format keys and their labels.
| * Don't mutate strings in cl-substituteMattias Engdegård2024-05-08
| | | | | | | | | | | | | | | | | | This fixes cl-substitute, cl-substitute-if, cl-substitute-if-not, cl-nsubstitute, cl-nsubstitute-if and cl-nsubstitute-if-not, when called with a string sequence argument. * lisp/emacs-lisp/cl-seq.el (cl-nsubstitute): Avoid running in O(n^2) time and make future-safe.
| * Correct documentation relating to tool-bar-positionPo Lu2024-05-08
| | | | | | | | | | | | | | | | * doc/emacs/android.texi (Android Windowing): Don't claim that tool-bar-position is unsupported on Android. * lisp/tool-bar.el (tool-bar-position): Update doc string to mention that bottom is supported on all systems but Nextstep.
| * Correct earlier change to map-ynpPo Lu2024-05-08
| | | | | | | | | | * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Don't call set-text-conversion-style if not bound.
| * More Tramp optional methodsMichael Albinus2024-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Inline methods) <krlogin, ksu>: (External methods) <fcp, nc>: These are optional methods. * etc/NEWS: Mention more optional Tramp methods. * lisp/net/tramp-androidsu.el (tramp-enable-androidsu-method): Use proper regexp for `tramp-default-user-alist'. * lisp/net/tramp-sh.el (tramp-enable-nc-method) (tramp-enable-ksu-method, tramp-enable-krlogin-method) (tramp-enable-fcp-method): New defuns. Move respective configurations there. * lisp/net/tramp.el (tramp-enable-method): Implement completion for interactive use. * test/lisp/net/tramp-tests.el (tramp-test03-file-name-defaults) (tramp-test03-file-name-host-rules): Extend tests.
| * Fix hang after failed yank-media on AndroidPo Lu2024-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/org/gnu/emacs/EmacsClipboard.java (getClipboardTargets) (getClipboardData): * java/org/gnu/emacs/EmacsSdk11Clipboard.java (getClipboardTargets, getClipboardData): * java/org/gnu/emacs/EmacsSdk8Clipboard.java (getClipboardTargets, getClipboardData): Return string data as Strings rather than byte arrays. * src/androidselect.c (android_init_emacs_clipboard) (Fandroid_get_clipboard_targets): Adjust to match. (extract_fd_offsets): Remove duplicated semicolon. (Fandroid_get_clipboard_data): Call unblock_input before returning if extract_fd_offsets fails.
| * Fix last change in tramp-androidsu.elMichael Albinus2024-05-07
| |
| * ; xref-matches-in-files: Fix the previous change (bug#70813)Dmitry Gutov2024-05-07
| |