summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix no-accept-focus handling for embedded framesPo Lu2022-11-261-2/+6
| | | | | * src/xterm.c (handle_one_xevent): Don't focus embedded frames on click if they have `no-accept-focus' set.
* Drop project--value-in-dirDmitry Gutov2022-11-251-17/+5
| | | | | | | | | | | | | | | Drop the project--value-in-dir mechanics, where the user could edit the value in .dir-locals.el and have it applied instantly without reverting the current buffer. It made working in remote buffers with enable-remote-dir-locals non-nil slower, which doesn't seem worth it for a minor improvement of an infrequent operation. Also less compexity overall. * lisp/progmodes/project.el (project-try-vc, project-files) (project--vc-list-files, project-ignores, project-buffers): Use the user options directly. (project--vc-merge-submodules-p, project--value-in-dir): Delete functions.
* ; * lisp/server.el (server-start): Fix a typo in a warning message.Jim Porter2022-11-251-1/+1
|
* ; lisp/progmodes/which-func.el: Mark emacs-devel as maintainer.Stefan Kangas2022-11-251-4/+4
|
* ; * lisp/progmodes/which-func.el: Remove obsolete commentJuanma Barranquero2022-11-251-10/+0
|
* Disable auth-source-pass-extra-query-keywords by defaultF. Jason Park2022-11-255-23/+26
| | | | | | | | | | | | | | | | * doc/misc/auth.texi: Mention subdomain matching in `auth-source-pass-extra-query-keywords' section. * etc/NEWS: Mention the loss of traditional auth-source-pass features when `auth-source-pass-extra-query-keywords' is enabled. * lisp/auth-source-pass (auth-source-pass-extra-query-keywords): Set default to nil. Mention domain matching in doc string. (auth-source-pass--match-regexp): Allow username to contain "@". * lisp/erc/erc-compat.el: (erc-compat--29-auth-source-pass--retrieve-parsed): Adjust regexp. * test/lisp/auth-source-pass-tests.el (auth-source-pass-extra-query-keywords--suffixed-user): make plain username more email-like. (Bug#58985.)
* ; * lisp/progmodes/python.el (treesit-node-prev-sibling): Declare.Eli Zaretskii2022-11-251-1/+1
|
* ; Fix doc strings in xref.elEli Zaretskii2022-11-251-8/+10
| | | | | * lisp/progmodes/xref.el (xref-history-storage) (xref-global-history, xref-window-local-history): Doc fixes.
* ; * src/sqlite.c (Fsqlite_version): Doc fix.Eli Zaretskii2022-11-251-1/+2
|
* Add sqlite library version string retrieval function (bug#58766)Mattias Engdegård2022-11-253-0/+19
| | | | | | | | | | * src/sqlite.c (sqlite3_libversion, load_dll_functions): Make sqlite3_libversion available. (Fsqlite_version): New. (syms_of_sqlite): Define sqlite-version. * doc/lispref/text.texi (Database): Document. * test/src/sqlite-tests.el (sqlite-returning): `RETURNING` was added in sqlite 3.35; skip the test for older versions.
* Fix regex errors in csharp-modeTheodor Thornhill2022-11-251-2/+2
| | | | | | | | * lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Repetition errors in regex. (csharp-compilation-re-xbuild-warning): Make regex match regex for xbuild-error.
* CC Mode: Fix the "asymmetry rule" for fontifying a type followed by *Alan Mackenzie2022-11-251-2/+5
| | | | | | | | | | This fixes bug #59427. We now handle correctly the case when a parenthesis follows the * which is ambiguously a multiplication or indirection operator. Also, we don't recognise a type thus found as a found type - the evidence is too weak. * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Fix CASE 17.5 as above.
* Remove unused parameter from image_create_pix_containerStefan Kangas2022-11-251-4/+4
| | | | | * src/image.c (image_create_pix_container): Remove unused frame parameter. Update callers.
* Show package name in package-vc--unpack promptDaanturo2022-11-251-1/+1
| | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--unpack): Display the package name when asking whether to overwrite its previous checkout. (Bug#59548)
* ; Remove unused variable treesit-imenu-functionStefan Kangas2022-11-251-8/+0
| | | | | * lisp/treesit.el (treesit-imenu-function): Remove unused variable. (Bug#59475)
* Don't explicitly delete client frames when killing Emacs anywayJim Porter2022-11-242-53/+112
| | | | | | | | | | | | | | | | This eliminates a useless error prompt when killing Emacs from a client frame when there are no other frames (bug#58877). * lisp/server.el (server-running-external): New error. (server--file-name): New function... (server-eval-at): ... use it. (server-start): Factor out server stopping code into... (server-stop): ... here. (server-force-stop): Use 'server-stop', and tell it not to delete frames. * test/lisp/server-tests.el (server-tests/server-force-stop/keeps-frames): New test.
* ; Add more tests for the Emacs serverJim Porter2022-11-242-10/+105
| | | | | | | | | | | | | | | | | * test/lisp/server-tests.el (server-tests/emacs-client) (server-tests/max-wait-time): New constants. (server-tests/start-emacsclient): New function. (server-tests/with-server, server-tests/wait-until): New macros. (server-tests/variable): New variable. (server-test/server-start-sets-minor-mode): Rename to... (server-tests/server-start/sets-minor-mode): ... this. (server-tests/server-start/stop-prompt-with-client) (server-tests/server-start/no-stop-prompt-without-client) (server-tests/emacsclient/server-edit) (server-tests/emacsclient/create-frame, server-test/emacsclient/eval): New tests. * test/lib-src/emacsclient-tests.el: Mention the above file.
* ; Fix up some NEWS entries for EshellJim Porter2022-11-241-9/+11
| | | | | | | | * etc/NEWS (Incompatible changes in Emacs 29.1): Move an entry from here... (Changes in Specialized Modes and Packages in Emacs 29.1): ... to here. Additionally, improve wording of another entry to be more precise.
* Make ibuffer directory filter buffer awareGabriel do Nascimento Ribeiro2022-11-251-4/+6
| | | | | * lisp/ibuf-ext.el (define-ibuffer-filter): Make ibuffer directory filter buffer aware for buffer not visiting files. (Bug#59165)
* Add support for window-local xref historyAckerley Tng2022-11-251-33/+84
| | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-history-storage): New user option (bug#59381). (xref--make-xref-history): New function. (xref--history): Use it. (xref-global-history, xref-window-local-history): New function. (xref--get-history): New function. (xref--push-backward, xref--push-forward) (xref-push-marker-stack, xref-go-back, xref-go-forward) (xref-clear-marker-stack, xref-marker-stack-empty-p) (xref-forward-history-empty-p): Use it.
* Bind Buffer-menu-view-other-window to "O"Stefan Kangas2022-11-252-9/+14
| | | | | | * lisp/buff-menu.el (Buffer-menu-mode-map): Bind 'Buffer-menu-view-other-window' to "O". (Buffer-menu-mode): Clean up docstring. (Bug#59280)
* ; * lisp/net/goto-addr.el (goto-address-at-point): Fix last commit.Stefan Kangas2022-11-251-6/+6
|
* Allow goto-address-at-point to use secondary browserGabriel do Nascimento Ribeiro2022-11-251-14/+17
| | | | | | * lisp/net/goto-addr.el (goto-address-at-point): Call `browse-url-button-open-url', so a prefix argument uses `browse-url-secondary-browser-function'. (Bug#59443)
* Fix easy menu separator in oldXMenuManuel Giraud2022-11-251-4/+7
| | | | | * lisp/emacs-lisp/easymenu.el (easy-menu-convert-item-1): Replace a string of dash with a menu separator as the doc says. (Bug#59370)
* Improve csharp-ts-mode fontificationJostein Kjønigsen2022-11-241-0/+12
| | | | | * lisp/progmodes/csharp-mode.el (csharp-ts-mode--font-lock-settings): Add more pattern for definition feature.
* Improve python-ts-mode fontification (bug#59534)Yuan Fu2022-11-241-5/+20
| | | | | * lisp/progmodes/python.el (python--treesit-operators): Add operators. (python--treesit-fontify-string): Fontify BOF docstrings.
* Work around lsp-mode compatibility bugPaul Eggert2022-11-241-1/+1
| | | | | * src/timefns.c (Ftime_subtract): Respect current-time-list when args are eq (Bug#59506).
* ; Avoid treesit-related byte-compilation warningsEli Zaretskii2022-11-242-0/+7
| | | | | * lisp/progmodes/csharp-mode.el: * lisp/progmodes/ts-mode.el: Declare treesit.c functions.
* Add more tree-sitter modes to eglot-server-programsBrian Leung2022-11-241-2/+2
| | | | | * lisp/progmodes/eglot.el (eglot-server-programs): Add python-ts-mode and bash-ts-mode. (Bug#59550)
* ; * src/emacs.c (usage_message): Fix typoPhilip Kaludercic2022-11-241-1/+1
| | | | Author:
* ; * lisp/progmodes/eglot.el (eglot-server-programs): Add csharp-ts-mode.Eli Zaretskii2022-11-241-1/+2
|
* * src/emacs.c (usage_message): Add missing --init-directory entryPhilip Kaludercic2022-11-241-0/+1
|
* Add tree-sitter-based modes to eglot-server-programsBrian Leung2022-11-241-5/+10
| | | | | * lisp/progmodes/eglot.el (eglot-server-programs): Add tree-sitter-based major modes. (Bug#59229)
* icalendar: Adjust tests after fixing parsing of sexp entries (bug#56241)Ulf Jasper2022-11-241-15/+18
| | | | | | | * test/lisp/calendar/icalendar-tests.el (icalendar-export-bug-56241-nested-sexps): New. * test/lisp/calendar/icalendar-tests.el (icalendar-real-world): Disable testcase for exporting sexp entries that has now become invalid.
* icalendar.el: Fix parsing of sexp entries (bug#56241)hokomo2022-11-241-3/+5
| | | | | | * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical): Use read-from-string for parsing sexp entries (bug#56241). Copyright-paperwork-exempt: yes
* Eglot: don't confuse URLs and windows file pathsdannyfreeman2022-11-241-2/+6
| | | | | | bug#59338 * lisp/progmodes/eglot.el (eglot--path-to-uri): Check for windows path
* Remove fboundp check in eglot--connectJoão Távora2022-11-241-3/+1
| | | | | | | | project.el is a GNU ELPA :core package, so this kind of trick isn't needed. * lisp/progmodes/eglot.el (eglot--connect): Don't fboundp project-name.
* Eglot: Advertise completion.resolveSupport capabilitiesMarcin Pajkowski2022-11-241-0/+4
| | | | | | | | | | | Some servers avoid reporting completion items that require "additionalTextEdits" capability. Actually, 'eglot-completion-at-point' function supports such feature so it can be advertised to LSP server. * lisp/progmodes/eglot.el (eglot-client-capabilities): Advertise resolveSupport. (bug#59465) Copyright-paperwork-exempt: yes
* Add new SI prefixesMattias Engdegård2022-11-242-3/+8
| | | | | | | | | * lisp/calc/calc-units.el (math-unit-prefixes): * lisp/files.el (file-size-human-readable): Add ronna, quetta, ronto and quecto. (We get the future IEC binary prefixes Ri and Qi (robi and quebi) in `file-size-human-readable` for free.)
* Fix reentrancy problem/crash in xterm.cPo Lu2022-11-241-1/+27
| | | | | | | * src/xterm.c (x_ignore_errors_for_next_request) (x_stop_ignoring_errors): Be paranoid and block input inside the protected section. (x_focus_frame): Block input around critical section.
* Fix trashing of symlink that points at a directoryMike Kupfer2022-11-241-1/+2
| | | | | * lisp/files.el (move-file-to-trash): Redefine is-directory so that it is false for symlinks.
* Fix cross-filesystem directory trashing (Bug#58721)Mike Kupfer2022-11-241-2/+19
| | | | | | * lisp/files.el (move-file-to-trash): When trashing a directory with the same name as something that's already in the trash, copy it into the trash folder and then delete it, rather than using rename-file.
* CC Mode: Make it scroll fast over buffers with only #define'sAlan Mackenzie2022-11-243-9/+11
| | | | | | | | | | | * lisp/progmodes/cc-engine.el (c-forward-over-token): New LIMIT parameter * lisp/progmodes/cc-langs.el (c-anchored-hash-define-no-parens): Replace ill-formed regular expression (which mixed \\sw and character alternative) with simpler efficient regexp. * lisp/progmodes/cc-mode.el (c-fl-decl-end): New forward limit LIM+ used in c-forward-declarator and c-forward-over-token.
* Fix face issues in show-paren context overlay (bug#59527)Tassilo Horn2022-11-242-27/+37
| | | | | | | | | * lisp/paren.el (show-paren--show-context-in-overlay): Use show-paren-priority as overlay priority (fixes problem 2 of bug#59527). * lisp/simple.el (blink-paren-open-paren-line-string): Ensure the context lines are font-locked before taking the buffer-substring (fixes problem 1 of bug#59527).
* Avoid assertion violations in treesit.c when editing non-ASCIIEli Zaretskii2022-11-241-2/+2
| | | | | | * src/treesit.c (make_treesit_parser): Use byte positions when initializing 'lisp_parser'. This avoids assertion violations when the buffer has non-ASCII characters.
* EUDC: Improve LDAP and BBDB testsThomas Fitzsimmons2022-11-242-1/+7
| | | | | | * test/lisp/net/eudc-tests.el (eudcb-ldap): Make slapd detection reliable. * test/lisp/net/eudc-resources/bbdb: Add another test contact.
* ; Relayout comments in treesit-font-lock-fontify-regionYuan Fu2022-11-231-28/+34
| | | | | ; * lisp/treesit.el (treesit-font-lock-fontify-region): Relayout comments.
* ; * lisp/progmodes/csharp-mode.el: Add missing require form.Yuan Fu2022-11-231-0/+1
|
* Add an error fontification heuristic to c-ts-modeYuan Fu2022-11-231-1/+21
| | | | | | * lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Use new function. (c-ts-fontify-error): New function.
* ; * src/treesit.c (treesit_predicate_match): Move use below check.Yuan Fu2022-11-231-2/+3
|