]> git.eshelyaron.com Git - emacs.git/log
emacs.git
2 years agoUpdate to Org 9.5.2-17-gea6b74
Kyle Meyer [Sun, 20 Feb 2022 19:04:28 +0000 (14:04 -0500)]
Update to Org 9.5.2-17-gea6b74

2 years ago; Don't reference obsolete variables in edebug.el
Raffael Stocker [Sun, 20 Feb 2022 15:13:46 +0000 (16:13 +0100)]
; Don't reference obsolete variables in edebug.el

* lisp/emacs-lisp/edebug.el (edebug-mode, edebug-eval-mode):
Don't reference obsolete variables in the doc strings.
(Bug#54070)

2 years ago; * doc/emacs/files.texi (Comparing Files): Fix a reference.
Philipp Stephani [Fri, 18 Feb 2022 17:53:49 +0000 (18:53 +0100)]
; * doc/emacs/files.texi (Comparing Files): Fix a reference.

2 years ago; Fix a typo in filesets.el's doc string
Eli Zaretskii [Fri, 18 Feb 2022 13:46:57 +0000 (15:46 +0200)]
; Fix a typo in filesets.el's doc string

* lisp/filesets.el (filesets-remove-buffer, filesets-add-buffer):
Doc fixes.  Reported by Иванов Дмитрий <d.ivanov@1001tur.ru>.

2 years agoImprove documentation of filling and justification commands
Eli Zaretskii [Fri, 18 Feb 2022 07:47:44 +0000 (09:47 +0200)]
Improve documentation of filling and justification commands

* doc/lispref/text.texi (Filling):
* lisp/textmodes/fill.el (fill-region-as-paragraph)
(default-justification, set-justification, justify-current-line):
Clarify "canonicalization" of spaces and the meaning of
justification styles.  (Bug#54047)
(set-justification-left, set-justification-right)
(set-justification-full): Improve wording of doc strings.

2 years ago* lisp/progmodes/subword.el (superword-mode): Doc fix. (Bug#54045)
Eli Zaretskii [Fri, 18 Feb 2022 07:01:06 +0000 (09:01 +0200)]
* lisp/progmodes/subword.el (superword-mode): Doc fix.  (Bug#54045)

2 years agoFix indexing of module functions that return complex types.
Philipp Stephani [Thu, 17 Feb 2022 13:02:28 +0000 (14:02 +0100)]
Fix indexing of module functions that return complex types.

Return types that consist of more than one word need to be enclosed in
braces, see Info node `(texinfo) Typed Functions'.  Otherwise they are
indexed incorrectly.

* doc/lispref/internals.texi (Module Values): Enclose multi-word
return types in braces.

2 years agoPrevent crashes caused by invalid locale coding systems
Po Lu [Thu, 17 Feb 2022 07:35:41 +0000 (15:35 +0800)]
Prevent crashes caused by invalid locale coding systems

* src/xterm.c (handle_one_xevent): Prevent a signal inside
`setup_coding_system' which crashes recent versions of GLib if
the locale coding system is invalid.

Do not merge to master.

2 years ago; Separate command and concept index in Transient manual
Jonas Bernoulli [Wed, 16 Feb 2022 12:06:17 +0000 (13:06 +0100)]
; Separate command and concept index in Transient manual

* doc/misc/transient.texi (cp): Use cp index for Concept index.
* doc/misc/transient.texi (fn): Use fn index for Commands as well.

2 years ago; Fix Transient manual
Eli Zaretskii [Tue, 15 Feb 2022 19:06:21 +0000 (21:06 +0200)]
; Fix Transient manual

* doc/misc/transient.texi (all nodes): Replace ".." with Texinfo
style ``..'' quoting or by @dfn{..} or by other appropriate
markup, like @samp{..}.  Add indexing.  Fix punctuation.  Fix
markup of keyboard commands.

2 years agoFix problem with popd for in remote shell buffers
Michael Albinus [Tue, 15 Feb 2022 17:13:04 +0000 (18:13 +0100)]
Fix problem with popd for in remote shell buffers

* lisp/shell.el (shell-prefixed-directory-name):
Use `file-local-name' for DIR.  (Bug#53927)

2 years agoImport texi source file for transient manual
Jonas Bernoulli [Tue, 15 Feb 2022 16:49:04 +0000 (17:49 +0100)]
Import texi source file for transient manual

* doc/misc/Makefile.in: Add transient to INFO_COMMON.
* doc/misc/transient.texi: New file.

2 years agoUpdate to Org 9.5.2-15-gc5ceb6
Kyle Meyer [Sun, 13 Feb 2022 17:43:54 +0000 (12:43 -0500)]
Update to Org 9.5.2-15-gc5ceb6

2 years agoFix 'exchange-point-and-mark' in 'transient-mark-mode'
Eli Zaretskii [Mon, 10 Jan 2022 17:10:52 +0000 (19:10 +0200)]
Fix 'exchange-point-and-mark' in 'transient-mark-mode'

* lisp/simple.el (exchange-point-and-mark): Don't deactivate mark
when 'transient-mark-mode' is ON.  (Bug#53150)

(cherry picked from commit 415ed4b42515ff2e6dd9b94e964b479e50c6392e)

2 years agoFix "C-SPC C-SPC" after "C-x C-x"
Eli Zaretskii [Fri, 7 Jan 2022 18:30:17 +0000 (20:30 +0200)]
Fix "C-SPC C-SPC" after "C-x C-x"

* lisp/simple.el (exchange-point-and-mark): Fix what the command
does when 'transient-mark-mode' is OFF.  (Bug#52896)

(cherry picked from commit 19c6cad1821eb896b2ddd0f6eab030f0880ea254)

2 years agoFix a typo in fontset.el
Eli Zaretskii [Sun, 13 Feb 2022 11:43:53 +0000 (13:43 +0200)]
Fix a typo in fontset.el

* lisp/international/fontset.el (xlfd-regexp-spacing-subnum): Fix
a typo.  Reported by Greg A. Woods <woods@robohack.ca>.

2 years agoNote in ELisp manual that too-wide images are truncated
Eli Zaretskii [Sat, 12 Feb 2022 12:28:45 +0000 (14:28 +0200)]
Note in ELisp manual that too-wide images are truncated

* doc/lispref/display.texi (Showing Images): Note that images are
truncated at the window's edge.  (Bug#53952)

2 years ago* lisp/mail/emacsbug.el (report-emacs-bug): Report libgccjit status.
Andrea Corallo [Fri, 11 Feb 2022 14:00:57 +0000 (15:00 +0100)]
* lisp/mail/emacsbug.el (report-emacs-bug): Report libgccjit status.

2 years ago* lisp/startup.el (normal-top-level): Small code move, improve 202d3be873.
Andrea Corallo [Fri, 11 Feb 2022 14:19:56 +0000 (15:19 +0100)]
* lisp/startup.el (normal-top-level): Small code move, improve 202d3be873.

2 years ago; * lisp/startup.el (normal-top-level): Fix byte-compilation warning.
Eli Zaretskii [Thu, 10 Feb 2022 17:05:41 +0000 (19:05 +0200)]
; * lisp/startup.el (normal-top-level): Fix byte-compilation warning.

2 years ago* lisp/startup.el (normal-top-level): Disable native-comp if not available
Andrea Corallo [Thu, 10 Feb 2022 08:46:31 +0000 (09:46 +0100)]
* lisp/startup.el (normal-top-level): Disable native-comp if not available

2 years agoFix integer arithmetic miss-compilation (bug#53451)
Andrea Corallo [Wed, 9 Feb 2022 16:38:10 +0000 (17:38 +0100)]
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.

2 years agoMark flymake as compatible with emacs-26.1
Robert Pluim [Tue, 8 Feb 2022 15:04:15 +0000 (16:04 +0100)]
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).

2 years agoflymake: Ensure compatibility with older Emacsen
Brian Leung [Tue, 8 Feb 2022 06:16:25 +0000 (07:16 +0100)]
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).

2 years agoDon't remove dummy.group from gnus-newsrc-alist on Gnus save
Eric Abrahamsen [Tue, 25 Jan 2022 00:24:10 +0000 (16:24 -0800)]
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.

2 years agoFix ietf-drums-get-comment doc string
Bob Rogers [Sun, 6 Feb 2022 00:07:43 +0000 (01:07 +0100)]
Fix ietf-drums-get-comment doc string

* lisp/mail/ietf-drums.el (ietf-drums-get-comment):  We really return
the last comment (bug#53810).

2 years agoFix typo in display.texi
Daniel Martín [Sat, 5 Feb 2022 20:03:21 +0000 (21:03 +0100)]
Fix typo in display.texi

* doc/lispref/display.texi (Making Buttons): Fix typo.  (Bug#53807)

2 years agoRevert an erroneous change in tramp-cache.el
Michael Albinus [Thu, 3 Feb 2022 14:30:39 +0000 (15:30 +0100)]
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>.

2 years agoImprove documentation of 'emacs-version'
Eli Zaretskii [Wed, 2 Feb 2022 17:38:56 +0000 (19:38 +0200)]
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)

2 years ago; Auto-commit of loaddefs files.
Stefan Kangas [Tue, 1 Feb 2022 23:57:27 +0000 (00:57 +0100)]
; Auto-commit of loaddefs files.

2 years ago* etc/NEWS: Apply final fixes after proofreading.
Michael Albinus [Tue, 1 Feb 2022 13:17:32 +0000 (14:17 +0100)]
* etc/NEWS: Apply final fixes after proofreading.

2 years agoClarify documentation of a "face's font"
Eli Zaretskii [Mon, 31 Jan 2022 17:29:54 +0000 (19:29 +0200)]
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)

2 years agoBind Qdebugger to Qdebug in signal_or_quit.
Alan Mackenzie [Mon, 31 Jan 2022 17:20:45 +0000 (17:20 +0000)]
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.

2 years agoUpdate to Org 9.5.2-13-gdd6486
Kyle Meyer [Mon, 31 Jan 2022 01:38:01 +0000 (20:38 -0500)]
Update to Org 9.5.2-13-gdd6486

2 years ago; * lisp/international/latin1-disp.el: Update commentary.
Eli Zaretskii [Sun, 30 Jan 2022 07:40:12 +0000 (09:40 +0200)]
; * lisp/international/latin1-disp.el: Update commentary.

2 years agoFix regression in Occur Edit mode
Eli Zaretskii [Sun, 30 Jan 2022 06:49:34 +0000 (08:49 +0200)]
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)

2 years ago; Yet another minor fix of Malayalam composition rules.
Eli Zaretskii [Sat, 29 Jan 2022 20:14:30 +0000 (22:14 +0200)]
; Yet another minor fix of Malayalam composition rules.

2 years agoFix last change of Malayalam composition rules
Eli Zaretskii [Sat, 29 Jan 2022 19:56:53 +0000 (21:56 +0200)]
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)

2 years agoFix rendering of Malayalam script
Eli Zaretskii [Sat, 29 Jan 2022 19:22:02 +0000 (21:22 +0200)]
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)

2 years agoImprove documentation of Occur mode
Eli Zaretskii [Sat, 29 Jan 2022 14:51:30 +0000 (16:51 +0200)]
Improve documentation of Occur mode

* doc/emacs/search.texi (Other Repeating Search): Improve wording
and document Occur Edit mode better.

2 years agoRemove debug logging
Alan Third [Thu, 28 Oct 2021 10:21:00 +0000 (11:21 +0100)]
Remove debug logging

* src/nsterm.m ([EmacsView copyRect:to:]): Remove logging as it's no
longer required.

2 years agoFix error in filelock.c
Michael Albinus [Sat, 29 Jan 2022 10:45:38 +0000 (11:45 +0100)]
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)

2 years ago* lisp/frame.el (clone-frame): Filter out 'parent-id' (bug#51883).
Juri Linkov [Thu, 27 Jan 2022 17:47:40 +0000 (19:47 +0200)]
* lisp/frame.el (clone-frame): Filter out 'parent-id' (bug#51883).

2 years agoPartially revert a fill-region-as-paragraph regression
Lars Ingebrigtsen [Wed, 26 Jan 2022 15:17:49 +0000 (16:17 +0100)]
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.)

2 years agoFix 'make_lispy_position' when there's an image at EOB
Eli Zaretskii [Wed, 26 Jan 2022 14:44:14 +0000 (16:44 +0200)]
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)

2 years agoFix copyright-find-copyright when searching from the end
Lars Ingebrigtsen [Wed, 26 Jan 2022 14:02:00 +0000 (15:02 +0100)]
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.

2 years agoFix copyright.el comment and add a test
Lars Ingebrigtsen [Wed, 26 Jan 2022 13:53:07 +0000 (14:53 +0100)]
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.

2 years ago; * src/composite.c (syms_of_composite) <auto-composition-mode>: Doc fix.
Eli Zaretskii [Tue, 25 Jan 2022 12:15:36 +0000 (14:15 +0200)]
; * src/composite.c (syms_of_composite) <auto-composition-mode>: Doc fix.

2 years ago* configure.ac (LIBSECCOMP): Bump minimum version for faccessat2.
Philipp Stephani [Mon, 24 Jan 2022 10:35:07 +0000 (11:35 +0100)]
* configure.ac (LIBSECCOMP): Bump minimum version for faccessat2.

2 years agoMake the `f' command work in image-mode again
Lars Ingebrigtsen [Mon, 24 Jan 2022 10:22:49 +0000 (11:22 +0100)]
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).

2 years agoSeccomp: improve support for newer versions of glibc (Bug#51073)
Philipp Stephani [Sat, 22 Jan 2022 16:11:37 +0000 (17:11 +0100)]
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).

2 years agoEUDC: Fix a quoting bug in the BBDB backend
Thomas Fitzsimmons [Fri, 21 Jan 2022 22:40:57 +0000 (17:40 -0500)]
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.

2 years agoFix memory-report-object-size to initialize memory-report--type-size
Sergey Vinokurov [Fri, 21 Jan 2022 11:42:22 +0000 (12:42 +0100)]
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.

2 years agoFix menu-bar mouse clicks in "C-h c" and "C-h k" (bug#53322)
Stefan Monnier [Mon, 22 Nov 2021 19:23:26 +0000 (14:23 -0500)]
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 9ceb3070e34ad8a54184fd0deda477bf5ff77000)

2 years agoFix UB in ebrowse
Eli Zaretskii [Thu, 20 Jan 2022 11:42:56 +0000 (13:42 +0200)]
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

2 years agoFix execute-extended-command-for-buffer in fundamental-mode
Lars Ingebrigtsen [Thu, 20 Jan 2022 10:00:26 +0000 (11:00 +0100)]
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).

2 years agoAdd workaround to handle a problem with Enlightenment WM (Bug#53298)
Martin Rudalics [Thu, 20 Jan 2022 09:30:08 +0000 (10:30 +0100)]
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.

2 years agoFix regression leading to flickering tooltips when the mouse is moved
Po Lu [Mon, 17 Jan 2022 13:42:31 +0000 (21:42 +0800)]
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.

2 years ago* Fix native comp for non trivial function names (bug#52833)
Andrea Corallo [Tue, 28 Dec 2021 11:12:16 +0000 (12:12 +0100)]
* 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

2 years agoUpdate to Org 9.5.2-9-g7ba24c
Kyle Meyer [Sat, 15 Jan 2022 21:02:26 +0000 (16:02 -0500)]
Update to Org 9.5.2-9-g7ba24c

2 years ago* lisp/net/dictionary.el (dictionary-context-menu): Use package prefix.
Juri Linkov [Sat, 15 Jan 2022 18:58:31 +0000 (20:58 +0200)]
* lisp/net/dictionary.el (dictionary-context-menu): Use package prefix.

2 years agoMark a few more map tests as unstable on Emacs 28 (Bug#46722).
Philipp Stephani [Sat, 15 Jan 2022 11:40:09 +0000 (12:40 +0100)]
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.

2 years ago* lisp/indent.el (tab-first-completion): Fix incorrect choices.
Philipp Stephani [Fri, 14 Jan 2022 19:49:35 +0000 (20:49 +0100)]
* lisp/indent.el (tab-first-completion): Fix incorrect choices.

2 years ago* lisp/simple.el (undo-no-redo): Fix customization group
Philipp Stephani [Fri, 14 Jan 2022 18:35:03 +0000 (19:35 +0100)]
* lisp/simple.el (undo-no-redo): Fix customization group

2 years ago* lisp/progmodes/xref.el (xref-file-name-display): Fix docstring.
Philipp Stephani [Fri, 14 Jan 2022 21:01:06 +0000 (22:01 +0100)]
* lisp/progmodes/xref.el (xref-file-name-display): Fix docstring.

2 years agoAvoid another segfault in 'face_at_buffer_position'
Eli Zaretskii [Fri, 14 Jan 2022 14:11:34 +0000 (16:11 +0200)]
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)

2 years agoMark test-map-into as unstable
Lars Ingebrigtsen [Fri, 14 Jan 2022 07:39:48 +0000 (08:39 +0100)]
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.

2 years agoFix Edebug specification for inline functions (Bug#53068).
Philipp Stephani [Thu, 13 Jan 2022 11:55:06 +0000 (12:55 +0100)]
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.

2 years agoRemove mention of removed `gnus-treat-play-sounds' variable from manual
N. Jackson [Thu, 13 Jan 2022 07:10:47 +0000 (08:10 +0100)]
Remove mention of removed `gnus-treat-play-sounds' variable from manual

* info/gnus.info: Remove `gnus-treat-play-sounds' from
manual. According to lisp/gnus/ChangeLog.3 this variable was
removed in 2010 (bug#53192).

2 years agoRevert "Fix closure-conversion of shadowed captured lambda-lifted vars"
Mattias Engdegård [Wed, 12 Jan 2022 18:47:39 +0000 (19:47 +0100)]
Revert "Fix closure-conversion of shadowed captured lambda-lifted vars"

This reverts commit 3ec8c8b3ae2359ceb8135b672e86526969c16b7e.

It was committed to a stable branch without prior discussion;
see bug#53071.

2 years ago* doc/lispref/windows.texi (Textual Scrolling): Remove obsolete text.
Juri Linkov [Wed, 12 Jan 2022 18:59:21 +0000 (20:59 +0200)]
* doc/lispref/windows.texi (Textual Scrolling): Remove obsolete text.

Remove text about scrolling the minibuffer from the buffer,
obsolete since Emacs 27 (bug#51210).

2 years ago* lisp/files.el (lock-file-name-transforms): Doc tweaks.
Glenn Morris [Wed, 12 Jan 2022 18:36:05 +0000 (10:36 -0800)]
* lisp/files.el (lock-file-name-transforms): Doc tweaks.

2 years ago; Fix typo loose/lose
Glenn Morris [Wed, 12 Jan 2022 18:23:31 +0000 (10:23 -0800)]
; Fix typo loose/lose

2 years agoFix closure-conversion of shadowed captured lambda-lifted vars
Mattias Engdegård [Mon, 22 Nov 2021 15:56:38 +0000 (16:56 +0100)]
Fix closure-conversion of shadowed captured lambda-lifted vars

Lambda-lifted variables (ones passed explicitly to lambda-lifted
functions) that are also captured in an outer closure and shadowed
were renamed incorrectly (bug#51982).

Reported by Paul Pogonyshev.

* lisp/emacs-lisp/cconv.el (cconv--lifted-arg): New.
(cconv-convert): Provide correct definiens for the closed-over
variable.
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases):
* test/lisp/emacs-lisp/cconv-tests.el (cconv-tests--intern-all)
(cconv-closure-convert-remap-var): Add tests.

(cherry picked from commit 45252ad8f932c98a373ef0ab7f3363a3e27ccbe4)

2 years ago; * doc/lispref/modes.texi (Auto Major Mode): Clarification. (Bug#53199)
Eli Zaretskii [Wed, 12 Jan 2022 12:36:56 +0000 (14:36 +0200)]
; * doc/lispref/modes.texi (Auto Major Mode): Clarification.  (Bug#53199)

2 years agoFix test lisp/cedet/semantic/bovine/gcc-tests on macOS (Bug#52431)
Philipp Stephani [Tue, 28 Dec 2021 20:05:23 +0000 (21:05 +0100)]
Fix test lisp/cedet/semantic/bovine/gcc-tests on macOS (Bug#52431)

* test/lisp/cedet/semantic/bovine/gcc-tests.el
(semantic-gcc-test-output-parser-this-machine): Also detect Apple
clang on macOS Monterey.

(cherry picked from commit 6e52becfbe2a33c025b8c4838b3c8f06ba5a6fb8)

2 years agoDon't fail flymake-tests if `gcc` actually is Clang
Mattias Engdegård [Sun, 2 Jan 2022 12:00:13 +0000 (13:00 +0100)]
Don't fail flymake-tests if `gcc` actually is Clang

* test/lisp/progmodes/flymake-tests.el (flymake-tests--gcc-is-clang)
(different-diagnostic-types, included-c-header-files): Skip tests that
depend on the `gcc` command really being GCC and not Clang.

(cherry picked from commit b2167d98432a78442522b7564e22f47d75a98b6f)

2 years ago; Fix tabulated-list-mode tests after revert
Stefan Kangas [Tue, 11 Jan 2022 05:14:12 +0000 (06:14 +0100)]
; Fix tabulated-list-mode tests after revert

* test/lisp/emacs-lisp/tabulated-list-tests.el
(tabulated-list-print, tabulated-list-sort): Fix tests.

2 years agoRevert "Remove the filename argument from the command line after an ELC+ELN build"
Eli Zaretskii [Mon, 10 Jan 2022 18:02:39 +0000 (20:02 +0200)]
Revert "Remove the filename argument from the command line after an ELC+ELN build"

This reverts commit ffc047c896413b6e00032518fc934f08768671fa.

Please don't install anything non-trivial on the release branch
without asking first.

2 years agoRemove the filename argument from the command line after an ELC+ELN build
Alan Mackenzie [Mon, 10 Jan 2022 17:05:41 +0000 (17:05 +0000)]
Remove the filename argument from the command line after an ELC+ELN build

This fixes bug #53164.  Without this fix, bootstrap-emacs loads the source
file uselessly into a buffer after completing the compilation.

2 years ago(save-some-buffers): Simplify the fix for bug#46374
Stefan Monnier [Mon, 10 Jan 2022 02:02:31 +0000 (21:02 -0500)]
(save-some-buffers): Simplify the fix for bug#46374

* lisp/files.el (save-some-buffers): Only check the
`save-some-buffers-function` property on functions from
`save-some-buffers-default-predicate` since callers which provide
a `pred` argument can arrange to compute `pred` themselves if needed.

* test/lisp/files-tests.el (files-tests-buffer-offer-save): Don't test
with `pred` set to `save-some-buffers-root` since it's not an
appropriate function for that any more.

2 years agoImprove docstring of edit-abbrevs
Stefan Kangas [Sun, 9 Jan 2022 23:59:59 +0000 (00:59 +0100)]
Improve docstring of edit-abbrevs

* lisp/abbrev.el (edit-abbrevs): Doc fix; don't use obsolete name.
Improve docstring formatting.

2 years ago; * src/fns.c (Frequire): Fix wording of doc string.
Eli Zaretskii [Sun, 9 Jan 2022 17:02:17 +0000 (19:02 +0200)]
; * src/fns.c (Frequire): Fix wording of doc string.

2 years agoRevert "Fix alignment on font size change in tabulated-list-mode"
Eli Zaretskii [Sun, 9 Jan 2022 10:38:26 +0000 (12:38 +0200)]
Revert "Fix alignment on font size change in tabulated-list-mode"

This reverts commit 2767c89db729a6106146d0aeff76678c64d4fc53.

That change caused a regression in a much more important use
case, see bug#53133.

2 years ago; * lisp/emacs-lisp/package.el (package-native-compile): Fix doc wording.
Eli Zaretskii [Sun, 9 Jan 2022 08:25:36 +0000 (10:25 +0200)]
; * lisp/emacs-lisp/package.el (package-native-compile): Fix doc wording.

2 years agoClarify docstring of package-native-compile
Stefan Kangas [Sun, 9 Jan 2022 02:15:34 +0000 (03:15 +0100)]
Clarify docstring of package-native-compile

* lisp/emacs-lisp/package.el (package-native-compile): Clarify
docstring.

2 years agoFix Subject "simplification" in Rmail
Eli Zaretskii [Sat, 8 Jan 2022 14:32:01 +0000 (16:32 +0200)]
Fix Subject "simplification" in Rmail

* lisp/mail/rmail.el (rmail-simplified-subject): Match against
"[external]" _after_ decoding the Subject by RFC-2047.

2 years agoBump Emacs version to 28.0.91 emacs-28.0.91
Stefan Kangas [Sat, 8 Jan 2022 10:50:25 +0000 (11:50 +0100)]
Bump Emacs version to 28.0.91

* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 28.0.91.

2 years ago; Update files for 28.0.91 pretest
Stefan Kangas [Sat, 8 Jan 2022 10:39:45 +0000 (11:39 +0100)]
; Update files for 28.0.91 pretest

* ChangeLog.3:
* etc/AUTHORS:
* lisp/ldefs-boot.el: Update.

2 years agoFix vc-git with old Git over Tramp and cygwin-mount.el
Dmitry Gutov [Wed, 5 Jan 2022 02:08:10 +0000 (04:08 +0200)]
Fix vc-git with old Git over Tramp and cygwin-mount.el

* lisp/vc/vc-git.el (vc-git-use-literal-pathspecs): New variable.
(vc-git-command, vc-git--call): Use it to determine whether to set
GIT_LITERAL_PATHSPECS=1 (bug#51497).
(vc-git--literal-pathspec, vc-git--literal-pathspecs): Remove.
Update all callers.  This reverts the previous solution for bug#39452.

* lisp/progmodes/project.el (project--vc-list-files):
Use the new variable.

2 years ago* lisp/emacs-lisp/checkdoc.el (bytecomp): Add missing require
Philipp Stephani [Wed, 5 Jan 2022 00:41:46 +0000 (01:41 +0100)]
* lisp/emacs-lisp/checkdoc.el (bytecomp): Add missing require

2 years agoAvoid inflooping when 'tab-bar-format' includes embedded newlines
Eli Zaretskii [Sun, 2 Jan 2022 19:36:13 +0000 (21:36 +0200)]
Avoid inflooping when 'tab-bar-format' includes embedded newlines

* src/xdisp.c (tab_bar_height, redisplay_tab_bar): Support
'tab-bar-format' with embedded newlines.  (Bug#52947)

2 years ago* lisp/tab-line.el: Revert part of the fix in a6adfe21e4 (bug#52881)
Juri Linkov [Sun, 2 Jan 2022 18:00:40 +0000 (20:00 +0200)]
* lisp/tab-line.el: Revert part of the fix in a6adfe21e4 (bug#52881)

(tab-line--get-tab-property, tab-line-auto-hscroll): Use get-pos-property
instead of get-text-property that fails after previous-single-property-change.

2 years agoClarify %g and %G time format specs
Eli Zaretskii [Sun, 2 Jan 2022 07:30:15 +0000 (09:30 +0200)]
Clarify %g and %G time format specs

* src/timefns.c (Fformat_time_string):
* doc/lispref/os.texi (Time Parsing): Clarify %g/%G.  (Bug#52934)

2 years ago(define-char-code-property): Workaround for bug#52945
Stefan Monnier [Sun, 2 Jan 2022 07:25:55 +0000 (02:25 -0500)]
(define-char-code-property): Workaround for bug#52945

* lisp/international/mule-cmds.el (define-char-code-property): Ignore
requests to re-setup lazy loading after the char-table is already loaded.

2 years ago; * admin/notes/years: More known problems.
Eli Zaretskii [Sat, 1 Jan 2022 20:21:46 +0000 (22:21 +0200)]
; * admin/notes/years: More known problems.

2 years ago; Copyright year fixes
Glenn Morris [Sat, 1 Jan 2022 18:02:17 +0000 (10:02 -0800)]
; Copyright year fixes

2 years ago; Run set-copyright from admin.el
Glenn Morris [Sat, 1 Jan 2022 17:52:06 +0000 (09:52 -0800)]
; Run set-copyright from admin.el

2 years ago; * admin/notes/years: Mention known problems with 'update-copyright'.
Eli Zaretskii [Sat, 1 Jan 2022 15:11:32 +0000 (17:11 +0200)]
; * admin/notes/years: Mention known problems with 'update-copyright'.

2 years agoUpdate more copyright years
Eli Zaretskii [Sat, 1 Jan 2022 12:20:37 +0000 (14:20 +0200)]
Update more copyright years

* etc/tutorials/TUTORIAL.he (זכויות שימוש):
* config.bat: Update Copyright years.