1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 03:20:39 -08:00
Commit graph

151186 commits

Author SHA1 Message Date
Andrea Corallo
efaa0ebca9 * lisp/startup.el (normal-top-level): Small code move, improve 202d3be873. 2022-02-11 15:21:47 +01:00
Eli Zaretskii
c30106ce9f ; * lisp/startup.el (normal-top-level): Fix byte-compilation warning. 2022-02-10 19:05:41 +02:00
Andrea Corallo
202d3be873 * lisp/startup.el (normal-top-level): Disable native-comp if not available 2022-02-10 14:26:29 +01:00
Andrea Corallo
69e82968d7 Fix integer arithmetic miss-compilation (bug#53451)
* lisp/emacs-lisp/comp-cstr.el (comp-cstr-set-range-for-arithm):
When one of the two sources is negated revert to set dst as
number.
* test/src/comp-tests.el (comp-tests-type-spec-tests): Add test to
verify this is effective.
2022-02-09 17:58:57 +01:00
Robert Pluim
31af9bca99 Mark flymake as compatible with emacs-26.1
* lisp/progmodes/flymake.el: Bump package version and set
emacs version in Package-Requires to 26.1 (Bug#53853).
2022-02-08 16:04:15 +01:00
Brian Leung
82e74e4559 flymake: Ensure compatibility with older Emacsen
* lisp/progmodes/flymake.el (flymake--log-1): Use
replace-regexp-in-string instead of Emacs 28's
string-replace (bug#53853).
2022-02-08 07:16:55 +01:00
Eric Abrahamsen
0d46ee2dde Don't remove dummy.group from gnus-newsrc-alist on Gnus save
bug#53352

* lisp/gnus/gnus-start.el (gnus-gnus-to-quick-newsrc-format): This
function was removing dummy.group from the global value of
`gnus-newsrc-alist' on save; we only wanted to remove it temporarily.
2022-02-07 11:42:49 +01:00
Bob Rogers
821c240075 Fix ietf-drums-get-comment doc string
* lisp/mail/ietf-drums.el (ietf-drums-get-comment):  We really return
the last comment (bug#53810).
2022-02-06 01:07:54 +01:00
Daniel Martín
638247baa4 Fix typo in display.texi
* doc/lispref/display.texi (Making Buttons): Fix typo.  (Bug#53807)
2022-02-05 22:30:28 +02:00
Michael Albinus
0591aa6cd3 Revert an erroneous change in tramp-cache.el
* lisp/net/tramp-cache.el (tramp-get-hash-table):
Use `string-match-p' instead of `string-search'.  The latter one
was introduced by accident.  Reported by Kai Tetzlaff <kai@tetzlaff.eu>.
2022-02-03 15:30:39 +01:00
Eli Zaretskii
ab2f275422 Improve documentation of 'emacs-version'
* doc/emacs/trouble.texi (Checklist): Mention the possibility of
invoking 'emacs-version' with a prefix argument.

* lisp/version.el (emacs-version): Improve doc string.  (Bug#53720)
2022-02-02 19:38:56 +02:00
Stefan Kangas
1bb5553619 ; Auto-commit of loaddefs files. 2022-02-02 00:57:27 +01:00
Michael Albinus
9ab0b43a72 * etc/NEWS: Apply final fixes after proofreading. 2022-02-01 14:17:32 +01:00
Eli Zaretskii
31ef751f94 Clarify documentation of a "face's font"
* doc/lispref/display.texi (Attribute Functions)
(Face Attributes): Clarify that the :font attribute of a face and
the font returned by 'face-font' are by default for ASCII
characters.  (Bug#53664)
2022-01-31 19:29:54 +02:00
Alan Mackenzie
29bdedf12f Bind Qdebugger to Qdebug in signal_or_quit.
* src/eval.c (signal_or_quit): Bind the correct variable, Qdebugger (not
Vdebugger) to Qdebug in the section for errors in batch jobs.
(syms_of_eval): New DEFSYM for Qdebugger.
2022-01-31 17:20:45 +00:00
Kyle Meyer
6f282b31ad Update to Org 9.5.2-13-gdd6486 2022-01-30 20:38:01 -05:00
Eli Zaretskii
6636231b2c ; * lisp/international/latin1-disp.el: Update commentary. 2022-01-30 09:40:12 +02:00
Eli Zaretskii
f22e9ba9ac Fix regression in Occur Edit mode
* lisp/replace.el (occur-after-change-function): Fix the algorithm
to find the smallest change in some corner cases.  (Bug#53598)
2022-01-30 08:49:34 +02:00
Eli Zaretskii
e81e375539 ; Yet another minor fix of Malayalam composition rules. 2022-01-29 22:14:30 +02:00
Eli Zaretskii
94f38cbec4 Fix last change of Malayalam composition rules
* lisp/language/indian.el (malayalam-composable-pattern):
Reinstate.  Instead of removing it, add any sequence of
Malayalam characters to the existing patterns, so as not
to lose the patterns that use ZWJ and ZWNJ.  (Bug#53625)
2022-01-29 21:56:53 +02:00
Eli Zaretskii
ed3bbeb80d Fix rendering of Malayalam script
* lisp/language/indian.el (malayalam-composable-pattern): Remove.
(script-regexp-alist): Remove 'malayalam-composable-pattern'.
Instead, pass any sequence of Malayalam codepoints to the shaping
engine.  (Bug#53625)
2022-01-29 21:22:02 +02:00
Eli Zaretskii
5ef3a52342 Improve documentation of Occur mode
* doc/emacs/search.texi (Other Repeating Search): Improve wording
and document Occur Edit mode better.
2022-01-29 16:51:30 +02:00
Alan Third
611736f3bc Remove debug logging
* src/nsterm.m ([EmacsView copyRect:to:]): Remove logging as it's no
longer required.
2022-01-29 12:15:39 +00:00
Michael Albinus
ddba3c3dba Fix error in filelock.c
* src/filelock.c (lock_file): Move call of file name handler to
`Flock_file'.  Determine lock_filename only in case
create_lockfiles is non-nil.  Adapt the rest of the function accordingly.
(Flock_file): Do not check for create_lockfiles.  Call file name
handler if appropriate.  (Bug#53207)
2022-01-29 11:45:38 +01:00
Juri Linkov
3dd47bde7a * lisp/frame.el (clone-frame): Filter out 'parent-id' (bug#51883). 2022-01-27 19:47:40 +02:00
Lars Ingebrigtsen
c9524819ea Partially revert a fill-region-as-paragraph regression
* lisp/textmodes/fill.el (fill-region-as-paragraph): Revert
e186af261 (bug#53537), because it leads to regressions.  (But
leave tests in place.)
2022-01-26 16:20:05 +01:00
Eli Zaretskii
6075ea0b79 Fix 'make_lispy_position' when there's an image at EOB
* src/xdisp.c (move_it_to): Don't compare IT_CHARPOS with an
invalid TO_CHARPOS.  (Bug#53546)
2022-01-26 16:44:14 +02:00
Lars Ingebrigtsen
c5b0019e10 Fix copyright-find-copyright when searching from the end
* lisp/emacs-lisp/copyright.el (copyright-find-copyright): Make
the double check also work when searching from the end (bug#7179).

Do not merge to master.
2022-01-26 15:03:56 +01:00
Lars Ingebrigtsen
ed18d08f6f Fix copyright.el comment and add a test
* lisp/emacs-lisp/copyright.el (copyright-find-copyright): Fix
comment (bug#7179).

Do not merge to master.
2022-01-26 15:03:33 +01:00
Eli Zaretskii
7eca80b204 ; * src/composite.c (syms_of_composite) <auto-composition-mode>: Doc fix. 2022-01-25 14:15:36 +02:00
Philipp Stephani
c34d06e3d7 * configure.ac (LIBSECCOMP): Bump minimum version for faccessat2. 2022-01-24 11:38:43 +01:00
Lars Ingebrigtsen
335a5a9e0f Make the `f' command work in image-mode again
* lisp/image.el (image-show-frame): Protect against not having
computed the animation data yed (bug#53489).
2022-01-24 11:22:57 +01:00
Philipp Stephani
6d3608be88 Seccomp: improve support for newer versions of glibc (Bug#51073)
* lib-src/seccomp-filter.c (main): Allow 'pread64' and 'faccessat2'
system calls.  Newer versions of glibc use these system call (starting
with commits 95c1056962a3f2297c94ce47f0eaf0c5b6563231 and
3d3ab573a5f3071992cbc4f57d50d1d29d55bde2, respectively).
2022-01-22 17:18:50 +01:00
Thomas Fitzsimmons
e58ecd01d5 EUDC: Fix a quoting bug in the BBDB backend
* lisp/net/eudcb-bbdb.el (eudc-bbdb-query-internal): Fix a quoting
bug introduced during lexical-binding conversion.
2022-01-21 17:47:46 -05:00
Sergey Vinokurov
fbc9b121e0 Fix memory-report-object-size to initialize memory-report--type-size
* lisp/emacs-lisp/memory-report.el (memory-report-object-size):
Allow using function directly (bug#53310).

Do not merge to master.
2022-01-21 12:43:19 +01:00
Stefan Monnier
f08dfa9b53 Fix menu-bar mouse clicks in "C-h c" and "C-h k" (bug#53322)
* lisp/subr.el (event-start, event-end): Handle '(menu-bar)'
events.
* lisp/net/browse-url.el (browse-url-interactive-arg): Simplify
accordingly.

(cherry picked from commit 9ceb3070e3)
2022-01-20 14:17:16 +02:00
Eli Zaretskii
11ea45c9e4 Fix UB in ebrowse
* lib-src/ebrowse.c (matching_regexp): Avoid writing beyond the
limits of 'matching_regexp_buffer'.  Patch by Jan Stranik
<jan@stranik.org>.  (Bug#53333)

Copyright-paperwork-exempt: yes
2022-01-20 13:42:56 +02:00
Lars Ingebrigtsen
ba57b78064 Fix execute-extended-command-for-buffer in fundamental-mode
* lisp/simple.el (execute-extended-command-for-buffer): Protect
against the current local map being nil (bug#52907).
2022-01-20 11:00:41 +01:00
Martin Rudalics
ef0c1d4c2c Add workaround to handle a problem with Enlightenment WM (Bug#53298)
* src/xterm.c (handle_one_xevent): Handle setting of variable
'x_set_frame_visibility_more_laxly' when receiving an Expose or
FocusIn event (Bug#53298).
(Qexpose): Define symbol.
(x_set_frame_visibility_more_laxly): New Lisp variable.
* etc/PROBLEMS: Mention frame redraw problem with the
Enlightenment WM and 'x-set-frame-visibility-more-laxly'
workaround.
2022-01-20 10:30:08 +01:00
Po Lu
f393d0d441 Fix regression leading to flickering tooltips when the mouse is moved
* lisp/tooltip.el (tooltip-show-help): Compare string with
previous tooltip string ignoring properties.
2022-01-17 21:42:31 +08:00
Andrea Corallo
9e64aeff40 * Fix native comp for non trivial function names (bug#52833)
* lisp/emacs-lisp/comp.el (comp-c-func-name): Fix native compilation
for functions with function names containing non trivial
characters (bug#52833).

This commit is the backport of e7699bf290.

Do not merge to master
2022-01-17 11:54:52 +01:00
Kyle Meyer
e488601849 Update to Org 9.5.2-9-g7ba24c 2022-01-15 16:02:26 -05:00
Juri Linkov
95640360f0 * lisp/net/dictionary.el (dictionary-context-menu): Use package prefix. 2022-01-15 20:58:31 +02:00
Philipp Stephani
2dcb1bc474 Mark a few more map tests as unstable on Emacs 28 (Bug#46722).
At least for me, these tests still occasionally fail.

Do not merge to master.

* test/lisp/emacs-lisp/map-tests.el (test-map-into-hash-test)
(test-map-merge, test-map-merge-with, test-map-merge-empty): Mark as
unstable.
2022-01-15 12:40:09 +01:00
Philipp Stephani
7f36aca99d * lisp/indent.el (tab-first-completion): Fix incorrect choices. 2022-01-15 12:07:01 +01:00
Philipp Stephani
5990148860 * lisp/simple.el (undo-no-redo): Fix customization group 2022-01-14 22:06:13 +01:00
Philipp Stephani
ac2cdb8a46 * lisp/progmodes/xref.el (xref-file-name-display): Fix docstring. 2022-01-14 22:01:06 +01:00
Eli Zaretskii
c05864dd25 Avoid another segfault in 'face_at_buffer_position'
* src/xfaces.c (face_at_buffer_position): Make really sure the
default face is usable.  (Bug#53254)
2022-01-14 16:11:34 +02:00
Lars Ingebrigtsen
281b878858 Mark test-map-into as unstable
* test/lisp/emacs-lisp/map-tests.el (test-map-into): Mark as
unstable (bug#46722).

Do not merge to master.
2022-01-14 08:39:57 +01:00
Philipp Stephani
34ca4ff9a5 Fix Edebug specification for inline functions (Bug#53068).
* lisp/emacs-lisp/inline.el (inline-quote): Fix Edebug specification.

* test/lisp/emacs-lisp/edebug-tests.el (edebug-tests-inline): New unit
test.
2022-01-13 13:52:40 +01:00