summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix mouse highlight with some fonts in Cairo buildsEli Zaretskii2023-05-121-1/+0
| | | | | * src/ftcrfont.c (ftcrfont_draw): Don't set the 'background_filled_p' flag of the glyph string. (Bug#63271)
* ; * etc/NEWS: Fix wording in last change.Eli Zaretskii2023-05-121-2/+2
|
* ; Improve and update documentation of built-in package upgradesEli Zaretskii2023-05-122-3/+54
| | | | | | | * doc/emacs/package.texi (Package Statuses, Package Menu) (Package Installation): * etc/NEWS: Document the options and caveats of upgrading built-in packages.
* Ensure that package menu respects 'package-install-upgrade-built-in'Philip Kaludercic2023-05-121-1/+3
| | | | | | * lisp/emacs-lisp/package.el (package-menu--find-upgrades): Check if built-in packages can be upgraded if 'package-install-upgrade-built-in' is non-nil.
* Ensure that EXTRA-DATA are always written when generating autoloadsPhilip Kaludercic2023-05-121-1/+14
| | | | | * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Handle edge-case where no autoloads are found. (Bug#63260)
* Update to Transient v0.4.0Jonas Bernoulli2023-05-112-5/+10
| | | | Or strictly speaking v0.4.0-1-g428576a4.)
* Revert "Don't have nntp-report signal an error"Eli Zaretskii2023-05-111-1/+3
| | | | | This reverts commit 032969e8c65ba1ccda8466f6c61f20e0c7293ebf. The commit is being reverted because it caused bug#62845.
* ; * lisp/wid-edit.el (widget-specify-insert): Fix debug spec. (Bug#63437)Eli Zaretskii2023-05-111-1/+1
|
* Make c-emacs-features use the proper binding of parse-sexp-lookup-propertiesAlan Mackenzie2023-05-101-79/+72
| | | | | | | | | This is relevant for bug #58558, although it does not fix it. Due to a wrong ordering of with-current-buffer and a let form, the function overwrote the global value of parse-sexp-lookup-properties and two other variables. * lisp/progmodes/cc-defs.el (c-emacs-features): Change the nesting of with-current-buffer and let so that the let bindings get used.
* ; * lisp/obsolete/autoload.el (make-directory-autoloads): Doc fix.Eli Zaretskii2023-05-101-1/+1
|
* ; Fix example in ELisp manualEli Zaretskii2023-05-101-1/+1
| | | | | * doc/lispref/minibuf.texi (Yes-or-No Queries): Fix example. (Bug#63399)
* ; Fix wording in Emacs manualEli Zaretskii2023-05-101-3/+3
| | | | | * doc/emacs/search.texi (Replacement and Lax Matches): Fix wording. (Bug#63398)
* ; Fix minor documentation issue ion replace.elEli Zaretskii2023-05-101-1/+6
| | | | | * lisp/replace.el (query-replace, query-replace-regexp): Doc fix. (Bug#63397)
* with-display-message: Workaround for bug#63253Stefan Monnier2023-05-092-3/+11
| | | | | | | | | | | | Running arbitrary ELisp code from an atimer is still dangerous, at least because the regexp engine is not-reentrant, so let's patch up the case we bumped into. There are probably many other such holes :-( * src/alloc.c (garbage_collection_inhibited): Make it non-static. * src/xdisp.c (garbage_collection_inhibited): Declare it. (set_message, clear_message): Use it as a proxy for "we're in a dangerous context like within `probably_quit`".
* ; Don't use literal non-ASCII characters in TexinfoEli Zaretskii2023-05-091-2/+2
| | | | | | * doc/emacs/mule.texi (Input Methods): Don't use non-ASCII characters in Texinfo sources, where Texinfo provides an ASCII command to insert it.
* Fido-mode: never shadow 'external' completion styleJoão Távora2023-05-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As explained in the manual (20.7.2 Fast minibuffer selection) 'fido-mode' and 'fido-vertical-mode' give priority the "flex" completion style. In fact, bug#62015 was recently fixed in commit because that priority was not taking place correctly and some completions were missed. However, an exception must be made for the 'external' completion style. That style, made available by the lisp/external-completion.el library, is specifically designed to work with backends that provide only a partial view of all completions. If we allow 'flex' to step in front of 'external' it could mean that 'flex' matches something and 'external' isn't triggered as it probably should. To reproduce have the rust-mode ELPA package and the rust-analyzer LSP server handy. Then: emacs -Q -f package-initialize main.rs Where main.rs is this content: fn foo1() {} fn foo2() {} fn foo3() {} fn foobar1() {} fn foobar2() {} fn foobar3() {} The rust-analyzer server can be quickly configured to return only 3 workspace symbols max, so evaluate: (setq-default eglot-workspace-configuration '(:rust-analyzer (:workspace (:symbol (:search (:limit 3)))))) Now start M-x eglot and M-x fido-vertical-mode and type C-u M-. to find an arbitrary symbol in this one-file project. Type 'f'. You will see the three foo's are listed, correctly. Now type '3'. You will only see "foo3". But that's wrong because "foobar3" was available, if only the server had been asked for it. This commit fixes the situation and no completions are lost. As an unfortunate side-effect of this commit, the fontification of completions-common-part on the matches is lost, but that is not worse than missing out on completions and there are better ways to recover the fontification anyway (in external-completion.el). See also: https://github.com/joaotavora/eglot/discussions/1219#discussioncomment-5818336 * lisp/icomplete.el (icomplete--fido-ccd): Do not touch entries with 'external in them. Do not merge to master. Backport: (cherry picked from commit 0e8d8a72284f6b3aaa1bbce73d41c7d84bbc4d3c)
* ; * lisp/leim/quail/persian.el: Fix a typo in last commit.Eli Zaretskii2023-05-091-1/+1
|
* Avoid crashes in --without-all build trying to scale non-ASCII charEli Zaretskii2023-05-091-0/+9
| | | | | * src/fontset.c (face_for_char): Display a non-ASCII character as glyphless if the ASCII face has no fontset. (Bug#63283)
* Improve instructions for dealing with Emacs crashesEli Zaretskii2023-05-091-6/+28
| | | | | * doc/emacs/trouble.texi (Crashing): Show the variant of the 'addr2line' command for MS-Windows.
* Improved transliterations + improved bidi insertion support for FarsiMohsen Banan2023-05-081-49/+75
| | | | | * lisp/leim/quail/persian.el ("farsi-transliterate-banan"): Improve and add transliterations. (Bug#63361)
* Fix crash when creating a child frame in NS (bug#63107)Alan Third2023-05-081-1/+12
| | | | | | | | | * src/nsterm.m ([EmacsView initFrameFromEmacs:]): Have a second go at creating the toolbar. ([EmacsWindow createToolbar:]): If there is already a toolbar or the EmacsView's layer is not an EmacsLayer, then do nothing. (cherry picked from commit 3adc1e7f37901235bda83ea65a90644b7b0a8dbf)
* Fix outgoing mime type regression (Bug#62815)Andrew G Cohen2023-05-081-10/+3
| | | | | | | | | * lisp/net/mailcap.el (mailcap-mime-extensions, mailcap-parse-mimetype-file, mailcap-mime-types): Don't regexp-quote mimetypes in a context where they should be strings. (mailcap--regexp-quote-type): Remove. (cherry picked from commit 605414d018da47f99dec5019142f584b6eb174c8)
* define-minor-mode: sanitize mode function messagesNicholas Vollmer2023-05-071-1/+1
| | | | | | * emacs-lisp/easy-mmode.el (define-minor-mode): Ensure mode's pretty name is not interprted as a message formatting string, e.g., if the mode name contains a '%'. (Bug#63343)
* Fix beginning/end-of-defun with tree-sitterEli Zaretskii2023-05-071-0/+8
| | | | | | * lisp/treesit.el (treesit-beginning-of-defun) (treesit-end-of-defun): Push mark, as other beginning/end-of-defun functions do.
* Fix indent for enums in csharp-modeTheodor Thornhill2023-05-061-0/+9
| | | | | | * lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Check for keywords containing 'enum' on the line before an opening bracket, and make it behave like a class-open token.
* ; Expand 'package-vc-install' documentationPhilip Kaludercic2023-05-061-5/+7
| | | | | * lisp/emacs-lisp/package-vc.el (package-vc-install): Go into further detail on the handling of the REV argument. (Bug#60418)
* Teach c-ts-mode about the 'restrict' keywordEli Zaretskii2023-05-061-2/+2
| | | | | * lisp/progmodes/c-ts-mode.el (c-ts-mode--keywords): Add "restrict" and "_Atomic" type qualifiers. (Bug#63323)
* * lisp/x-dnd.el (x-dnd-after-move-frame): Skip dead frames. (Bug#63312)Eli Zaretskii2023-05-061-2/+3
|
* ; Updated Elispref-Manual: `nil' cannot be defun'edShynur2023-05-061-1/+1
| | | | | * doc/lispref/functions.texi (Function Cells): Fix inaccuracy. (Bug#62746)
* Fix doc strings of 'mark-sexp' and 'mark-word'Eli Zaretskii2023-05-062-12/+32
| | | | | | * lisp/emacs-lisp/lisp.el (mark-sexp): * lisp/simple.el (mark-word): Clarify the doc strings in various usage cases. (Bug#62892)
* ; * etc/EGLOT-NEWS: Fix misspellings.Eli Zaretskii2023-05-061-4/+4
|
* ; * etc/EGLOT-NEWS: Fix wording of last change.Eli Zaretskii2023-05-061-5/+5
|
* (package-upgrade): Don't remove the package from 'package-selected-packages'Dmitry Gutov2023-05-061-1/+1
| | | | | | * lisp/emacs-lisp/package.el (package-upgrade): Don't remove the package from 'package-selected-packages', fixing the problem described in https://debbugs.gnu.org/62720#718.
* Eglot: re-rename eglot-upgrade to eglot-upgrade-eglotJoão Távora2023-05-053-4/+14
| | | | | | | | | | | * doc/misc/eglot.texi (Getting the latest version): Mention eglot-upgrade-eglot. * etc/EGLOT-NEWS: Mention eglot-upgrade-eglot. * lisp/progmodes/eglot.el (eglot-upgrade-eglot): Rename from eglot-update. (eglot-update): New compatibility alias.
* Fix arguments of xml.c functions as displayed in Help buffersEli Zaretskii2023-05-051-2/+2
| | | | | | * lisp/subr.el (libxml-parse-xml-region) (libxml-parse-html-region): Adjust advertised-calling-convention to the changes in commit cc33c6cf3a. (Bug#63291)
* More fixes for NetBSD/vaxPo Lu2023-05-051-0/+7
| | | | | | * src/sysdep.c (init_signals) [__vax__]: Treat SIGILL as a floating point error on VAXen. Otherwise, (log 0.0) crashes Emacs.
* Improve VHDL mode highlightingCyril Arnould2023-05-051-1/+8
| | | | | | | | * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist): Differentiate between ModelSim errors, warnings, and notes when highlighting them. Add a new entry for Xilinx Vivado. (Bug#63251) Copyright-paperwork-exempt: yes
* Clarify documentation wrt floating point division by zero and NaNPo Lu2023-05-041-13/+26
| | | | | | * doc/lispref/numbers.texi (Float Basics) (Arithmetic Operations): Document what happens on a VAX. Tested on NetBSD 9.3.
* Make loaddefs-generate slightly more tolerantRobert Pluim2023-05-041-2/+5
| | | | | | | | | There are packages in the wild, such as vlf-20191126.2250, which have entries that are not terminated by three ';', but by two. Tolerate such entries. * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Search for two ';' as a delimiter, not three. (Bug#63236)
* ; Minor doc cleanups in go-ts-mode.elEli Zaretskii2023-05-041-4/+3
| | | | | | * lisp/progmodes/go-ts-mode.el (go-ts-mode--iota-query-supported-p) (go-ts-mode--other-type-node-p, go-mod-ts-mode--in-directive-p): Doc fixes.
* ; Minor grammar fix in treesit manual.Basil L. Contovounesios2023-05-041-1/+1
|
* Fix order of rcirc-connect argumentsPhilip Kaludercic2023-05-041-2/+2
| | | | | | | | | | | * lisp/net/rcirc.el (rcirc): Pass SERVER-ALIAS before CLIENT-CERT. (rcirc-connect): Take SERVER-ALIAS before CLIENT-CERT. This is necessary for the 'rcirc-reconnect' trick to work that applies the contents of 'rcirc-connection-info' to 'rcirc-connect', otherwise the server alias gets lost as certfp information. This addresses a change made in b79cb838a477ee5a5c3660e81264991ff833a82f.
* Fix rcirc messages printing in the wrong placeThuna2023-05-042-11/+15
| | | | | | | | | | | | * lisp/net/rcirc.el (rcirc-send-message): Print the message before sending it to the server. (rcirc-print): Get the time with subsecond precision. * lisp/calendar/parse-time.el (parse-time-string parse-iso8601-time-string): Accept optional second FORM arguments, with the same meaning as in `decode-time'. Mention as such in the docstring. (Bug#59501) Copyright-paperwork-exempt: yes
* Prevent unnecessary modifications of 'package-vc-selected-packages'Philip Kaludercic2023-05-041-8/+9
| | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--unpack): Handle the structure of correctly, not as an alist but a list of alists. (package-vc--archive-spec-alist, package-vc--archive-spec-alists, package-vc--desc->spec, package-vc--read-archive-data, package-vc--download-and-read-archives, package-vc--unpack): Rename 'package-vc--archive-spec-alist' to 'package-vc--archive-spec-alists'.
* Rename eglot-update to eglot-upgradeDmitry Gutov2023-05-042-2/+2
| | | | | | | | | * doc/misc/eglot.texi (Getting the latest version): Update the reference. * lisp/progmodes/eglot.el (eglot-upgrade): Rename from 'eglot-update', as discussed on emacs-devel, in line with 'package-upgrade'.
* go-ts-mode: Use iota query only if supported (Bug#63086)Randy Taylor2023-05-041-1/+9
| | | | | | | | | | | iota query support was added on January 5, 2022. To support older versions of the tree-sitter-go grammar (like the latest tagged version, v0.19.1, which was released on March 3, 2021), check if the query is supported before trying to use it. * lisp/progmodes/go-ts-mode.el (go-ts-mode--iota-query-supported-p): New function. (go-ts-mode--font-lock-settings): Use it.
* (rng-complete-tag): Add the (ignored) argument to the :company-kind functionDmitry Gutov2023-05-031-1/+1
| | | | | | | * lisp/nxml/rng-nxml.el (rng-complete-tag): Add the (ignored) argument to the :company-kind function. Fixes the "Wrong number of arguments" error reported at https://github.com/company-mode/company-mode/issues/1386.
* Update to Transient v0.3.7-219-g3ded15bJonas Bernoulli2023-05-031-1/+2
|
* Fix inserting selection data into Mozilla programsPo Lu2023-05-031-13/+18
| | | | | | | | * lisp/select.el (xselect-convert-to-text-uri-list): Don't return any value when converting non-DND selections to this drag-and-drop target. Reported by Tobias Bading <tbading@web.de>.
* Recognize defstruct slot names in various eieio functionsThuna2023-05-031-0/+1
| | | | | | | | * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Set each slot's name's 'slot-name' property so that 'eieio--known-slot-name-p' can recognize them. (Bug#62959) Copyright-paperwork-exempt: yes