* src/treesit.c (Ftreesit_parser_included_ranges)
(Ftreesit_query_capture, treesit_traverse_sibling_helper)
- (treesit_traverse_match_predicate): Fix punctiation and documentation
+ (treesit_traverse_match_predicate): Fix punctuation and documentation
style in comments and docstrings.
2024-07-21 Manuel Giraud <manuel@ledu-giraud.fr>
2024-07-01 Alan Mackenzie <acm@muc.de>
- Remove a reference to a non-existant variable from a doc-string
+ Remove a reference to a non-existent variable from a docstring
* lisp/progmodes/cc-langs.el (c-opt-extra-label-key): Remove
reference to c-nonlabel-decl-prefix-re from the doc string.
tree, but the tree is already deleted. Commenting out the
ts_tree_delete line in treesit_ensure_parsed can "fix" the crash.
- What happended, I think, is this:
+ What happened, I think, is this:
1. Buffer modified, parser->need_reparse set to true,
parser->timestamp incremented.
2024-06-28 Po Lu <luangruo@yahoo.com>
- Correct ommissions in rmc.el
+ Correct omissions in rmc.el
* lisp/emacs-lisp/rmc.el (touch-screen-scroll)
(touch-screen-pinch): Declare functions.
(read-multiple-choice--short-answers): Call the same functions
directly and prevent the on-screen keyboard from being
- deactivated immedately before it is reopened.
+ deactivated immediately before it is reopened.
2024-06-28 Juri Linkov <juri@linkov.net>
If the value of a property is text representing a CSS color,
it will be fontified such that its background is the color
itself. 'php-ts-mode-css-fontify-colors' can be used to
- disable this behaviour.
+ disable this behavior.
* lisp/progmodes/php-ts-mode.el (php-ts-mode-css-fontify-colors):
New custom var.
* lisp/progmodes/php-ts-mode.el (php-ts-mode--colorize-css-value):
* Prepare v0.11.0
- * Update CHANGLOG for v0.11.0
+ * Update CHANGELOG for v0.11.0
* 2024
chore: Place emacs dependency to the front (#285)
- * chore: Place emacs dependency infront
+ * chore: Place emacs dependency in front
* Update copyright year
* Update
- * Updat
-
commit c0789e2d537fb609af72a1edf51e1c5e4673ab2e
Author: 10sr <8.slashes@gmail.com>
Date: Fri May 22 23:13:55 2020 +0900
Author: 10sr <8.slashes@gmail.com>
Date: Thu Jul 26 12:30:09 2018 +0900
- Remove numeric-range related vairables
+ Remove numeric-range related variables
commit c687ecda080521c00ceaa8aec05a7dd8fb2be48a
Author: 10sr <8.slashes@gmail.com>
2024-06-11 Visuwesh <visuweshm@gmail.com>
- Fix customisation buffer for dired group
+ Fix customization buffer for dired group
* lisp/dired-aux.el
(dired-create-destination-dirs-on-trailing-dirsep): Actually
Provide additional Android metadata
* java/AndroidManifest.xml.in: Enable preserving user data
- beyond uninstallation, restarting activities without persiting
+ beyond uninstallation, restarting activities without persisting
state, increase maximum number of simultaneously open
activities, and provide a sensible category.
Revert "Add support for Rust compilation messages"
This reverts commit 2e862f81a355435fb7e837ffebee2f657c26ff23.
- It had serveral problems; see bug#70794.
+ It had several problems; see bug#70794.
2024-06-03 Robert Pluim <rpluim@gmail.com>
treesit-primary-parser. I also added code that makes Emacs guess the
primary parser if that variable isn't set.
- Documentation fot treesit-primary-parser will come later.
+ Documentation for treesit-primary-parser will come later.
- For futher reference, the message id for the message that prompted
+ For further reference, the message id for the message that prompted
this change is <dc94733b-df75-446c-980e-1c8ea65826cf@gutov.dev>
* lisp/treesit.el (treesit-primary-parser): New variable.
* src/w32term.h (w32_bitmap_record): Add stipple value.
* src/image.c (image_create_bitmap_from_data): Create stipple
bitmap.
- (image_create_bitmap_from_file): Add suuport for pixmap and
+ (image_create_bitmap_from_file): Add support for pixmap and
create stipple bitmap.
(free_bitmap_record): Release stipple.
* etc/tutorials/TUTORIAL.cs: Update TUTORIAL.cs according to its
English counterpart.
- * etc/tutorials/TUTORIAL.translators: Update maintaner of
+ * etc/tutorials/TUTORIAL.translators: Update maintainer of
TUTORIAL.cs.
2024-05-30 Jim Porter <jporterbugs@gmail.com>
2024-05-24 Andrea Corallo <acorallo@gnu.org>
- * src/comp.c (check_comp_unit_relocs): Remove unneccesary double access.
+ * src/comp.c (check_comp_unit_relocs): Remove unnecessary double access.
2024-05-23 Eshel Yaron <me@eshelyaron.com>
vc-git-root-log-format: Explicitly match periods
- * lisp/vc/vc-git.el (vc-git-root-log-format): Explicity match
+ * lisp/vc/vc-git.el (vc-git-root-log-format): Explicitly match
periods, rather than matching them only because '.' matches any
chars.
Fix #if defined directive fontification in c-ts-mode
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings): Fontify
- each part separately so the identifier isn't overriden.
+ each part separately so the identifier isn't overridden.
2024-05-09 john muhl <jm@pub.pink>
* lisp/international/mule.el (load-with-code-conversion):
* lisp/startup.el (command-line--load-script):
* etc/NEWS:
- Revert all changes, except for the generalised
+ Revert all changes, except for the generalized
`lisp_file_lexical_cookie` which may prove useful in the future.
2024-05-05 Alan Mackenzie <acm@muc.de>
(android_init_emacs_gc_class, android_init_emacs_cursor): Adjust
to match signature changes in constructors.
(android_init_emacs_handle): New function.
- (initEmacs): Initialize the handle class, its fields and metods.
+ (initEmacs): Initialize the handle class, its fields and methods.
(sendConfigureNotify, sendKeyPress, sendKeyRelease, sendFocusIn)
(sendFocusOut, sendWindowAction, sendEnterNotify)
(sendLeaveNotify, sendMotionNotify, sendButtonPress)
2024-04-27 Po Lu <luangruo@yahoo.com>
- Fix ommissions in window scrolling commands that ought to clear vscroll
+ Fix omissions in window scrolling commands that ought to clear vscroll
* src/window.c (Fdelete_other_windows_internal)
(window_scroll_for_long_lines, Frecenter, Fmove_to_window_line):
* lisp/progmodes/rust-ts-mode.el
(rust-ts-mode--font-lock-settings): Add font-locking for Rust
- macro metavariables, fragment specifiers and repitition patterns.
+ macro metavariables, fragment specifiers and repetition patterns.
2024-04-22 Yuan Fu <casouri@gmail.com>
(erc-fill--wrap-massage-legacy-indicator-type): New function to warn
of obsolete `erc-fill-wrap-merge-indicator' value and perform a
migration for the current session.
- (erc-fill-wrap, erc-fill-wrap-enable): Preform preflight compat check
+ (erc-fill-wrap, erc-fill-wrap-enable): Perform preflight compat check
for obsolete `erc-fill-wrap-merge-indicator' value types.
(erc-fill-wrap-disable): Don't bother killing nonexistent variable
`erc-fill--wrap-merge-indicator-post'.
2024-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
- (cl--describe-class): Improve based on dicussion in bug#70077
+ (cl--describe-class): Improve based on discussion in bug#70077
* lisp/emacs-lisp/cl-extra.el (cl--describe-class): Move docstring
after the class' slots.
json-insert doc fixes
- * src/json.c (Fjson_insert): Precise the behaviour when the current
+ * src/json.c (Fjson_insert): Precise the behavior when the current
buffer is multibyte and unibyte, respectively.
* doc/lispref/text.texi (Parsing JSON): Refer to the right function.
2024-03-08 Stefan Monnier <monnier@iro.umontreal.ca>
- EIEIO: Fix regession (bug#69631)
+ EIEIO: Fix regression (bug#69631)
Not sure why earlier tests did not catch it, but there are more
places where we bump into problems because `eieio--class-precedence-list`
* doc/lispref/Makefile.in (auxfiles)
($(buildinfodir)/type_hierarchy.txt)
($(buildinfodir)/type_hierarchy.jpg): New targets.
- ($(buildinfodir)/elisp.info): Add dependecy.
+ ($(buildinfodir)/elisp.info): Add dependency.
2024-03-05 Michael Albinus <michael.albinus@gmx.de>
This reverts commit 4a0d430bdc3650ca3dfd8bdd14781764fbcbdc7e.
- AFAICT that commit was made to accomodate regressions introduced
+ AFAICT that commit was made to accommodate regressions introduced
in the new `cl-preloaded.el` code and these have been fixed.
2024-03-04 Michael Albinus <michael.albinus@gmx.de>
Repair miscompilation of single-arg `apply` (bug#69533)
* lisp/emacs-lisp/byte-opt.el (byte-optimize-apply):
- Don't optimise single-argument `apply`; it's a legacy construct.
+ Don't optimize single-argument `apply`; it's a legacy construct.
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases):
Add test case.
However, nstrftime now requires localename-unsafe-limited which
pulls in some Gnulib-specific locale code, and it’s likely this
needs to be replaced with Emacs-specific locale code. In the
- meantime let’s continue to finess this by avoiding
+ meantime let’s continue to finesse this by avoiding
localename-unsafe-limited.
* admin/merge-gnulib (AVOIDED_MODULES):
Avoid localename-unsafe-limited instead of localename.
Properly record mtime after insert-file-contents on Android
* src/fileio.c (write_region): Do not verify file identity after
- retreiving file status for the second time if st_ino is 0.
+ retrieving file status for the second time if st_ino is 0.
2024-02-16 Po Lu <luangruo@yahoo.com>
(cl--generic-describe): Refactor to ease reuse
* lisp/emacs-lisp/cl-generic.el (cl--map-methods-documentation):
- New function, extrated from `cl--generic-describe`.
+ New function, extracted from `cl--generic-describe`.
(cl--generic-describe): Use it.
2024-02-12 Juri Linkov <juri@linkov.net>
2024-02-09 Jeremy Bryant <jb@jeremybryant.net>
- * lisp/which-key.el: Add two spaces in docstrings and punctation
+ * lisp/which-key.el: Add two spaces in docstrings and punctuation
(which-key-echo-keystrokes):
(which-key-popup-type):
`.elc` files. So this patch lifts the first restriction,
using `print-number-table`.
- The rest of the patch then simplifies and regularises the
+ The rest of the patch then simplifies and regularizes the
bytecompiler's generation of dynamic docstrings, which can
now also easily be done for "inner" defvars and other places.
Bytecode engine fast-path streamlining of plain symbols
* src/bytecode.c (exec_byte_code):
- Only use fast-path optimisations for calls and dynamic variable
+ Only use fast-path optimizations for calls and dynamic variable
reference and setting where the symbol is plain, which is much faster.
2024-01-31 Mattias Engdegård <mattiase@acm.org>
* etc/EGLOT-NEWS: Update.
* lisp/progmodes/eglot.el (Version): Bump to 1.17
- (Package-Requires): Bump jsonrpc depedency to 1.24
+ (Package-Requires): Bump jsonrpc dependency to 1.24
2024-01-25 João Távora <joaotavora@gmail.com>
* Update a comp test (bug#68523)
* test/src/comp-tests.el (comp-tests-ret-type-spec-71): Update a test
- due to new 'sxhash-equal' behaviour.
+ due to new 'sxhash-equal' behavior.
2024-01-17 Po Lu <luangruo@yahoo.com>
More efficient hash table thawing
* src/fns.c (hash_table_thaw): Don't allocate anything for empty
- tables. Don't initialise the next vector twice.
+ tables. Don't initialize the next vector twice.
(maybe_resize_hash_table): Factor out min_size constant.
2024-01-16 Juri Linkov <juri@linkov.net>
Jsonrpc: fix bug in jsonrpc--remove
- * lisp/jsonrpc.el (jsonrpc--remove): Check timer before cancelling it.
+ * lisp/jsonrpc.el (jsonrpc--remove): Check timer before canceling it.
(Version): Bump to 1.2.24
See https://github.com/joaotavora/eglot/issues/1342
* src/lisp.h (hash_unused): Remove.
All uses adapted to calling hash_unused_entry_key_p on the key instead.
The hash values for unused hash table entries are now undefined; all
- initialisation and assignment to hash_unused has been removed.
+ initialization and assignment to hash_unused has been removed.
2024-01-13 Mattias Engdegård <mattiase@acm.org>
2024-01-13 Mattias Engdegård <mattiase@acm.org>
- Inlined and specialised hash table look-up
+ Inlined and specialized hash table look-up
This improves performance in several ways. Separate functions are
used depending on whether the caller has a hash value computed or not.
(allocate_hash_table): Allocate without automatically GCed slots.
(alloc_larger_vector): Remove.
(make_hash_table, copy_hash_table, maybe_resize_hash_table):
- Adapt vector allocation and initialisation.
+ Adapt vector allocation and initialization.
* src/pdumper.c (hash_table_freeze, hash_table_thaw, dump_hash_table)
(dump_hash_table_contents):
Adapt dumping and loading to field changes.
Represent hash table weakness as an enum internally
This takes less space (saves an entire word) and is more type-safe.
- No change in behaviour.
+ No change in behavior.
* src/lisp.h (hash_table_weakness_t): New.
(struct Lisp_Hash_Table): Replace Lisp object `weak` with enum
2024-01-10 Michael Albinus <michael.albinus@gmx.de>
- Fix file name completion with Tramp on MS Windoes
+ Fix file name completion with Tramp on MS Windows
* doc/misc/trampver.texi:
* lisp/net/trampver.el (tramp-version): Adapt Tramp versions.
466d1c98a9e Fix icons.el when icon does not exist as a file
2a861124e89 ; Improve documentation of 'buffer-match-p'
dc9d02f8a01 * lisp/isearch.el (isearch-search-and-update): Let-bind '...
- 9308d9a74ab * src/comp.c (Fcomp__compile_ctxt_to_file): Fix hash tabl...
+ 9308d9a74ab * src/comp.c (Fcomp__compile_ctxt_to_file): Fix hash table...
a2a6619b282 Provide decent documentation for 'help-quick'
ab66b749a27 ; * src/window.c (Fset_window_margins): Doc fix.
1a677d1429d treesit--pre-syntax-ppss: Fix args-out-of-range in intern...
2024-01-02 Richard Stallman <rms@gnu.org>
- Fix non-permenent decryption to show up temperarily.
+ Fix non-permenent decryption to show up temporarily.
In a decrypted mime part, replace CRLF with newline,
2024-01-01 Vincent Belaïche <vincentb1@users.sourceforge.net>
- Typoes in SES manual.
+ Typos in SES manual.
Also @samp{...}-ify cell/row/column reference given as in-line examples.
distortion to METRICS, and return the metrics as altered by
compound glyphs in there.
(sfnt_lookup_glyph_metrics): Trim away two unused parameters,
- PIXEL_SIZE and HEAD, whose functionality has been superseeded by
+ PIXEL_SIZE and HEAD, whose functionality has been superseded by
sfnt_scale_metrics and the implicit scaling the interpreter
performs.
(sfnt_interpret_compound_glyph_2): Save phantom points within
* etc/EGLOT-NEWS: Update.
* lisp/progmodes/eglot.el (Version): Bump to 1.15
- (Package-Requires): Bump jsonrpc depedency to 1.23
+ (Package-Requires): Bump jsonrpc dependency to 1.23
2023-12-27 João Távora <joaotavora@gmail.com>
2023-12-22 Mattias Engdegård <mattiase@acm.org>
- Slight funcall_subr optimisation
+ Slight funcall_subr optimization
* src/eval.c (funcall_subr): Help the compiler by reducing aliasing
problems, and compensate for a missed-optimisation bug in LLVM where
Fix issue with register commands in kmacro
Using post-command-hook in minibuffer-setup-hook instead of a timer
- allow running exit-minibuffer without delay and ensure the serie of
+ allow running exit-minibuffer without delay and ensure the series of
commands used in a kmacro run synchronously.
* lisp/register.el (register-read-with-preview-fancy): Do it.
values if exist.
* doc/lispref/variables.texi (Applying Connection Local Variables):
- Fix decription of connection-local-default-application.
+ Fix description of connection-local-default-application.
* lisp/dired.el (dired-listing-switches): Adapt docstring.
(dired-internal-noselect, dired-mode):
* lisp/emacs-lisp/package-vc.el (package-vc--unpack-1): Wait for all
system operations to have been completed, before proceeding to remove
- old package descriptors from 'package-alist'. This avoids loosing a
+ old package descriptors from 'package-alist'. This avoids losing a
package if an error occurs during upgrades.
2023-12-09 john muhl <jm@pub.pink>
M-x eldoc is ElDoc's interactive entry point for on-demand
documentation for users that don't want the behind-the-scenes idle
- timer behaviour.
+ timer behavior.
However, eldoc-display-in-echo-area, a member of
eldoc-display-functions, refused to do anything because it thought it
Move malformed-function warning from byte-opt to cconv (bug#67483)
- We shouldn't be warning inside the optimiser in the first place.
+ We shouldn't be warning inside the optimizer in the first place.
* lisp/emacs-lisp/byte-opt.el (byte-optimize-form):
Remove byte-compile-form-stack manipulation.
(register-of-type-alist): New, filter register-alist according to
type.
(register-preview): Signature changed, use TYPES now.
- (register-preview-get-defaults): New generic, compute defauts
+ (register-preview-get-defaults): New generic, compute defaults
according to action.
(register-read-with-preview): Now use read-from-minibuffer and
minibuffer-setup-hook.
Unbreak Eglot, Jsonrpc as EIEIO inches closer to CLOS (bug#67480)
- EIEIO is an innacurate emulation of CLOS in many aspects and one of
+ EIEIO is an inaccurate emulation of CLOS in many aspects and one of
them in accessor definition. Before this commit
commit 6c47931a1ad4de4af3f147b9604169c2441100fe
y))
would incorrectly substitute y->x in the body form despite x being
- already modified at that point, which normally should have cancelled
+ already modified at that point, which normally should have canceled
the aliasing.
Bug reported by Alan Mackenzie.
assumptions about implementation details.
In others, like the ones about the completions-first-difference face,
- minor parts of the actual user-visible behaviour were broken.
+ minor parts of the actual user-visible behavior were broken.
* test/lisp/minibuffer-tests.el (completion-test1): Robustify test.
(completion--pcm-score): Don't assume completion-score is stored
Simplify 'project-remember-projects-under'
* lisp/progmodes/project.el (project-remember-projects-under): Instead
- of traversing the directories manually, re-use
+ of traversing the directories manually, reuse
`directory-files-recursively' to reduce complexity. (Bug#66649)
2023-11-08 Juri Linkov <juri@linkov.net>
(dnd-handle-multiple-urls): Prevent calling the same handler
multiple times for a single URI.
- * lisp/gnus/mml.el (mml-dnd-protocol-alist): Apply an anologous
+ * lisp/gnus/mml.el (mml-dnd-protocol-alist): Apply an analogous
adjustment here. Delete now redundant redefinition of
dnd-open-file.
(mml-dnd-attach-file): Inquire whether to apply the default
2023-10-23 Mattias Engdegård <mattiase@acm.org>
- Modernise text about using dynamic variables
+ Modernize text about using dynamic variables
* doc/lispref/variables.texi (Dynamic Binding Tips):
Give more useful advice.
Alter the presentation order from the point of view that lexical
binding is the standard discipline (if not always the default) and
dynamic binding an alternative, which corresponds better to Elisp
- today. Modernise parts of the text.
+ today. Modernize parts of the text.
* doc/lispref/elisp.texi (Top): Update menu.
2023-10-23 Mattias Engdegård <mattiase@acm.org>
(sleep-for): Make the `millisec` argument obsolete
- * lisp/subr.el (sleep-for): Set new advertized calling convention.
+ * lisp/subr.el (sleep-for): Set new advertised calling convention.
* src/dispnew.c (Fsleep_for): Adjust docstring.
* doc/lispref/commands.texi (Waiting): Adjust doc.
Repair detection of empty mailto URLs
* java/org/gnu/emacs/EmacsOpenActivity.java (onCreate):
- Additonally regard mailto:// as an empty URL, since Android does
+ Additionally regard mailto:// as an empty URL, since Android does
interpret them as such.
2023-10-20 Gerd Möllmann <gerd.moellmann@gmail.com>
2023-10-16 Po Lu <luangruo@yahoo.com>
- Properly initialize argment list supplied to android_init_emacs
+ Properly initialize argument list supplied to android_init_emacs
* src/android.c (initEmacs): NULL-terminate c_argv.
Fix last change
* src/search.c (Fre__describe_compiled): Correct typos and
- pointer signedness missmatch.
+ pointer signedness mismatch.
2023-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
Instead of scanning vector_free_lists from the appropriate size until
we find a nonempty bucket, start at the last bucket where we last put
- something in. This may favour splitting larger vectors than necessary
+ something in. This may favor splitting larger vectors than necessary
but in general saves a lot of time in the allocation of small vectors.
Original patch by Ihor Radchenko.
Flymake: unbreak tests
- Flymake's normal behaviour implies catching the errors of misbehaving
+ Flymake's normal behavior implies catching the errors of misbehaving
backends. This behavior is tested by Flymake's automated tests, built
on top of ERT, which means that debug-on-error is always t in the
bodies of said tests (I don't know the rationale for this, but it's
pointer arithmetic in C. In particular, a null pointer can be neither
an operand in nor the result of pointer arithmetic.
- C compilers know this and would, prior to this change, optimise
+ C compilers know this and would, prior to this change, optimize
XUNTAG(obj, Lisp_Int0, mytype) != NULL
Offset ranges before applying embedded tree-sitter parser
This feature would allow treesitter major modes to easily specify
- offsets when using embeded parsers. A potential use case for this is
+ offsets when using embedded parsers. A potential use case for this is
javascript template strings, when we want to apply a different parser
to the string's contents, but do not want to include the template
string's delimiters.
* lisp/treesit.el
- (treesit-query-range): Accept an optional offest arg, apply the offset
+ (treesit-query-range): Accept an optional offset arg, apply the offset
to all returned ranges.
(treesit-range-rules): Accept an optional :offset keyword arg to adjust
- ranges an embded parser is applied to.
+ ranges an embedded parser is applied to.
(treesit-update-ranges): Forward optional :offset setting from
`treesit-range-rules' to `treesit-query-rang'.
* test/src/treesit-tests.el
pointer arithmetic in C. In particular, a null pointer can be neither
an operand in nor the result of pointer arithmetic.
- C compilers know this and would, prior to this change, optimise
+ C compilers know this and would, prior to this change, optimize
XUNTAG(obj, Lisp_Int0, mytype) != NULL
Make sure undefined tree-sitter thing doesn't raise an error
- A previous change should've achived this, but that wasn't enough.
+ A previous change should've achieved this, but that wasn't enough.
This one actually achieves the intended effect, namely,
treesit-node-match-p doesn't raise an error if IGNORE-MISSING is
non-nil, and traverse functions don't raise error by default.
(say "goodbye"))
because they are very much an indicator of a mistake (such as
- misplaced brackets), and since they are deleted by the optimiser, any
+ misplaced brackets), and since they are deleted by the optimizer, any
other warnings there are lost and the user wouldn't know that
something is wrong otherwise.
Fix treesit-thing-settings for c++-ts-mode (bug#65810)
* lisp/progmodes/c-ts-mode.el:
- (c-ts-mode--thing-settings): New varaible.
+ (c-ts-mode--thing-settings): New variable.
(c-ts-base-mode): Use c-ts-mode--thing-settings.
2023-09-08 Yuan Fu <casouri@gmail.com>
(eglot-path-to-uri)
(eglot-range-region)
(eglot-server-capable)
- (eglot-server-capable-or-lose): New functions and backward compability
+ (eglot-server-capable-or-lose): New functions and backward compatibility
aliases.
2023-09-04 Stefan Kangas <stefankangas@gmail.com>
(eglot-path-to-uri)
(eglot-range-region)
(eglot-server-capable)
- (eglot-server-capable-or-lose): New functions and backward compability
+ (eglot-server-capable-or-lose): New functions and backward compatibility
aliases.
2023-09-03 Jonas Bernoulli <jonas@bernoul.li>
* lisp/eshell/em-prompt.el (eshell-next-prompt): Make N optional.
When navigating, first move to the end of the prompt. This makes the
subsequent navigation more predictable.
- (eshell-previous-prompt): Mane N optional.
+ (eshell-previous-prompt): Make N optional.
* test/lisp/eshell/em-prompt-tests.el
(em-prompt-test--with-multiline): Move to "Code" section.
2023-09-01 Eli Zaretskii <eliz@gnu.org>
- Fix VC mode-line indication for registerd but ignored files
+ Fix VC mode-line indication for registered but ignored files
* lisp/vc/vc-hooks.el (vc-ignored-state): New face.
(vc-default-mode-line-string): Add special indication and tooltip
Properly parse format 4 cmap tables
* src/sfnt.c (sfnt_read_cmap_format_4): Read range_shift field
- propery. Prior to this, it would be inadvertently treated as an
+ property. Prior to this, it would be inadvertently treated as an
entry within the segment end code array, which only functioned
by happenstance.
(sfnt_lookup_glyph_4): Remove workaround grounded upon an
- erroneous interpretation of the bug fixed by the aformentioned
+ erroneous interpretation of the bug fixed by the aforementioned
change.
* src/sfnt.h (struct sfnt_cmap_format_4): Introduce previously
2023-08-16 Mattias Engdegård <mattiase@acm.org>
- tibetan.el: compute constants at compile time, optimise regexps
+ tibetan.el: compute constants at compile time, optimize regexps
* lisp/language/tibetan.el (tibetan-subjoined-transcription-alist)
(tibetan-regexp, tibetan-precomposed-regexp)
* lisp/eshell/esh-cmd.el (eshell-parse-command): Do all modifications
to each command in a single pass.
- (eshell-parse-pipeline): Remove unncessary reversing of parsed
+ (eshell-parse-pipeline): Remove unnecessary reversing of parsed
results.
2023-08-10 Po Lu <luangruo@yahoo.com>
Teach byte-compiler about Aristotelian identity
* lisp/emacs-lisp/byte-opt.el (byte-optimize-equal, byte-optimize-eq):
- Optimise (eq X X) -> t where X is a variable; idem for eql and equal.
+ Optimize (eq X X) -> t where X is a variable; idem for eql and equal.
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases):
Add test case.
platform-specific file descriptor replacement is possible, place
one there.
(build_load_history): Fix typos in comments.
- (skip_lazy_string): Implement in terms of the aformentioned
+ (skip_lazy_string): Implement in terms of the aforementioned
macros.
* src/lisp.h: Add declarations for new functions.
* test/lisp/align-resources/c-mode.erts: Make test agree with Emacs
This eliminates a failure in align-tests. There doesn't seem to be
- anything obviously wrong with Emacs's behaviour in this case.
+ anything obviously wrong with Emacs's behavior in this case.
2023-08-05 Michael Albinus <michael.albinus@gmx.de>
Don't allow the `eq` and `unbind` byte-ops to commute (bug#65017)
* lisp/emacs-lisp/byte-opt.el (byte-after-unwind-ops):
- Cease sinking `eq` past `unwind`, because that optimised away the
+ Cease sinking `eq` past `unwind`, because that optimized away the
let-binding in
(let ((symbols-with-pos-enabled nil))
Merge from origin/emacs-29
- a9b28224af0 ; Last-minute changes befor releasing 29.1
+ a9b28224af0 ; Last-minute changes before releasing 29.1
7da1cee56b3 Update CMake support due to upstream changes (bug#64922)
c2d95dd00e6 Remove nullptr named node from c++-ts-mode (bug#64818)
4e977136d31 Make compat check also check typescript
Implement char-before, backward-char and backward-word as compiler
macros instead of byte-compile handlers so that the source-level
- optimiser gets to simplify the result. In particular, this removes
+ optimizer gets to simplify the result. In particular, this removes
some branches.
* lisp/emacs-lisp/bytecomp.el (byte-compile-char-before)
(python-shell-interpreter-interactive-arg): Improve
documentation.
(python--list-imports, python--do-isort)
- (python-fix-imports): Make process use customisable
+ (python-fix-imports): Make process use customizable
arguments.
2023-07-20 Mauro Aranda <maurooaranda@gmail.com>
4bd8e8c6d2b ; * src/xdisp.c: Fix wording in commentary.
3af27a4b815 Improve commentary in nsfns.m
- 5de5e4b4d0a Fix typos and ommissions in cus-edit.el
+ 5de5e4b4d0a Fix typos and omissions in cus-edit.el
9d93c6ba14a ; * src/xdisp.c: Fix typos in the commentary.
86f2d6d62fc ; * src/xdisp.c: Improve commentary. (Bug#64596)
ac075176bf0 ; * admin/notes/bugtracker: Fix punctuation.
(build-counter.c): New target. Generate this file using
makecounter.sh upon changes to lisp.mk or shortlisp.
(lisp.mk): Make and load relative to abs_top_builddir.
- (emacs$(EXEEXT)): Adjust acordingly.
+ (emacs$(EXEEXT)): Adjust accordingly.
(mostlyclean): Remove build-counter.c.
2023-07-19 Po Lu <luangruo@yahoo.com>
* java/org/gnu/emacs/EmacsNative.java (EmacsNative): Update JNI
prototypes.
* java/org/gnu/emacs/EmacsWindow.java (motionEvent): Set
- cancelation flag in events sent where appropriate.
+ cancellation flag in events sent where appropriate.
* lisp/touch-screen.el (touch-screen-handle-point-update):
Improve treatment of horizontal scrolling near window edges.
(touch-screen-handle-touch): Don't handle point up if the touch
* src/androidgui.h (enum android_touch_event_flags): New enum.
(struct android_touch_event): New field `flags'.
* src/androidterm.c (handle_one_android_event): Report
- cancelation in TOUCHSCREEN_END_EVENTs.
+ cancellation in TOUCHSCREEN_END_EVENTs.
* src/keyboard.c (make_lispy_event): Fix botched merge.
2023-07-18 Po Lu <luangruo@yahoo.com>
To make rx produce a translation that works as intended, split ranges
that that go from ordinary characters to raw bytes. Such ranges may
- appear from set manipulation and regexp optimisation.
+ appear from set manipulation and regexp optimization.
* lisp/emacs-lisp/rx.el (rx--generate-alt): Split intervals that
straddle the char-raw boundary when rendering a string regexp from an
Autodetect coding system when yanking media
- Some browers send eg 'text/html' selections formatted as UTF-8, but
+ Some browsers send eg 'text/html' selections formatted as UTF-8, but
with a type of STRING, which actually means iso-latin-1. Autodetect
the correct coding system to use by calling 'gui-get-selection'.
onGenericMotionEvent.
* java/org/gnu/emacs/EmacsWindow.java (Coordinate): New fields
`button' and `id'.
- (<init>): Add new arguments to the construtor.
+ (<init>): Add new arguments to the constructor.
(whatButtonWasIt): Return 0 if the button state has not changed.
(buttonForEvent): New function.
(figureChange): Return the Coordinate object associated to
(cperl-mode): Add "ADJUST" to defun-prompt-regexp.
(cperl-after-block-p): Add new keywords for Perl 5.36 and 5.38.
(cperl-indent-exp): Add "field" to expression starters.
- (cperl-imenu--create-perl-index): Rename variables refering to
+ (cperl-imenu--create-perl-index): Rename variables referring to
"package", because they also contain classes.
(cperl-init-faces): Add new keywords for Perl 5.36 and 5.38.
(cperl-find-tags): Add support for "class".
Use prefix syntax for ,@ to avoid the @ becoming part of a symbol
that follows.
* test/lisp/emacs-lisp/edebug-tests.el (edebug-tests-with-normal-env):
- Propertise inserted Lisp code to keep the test working.
+ Propertize inserted Lisp code to keep the test working.
2023-06-21 Mattias Engdegård <mattiase@acm.org>
2023-06-04 Mattias Engdegård <mattiase@acm.org>
- Better internal-make-closure optimisation
+ Better internal-make-closure optimization
* lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
- Optimise closed-over values in closure creation like any other, which
+ Optimize closed-over values in closure creation like any other, which
can lead to stack variables being eliminated.
2023-06-04 Andrea Corallo <akrl@sdf.org>
dc7acb1aafe Avoid errors in 'delete-forward-char' deleting static com...
2f94f6de9d6 Make VS-15 and VS-16 compositions work correctly
753f8aa1f14 Fix project-name for vc-aware backend in non-file buffers
- 17c7915ab94 ; Fix 'package-install-upgrade-built-in' check for packag...
+ 17c7915ab94 ; Fix 'package-install-upgrade-built-in' check for package...
e252ce26eab Add type_predicate 'is' as keyword in typescript-ts-mode ...
0a354d65784 Fix infloop in info-look.el
83b22139e4c Fix several todo-mode.el item editing bugs (bug#63811)
2023-05-20 Mattias Engdegård <mattiase@acm.org>
- Minor optimisation of string-trim-left and string-trim-right
+ Minor optimization of string-trim-left and string-trim-right
* lisp/subr.el (string-trim-left, string-trim-right):
Use a constant string when no REGEXP argument is given.
Use `ansi-color-control-seq-regexp'. (Bug#63539)
* test/lisp/net/tramp-tests.el (tramp-display-escape-sequence-regexp):
- Dont't declare.
+ Don't declare.
(tramp-test28-process-file, tramp-test32-shell-command):
Use `ansi-color-control-seq-regexp'.
(tramp-test45-asynchronous-requests): Adapt test.
d2e82817a3f Add two typescript-ts-mode faces (bug#62429)
10918fc9d24 Fix scrolling window when point moves up
9b32bc134c4 Improve documentation of 'defcustom's :set keyword
- ab4273056e0 Comp fix calls to redefined primtives with op-bytecode (b...
+ ab4273056e0 Comp fix calls to redefined primitives with op-bytecode (b...
c98929c7e18 ; Fix last change
a14c3f62a67 ; Fix last change
09fece5722f Fix duplicate defcustom in eww.el
(nreverse [1 2 3])
(put-text-property 0 3 'face 'highlight "moo")
- Such code can result in surprising behaviour and problems that
+ Such code can result in surprising behavior and problems that
are difficult to debug.
* lisp/emacs-lisp/bytecomp.el (byte-compile-form, mutating-fns):
2023-05-05 Mattias Engdegård <mattiase@acm.org>
- Remove useless handling of erroneous code in Lisp optimiser
+ Remove useless handling of erroneous code in Lisp optimizer
* lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
((closure ...) ...) is a malformed function call; treat it as such.
* lisp/ls-lisp.el (ls-lisp-ignore-case):
* lisp/mail/binhex.el (binhex-use-external):
* lisp/progmodes/cperl-mode.el (cperl-electric-parens-mark):
- Normalise default values to nil or t.
+ Normalize default values to nil or t.
2023-04-28 Po Lu <luangruo@yahoo.com>
2023-04-27 Mattias Engdegård <mattiase@acm.org>
- Clarify `nconc` behaviour for dotted lists (bug#63103)
+ Clarify `nconc` behavior for dotted lists (bug#63103)
* doc/lispref/lists.texi (Rearrangement): Explicitly say that dotted
lists are valid args to `nconc` and give an example.
2023-04-22 Mattias Engdegård <mattiase@acm.org>
- Improved nconc and append compiler optimisations
+ Improved nconc and append compiler optimizations
Add the transforms:
(list X) Y -> (cons X Y)
* lisp/emacs-lisp/byte-opt.el (byte-optimize-nconc): New.
- (byte-optimize-append): Fix minor flaws and generalise.
+ (byte-optimize-append): Fix minor flaws and generalize.
2023-04-22 Po Lu <luangruo@yahoo.com>
* lisp/progmodes/cc-engine.el (c-forward-over-compound-identifier): Don't
move forward over whitespace following the identifier.
(c-forward-primary-expression): Add parameter stop-at-end meaning don't move
- forward over whitespace after the construct when non-nil. Don't recognise a
+ forward over whitespace after the construct when non-nil. Don't recognize a
primary expression when an open brace follows a parenthesized expression.
(c-forward-constraint-clause): Extracted from c-forward-c++-requires-clause.
Add parameter stop-at-end as above.
2023-04-12 João Távora <joaotavora@gmail.com>
- Flymake: futher enhance echo-area appearance of diagnostics
+ Flymake: further enhance echo-area appearance of diagnostics
Also describe new 'echo-face' property in the Flymake manual, and fix
it's mistaken mention of a non-existing 'flymake-severity' property.
Consolidate existing warnings about unused return values
Move the warning about unused return values from calls to
- side-effect-free functions from the source-level optimiser to the code
+ side-effect-free functions from the source-level optimizer to the code
generator, where it can be unified with the special-purpose warning
about unused values from `mapcar`. This change also cures spurious
duplicate warnings about the same code, makes the warnings amenable to
d2e82817a3f Add two typescript-ts-mode faces (bug#62429)
10918fc9d24 Fix scrolling window when point moves up
9b32bc134c4 Improve documentation of 'defcustom's :set keyword
- ab4273056e0 Comp fix calls to redefined primtives with op-bytecode (b...
+ ab4273056e0 Comp fix calls to redefined primitives with op-bytecode (b...
c98929c7e18 ; Fix last change
a14c3f62a67 ; Fix last change
09fece5722f Fix duplicate defcustom in eww.el
2023-03-31 Mattias Engdegård <mattiase@acm.org>
- Make string-lessp vectorisation safer
+ Make string-lessp vectorization safer
Use memcpy for loading unaligned words on platforms where this can be
done efficiently. This guards against problems arising from future
compiler autovectorisation improvements that might cause instructions
that require aligned addresses to be emitted, and should also work
- with an address sanitiser enabled.
+ with an address sanitizer enabled.
- * src/fns.c (HAVE_FAST_UNALIGNED_ACCESS): Only define when optimising.
+ * src/fns.c (HAVE_FAST_UNALIGNED_ACCESS): Only define when optimizing.
(load_unaligned_size_t): New.
(Fstring_lessp): Use load_unaligned_size_t.
* src/lisp.h (UNALIGNED_LOAD_SIZE): Remove now unused macro.
Update Android port
* src/sfntfont.c (sfntfont_setup_interpreter): Don't create
- interpreter for blatently broken fonts.
+ interpreter for blatantly broken fonts.
2023-03-29 Stefan Kangas <stefankangas@gmail.com>
3965c65d5e2 ; * lisp/subr.el (read-char-choice): Fix last change.
c1eac5b6586 Improve documentation of 'read-choice' and related symbols
- a8c9283e170 Revert "Comp fix calls to redefined primtives with op-byt...
+ a8c9283e170 Revert "Comp fix calls to redefined primitives with op-byt...
8b66d8abd01 Revert "* lisp/emacs-lisp/comp.el (comp-emit-set-call-sub...
4ec4f614c71 ; Fix incompatibility in 'display-buffer-assq-regexp'
ba3ade58f3b Skip ruby-ts-imenu-index test if needed
subcommands). For globbing, we want to pass the literal glob to
Pcomplete so it can use the glob for selecting completion candidates.
For subcommands (including Lisp forms), we especially want to avoid
- evaluation, since they can produce arbitary side effects! (Bug#50470)
+ evaluation, since they can produce arbitrary side effects! (Bug#50470)
* lisp/eshell/esh-cmd.el (eshell-allow-commands): New variable...
(eshell-commands-forbidden): New error...
2023-03-25 Mattias Engdegård <mattiase@acm.org>
- Generalise a LAP optimisation rule
+ Generalize a LAP optimization rule
* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
Accept (stack-set 1) as equivalent to (discardN-preserve-tos 1) in a
4a7a0c9a9f5 * lisp/emacs-lisp/comp.el (comp-emit-set-call-subr): Impr...
4a6eefb93a5 Expand defvar-keymap documentation
7a1272168af * lisp/treesit.el (treesit-end-of-defun): Guard arg again...
- 263d6c38539 Comp fix calls to redefined primtives with op-bytecode (b...
+ 263d6c38539 Comp fix calls to redefined primitives with op-bytecode (b...
6bf441ff115 Warn package authors away from keymap-unset with REMOVE
786de66ec3c Comment out jobs on EMBA
eed240bc022 Improve defvar-keymap docstring.
CC Mode: Eliminate duplicate function c-list-of-strings
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
+ front of c-string-list-p so that it will not be signaled as undefined by
loaddefs.el.
lisp/progmodes/cc-vars.el (c-string-list-p): Make this autoload.
Better jsonrpc.el workaround for debug-on-error check
Some extensions, notably ert.el, set `debug-on-error' to non-nil,
- which makes it hard to test the behaviour catching of the Elisp
+ which makes it hard to test the behavior catching of the Elisp
error when processing a request and replying to the endpoint with
an JSONRPC-error.
The previous workaround relied on requiring lisp/emacs-lisp/ert.el in
lisp/jsonrpc.el, which really doesn't make sense.
- This is better. For the single test of that behaviour, set a new
+ This is better. For the single test of that behavior, set a new
variable, jsonrpc-inhibit-debug-on-error.
Not only is this cleaner, it allows us to use ert.el's useful
1de513a29fa Fix enums and unions appearing as structs in c-ts-base-mo...
ecdfd584a52 ruby-ts-mode: Fine-tune s-p-f on symbols (bug#62086)
29228e24f20 python-info-dedenter-opening-block-positions: Fix to supp...
- 01b65d442ad Autoload Eglot helper funtion eglot--debbugs-or-github-bu...
+ 01b65d442ad Autoload Eglot helper function eglot--debbugs-or-github-bu...
50a3559c5a7 Add chapter on advanced server configuration to Eglot manual
2e7460c2315 ; * lisp/progmodes/java-ts-mode.el (treesit-query-capture...
255eeee0e06 java-ts-mode: detect if text_block is supported.
(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.
+ into each of these defcustoms for c-list-of-string.
(Top level): Add an autoload entry for each of the above.
2023-03-13 Po Lu <luangruo@yahoo.com>
* lisp/progmodes/ruby-mode.el (ruby-add-log-current-method):
Eliminate uses of condition-case without handlers. These seem to have
been there for quite a long time. This change does not affect the
- behaviour of the code and makes some warnings go away.
+ behavior of the code and makes some warnings go away.
2023-03-03 Po Lu <luangruo@yahoo.com>
2023-03-02 Mattias Engdegård <mattiase@acm.org>
- Small unwind-protect optimisation improvement
+ Small unwind-protect optimization improvement
* lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
- Use the current for-effect mode when optimising the body form,
- instead of always optimising it for value.
+ Use the current for-effect mode when optimizing the body form,
+ instead of always optimizing it for value.
2023-03-02 Michael Albinus <michael.albinus@gmx.de>
.:(src/verbose.mk): Depend on verbose.mk.android in srcdir.
(lib/Makefile): Edit srcdir and VPATH to LIB_SRCDIR.
(src/Makefile): Edit -I$$(top_srcdir) to -I../$(srcdir)/lib,
- instead of ommitting it.
+ instead of omitting it.
(clean): Allow ndk-build clean to fail.
* java/Makefile.in (builddir): New variable.
Make android_select more robust
* src/android.c (android_run_select_thread): Lock select_mutex
- before signalling condition variable.
+ before signaling condition variable.
(android_select): Unlock event queue mutex prior to waiting for
it.
83af806ab7c Rename 'emacs-news-toggle-tag' to 'emacs-news-cycle-tag'
5bc88b3b175 Add menu to news-mode
40f4bc4e0aa ; Avoid installing VC package dependencies multiple times
- 1c9d81a2b42 Attempt to recognise if a VC package has no Elisp files
+ 1c9d81a2b42 Attempt to recognize if a VC package has no Elisp files
2550e8bb0b0 Fix mule-tests under en_US.UTF-8 locale
32795309939 Move block closer above declaration_list rule (bug#61531)
b18754bb179 Minor improvements in c-ts-mode and docs
83af806ab7c Rename 'emacs-news-toggle-tag' to 'emacs-news-cycle-tag'
5bc88b3b175 Add menu to news-mode
40f4bc4e0aa ; Avoid installing VC package dependencies multiple times
- 1c9d81a2b42 Attempt to recognise if a VC package has no Elisp files
+ 1c9d81a2b42 Attempt to recognize if a VC package has no Elisp files
2023-02-16 Po Lu <luangruo@yahoo.com>
2023-02-14 Mattias Engdegård <mattiase@acm.org>
- Fix recent LAP optimiser error
+ Fix recent LAP optimizer error
* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
Fix a flaw in the
dup (varset|varbind|stack-set) discard -> (varset|varbind|stack-set)
rule: don't match stack-set(1) which is dealt with elsewhere, and
- generalise to discard(N).
+ generalize to discard(N).
2023-02-14 Andrea Corallo <akrl@sdf.org>
2023-02-13 Mattias Engdegård <mattiase@acm.org>
- LAP optimiser: more stack reduction hoisting
+ LAP optimizer: more stack reduction hoisting
Hoisting stack reduction ops allows them to coalesce and/or cancel out
pushing ops, and for useful operations to sink and combine, such as
where UNARY pops and pushes one value.
- Generalise the rule
+ Generalize the rule
const discardN-preserve-tos --> discardN const
2023-02-11 Mattias Engdegård <mattiase@acm.org>
- LAP peephole optimiser improvementsa
+ LAP peephole optimizer improvementsa
* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
Make the improvements:
where OP is a unary operation such as `not` or `car`.
- - Generalise a previous rule to
+ - Generalize a previous rule to
NOEFFECT PRODUCER return --> PRODUCER return
* doc/lispref/frames.texi (On-Screen Keyboards): Describe return
value of `frame-toggle-on-screen-keyboard'.
* java/org/gnu/emacs/EmacsSurfaceView.java (surfaceChanged)
- (surfaceCreated, EmacsSurfaceView): Remove unuseful
+ (surfaceCreated, EmacsSurfaceView): Remove useless
synchronization code. The framework doesn't seem to look at
this at all.
2023-02-08 Mattias Engdegård <mattiase@acm.org>
- Simplify and speed up parts of elisp optimiser
+ Simplify and speed up parts of elisp optimizer
* lisp/emacs-lisp/byte-opt.el (byte-optimize-constant-args): Simplify.
(byte-optimize--constant-symbol-p): Speed up.
Update Android port
* java/AndroidManifest.xml.in: Prevent the Emacs activity from
- being overlayed by the emacsclient wrapper.
+ being overlaid by the emacsclient wrapper.
* java/org/gnu/emacs/EmacsOpenActivity.java (run): Likewise.
(onCreate): Set an appropriate theme on ICS and up.
2023-02-05 Mattias Engdegård <mattiase@acm.org>
- Fix misleading LAP optimiser debug log message
+ Fix misleading LAP optimizer debug log message
* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
Correct message in a conditional jump threading rule.
* lisp/emacs-lisp/byte-opt.el (byte-after-unbind-ops):
Add discardN and discardN-preserve-tos, both of which
- commute with unbind. This enables subsequent optimisations.
+ commute with unbind. This enables subsequent optimizations.
2023-02-05 Mattias Engdegård <mattiase@acm.org>
- Remove compatibility hacks in LAP optimiser
+ Remove compatibility hacks in LAP optimizer
* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
Remove code forcing forward motion after applying certain
2023-02-05 Mattias Engdegård <mattiase@acm.org>
- LAP optimiser: bind local variables instead of mutating them
+ LAP optimizer: bind local variables instead of mutating them
- This is a refactoring step: there is no change in how the optimiser
+ This is a refactoring step: there is no change in how the optimizer
works.
* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
2023-02-05 Mattias Engdegård <mattiase@acm.org>
- Get rid of delq in LAP optimiser
+ Get rid of delq in LAP optimizer
* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
Instead of using the O(n) `delq' to remove single instructions, use
2023-02-02 Mattias Engdegård <mattiase@acm.org>
- LAP peephole optimisation improvements
+ LAP peephole optimization improvements
- Since discardN-preserve-tos(1) and stack-set(1) have the same
effect, treat them as equivalent in all transformations.
--> discardN-preserve-tos(X+Y)
from the final pass to the main iteration since it may enable
- further optimisations.
+ further optimizations.
- Don't apply the rule
where OP is effect-free.
- - Generalise the push-pop annihilation rule to
+ - Generalize the push-pop annihilation rule to
PUSH(K) discard(N) -> discard(N-K), N>K
PUSH(K) discard(N) -> <deleted>, N=K
Better compilation of n-ary comparisons
Transform n-ary comparisons to a chain of binary comparisons in the
- Lisp optimiser instead of in codegen, to allow for subsequent
- optimisations. This generalises the transform, so that
+ Lisp optimizer instead of in codegen, to allow for subsequent
+ optimizations. This generalizes the transform, so that
(< 1 X 10) -> (let ((x X)) (and (< 1 x) (< x 10)))
Repair hideif regexp problems
* lisp/progmodes/hideif.el (hif-white-regexp, hif-tokenize):
- Avoid superlinear backtracking behaviour by rewriting regexps
+ Avoid superlinear backtracking behavior by rewriting regexps
to avoid nested repetitions and make positive progress each time.
Use lazy matching of the innards of /*...*/ comments to avoid
matching too much.
* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
Allow removal of unreachable basic blocks in the LAP peephole
- optimiser even when switch ops are present. The origins of
+ optimizer even when switch ops are present. The origins of
this apparently unnecessary condition are unclear.
2023-01-27 Stefan Kangas <stefankangas@gmail.com>
* java/org/gnu/emacs/EmacsThread.java (run): Pass API level.
* m4/ndk-build.m4 (ndk_package_mape): Add package mapping for
sqlite3.
- * src/Makefile.in (SQLITE3_CFLAGS): New substition.
+ * src/Makefile.in (SQLITE3_CFLAGS): New substitution.
(EMACS_CFLAGS): Add that variable.
* src/android.c (android_api_level): New variable.
Import gnulib modules printf-posix and vasprintf-posix
- These are neccessary because Android's printf is missing basic format
+ These are necessary because Android's printf is missing basic format
modifiers such as t.
* admin/merge-gnulib (GNULIB_MODULES): Add printf-posix and
(touch-screen-precision-scroll): New user option.
(touch-screen-handle-scroll): Use traditional scrolling by
default.
- (touch-screen-handle-touch): Adust format of
+ (touch-screen-handle-touch): Adjust format of
touch-screen-current-tool.
(touch-screen-track-tap): Don't print waiting for events.
(touch-screen-track-drag): Likewise. Also, don't call UPDATE
* lisp/loadup.el (featurep): Load ls-lisp on Android.
* lisp/ls-lisp.el (ls-lisp-use-insert-directory-program):
Default to off on Android.
- * src/android.c (android_is_directory): New fucntion.
+ * src/android.c (android_is_directory): New function.
(android_fstatat): Handle directories created by
`android_opendir'.
(android_open): Return meaningful file mode.
Fix typo in c-ts-mode (bug#60932)
* lisp/progmodes/c-ts-mode.el (c-ts-mode-indent-block-type-regexp):
- enumerator, not enumeratior.
+ Fix typo for "enumerator".
2023-01-20 Theodor Thornhill <theo@thornhill.no>
2023-01-16 Mattias Engdegård <mattiase@acm.org>
- Optimise `apply` with `cons` in tail argument
+ Optimize `apply` with `cons` in tail argument
* lisp/emacs-lisp/byte-opt.el (byte-optimize-apply): Transform
The old code scanned for #@ in .elc files, assuming they're
docstrings and then looking around them to try and guess to which
definition that docstring belongs, making many assumptions about how
- the code happens to be layed out by bytecomp.
+ the code happens to be laid out by bytecomp.
Replace that with code which relies on the (FILE . POS) info to
extract the docstring knowing already where they are and what def they
belong to.
and `detectMouse'.
(struct android_event_queue, android_init_events)
(android_next_event, android_write_event): Remove write limit.
- (android_file_access_p): Handle directories correcty.
+ (android_file_access_p): Handle directories correctly.
(android_close): Fix coding style.
(android_fclose): New function.
(android_init_emacs_service): Initialize new methods.
'newsticker--decode-rfc822-date' has the regex pattern for
North American timezones but the actual timezone conversion
- for them was not implmented. Now cond cases are added to
+ for them was not implemented. Now cond cases are added to
handle them as specified in RFC822.
2022-12-29 Theodor Thornhill <theo@thornhill.no>
if the entire form is in for-effect context.
* lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
- Don't optimise the condition-case body form for effect (potentially
+ Don't optimize the condition-case body form for effect (potentially
discarding its value) if there is a success handler and a variable.
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases):
Add test cases.
(make-directory): Assume the make-directory handler follows the
new API where it yields non-nil if DIR already exists. This
reverts some of the recent changes in this area, and simplifies
- this funciton.
+ this function.
2022-12-24 Florian Weimer <fweimer@redhat.com>
Merge from origin/emacs-29
- e59216d3be8 * Invoke spawed Emacs processes with '-Q' when native com...
+ e59216d3be8 * Invoke spawned Emacs processes with '-Q' when native com...
777b383dd0f Fix Eshell electric slash when used from the root directo...
c088cdad9e9 Fix the --without-all build with tree-sitter
ec9fbad908d Fix write-region to null device on MS-Windows
2022-12-19 Mattias Engdegård <mattiase@acm.org>
- Elide broken but unnecessary `if` optimisations
+ Elide broken but unnecessary `if` optimizations
* lisp/emacs-lisp/byte-opt.el (byte-optimize-if):
Remove explicit clauses purposing to simplify
Merge from origin/emacs-29
- 12e26cc0c1b ; * admin/git-bisect-start: Add mistakenly ommitted commi...
+ 12e26cc0c1b ; * admin/git-bisect-start: Add mistakenly omitted commi...
9a751e0a38b ruby-mode: Support endless singleton method definitions too
ce7b7e5af3d Remove comment-start-skip preset in tree-sitter indentati...
c1e015ae320 Fix recent change in tramp-smb.el
3941cc29df3 ; Improve documentation of 'setopt'
6f88de109c8 ruby-mode: Support endless methods (bug#54702)
91dd893e343 ; * lisp/progmodes/sql.el (sql-product-interactive): Doc ...
- 138d9dc4cb0 * lisp/cus-edit.el (setopt--set): Warn instead of rasing ...
- d1e0542f336 Allow customising windmove user options with an empty prefix
+ 138d9dc4cb0 * lisp/cus-edit.el (setopt--set): Warn instead of raising ...
+ d1e0542f336 Allow customizing windmove user options with an empty prefix
c2375e77914 Improve and extend admin/git-bisect-start
7cc2313eb0a Make 'rmail-summary-by-thread' faster
88e59b16cbe ; Improve documentation of installing tree-sitter and gra...
Merge from origin/emacs-29
de2239a584a Revert "alist-get testfn argument evaluation correction"
- 856d889f3a8 Revert "Elide broken but unnecessary `if` optimisations"
+ 856d889f3a8 Revert "Elide broken but unnecessary `if` optimizations"
8e42e20ed7f Revert "Use equal and member instead of eq and memq"
2022-12-19 Stefan Kangas <stefankangas@gmail.com>
2022-12-16 Mattias Engdegård <mattiase@acm.org>
- Elide broken but unnecessary `if` optimisations
+ Elide broken but unnecessary `if` optimizations
* lisp/emacs-lisp/byte-opt.el (byte-optimize-if):
Remove explicit clauses purposing to simplify
proced-process-alist in the case it is non-nil. The result is that
refinements are not immediately cleared when a proced buffer is
updated with proced-auto-update-flag non-nil. proced-revert
- maintains its current behaviour of clearing any active refinements.
+ maintains its current behavior of clearing any active refinements.
* lisp/proced.el (proced-refinements): New buffer local variable
which tracks the current refinements.
ac47f783da Move :ensure option from macro expansion phase to runtime ...
ff8bdfcdca Bump version to 2.1
5dffc8c7cf Merge pull request from waymondo/extend-bind-handler
- 6298e7e477 pass in symbol of bind macro, for more extensible re-use o...
+ 6298e7e477 pass in symbol of bind macro, for more extensible reuse o...
3e2747f174 Revert "Merge pull request from edvorg/master"
9c1156dbf8 error handling for use-package
2276ed7607 Merge pull request from matklad/master
ed4734405df Avoid crashes in a build --without-modules
70a2eb4a0b3 Fix 'add-display-text-property' when OBJECT is non-nil
d58d1dd48ac Do not run slow tests on EMBA
- 9b9b39a2d89 Lisp reader undefined behaviour excision
+ 9b9b39a2d89 Lisp reader undefined behavior excision
# Conflicts:
# etc/NEWS
520a4e12f8e ; * lisp/treesit.el (treesit-end-of-defun): Guard against...
2c4d92d30f6 ; * lisp/subr.el (posn-col-row): Revert inadvertent change.
6fb9a03cbdf ; Remove debugging leftover message
- c5ba47c889e Speed up Unicode normalisation tests by a factor of 5
+ c5ba47c889e Speed up Unicode normalization tests by a factor of 5
afa4fcb95b4 Fix "C-h k" when clicking on another frame
f6e2f30f394 ; Fix typos
bd58dcedfb9 Fix and expand tests broken by commit 2772ebe366 of 2022-...
Fix detection of named prefix bindings
- Fix menu-item bidning retrieval
+ Fix menu-item binding retrieval
Fix prefix sorting
2020-11-13 BlaCk_Void <alstjr7375@daum.net>
- REAMDE code's Number of parentheses pairs (#270)
+ README code's Number of parentheses pairs (#270)
2020-10-19 Justin Burkett <justin@burkett.cc>
2018-02-26 Justin Burkett <justin@burkett.cc>
- Fix which-key--show-keymap when no bidnings found
+ Fix which-key--show-keymap when no bindings found
which-key--get-formatted-key-bindings takes a nil argument to mean look for
global bindings which is not what we want here.
Allows to recover from accidentally pressing C-h.
- This commit also fixes some echo area problems that become apprent after
+ This commit also fixes some echo area problems that become apparent after
introducing the C-h-map stuff
2015-12-03 Justin Burkett <justin@burkett.cc>
Add config setup functions and more
- Fix a problem where the frame-height was not accouting for the
+ Fix a problem where the frame-height was not accounting for the
minibuffer. Also, set the buffer to hidden-mode-line-mode to hide the
mode-line for now (#16).