summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
* | Use 'calendar-buffer' instead of fixed stringThuna2023-05-021-1/+1
| | | | | | | | | | | | | | | | * test/lisp/calendar/cal-julian-tests.el (with-cal-julian-test): Use 'calendar-buffer' instead of a literal fixed name. (Bug#61546) Copyright-paperwork-exempt: yes
* | Handle point not at EOB in minibuffer-choose-completionSpencer Baugh2023-05-021-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this change, only the minibuffer contents before point are cleared when a completion is chosen, which results in stray text when point is in the middle of the minibuffer. After this change, we heuristically decide either to clear the whole buffer or only part of it, taking into account the location of point. This is a backport for the Emacs 29 release branch of a simpler fix in minibuffer-completion-help. * lisp/minibuffer.el (minibuffer-next-completion): (minibuffer-choose-completion): Recalculate completion-base-affixes with point. (Bug#62700)
* | Note that Emacs pauses when handling sentinel errorsSpencer Baugh2023-05-021-2/+6
| | | | | | | | | | | | | | | | | | | | Noting this behavior and variable here makes it easier to understand the behavior of Emacs when a sentinel has an error. * doc/lispref/processes.texi (Filter Functions): Note that Emacs pauses when handling sentinel errors. (Sentinels): Note that Emacs pauses when handling sentinel errors. (Bug#63096)
* | Fix vertical-motion when tab-line is displayed in a windowEli Zaretskii2023-05-011-3/+11
| | | | | | | | | | | | * src/xdisp.c (try_window, try_window_id): Account for tab-line, if present, when converting scroll-margin at the top of the window to vertical pixel coordinate. (Bug#63201)
* | Update to Org 9.6.5-3-g2993f4Kyle Meyer2023-04-305-23/+29
| |
* | Prevent generating empty autoload filesPhilip Kaludercic2023-04-301-66/+56
| | | | | | | | | | | | * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Remove optimisation that would mistakenly discard old loaddefs in case a file was not modified by EXTRA-DATA is non-nil. (Bug#62734)
* | * lisp/org/org-macs.el (org--inhibit-version-check): Fix docstringStefan Monnier2023-04-301-2/+9
| | | | | | | | | | Also, add an explanation to the docstring for what the version check is about.
* | Fix redisplay of mode line after its format changes from nilEli Zaretskii2023-04-301-0/+8
| | | | | | | | | | | | * src/dispnew.c (update_window): Make sure a mode-line's row of the current glyph matrix is disabled when the mode line is not being displayed. (Bug#63186)
* | Fix c-ts-mode--emacs-c-range-queryMichael Albinus2023-04-301-7/+8
| | | | | | | | | | * lisp/progmodes/c-ts-mode.el (c-ts-mode--emacs-c-range-query): Check for (treesit-available-p).
* | Improve documentation of warningsEli Zaretskii2023-04-303-86/+135
| | | | | | | | | | | | | | | | | | * doc/lispref/control.texi (Errors): * doc/lispref/os.texi (Startup Summary): * doc/lispref/display.texi (Warning Basics, Warning Variables) (Warning Options, Delayed Warnings): Improve documentation of warnings. Document the automatic delaying of warnings during startup. (Bug#63181)
* | ; Doc fix in c-ts-mode.elEli Zaretskii2023-04-301-1/+1
| | | | | | | | | | * lisp/progmodes/c-ts-mode.el (c-ts-mode--fontify-for-each-tail): Doc fix.
* | Fix FOR_EACH_TAIL fontification (bug#62951)Yuan Fu2023-04-291-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | Fix the fontification inconsistency between different FOR_EACH_TAIL's. See the comment for more explanation. Also enable the emacs-devel feature automatically when c-ts-mode-emacs-sources-support is on. * lisp/progmodes/c-ts-mode.el: (c-ts-mode--for-each-tail-regexp): Move up. (c-ts-mode--font-lock-settings): New font-lock rule for FOR_EACH_TAIL. (c-ts-mode--fontify-for-each-tail): New function. (c-ts-mode): Automatically enable emacs-devel feature.
* | ; * etc/EGLOT-NEWS: chsharp-le -> csharp-lsTheodor Thornhill2023-04-291-1/+1
| |
* | ; * etc/EGLOT-NEWS (https): Elglot -> Eglot.Theodor Thornhill2023-04-291-1/+1
| |
* | Fix documentation of libxml-parse-* functionsEli Zaretskii2023-04-292-5/+13
| | | | | | | | | | | | | | * doc/lispref/text.texi (Parsing HTML/XML): * src/xml.c (Flibxml_parse_html_region, Flibxml_parse_xml_region): Update the documentation regarding the use of BASE-URL argument. (Bug#63125)
* | ; * src/treesit.c (syms_of_treesit): Fix error messages.Eli Zaretskii2023-04-281-2/+2
| |
* | ; Remove some leftover textDmitry Gutov2023-04-281-4/+1
| |
* | ; Fix byte-compilation warnings in c-ts-mode.elEli Zaretskii2023-04-281-0/+4
| | | | | | | | | | | | * lisp/progmodes/c-ts-mode.el (treesit-parser-set-included-ranges) (treesit-query-compile): Declare treesit.c functions. (treesit-load-name-override-list): Defvar it.
* | Skip over whitespace in annotation-top-cont check (bug#63141)Theodor Thornhill2023-04-281-1/+4
| | | | | | | | | | * lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Make sure we skip over whitespace when looking for the next '['.