summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/mpc.el (mpc-format): Fix oversight in commit 48b6cec61cfStefan Monnier2023-03-191-1/+1
|
* Bail early from eglot--apply-text-edits if nothing to doJoão Távora2023-03-191-1/+2
| | | | * lisp/progmodes/eglot.el (eglot--apply-text-edits): Early return.
* ; Clarify in-code commentary of eglot--after-changeJoão Távora2023-03-191-16/+14
| | | | | * lisp/progmodes/eglot.el (eglot--after-change): Minor clarification to commentary.
* Improve ergonomics of Eglot's inlay hintsJoão Távora2023-03-191-14/+23
| | | | | | | | | | | | | | | Instead of deleting inlay hints instantly as soon as the affected changes, make hint overlays span one character (instead of being length 0). Give the overlays an "evaporate" property. Given an inlay hints at position POS, its attached to [POS, POS+1] if it's kind=1 (usually type hints) and [POS-1, POS] otherwise. For kind=1 hints, the 'cursor position of the first such overlay is also tweaked, so that's it's less akward to edit around it. * lisp/progmodes/eglot.el (eglot--before-change): Don't delete hints here. (eglot--update-hints-1): Rework.
* Protect against too large size of 'recent-keys' vectorEli Zaretskii2023-03-191-2/+15
| | | | | | * src/keyboard.c (MAX_NUM_RECENT_KEYS): New macro. (Flossage_size): Don't allow specifying too large lossage-size. Fix data types. (Bug#62277)
* * lisp/net/tramp.el (tramp-yn-prompt-regexp): Fix regexp.Michael Albinus2023-03-191-1/+1
|
* ; Remove 'build-module' and 'html-manual' directories from 'admin'Eli Zaretskii2023-03-1915-3423/+0
| | | | | These files were temporarily in the repository and are no longer needed, once they fulfilled their job.
* Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29Eli Zaretskii2023-03-1914-121/+121
|\
| * Update to Org 9.6.1-48-g92471eKyle Meyer2023-03-1813-44/+41
| |
| * ; * admin/notes/tree-sitter/starter-guide: Update starter-guide.Yuan Fu2023-03-181-77/+80
| |
* | Merge branch 'emacs-29' of git.savannah.gnu.org:/srv/git/emacs into emacs-29Eli Zaretskii2023-03-181-1/+1
|\|
| * ; * lisp/nxml/xmltok.el (xmltok-scan-attributes): Fix last changeGregory Heytings2023-03-181-1/+1
| |
* | ; Minor copyedits of recent changes in ELisp reference manualEli Zaretskii2023-03-181-3/+3
|/ | | | | * doc/lispref/keymaps.texi (Changing Key Bindings): Fix wording and markup.
* ; Minor fixes in recent Eglot changesEli Zaretskii2023-03-182-2/+2
| | | | | | | * doc/misc/eglot.texi (Project-specific configuration): Fix whitespace. * lisp/progmodes/eglot.el (eglot-diagnostics-map): Doc fix.
* ; * doc/misc/eglot.texi (Eglot Commands): Improve indexing.Eli Zaretskii2023-03-181-1/+3
|
* ; Again correct node reference casing in doc/misc/eglot.texiJoão Távora2023-03-181-1/+1
| | | | | | | | Emacs's info-generating Texinfo incantation seems to be case insensitive, but others -- like Eglot's HTML manual generation -- is case sensitive. * doc/misc/eglot.texi (Eglot Features): Fix.
* ; Remove overly verbose commentaryJoão Távora2023-03-181-5/+0
| | | | | * lisp/progmodes/eglot.el (eglot--connect): Remove overly verbose commentary.
* Merge confusing duplicate sections on commands in Eglot manualJoão Távora2023-03-181-55/+35
| | | | | | | Also describe eglot-diagnostics-map. * doc/misc/eglot.texi (Eglot Features): Don't describe commands here. (Eglot Commands): Describe commands here.
* Don't take over mouse-1 binding on Eglot diagnostics (bug#62157)João Távora2023-03-181-8/+15
| | | | | | | | | | It's better to give the user a variable to allow the overlay keymap to be customized. * lisp/progmodes/eglot.el (eglot--mouse-call): Accept second arg. (eglot--mode-line-props): Adapt call to eglot--mouse-call (eglot-diagnostics-map): New variable. (eglot-code-actions-at-mouse): New command.
* ; Prefer "language server" to "LSP server" in Eglot manualJoão Távora2023-03-181-15/+17
| | | | | | * eglot.texi (Quick Start, Customizing Eglot) (Project-specific configuration) (Troubleshooting Eglot): LSP server -> language server.
* * lisp/progmodes/eglot.el (eglot--connect): Improve Tramp workaround.Michael Albinus2023-03-181-1/+6
|
* Avoid slowdowns in xmltok-scan-attributesGregory Heytings2023-03-181-2/+7
| | | | | | * lisp/nxml/xmltok.el (xmltok-scan-attributes): Limit the search to 10000 characters, to avoid slowdowns due to the quadratic complexity of the regexp. Suggested by Stefan Monnier.
* ; * test/lisp/abbrev-tests.el (abbrev--possibly-save-test): Fix test.Eli Zaretskii2023-03-181-1/+1
|
* ; * admin/git-bisect-start: Update failing commitsGregory Heytings2023-03-181-1/+14
|
* CC Mode: Eliminate duplicate function c-list-of-stringsAlan Mackenzie2023-03-181-22/+13
| | | | | | | | | | | | | Replace it with the existing c-string-list-p. Also put an autoload cookie in front of c-string-list-p so that it will not be signalled as undefined by loaddefs.el. lisp/progmodes/cc-vars.el (c-string-list-p): Make this autoload. (c-list-of-strings): Remove. (c-font-lock-extra-types, c++-font-lock-extra-types) (objc-font-lock-extra-types, java-font-lock-extra-types) (idl-font-lock-extra-types, pike-font-lock-extra-types): In the autoload cookies, replace c-list-of-strings with c-string-list-p.
* CC Mode: Allow lists of strings as safe values for *-font-lock-extra-typesAlan Mackenzie2023-03-181-0/+28
| | | | | | | | | * lisp/progmodes/cc-vars.el (c-list-of-strings): New function. (c-font-lock-extra-types, c++-font-lock-extra-types) (objc-font-lock-extra-types, java-font-lock-extra-types) (idl-font-lock-extra-types, pike-font-lock-extra-types): Add a :safe entry into each of thes defcustoms for c-list-of-string. (Top level): Add an autoload entry for each of the above.
* Add tests for Bug#62207Robert Pluim2023-03-181-0/+18
| | | | | * test/src/keymap-tests.el (keymap-unset-test-remove-and-inheritance): New test.
* ; Fix 'make-obsolete-variable' formsEli Zaretskii2023-03-182-2/+2
| | | | | | * lisp/url/url-misc.el (url-misc-rlogin-obsolete-warned-once): * lisp/url/url-gw.el (url-gw-rlogin-obsolete-warned-once): Fix make-obsolete-variable form. (Bug#62248)
* Fix 'find-ls-option-default-ls' for BSD/MacOS (bug#62096)Manuel Giraud2023-03-181-1/+3
| | | | | | | * lisp/find-dired.el (find-ls-option-default-ls): Adapt to a value that works with the default "find" on *BSD and Darwin/MacOS. Tested on OpenBSD and MacOS. Do not merge to master.
* ; * lisp/subr.el (setq-local): Add missing period (bug#62242).Arash Esbati2023-03-171-1/+1
|
* ; Correct last commit, downcase node referenceJoão Távora2023-03-171-1/+1
| | | | * doc/misc/eglot.texi (Troubleshooting Eglot): Downcase node reference
* Enhance section about troubleshooting in Eglot manual.João Távora2023-03-171-28/+78
| | | | * doc/misc/eglot.texi (Troubleshooting Eglot): Parially rewrite.
* Fix Eglot's snippet insertion to follow the manualJoão Távora2023-03-171-6/+9
| | | | | | | | | | | | | | The manual states that YASnippet must only be installed to be useful. Before this change, it would only work if the user happened to have manually activated it before with 'yas-global-mode' or somesuch. This makes Eglot's Yasnippet-activating behaviour similar to its Flymake-activating behaviour. * lisp/progmodes/eglot.el (eglot-client-capabilities): Consult eglot--stay-out-of. (eglot--snippet-expansion-fn): Turn on yas-minor-mod eon demand. (eglot-completion-at-point): Simplify.
* Reset abbrevs-changed after saving abbrevs (bug#62208)Filipp Gunbin2023-03-172-11/+27
| | | | | | * lisp/abbrev.el (abbrev--possibly-save): Reset abbrevs-changed after saving abbrevs. * test/lisp/abbrev-tests.el (abbrev--possibly-save-test): New test.
* ; Fix markup in previous changeRobert Pluim2023-03-171-11/+12
|
* Document `keymap-unset' in lisprefRobert Pluim2023-03-171-0/+11
| | | | | * doc/lispref/keymaps.texi (Changing Key Bindings): Document keymap-unset.
* Don't add a key binding when REMOVE is non-nilRobert Pluim2023-03-171-15/+16
| | | | | * src/keymap.c (store_in_keymap): Don't add a nil keybinding if we've been asked to remove a non-existent binding. (Bug#62207)
* Fix the documentation of various aspects of adding Xref historyEli Zaretskii2023-03-174-15/+40
| | | | | | | | | | | | | | | | * lisp/progmodes/xref.el (xref-marker-ring-length) (xref-set-marker-ring-length): * lisp/progmodes/etags.el (tags-location-ring-length) (find-tag-marker-ring): Add doc strings saying the variables are unused. * etc/NEWS: Enhance the description of the change which made Xref marker stack unlimited in its length. * doc/emacs/maintaining.texi (Looking Up Identifiers): Add back text lost when xref forward history was added in bug#38797. Explain the difference between 'C-M-,' and 'M-.'. Improve wording (Bug#62229)
* ; Minor wording fix in ELisp reference manualEli Zaretskii2023-03-161-7/+8
| | | | | * doc/lispref/objects.texi (General Escape Syntax): More accurate wording. Avoid non-ASCII characters in Texinfo. (Bug#62224)
* Fix python-fill-paragraph problems on filling strings (bug#62142)kobarity2023-03-162-8/+146
| | | | | | | | | | | | | | | | * lisp/progmodes/python.el (python-syntax--context-compiler-macro) (python-syntax-context): Add single-quoted-string and triple-quoted-string as TYPE argument. (python-info-triple-quoted-string-p): New helper function. (python-fill-paragraph) (python-fill-string): Use it. * test/lisp/progmodes/python-tests.el (python-syntax-context-1) (python-fill-paragraph-single-quoted-string-1) (python-fill-paragraph-single-quoted-string-2) (python-fill-paragraph-triple-quoted-string-1) (python-info-triple-quoted-string-p-1) (python-info-triple-quoted-string-p-2) (python-info-triple-quoted-string-p-3): New tests.
* Also exempt eglot-inlay-hints-mode from desktop.el's fumblingsJoão Távora2023-03-161-6/+4
| | | | | | | Reported in https://github.com/joaotavora/eglot/discussions/1183. * lisp/progmodes/eglot.el (desktop): Also exempt eglot-inlay-hints-mode from desktop.el fumblings.
* ; Add WebDAV entry to index in Tramp manualStefan Kangas2023-03-161-0/+1
| | | | * doc/misc/tramp.texi (GVFS-based methods): Improve indexing.
* Refer to EWW instead of w3 and w3mStefan Kangas2023-03-161-4/+3
| | | | | * doc/misc/idlwave.texi (Help with HTML Documentation): Refer to EWW instead of w3 and w3m.
* Fix Eglot's command generation for code actionsJoão Távora2023-03-161-1/+1
| | | | | | | | | | The user command generated by eglot--code-action should always call eglot-code-actions with a INTERACTIVE set to t. Reported in https://github.com/joaotavora/eglot/issues/1132. * lisp/progmodes/eglot.el (eglot--code-action): Pass INTERACTIVE=t to eglot-code-action call.
* Emphasize emacs-29-specificity in this version of lisp/progmodes/eglot.elJoão Távora2023-03-161-2/+1
| | | | | | | | | | | | | | Do not merge to master. Before working on bugfixes to Eglot in its non-ELPA form delivered with Emacs 29, it's important to distinguish between this emacs-29 version and the one in master, which will also get the bugfixes (via routine gitmerge.el) but with a bumped version number. * lisp/progmodes/eglot.el (Version): Emphasize Emacs 29, but hint this is 1.12 + something. (Package-Requires): Remove. Everything required is already in Emacs 29.
* Fix quoting of font-family in 'hfy-family'USAMI Kenta2023-03-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running "M-x htmlfontify-buffer" in one buffer, the exported HTML contains lines like: body, pre { text-decoration: none; font-family: Migu 2M; font-stretch: normal; font-weight: 500; font-style: normal; color: #ffffff; background: #000000; font-size: 15pt; } Standards-compliant web browsers should ignore this font-family. MDN Web Docs says: https://developer.mozilla.org/en-US/docs/Web/CSS/font-family Valid family names Font family names must either be given quoted as strings, or unquoted as a sequence of one or more identifiers. This means that punctuation characters and digits at the start of each token must be escaped in unquoted font family names. It is a good practice to quote font family names that contain white space, digits, or punctuation characters other than hyphens. An unquoted font-family is valid as long as it doesn't start with a digit, but MDN Web Docs also says: The following example is technically valid but is not recommended: font-family: Gill Sans Extrabold, sans-serif; So it makes sense to quote all font-family. * lisp/htmlfontify.el (hfy-family): Quote 'font-family'. (Bug#62054)
* ; Tweak doc/misc/eglot.texiJoão Távora2023-03-151-5/+6
| | | | | * doc/misc/eglot.texi (Advanced server configuration): Minor tweaks.
* Document how to construct JSONRPC arrays in Eglot manualMichael Eliachevitch2023-03-151-7/+12
| | | | | | | | | | | | Many language server configuration options are of the JSON array datatype, for example argument lists for executables, but there wasn't any example of that in the Eglot manual. * doc/misc/eglot.texi (User-specific configuration) (User-specific configuration): Tweaks. (JSONRPC objects in Elisp): Mention JSON arrays. Tweak example. Copyright-paperwork-exempt: Yes
* * test/infra/Dockerfile.emba: Use debian:bullseye.Michael Albinus2023-03-151-1/+1
|
* * configure.ac: Fix native comp compatibility check (bug#61960)Andrea Corallo2023-03-151-2/+2
|